[Bug tree-optimization/21081] [4.1 Regression] internal compiler error: verify_stmts failed.
--- 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|-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
[Bug tree-optimization/21081] [4.1 Regression] internal compiler error: verify_stmts failed.
--- Additional Comments From f dot demiralp at gmail dot com 2005-04-19 22:14 --- Subject: RE: [4.1 Regression] internal compiler error: verify_stmts failed. I updated gcc from the cvs repository today and I gave a try again. but I still have got no luck. I have got the same error. here is the version info of g++ I build today $ g++ -v Using built-in specs. Target: i686-pc-cygwin Configured with: /usr/cvs-src/gcc/configure --verbose --enable-languages=c,c++ --enable-nls - -without-included-gettext --with-system-zlib --enable-interpreter --enable-t hreads=posix --enable-sjlj-exceptions --disable-version-specific-runtime-lib s --disable-win32-registry Thread model: posix gcc version 4.1.0 20050419 (experimental) on the other hand I have tried to compile same file by the gcc that is distributes with cygwin, I works. the problem I report disappears. here is the version info of g++ that is distributed with cygwin. $ /bin/g++ -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs Configured with: /gcc/gcc-3.3.3-3/configure --verbose --prefix=/usr --exec-prefix=/usr --sysc onfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc,pasca l --enable-nls --without-included-gettext --enable-libgcj --with-system-zlib --enable-interpreter --enable-threads=posix --enable-java-gc=boehm --enable -sjlj-exceptions --disable-version-specific-runtime-libs --disable-win32-reg istry Thread model: posix gcc version 3.3.3 (cygwin special) I think I should not use experimental version of g++ with cygwin. thank you very much anyway -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21081
[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-19 23:48 --- Ok, I can reproduce this with a cross compiler, reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21081
[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|-00-00 00:00:00 |2005-04-20 00:08:40 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21081
[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-18 18:39 --- Can you try this with today's compiler, I cannot reproduce it with it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21081
[Bug tree-optimization/21081] [4.1 Regression] internal compiler error: verify_stmts failed.
--- Additional Comments From f dot demiralp at gmail dot com 2005-04-19 00:13 --- Subject: RE: [4.1 Regression] internal compiler error: verify_stmts failed. I have got the same error message. -Original Message- From: pinskia at gcc dot gnu dot org [mailto:[EMAIL PROTECTED] Sent: 18 April 2005 19:39 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-18 18:39 --- Can you try this with today's compiler, I cannot reproduce it with it. -- 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
[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-18 02:52 --- Hmm, I cannot reproduce this with last night's compiler, I will try with a later compiler, maybe this was already fixed. -- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org Component|c++ |tree-optimization Keywords||ice-on-valid-code Summary|internal compiler error:|[4.1 Regression] internal |verify_stmts failed.|compiler error: verify_stmts ||failed. Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21081