public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30309]  New: ICE with g++ -fipa-pta and malloc(?)
@ 2006-12-27 13:17 wouter dot vermaelen at pi dot be
  2006-12-30 19:00 ` [Bug c++/30309] " gdr at gcc dot gnu dot org
  2007-08-20  8:49 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: wouter dot vermaelen at pi dot be @ 2006-12-27 13:17 UTC (permalink / raw)
  To: gcc-bugs

Since a few days the following code triggers an ICE with the latest SVN
version:


> cat bug.c
void* malloc(unsigned);

void f()
{
        void* p = malloc(0);
}

> g++ -fipa-pta bug.c
bug.c: In function 'void f()':
bug.c:5: internal compiler error: Segmentation fault


Compilation with gcc works as expected. Renaming 'malloc' solves (or hides?)
the problem.


-- 
           Summary: ICE with g++ -fipa-pta and malloc(?)
           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 pi dot be


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


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

* [Bug c++/30309] ICE with g++ -fipa-pta and malloc(?)
  2006-12-27 13:17 [Bug c++/30309] New: ICE with g++ -fipa-pta and malloc(?) wouter dot vermaelen at pi dot be
@ 2006-12-30 19:00 ` gdr at gcc dot gnu dot org
  2007-08-20  8:49 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: gdr at gcc dot gnu dot org @ 2006-12-30 19:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from gdr at gcc dot gnu dot org  2006-12-30 19:00 -------
I can reproduce this.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-12-30 19:00:41
               date|                            |


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


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

* [Bug c++/30309] ICE with g++ -fipa-pta and malloc(?)
  2006-12-27 13:17 [Bug c++/30309] New: ICE with g++ -fipa-pta and malloc(?) wouter dot vermaelen at pi dot be
  2006-12-30 19:00 ` [Bug c++/30309] " gdr at gcc dot gnu dot org
@ 2007-08-20  8:49 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-20  8:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-08-20 08:48 -------
Fixed on the mainline now.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2007-08-20  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-27 13:17 [Bug c++/30309] New: ICE with g++ -fipa-pta and malloc(?) wouter dot vermaelen at pi dot be
2006-12-30 19:00 ` [Bug c++/30309] " gdr at gcc dot gnu dot org
2007-08-20  8:49 ` pinskia 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).