[PATCH] Outwit compiler dead code elimination in break.exp test (revised patch)
Sun Dec 7 21:21:00 GMT 2003
On Monday 01 December 2003 10:52, Andrew Cagney wrote:
> As for stopping GCC from eliminating code - last time this came up (ref
> store.exp) it was recommended that the .c files be split so that GCC
> couldn't see the potential optimization.
OK. I've revised the patch to split the source file. This is
pretty ugly though as there are a half dozen tests that have
to be modified to accomodate two source files.
I've attached the patch for review/approval.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 54758 bytes
Desc: not available
More information about the Gdb-patches