This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Wow, thanks for doing this! I was thinking that just one test needed changes. Anyway, perhaphs wait for michaelc to put it through his test harness before committing.


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]