Bug 44866 - [4.6 regression] internal compiler error: verify_stmts failed: error: Incompatible types in PHI argument 1
Summary: [4.6 regression] internal compiler error: verify_stmts failed: error: Incompa...
Status: RESOLVED DUPLICATE of bug 44831
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 09:42 UTC by Gerald Pfeifer
Modified: 2010-07-08 10:41 UTC (History)
2 users (show)

See Also:
Host: i386-unknown-freebsd7.3
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Input file triggering the verification failure (25.46 KB, application/x-bzip)
2010-07-08 09:43 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2010-07-08 09:42:17 UTC
This is for Wine, a regression that happened in the last week or two:

/files/pfeifer/gcc/bin/gcc -c -O2 nbcmdqueue.i
nbcmdqueue.c: In function ‘NBCmdQueueCancel’:
nbcmdqueue.c:107:7: error: Incompatible types in PHI argument 1
struct _NCB *

UCHAR

D.9146_56 = PHI <D.9167_60(8), D.9168_61(9)>

nbcmdqueue.c:107:7: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Interestingly enough, if I use -O1 instead of -O2 the failure remains,
alas a few lines earlier.
Comment 1 Gerald Pfeifer 2010-07-08 09:43:35 UTC
Created attachment 21138 [details]
Input file triggering the verification failure
Comment 2 Richard Biener 2010-07-08 10:41:23 UTC

*** This bug has been marked as a duplicate of 44831 ***