This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR23205.C testcase (PR debug/36668)
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 Oct 2008 15:42:45 -0700
- Subject: Re: [PATCH] Fix PR23205.C testcase (PR debug/36668)
- References: <20081029192629.GL14706@tyan-ft48-01.lab.bos.redhat.com>
- Reply-to: janis187 at us dot ibm dot com
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