This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26771] [4.2 regression] ICE with -fmudflap
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Mar 2006 13:55:28 -0000
- Subject: [Bug tree-optimization/26771] [4.2 regression] ICE with -fmudflap
- References: <bug-26771-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from reichelt at gcc dot gnu dot org 2006-03-31 13:55 -------
The original testcase does not crash anymore, but changing the
inline bool f1(char* p, char* q, int) { return p ? p : q; }
to
inline bool f1(char* p, char* q, const int&) { return p ? p : q; }
makes the compiler crash again.
Btw, the ICE is:
bug.cc: In function 'void f2(E)':
bug.cc:51: error: definition in block 5 does not dominate use in block 20
for SSA_NAME: SMT.21_144 in statement:
SMT.21_78 = PHI <SMT.21_207(16), SMT.21_144(20), SMT.21_172(9)>;
PHI argument
SMT.21_144
for PHI node
SMT.21_78 = PHI <SMT.21_207(16), SMT.21_144(20), SMT.21_172(9)>;
bug.cc:51: internal compiler error: verify_ssa failed
Please submit a full bug report, [etc.]
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26771