c/10320: [3.4 regression] gcc 3.4 gets rid of static inline function that does not get inlined

Andrew Pinski pinskia@physics.uc.edu
Sun Apr 6 17:26:00 GMT 2003


The following reply was made to PR c/10320; it has been noted by GNATS.

From: Andrew Pinski <pinskia@physics.uc.edu>
To: Diego Novillo <dnovillo@redhat.com>
Cc: Andrew Pinski <pinskia@physics.uc.edu>, gcc-gnats@gcc.gnu.org
Subject: Re: c/10320: [3.4 regression] gcc 3.4 gets rid of static inline function that does not get inlined
Date: Sun, 6 Apr 2003 13:19:56 -0400

 This is not a bug report against ssa-branch but against 3.4 which has  
 the problem.
 And causing me not able to bootstrap with that compiler in the first  
 stage.
 There is another problem in the second stage for ssa-branch if I use  
 the `apple's 3.1 (1175)' as the first stage compiler which I will send  
 you about later.
 
 Thanks,
 Andrew Pinski
 
 On Sunday, Apr 6, 2003, at 13:13 US/Eastern, Diego Novillo wrote:
 
 > On Sun, 06 Apr 2003, pinskia@physics.uc.edu wrote:
 >
 >> compile and link and run (try at least) the following source:
 >> static inline void temp();
 >> int main()
 >> {
 >>         temp();
 >>         return 0;
 >> }
 >> static void temp(){}
 >>
 > Hmm, I can't reproduce this on ssa-branch (PPC/Linux):
 >
 > ----------------------------------------------------------------------- 
 > ------
 >  ./cc1 -fpreprocessed a.i -quiet -dumpbase a.c -auxbase a -O2 -version  
 > -o a.s
 > GNU C version 3.5-tree-ssa 20030302 (experimental)  
 > (powerpc-unknown-linux-gnu)
 >         compiled by GNU C version 3.5-tree-ssa 20030302 (experimental).
 > GGC heuristics: --param ggc-min-expand=38 --param  
 > ggc-min-heapsize=15614
 >  as --traditional-format -mppc -V -Qy -o a.o a.s
 > GNU assembler version 2.10.91 (ppc-yellowdog-linux) using BFD version  
 > 2.10.0.33
 >  ./collect2 -V -Qy -m elf32ppclinux -dynamic-linker /lib/ld.so.1 -o a  
 > /usr/lib/crt1.o /usr/lib/crti.o ./crtbegin.o -L.  
 > -L/home/dnovillo/clean-tree-ssa/native.ppc/lib/gcc-lib/powerpc- 
 > unknown-linux-gnu/3.5-tree-ssa  
 > -L/home/dnovillo/clean-tree-ssa/native.ppc/lib/gcc-lib/powerpc- 
 > unknown-linux-gnu/3.5-tree-ssa/../../.. a.o
 > -lgcc -lgcc_eh -lc -lgcc -lgcc_eh ./crtsavres.o ./crtend.o  
 > /usr/lib/crtn.o
 > GNU ld version 2.10.91 (with BFD 2.10.0.33)
 >   Supported emulations:
 >    elf32ppclinux
 >    elf32ppc
 >    elf32ppcsim
 > ----------------------------------------------------------------------- 
 > ------
 >
 > Can you send me the bootstrap failure message you get on Darwin?
 >
 >
 > Diego.
 >
 >
 



More information about the Gcc-prs mailing list