This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: unit-at-a-time option causes incorrect line numbers in warnings


	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


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