[Bug target/19232] Failure in gcc.dg/assign-warn-3.c on i686-pc-linux-gnu with -fpic/-fPIC

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 3 17:59:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-03 17:59 -------
(In reply to comment #2)
> With today's mainline I get the following results which confirm
> Kaveh's observations:
> 
> gcc -c -O assign-warn-3.c:         no warning       
> gcc -c -O2 assign-warn-3.c:        no warning
> gcc -c -O3 assign-warn-3.c:        warning
> gcc -c -O assign-warn-3.c -fpic:   no warning
> gcc -c -O2 assign-warn-3.c -fpic:  no warning
> gcc -c -O3 assign-warn-3.c -fpic:  no warning !!!

To repsond to this one, with -fpic/PIC we don't inline functions which can be overridden by other TUs.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19232



More information about the Gcc-bugs mailing list