[PATCH] Fix PR23205.C testcase (PR debug/36668)

Janis Johnson janis187@us.ibm.com
Wed Oct 29 23:57:00 GMT 2008


On Wed, 2008-10-29 at 20:26 +0100, Jakub Jelinek wrote:
> Hi!
> 
> As -fno-toplevel-reorder (and newly in 4.4 also -fno-unit-at-a-time and -O0
> which imply it) is documented not to optimize away unreferenced variables,
> I think gcc behaves as documented in this case and the testcase needs to be
> adjusted.  Additionally I've added the same testcase with -ftoplevel-reorder
> and the original regexp.
> 
> Ok for trunk?

OK.

Janis



More information about the Gcc-patches mailing list