Bug 15443 - ICE with void f () __attribute__ ((__malloc__));
Summary: ICE with void f () __attribute__ ((__malloc__));
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 3.3.4
: P2 normal
Target Milestone: 4.1.0
Assignee: Not yet assigned to anyone
URL:
Keywords: patch
: 20613 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-14 17:51 UTC by Serge Belyshev
Modified: 2005-04-07 20:52 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail: 3.3.4 3.4.0 4.0.0 3.2.3 3.2.2 3.0.4
Last reconfirmed: 2005-01-06 12:55:55


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serge Belyshev 2004-05-14 17:52:00 UTC
void f () __attribute__ ((__malloc__));

int main ()
{
	f ();
}
Comment 1 Andrew Pinski 2004-05-14 17:59:47 UTC
Confirmed.  The issue is in the middle-end in expand_call.  Should an easy fix.
Comment 2 Andrew Pinski 2005-03-24 03:02:27 UTC
*** Bug 20613 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Pinski 2005-03-25 14:30:57 UTC
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02336.html>.
Comment 4 Andrew Pinski 2005-04-07 20:52:51 UTC
Fixed checked into the mainline for 4.1.0.