touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #09768
[Bug 1352417] Re: [4.8/4.9 Regression] cc1plus doesn't terminate when called with -g on arm-linux-gnueabihf
Launchpad has imported 8 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61033.
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-05-02T04:40:04+00:00 Michael Collison wrote:
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
Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352417/comments/0
------------------------------------------------------------------------
On 2014-05-02T08:17:39+00:00 Ktkachov wrote:
Confirmed with arm-none-eabi as well.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352417/comments/1
------------------------------------------------------------------------
On 2014-05-07T01:31:55+00:00 Mkuvyrkov wrote:
Assigned to myself as Michael does not have a GCC developer account yet.
Michael is the one working on this bug.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352417/comments/2
------------------------------------------------------------------------
On 2014-08-04T15:42:04+00:00 Ktkachov wrote:
*** Bug 62013 has been marked as a duplicate of this bug. ***
Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352417/comments/6
------------------------------------------------------------------------
On 2014-08-04T15:45:17+00:00 Ktkachov wrote:
Filling in some fields, this still fails on the 4.8 and 4.9 branches but
works on trunk.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352417/comments/7
------------------------------------------------------------------------
On 2014-08-04T18:07:47+00:00 Cbaylis-u wrote:
Created attachment 33244
Reduced test case
$ arm-unknown-linux-gnueabihf-gcc -S -O2 -g reduced1.cpp
Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352417/comments/8
------------------------------------------------------------------------
On 2014-08-04T18:43:39+00:00 Cbaylis-u wrote:
git bisect points to r211625 as the revision which fixes/hides this bug on trunk.
2014-06-13 Richard Biener <rguenther@xxxxxxx>
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
Rewrite to propagate the VN result into all uses where
possible and to remove stmts becoming dead because of that.
(eliminate): Generalize stmt removal handling, remove in
reverse dominator order to support proper debug stmt
generation. Update stmts before removing stmts.
* tree-ssa-propagate.c (propagate_tree_value): Remove
bogus assert.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352417/comments/9
------------------------------------------------------------------------
On 2014-08-04T18:55:00+00:00 Michael Collison wrote:
Charlie,
I still feel that the var tracking pass should be able to protect itself
from an infinite loop.
On 8/4/2014 11:43 AM, cbaylis at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61033
>
> --- Comment #6 from cbaylis at gcc dot gnu.org ---
>
> git bisect points to r211625 as the revision which fixes/hides this bug on
> trunk.
>
> 2014-06-13 Richard Biener <rguenther@xxxxxxx>
>
> * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
> Rewrite to propagate the VN result into all uses where
> possible and to remove stmts becoming dead because of that.
> (eliminate): Generalize stmt removal handling, remove in
> reverse dominator order to support proper debug stmt
> generation. Update stmts before removing stmts.
> * tree-ssa-propagate.c (propagate_tree_value): Remove
> bogus assert.
>
Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1352417/comments/10
** Changed in: gcc
Status: Unknown => Confirmed
** 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 Regression] cc1plus doesn't terminate when called with -g on
arm-linux-gnueabihf
Status in The GNU Compiler Collection:
Confirmed
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:
Confirmed
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