Re: [C++ patch] do not make extern inlines as needed when not optimizing

2014-12-15 Thread Jason Merrill
On 12/14/2014 06:14 PM, Jan Hubicka wrote: DECL_EXTERNAL (decl) && !DECL_NOT_REALLY_EXTERN (decl) This is DECL_REALLY_EXTERN. OK with that change (in both places). Jason

[C++ patch] do not make extern inlines as needed when not optimizing

2014-12-14 Thread Jan Hubicka
Hi, while looking into PR ipa/61324 I noticed that extern inline functions are produced by C++ FE even at -O0. This seems like considerable waste especially because these may trigger instantiations. Bootstrepped/regtested x86_64-linux, OK? Honza * decl2.c (decl_needed_p): When not optim