[4.8/4.9 Regression] cc1plus doesn't terminate when called with -g on arm-linux-gnueabihf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Confirmed
|
Medium
|
|||
gcc-4.8 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gcc-4.9 (Debian) |
Fix Released
|
Unknown
|
|||
gcc-4.9 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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
Program received signal SIGINT, Interrupt.
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
Changed in gcc-4.9 (Debian): | |
status: | Unknown → New |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → Invalid |
summary: |
- [4.8/4.9 Regresion] cc1plus doesn't terminate when called with -g on + [4.8/4.9 Regression] cc1plus doesn't terminate when called with -g on arm-linux-gnueabihf |
Changed in gcc-4.9 (Debian): | |
status: | New → Confirmed |
Changed in gcc: | |
importance: | Medium → Unknown |
status: | Invalid → Unknown |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in gcc-4.9 (Debian): | |
status: | Confirmed → Fix Released |
Created attachment 32722
Preprocssed file to reproduce bug
Data flow analysis in variable tracking does not converge and causes an infinite loop with the attached file and following compile options:
./cc1plus -quiet -fpreprocessed qmltextgenerator.ii -dumpbase qmltextgenerator.ii -march=armv4t -mfloat-abi=soft -mtls-dialect=gnu -auxbase-strip x.o -g -O2 -Wformat=1 -Werror= format- security -Wall -Wextra -version -fstack-protector -fvisibility=hidden -fvisibility- inlines- hidden -fPIC --param ssp-buffer-size=4 -o qmltextgenerator.s
GCC configured with --target= arm-linux- gnueabi