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: David Edelsohn <dje at watson dot ibm dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 21 Feb 2003 13:20:27 -0500
- Subject: Re: unit-at-a-time option causes incorrect line numbers in warnings
- References: <200302211741.MAA29916@makai.watson.ibm.com>
unit-at-a-time also inhibits warnings for gcc.dg/warn-1.c as has
appeared on regression results for all platforms.
rios0 109> ./xgcc -B./ -O3 -S /gcc/dje/src/gcc/testsuite/gcc.dg/warn-1.c
rios0 110> ./xgcc -B./ -O3 -S -fno-unit-at-a-time /gcc/dje/src/gcc/testsuite/gcc.dg/warn-1.c
In file included from /gcc/dje/src/gcc/testsuite/gcc.dg/warn-1.c:15:
/gcc/dje/src/gcc/testsuite/gcc.dg/warn-1.c:8: warning: passing arg of `foo' makes integer from pointer without a cast
David