[Bug middle-end/42344] [4.5 Regression] ICE in rs6000.md with ipa-sra for 252.eon
janis at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 10 17:26:00 GMT 2009
------- Comment #2 from janis at gcc dot gnu dot org 2009-12-10 17:25 -------
The ICE happens with either -m32 or -m64, but after this same patch eon
segfaults in a destructor when compiled with "-m32 -O2 -fPIC" when built with
GCC with secureplt enabled. valgrind reports some other invalid accesses
before that segfault. valgrind also complains about mismatched
free()/delete/delete[] in eon, which can be fixed by patching ggString.h with
@@ -89,7 +89,7 @@ private:
~StringRep();
void *operator new(size_t, unsigned long len);
void *operator new(size_t s) { return new char[s]; }
-// void operator delete(void *p) { delete p; }
+ void operator delete(void *p) { delete [] (char *)p; }
int len;
int refs;
char str[1];
Peter, can you get someone to look at this further? I've got a setup to build
and run eon outside of the SPEC framework.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42344
More information about the Gcc-bugs
mailing list