Created attachment 33243 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
Created attachment 33243
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 qmltextgenerato r.cpp
Program received signal SIGINT, Interrupt. values_ star(variable_ def**, dataflow_set_def*) () values_ star(variable_ def**, dataflow_set_def*) one_pass( opt_pass* ) () pass_list( opt_pass* ) () pass_list( opt_pass* ) () pass_list( opt_pass* ) () compilation_ unit() () global_ declarations( ) () 0xbefff604, init=<optimized out>, fini=0x7b2af5 <__libc_csu_fini>, fini=0xb6fe24e5 <_dl_fini>, stack_end= 0xbefff604) at libc-start.c:287
0x0054920c in canonicalize_
(gdb) bt
#0 0x0054920c in canonicalize_
()
#1 0x0054b0c2 in ?? ()
#2 0x0054ca08 in ?? ()
#3 0x0054d8ba in ?? ()
#4 0x0039928a in execute_
#5 0x00399448 in execute_
#6 0x00399452 in execute_
#7 0x00399452 in execute_
#8 0x00244a8c in ?? ()
#9 0x00245ca4 in compile() ()
#10 0x00246030 in finalize_
#11 0x00158fc4 in cp_write_
#12 0x00409394 in ?? ()
#13 0x0040aad0 in toplev_main(int, char**) ()
#14 0xb6d4f630 in __libc_start_main (main=0x111e19 <main>, argc=26,
argv=
rtld_
#15 0x00112058 in _start ()
defaults are -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb