← Back to team overview

touch-packages team mailing list archive

[Bug 1352417] Re: [4.8/4.9 Regresion] cc1plus doesn't terminate when called with -g on arm-linux-gnueabihf

 

Launchpad has imported 2 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62013.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-08-04T15:29:45+00:00 Doko-v wrote:

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352417/comments/0

------------------------------------------------------------------------
On 2014-08-04T15:42:04+00:00 Ktkachov wrote:

I'm willing to bet this is a duplicate of 61033 that also involves a
qmltextgenerator.ii preprocessed reproducer file ;)

It goes into an infinite loop for me on arm-none-eabi with 4.9 and
passes with current trunk. Didn't try 4.8, I expect it fails there like
you say.

I don't remember if it was fixed in trunk and the fix not backported or
just made latent.

*** This bug has been marked as a duplicate of bug 61033 ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352417/comments/2


** Changed in: gcc
       Status: Unknown => Invalid

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1352417

Title:
  [4.8/4.9 Regresion] cc1plus doesn't terminate when called with -g on
  arm-linux-gnueabihf

Status in The GNU Compiler Collection:
  Invalid
Status in “gcc-4.8” package in Ubuntu:
  New
Status in “gcc-4.9” package in Ubuntu:
  New
Status in “gcc-4.9” package in Debian:
  New

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 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1352417/+subscriptions


References