Re: Do not build callgraph for external functions when inlining

2014-12-16 Thread Andreas Schwab
Jan Hubicka hubi...@ucw.cz writes: this should be fixed by patch to handle extern aliases correctly I commited later that day. Does the problem still reproduce for you? It works again. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE

Re: Do not build callgraph for external functions when inlining

2014-12-15 Thread Andreas Schwab
Jan Hubicka hubi...@ucw.cz writes: * cgraphunit.c (analyze_functions): Do not analyze extern inline funtions when not optimizing; skip comdat locals. FAIL: g++.dg/torture/pr60854.C -O0 (test for excess errors) Excess errors:

Re: Do not build callgraph for external functions when inlining

2014-12-15 Thread Jan Hubicka
Jan Hubicka hubi...@ucw.cz writes: * cgraphunit.c (analyze_functions): Do not analyze extern inline funtions when not optimizing; skip comdat locals. FAIL: g++.dg/torture/pr60854.C -O0 (test for excess errors) Excess errors:

Do not build callgraph for external functions when inlining

2014-12-14 Thread Jan Hubicka
Hi, this patch implements analogous change I did to ipa.c reachability to remove extern functions early when not optimizing. These are common in C++ code and it is not effective to process them until after inliner. Bootstrapped/regtested x86_64-linux, will commit it shortly. Honza *