------- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-03 18:40 ------- But g++.dg/opt/inline8.C then fails. Why's foo DECL_EXTERNAL?
<function_decl 0xb77be700 foo type <function_type 0xb77428a0 type <void_type 0xb7733840 void VOID align 8 symtab 0 alias set -1 canonical type 0xb7733840 pointer_to_this <pointer_type 0xb77338a0>> QI size <integer_cst 0xb771f150 constant 8> unit size <integer_cst 0xb771f168 constant 1> align 8 symtab 0 alias set -1 canonical type 0xb77428a0 arg-types <tree_list 0xb771f738 value <void_type 0xb7733840 void>>> nothrow public static external weak autoinline decl_5 QI defer-output huh. C++ FE lets-set-all-flags fun. The patch from comment #3 fails the testcase the same way. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rguenth at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org Status|ASSIGNED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43611