This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/26771] [4.2 regression] ICE with -fmudflap



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]