https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62013
Bug ID: 62013 Summary: [4.8/4.9 Regresion] cc1plus doesn't terminate when called with -g on arm-linux-gnueabihf Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Created attachment 33243 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33243&action=edit test case seen on the 4.8 and 4.9 branch, cc1plus doesn't terminate. omitting the -g lets the command succeed. $ g++ -v -std=c++0x -c -g -O2 qmltextgenerator.cpp Program received signal SIGINT, Interrupt. 0x0054920c in canonicalize_values_star(variable_def**, dataflow_set_def*) () (gdb) bt #0 0x0054920c in canonicalize_values_star(variable_def**, dataflow_set_def*) () #1 0x0054b0c2 in ?? () #2 0x0054ca08 in ?? () #3 0x0054d8ba in ?? () #4 0x0039928a in execute_one_pass(opt_pass*) () #5 0x00399448 in execute_pass_list(opt_pass*) () #6 0x00399452 in execute_pass_list(opt_pass*) () #7 0x00399452 in execute_pass_list(opt_pass*) () #8 0x00244a8c in ?? () #9 0x00245ca4 in compile() () #10 0x00246030 in finalize_compilation_unit() () #11 0x00158fc4 in cp_write_global_declarations() () #12 0x00409394 in ?? () #13 0x0040aad0 in toplev_main(int, char**) () #14 0xb6d4f630 in __libc_start_main (main=0x111e19 <main>, argc=26, argv=0xbefff604, init=<optimized out>, fini=0x7b2af5 <__libc_csu_fini>, rtld_fini=0xb6fe24e5 <_dl_fini>, stack_end=0xbefff604) at libc-start.c:287 #15 0x00112058 in _start () defaults are -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb