public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/32305]  New: ICE in initialize_flags_in_bb  with  -O -fipa-pta
@ 2007-06-12 14:17 wouter dot vermaelen at scarlet dot be
  2007-06-12 15:08 ` [Bug c++/32305] " rguenth at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: wouter dot vermaelen at scarlet dot be @ 2007-06-12 14:17 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

> cat bug.ii
struct S1 {
        S1() {}
};
struct S2 {
        void f2() {
                static S1 s1;
        }
};
void f(S2& s2) {
        s2.f2();
}

> g++ -O -fipa-pta bug.ii
bug1.ii: In function ‘void f(S2&)’:
bug1.ii:9: internal compiler error: in initialize_flags_in_bb, at
tree-into-ssa.c:437


-- 
           Summary: ICE in initialize_flags_in_bb  with  -O -fipa-pta
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wouter dot vermaelen at scarlet dot be


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
@ 2007-06-12 15:08 ` rguenth at gcc dot gnu dot org
  2007-08-20  8:52 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-06-12 15:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-06-12 15:08 -------
trunk-g/gcc> ./cc1plus -O -fipa-pta t.ii
 S1::S1() S1::S1() S1::S1() void S2::f2() void f(S2&)
Analyzing compilation unit
Performing interprocedural optimizations
 <visibility> <early_local_cleanups> <inline> <static-var> <pure-const> <pta>
t.ii: In member function 'void S2::f2()':
t.ii:10: error: stmt (0x2b369f6d8780) marked modified after optimization pass: 
_ZGVZN2S22f2EvE2s1.0_1 = (char *) &_ZGVZN2S22f2EvE2s1;
t.ii:10: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 

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-06-12 15:08:11
               date|                            |


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
  2007-06-12 15:08 ` [Bug c++/32305] " rguenth at gcc dot gnu dot org
@ 2007-08-20  8:52 ` pinskia at gcc dot gnu dot org
  2007-08-26  8:30 ` tbm at cyrius dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-20  8:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-08-20 08:52 -------
I get the original ICE now.
(gdb) p debug_generic_expr (stmt)
return


-- 


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
  2007-06-12 15:08 ` [Bug c++/32305] " rguenth at gcc dot gnu dot org
  2007-08-20  8:52 ` pinskia at gcc dot gnu dot org
@ 2007-08-26  8:30 ` tbm at cyrius dot com
  2007-10-04 23:20 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tbm at cyrius dot com @ 2007-08-26  8:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tbm at cyrius dot com  2007-08-26 08:30 -------
I get Richi's error with the alternative testcase below:

(sid)26000:tbm@em64t: ~/delta/bin] /usr/lib/gcc-snapshot/bin/gcc -O -c
-fipa-pta mini.c
mini.c: In function 'TestMD2':
mini.c:7: error: stmt (0x2b31b665e0c0) marked modified after optimization pass:
return;
mini.c:7: internal compiler error: verify_ssa failed
Please submit a full bug report,



/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

static const char *strings[] = {
};
TestMD2 (void)
{
}


-- 


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
                   ` (2 preceding siblings ...)
  2007-08-26  8:30 ` tbm at cyrius dot com
@ 2007-10-04 23:20 ` pinskia at gcc dot gnu dot org
  2007-11-02  3:51 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-04 23:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-10-04 23:20 -------
*** Bug 33658 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
                   ` (3 preceding siblings ...)
  2007-10-04 23:20 ` pinskia at gcc dot gnu dot org
@ 2007-11-02  3:51 ` pinskia at gcc dot gnu dot org
  2008-08-10 23:25 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-02  3:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-11-02 03:51 -------
*** Bug 27002 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
                   ` (4 preceding siblings ...)
  2007-11-02  3:51 ` pinskia at gcc dot gnu dot org
@ 2008-08-10 23:25 ` pinskia at gcc dot gnu dot org
  2008-08-10 23:26 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-10 23:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2008-08-10 23:24 -------
*** Bug 36985 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexandre dot hamez at gmail
                   |                            |dot com


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
                   ` (5 preceding siblings ...)
  2008-08-10 23:25 ` pinskia at gcc dot gnu dot org
@ 2008-08-10 23:26 ` pinskia at gcc dot gnu dot org
  2008-08-12 23:58 ` janis at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-10 23:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2008-08-10 23:25 -------
*** Bug 36600 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vapier at gentoo dot org


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
                   ` (6 preceding siblings ...)
  2008-08-10 23:26 ` pinskia at gcc dot gnu dot org
@ 2008-08-12 23:58 ` janis at gcc dot gnu dot org
  2008-12-01 22:57 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-08-12 23:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from janis at gcc dot gnu dot org  2008-08-12 23:57 -------
With r139042 the GCC Manual says that -fipa-pta is an experimental option that
does not affect code generation.


-- 


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
                   ` (7 preceding siblings ...)
  2008-08-12 23:58 ` janis at gcc dot gnu dot org
@ 2008-12-01 22:57 ` pinskia at gcc dot gnu dot org
  2008-12-01 23:05 ` steven at gcc dot gnu dot org
  2009-11-14 19:24 ` reichelt at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-01 22:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2008-12-01 22:55 -------
*** Bug 38355 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debian-gcc at lists dot
                   |                            |debian dot org


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
                   ` (8 preceding siblings ...)
  2008-12-01 22:57 ` pinskia at gcc dot gnu dot org
@ 2008-12-01 23:05 ` steven at gcc dot gnu dot org
  2009-11-14 19:24 ` reichelt at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: steven at gcc dot gnu dot org @ 2008-12-01 23:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from steven at gcc dot gnu dot org  2008-12-01 23:04 -------
With so many dups, IMHO this ought to be fixed for the releases...


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |steven at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-06-12 15:08:11         |2008-12-01 23:04:15
               date|                            |


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


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

* [Bug c++/32305] ICE in initialize_flags_in_bb  with  -O -fipa-pta
  2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
                   ` (9 preceding siblings ...)
  2008-12-01 23:05 ` steven at gcc dot gnu dot org
@ 2009-11-14 19:24 ` reichelt at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-11-14 19:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from reichelt at gcc dot gnu dot org  2009-11-14 19:24 -------
The problems with -O -fipa-pta seem to be fixed since GCC 4.4.0.
I checked all duplicates from comment #4 - #7.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


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

end of thread, other threads:[~2009-11-14 19:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-12 14:17 [Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta wouter dot vermaelen at scarlet dot be
2007-06-12 15:08 ` [Bug c++/32305] " rguenth at gcc dot gnu dot org
2007-08-20  8:52 ` pinskia at gcc dot gnu dot org
2007-08-26  8:30 ` tbm at cyrius dot com
2007-10-04 23:20 ` pinskia at gcc dot gnu dot org
2007-11-02  3:51 ` pinskia at gcc dot gnu dot org
2008-08-10 23:25 ` pinskia at gcc dot gnu dot org
2008-08-10 23:26 ` pinskia at gcc dot gnu dot org
2008-08-12 23:58 ` janis at gcc dot gnu dot org
2008-12-01 22:57 ` pinskia at gcc dot gnu dot org
2008-12-01 23:05 ` steven at gcc dot gnu dot org
2009-11-14 19:24 ` reichelt 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).