[PATCH] Outwit compiler dead code elimination in break.exp test (revised patch)

Fred Fish fnf@ninemoons.com
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...
Name: d
Type: text/x-diff
Size: 54758 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20031207/c072d303/attachment.bin>

More information about the Gdb-patches mailing list