https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87588
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.org --- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> --- For reference, the warning about 'b' is emitted here: Breakpoint 6, check_global_declaration (snode=<symtab_node * 0x7ffff7fc1180 "b"/2>) at ../../src/gcc/cgraphunit.cc:1138 1138 warning_at (DECL_SOURCE_LOCATION (decl), (gdb) bt #0 check_global_declaration (snode=<symtab_node * 0x7ffff7fc1180 "b"/2>) at ../../src/gcc/cgraphunit.cc:1138 #1 0x0000000000f3013f in analyze_functions (first_time=true) at ../../src/gcc/cgraphunit.cc:1343 #2 0x0000000000f335c8 in symbol_table::finalize_compilation_unit (this=0x7fffe9a06000) at ../../src/gcc/cgraphunit.cc:2560 #3 0x000000000157edb4 in compile_file () at ../../src/gcc/toplev.cc:478 #4 0x0000000000c8ccbe in do_compile () at ../../src/gcc/toplev.cc:2209 #5 toplev::main (this=this@entry=0x7fffffffdb0e, argc=<optimized out>, argc@entry=19, argv=<optimized out>, argv@entry=0x7fffffffdc48) at ../../src/gcc/toplev.cc:2369 #6 0x0000000000c8e0a2 in main (argc=19, argv=0x7fffffffdc48) at ../../src/gcc/main.cc:39