This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: unit-at-a-time option causes incorrect line numbers in warnings
- From: Jan Hubicka <jh at suse dot cz>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Joern Rennecke <joern dot rennecke at superh dot com>, gcc at gcc dot gnu dot org,Jan Hubicka <jh at suse dot cz>
- Date: Fri, 21 Feb 2003 21:10:07 +0100
- Subject: Re: unit-at-a-time option causes incorrect line numbers in warnings
- References: <joern.rennecke@superh.com> <3E564B8F.897DA0C3@superh.com> <200302211741.MAA29916@makai.watson.ibm.com>
> >>>>> Joern Rennecke writes:
>
> Joern> When flag_unit_at_a_time was set for -O2, gcc.dg/noreturn-1.c
> Joern> failed in the test for warnings in line 11, since the warning
Setting flag_unit_at_a_time for -O2 was mistake - I did that to get it
tested and the accidentaly commited it into the tree. I've reverted the
patch already.
> Joern> was emitted at the end of the compilation, and with line number
> Joern> 59 instead of 11:
>
> Joern> Executing on host: /export/home/build/sh64-elf/gcc/xgcc -B/export/home/build/sh64-elf/gcc/ /export/home/build/srcw/gcc/testsuite/gcc.dg/noreturn-1.c -O2 -Wmissing-noreturn -DSTACK_SIZE=16384 -S
>
> I am seeing a similar noreturn-1 failure on AIX PowerPC.
I will look into this, htanks
Honza
>
> David