------- Additional Comments From f dot demiralp at gmail dot com 2005-04-21 22:14 ------- Subject: RE: [4.1 Regression] internal compiler error: verify_stmts failed.
I checked the gcc_4_0_0_release out from the cvs repository today and I have tried it. here the g++ version information g++ -v Using built-in specs. Target: i686-pc-cygwin Configured with: /usr/cvs-src/gcc4/configure --verbose --enable-languages=c,c++ --enable-nls --without-included-gettext --with-system-zlib --enable-interpreter --enable- threads=posix --enable-sjlj-exceptions --disable-version-specific-runtime-li bs --disable-win32-registry Thread model: posix gcc version 4.0.0 I have got the same error. if the reduced testcase you extract from the http.ii compiled without optimisation ( -O2), it seems okay but if the optimisation option is applied, it fails $ g++ -c -O2 -Wall -Wno-ctor-dtor-privacy reduced.cpp reduced.cpp: In function 'wxString GetHeader()': reduced.cpp:11: internal compiler error: in valid_in_set, at tree-ssa-pre.c:1082 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. do you think this is the same problem? or a new one should be submitted. Fehmi Demiralp -----Original Message----- From: pinskia at gcc dot gnu dot org [mailto:[EMAIL PROTECTED] Sent: 20 April 2005 01:09 To: [EMAIL PROTECTED] Subject: [Bug tree-optimization/21081] [4.1 Regression] internal compiler error: verify_stmts failed. ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-20 00:08 ------- Do you know if this also works with the 4.0 branch? Reduced testcase: class wxString; extern __attribute__((dllimport)) char* wxEmptyString; struct wxString {}; inline wxString& wxGetEmptyString() { return *(wxString *)&wxEmptyString; } wxString GetHeader() { return wxGetEmptyString(); } This is very target dependent as the __attribute__ is which is causing the problem. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-04-20 00:08:40 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21081 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21081