public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34222]  New: ice for legal code with -O3
@ 2007-11-25  9:25 dcb314 at hotmail dot com
  2007-11-25  9:27 ` [Bug c++/34222] " dcb314 at hotmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2007-11-25  9:25 UTC (permalink / raw)
  To: gcc-bugs

Hello there,

I just tried to compile the Suse Linux package celestia-1.4.1-16
with the GNU C++ compiler version 4.3 snapshot 20071123

The compiler said

3dsread.cpp: In function 'Mat4f readMeshMatrix(std::ifstream&, int)':
3dsread.cpp:275: error: missing definition
for SSA_NAME: SMT.659_346 in statement:
SMT.659_363 = PHI <SMT.659_346(5), SMT.659_338(3)>
PHI argument
SMT.659_346
for PHI node
SMT.659_363 = PHI <SMT.659_346(5), SMT.659_338(3)>
3dsread.cpp:275: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Source code attached. Flag -O3 required.


-- 
           Summary: ice for legal code with -O3
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: suse-linux-x86_64


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34222


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/34222] ice for legal code with -O3
  2007-11-25  9:25 [Bug c++/34222] New: ice for legal code with -O3 dcb314 at hotmail dot com
@ 2007-11-25  9:27 ` dcb314 at hotmail dot com
  2007-11-25 13:00 ` rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2007-11-25  9:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2007-11-25 09:27 -------
Created an attachment (id=14633)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14633&action=view)
C++ source code


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34222


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/34222] ice for legal code with -O3
  2007-11-25  9:25 [Bug c++/34222] New: ice for legal code with -O3 dcb314 at hotmail dot com
  2007-11-25  9:27 ` [Bug c++/34222] " dcb314 at hotmail dot com
@ 2007-11-25 13:00 ` rguenth at gcc dot gnu dot org
  2007-11-25 13:19 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-11-25 13:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2007-11-25 13:00 -------
Reducing.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34222


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/34222] ice for legal code with -O3
  2007-11-25  9:25 [Bug c++/34222] New: ice for legal code with -O3 dcb314 at hotmail dot com
  2007-11-25  9:27 ` [Bug c++/34222] " dcb314 at hotmail dot com
  2007-11-25 13:00 ` rguenth at gcc dot gnu dot org
@ 2007-11-25 13:19 ` rguenth at gcc dot gnu dot org
  2007-11-25 13:21 ` [Bug c++/34222] [4.3 Regression] verify_ssa failed, missing definition rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-11-25 13:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2007-11-25 13:19 -------
Created an attachment (id=14634)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14634&action=view)
reduced testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34222


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/34222] [4.3 Regression] verify_ssa failed, missing definition
  2007-11-25  9:25 [Bug c++/34222] New: ice for legal code with -O3 dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2007-11-25 13:19 ` rguenth at gcc dot gnu dot org
@ 2007-11-25 13:21 ` rguenth at gcc dot gnu dot org
  2007-11-25 19:01 ` [Bug middle-end/34222] " tbm at cyrius dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-11-25 13:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2007-11-25 13:20 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-11-25 13:20:57
               date|                            |
            Summary|ice for legal code with -O3 |[4.3 Regression] verify_ssa
                   |                            |failed, missing definition
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34222


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/34222] [4.3 Regression] verify_ssa failed, missing definition
  2007-11-25  9:25 [Bug c++/34222] New: ice for legal code with -O3 dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2007-11-25 13:21 ` [Bug c++/34222] [4.3 Regression] verify_ssa failed, missing definition rguenth at gcc dot gnu dot org
@ 2007-11-25 19:01 ` tbm at cyrius dot com
  2007-11-27 22:07 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tbm at cyrius dot com @ 2007-11-25 19:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tbm at cyrius dot com  2007-11-25 19:01 -------
I wonder if this is related to PR33869 (which now works).


-- 

tbm at cyrius dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tbm at cyrius dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34222


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/34222] [4.3 Regression] verify_ssa failed, missing definition
  2007-11-25  9:25 [Bug c++/34222] New: ice for legal code with -O3 dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2007-11-25 19:01 ` [Bug middle-end/34222] " tbm at cyrius dot com
@ 2007-11-27 22:07 ` mmitchel at gcc dot gnu dot org
  2007-12-04 14:41 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-11-27 22:07 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34222


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/34222] [4.3 Regression] verify_ssa failed, missing definition
  2007-11-25  9:25 [Bug c++/34222] New: ice for legal code with -O3 dcb314 at hotmail dot com
                   ` (5 preceding siblings ...)
  2007-11-27 22:07 ` mmitchel at gcc dot gnu dot org
@ 2007-12-04 14:41 ` rguenth at gcc dot gnu dot org
  2007-12-04 17:21 ` rguenth at gcc dot gnu dot org
  2007-12-04 17:21 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-12-04 14:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2007-12-04 14:40 -------
Mine.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-11-25 13:20:57         |2007-12-04 14:40:57
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34222


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/34222] [4.3 Regression] verify_ssa failed, missing definition
  2007-11-25  9:25 [Bug c++/34222] New: ice for legal code with -O3 dcb314 at hotmail dot com
                   ` (7 preceding siblings ...)
  2007-12-04 17:21 ` rguenth at gcc dot gnu dot org
@ 2007-12-04 17:21 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-12-04 17:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2007-12-04 17:20 -------
Subject: Bug 34222

Author: rguenth
Date: Tue Dec  4 17:20:34 2007
New Revision: 130602

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130602
Log:
2007-12-04  Richard Guenther  <rguenther@suse.de>

        PR middle-end/34334
        PR middle-end/34222
        * tree-ssa-operands.c (get_addr_dereference_operands): If we
        fall back to using the SMTs aliases, make sure to add virtual
        operands for the SMT itself.
        (create_ssa_artificial_load_stmt): Fix typo.  Make sure to also
        clear the loaded and stored symbols bitmaps.

        * gcc.c-torture/compile/pr34334.c: New testcase.
        * g++.dg/torture/pr34222.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr34222.C
    trunk/gcc/testsuite/gcc.c-torture/compile/pr34334.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-operands.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34222


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/34222] [4.3 Regression] verify_ssa failed, missing definition
  2007-11-25  9:25 [Bug c++/34222] New: ice for legal code with -O3 dcb314 at hotmail dot com
                   ` (6 preceding siblings ...)
  2007-12-04 14:41 ` rguenth at gcc dot gnu dot org
@ 2007-12-04 17:21 ` rguenth at gcc dot gnu dot org
  2007-12-04 17:21 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-12-04 17:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2007-12-04 17:21 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34222


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-12-04 17:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-25  9:25 [Bug c++/34222] New: ice for legal code with -O3 dcb314 at hotmail dot com
2007-11-25  9:27 ` [Bug c++/34222] " dcb314 at hotmail dot com
2007-11-25 13:00 ` rguenth at gcc dot gnu dot org
2007-11-25 13:19 ` rguenth at gcc dot gnu dot org
2007-11-25 13:21 ` [Bug c++/34222] [4.3 Regression] verify_ssa failed, missing definition rguenth at gcc dot gnu dot org
2007-11-25 19:01 ` [Bug middle-end/34222] " tbm at cyrius dot com
2007-11-27 22:07 ` mmitchel at gcc dot gnu dot org
2007-12-04 14:41 ` rguenth at gcc dot gnu dot org
2007-12-04 17:21 ` rguenth at gcc dot gnu dot org
2007-12-04 17:21 ` rguenth at gcc dot gnu dot 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).