unit-at-a-time option causes incorrect line numbers in warnings

Jan Hubicka jh@suse.cz
Fri Feb 21 20:20:00 GMT 2003


> >>>>> 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



More information about the Gcc mailing list