public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46240] New: ice in maybe_register_def
@ 2010-10-30 11:42 dcb314 at hotmail dot com
2010-10-30 11:43 ` [Bug c++/46240] " dcb314 at hotmail dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2010-10-30 11:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240
Summary: ice in maybe_register_def
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dcb314@hotmail.com
I just tried to compile package octave-3.2.4 with the latest 4.6
snapshot 20101023 on a Fedora Linux box. The compiler said
oct-norm.cc: In function 'VectorT dual_p(const VectorT&, R, R) [with VectorT =
Matrix, R = double]':
oct-norm.cc:396:9: internal compiler error: in maybe_register_def, at
tree-into-ssa.c:1875
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Source code attached. Flags -g -O3 required.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/46240] ice in maybe_register_def
2010-10-30 11:42 [Bug c++/46240] New: ice in maybe_register_def dcb314 at hotmail dot com
@ 2010-10-30 11:43 ` dcb314 at hotmail dot com
2010-10-30 14:21 ` [Bug middle-end/46240] " hjl.tools at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2010-10-30 11:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240
--- Comment #1 from dcb <dcb314 at hotmail dot com> 2010-10-30 11:43:35 UTC ---
Created attachment 22204
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22204
gzipped C++ source code
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/46240] ice in maybe_register_def
2010-10-30 11:42 [Bug c++/46240] New: ice in maybe_register_def dcb314 at hotmail dot com
2010-10-30 11:43 ` [Bug c++/46240] " dcb314 at hotmail dot com
@ 2010-10-30 14:21 ` hjl.tools at gmail dot com
2010-12-18 11:37 ` dcb314 at hotmail dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-30 14:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.30 14:21:40
Component|c++ |middle-end
CC| |hubicka at gcc dot gnu.org
Ever Confirmed|0 |1
Target Milestone|--- |4.6.0
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-30 14:21:40 UTC ---
It is caused by revision 162842:
http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00053.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/46240] ice in maybe_register_def
2010-10-30 11:42 [Bug c++/46240] New: ice in maybe_register_def dcb314 at hotmail dot com
2010-10-30 11:43 ` [Bug c++/46240] " dcb314 at hotmail dot com
2010-10-30 14:21 ` [Bug middle-end/46240] " hjl.tools at gmail dot com
@ 2010-12-18 11:37 ` dcb314 at hotmail dot com
2011-01-03 20:03 ` [Bug middle-end/46240] [4.6 Regression] " rguenth at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2010-12-18 11:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240
--- Comment #3 from dcb <dcb314 at hotmail dot com> 2010-12-18 11:37:03 UTC ---
(In reply to comment #2)
> It is caused by revision 162842:
>
> http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00053.html
Thanks for that. I can confirm the bug still exists
in snapshot 20101211.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/46240] [4.6 Regression] ice in maybe_register_def
2010-10-30 11:42 [Bug c++/46240] New: ice in maybe_register_def dcb314 at hotmail dot com
` (2 preceding siblings ...)
2010-12-18 11:37 ` dcb314 at hotmail dot com
@ 2011-01-03 20:03 ` rguenth at gcc dot gnu.org
2011-01-05 0:28 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-03 20:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/46240] [4.6 Regression] ice in maybe_register_def
2010-10-30 11:42 [Bug c++/46240] New: ice in maybe_register_def dcb314 at hotmail dot com
` (3 preceding siblings ...)
2011-01-03 20:03 ` [Bug middle-end/46240] [4.6 Regression] " rguenth at gcc dot gnu.org
@ 2011-01-05 0:28 ` jakub at gcc dot gnu.org
2011-01-06 22:11 ` aoliva at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-05 0:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-05 00:28:16 UTC ---
Created attachment 22902
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22902
pr46240.ii
Reduced testcase. Fails with -g -O3, works with -g -O3
-fno-var-tracking-assignments.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/46240] [4.6 Regression] ice in maybe_register_def
2010-10-30 11:42 [Bug c++/46240] New: ice in maybe_register_def dcb314 at hotmail dot com
` (4 preceding siblings ...)
2011-01-05 0:28 ` jakub at gcc dot gnu.org
@ 2011-01-06 22:11 ` aoliva at gcc dot gnu.org
2011-01-13 8:57 ` aoliva at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-01-06 22:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |aoliva at gcc dot gnu.org
|gnu.org |
--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-06 21:53:42 UTC ---
Mine
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/46240] [4.6 Regression] ice in maybe_register_def
2010-10-30 11:42 [Bug c++/46240] New: ice in maybe_register_def dcb314 at hotmail dot com
` (5 preceding siblings ...)
2011-01-06 22:11 ` aoliva at gcc dot gnu.org
@ 2011-01-13 8:57 ` aoliva at gcc dot gnu.org
2011-01-19 22:45 ` [Bug debug/46240] " aoliva at gcc dot gnu.org
2011-01-19 23:00 ` aoliva at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-01-13 8:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240
--- Comment #6 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-13 07:27:19 UTC ---
Created attachment 22955
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22955
Patch that fixes the bug, testing with enable-build-with-cxx bootstrap-O3
Here's the patch I'm testing.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/46240] [4.6 Regression] ice in maybe_register_def
2010-10-30 11:42 [Bug c++/46240] New: ice in maybe_register_def dcb314 at hotmail dot com
` (6 preceding siblings ...)
2011-01-13 8:57 ` aoliva at gcc dot gnu.org
@ 2011-01-19 22:45 ` aoliva at gcc dot gnu.org
2011-01-19 23:00 ` aoliva at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-01-19 22:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240
--- Comment #7 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-19 22:07:16 UTC ---
Author: aoliva
Date: Wed Jan 19 22:07:14 2011
New Revision: 169035
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169035
Log:
gcc/ChangeLog:
PR debug/46240
* tree-into-ssa.c (maybe_register_def): Do not attempt to add
debug bind stmt on merge edges.
gcc/testsuite/ChangeLog:
PR debug/46240
* g++.dg/debug/pr46240.cc: New.
Added:
trunk/gcc/testsuite/g++.dg/debug/pr46240.cc
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-into-ssa.c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/46240] [4.6 Regression] ice in maybe_register_def
2010-10-30 11:42 [Bug c++/46240] New: ice in maybe_register_def dcb314 at hotmail dot com
` (7 preceding siblings ...)
2011-01-19 22:45 ` [Bug debug/46240] " aoliva at gcc dot gnu.org
@ 2011-01-19 23:00 ` aoliva at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-01-19 23:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #8 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-19 22:11:33 UTC ---
Fixed
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-01-19 22:11 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-30 11:42 [Bug c++/46240] New: ice in maybe_register_def dcb314 at hotmail dot com
2010-10-30 11:43 ` [Bug c++/46240] " dcb314 at hotmail dot com
2010-10-30 14:21 ` [Bug middle-end/46240] " hjl.tools at gmail dot com
2010-12-18 11:37 ` dcb314 at hotmail dot com
2011-01-03 20:03 ` [Bug middle-end/46240] [4.6 Regression] " rguenth at gcc dot gnu.org
2011-01-05 0:28 ` jakub at gcc dot gnu.org
2011-01-06 22:11 ` aoliva at gcc dot gnu.org
2011-01-13 8:57 ` aoliva at gcc dot gnu.org
2011-01-19 22:45 ` [Bug debug/46240] " aoliva at gcc dot gnu.org
2011-01-19 23:00 ` aoliva at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).