Bug 22014 - [4.1 Regression] ICE in do_structure_copy, at tree-ssa-structalias.c:2363
Summary: [4.1 Regression] ICE in do_structure_copy, at tree-ssa-structalias.c:2363
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: 4.1.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
: 22015 22016 22030 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-11 07:15 UTC by marcus
Modified: 2005-06-24 02:28 UTC (History)
5 users (show)

See Also:
Host:
Target:
Build:
Known to work: 4.0.0
Known to fail: 4.1.0
Last reconfirmed: 2005-06-11 14:56:46


Attachments
server.i (142 bytes, text/plain)
2005-06-11 07:16 UTC, marcus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marcus 2005-06-11 07:15:51 UTC
following code (extracted from WINE) fails in HEAD branch with: 
 
/home/marcus/projects/gcc/BIN/bin/gcc -c -O2 server.i  
server.i: In function 'f': 
server.i:17: internal compiler error: in do_structure_copy, at 
tree-ssa-structalias.c:2363 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 marcus 2005-06-11 07:16:23 UTC
Created attachment 9068 [details]
server.i

gcc -c -O2 server.i
Comment 2 Andrew Pinski 2005-06-11 14:56:46 UTC
Confirmed.
Comment 3 Pawel Sikora 2005-06-11 14:59:23 UTC
*** Bug 22015 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Pinski 2005-06-11 15:12:58 UTC
*** Bug 22016 has been marked as a duplicate of this bug. ***
Comment 5 Andrew Pinski 2005-06-12 14:07:35 UTC
*** Bug 22030 has been marked as a duplicate of this bug. ***
Comment 6 marcus 2005-06-17 07:01:16 UTC
this code is btw generic 
 
connect (fd, (struct sockaddr*)&sockaddrinvar, sizeof(sockaddrinvar)); 
 
so it triggers in every socket client program using linux glibc. 
Comment 7 Art Haas 2005-06-24 01:43:14 UTC
Hi.

Daniel Berlin's patch of June 20 has fixed bug 22016 - a duplicate of this.
Builds of GCC after this patch had been applied would successfully compile CVS
postgres, the package I found that would fail. I believe this bug can be closed now.
Comment 8 Andrew Pinski 2005-06-24 02:28:59 UTC
Fixed.