Re: EH tree is invalid

2009-04-27 Thread Dave Korn
Piotr Wyderski wrote: > On gcc-trunk my project fails with the following ICE. Whatever it means... > > /home/piotr.wyderski/topnotch/vm/test/main.cpp: In function 'int > main(int, char**)': > /home/piotr.wyderski/topnotch/vm/test/main.cpp:32: error: Wrong > prev_try pointer in EH region 123 H

Re: EH tree is invalid

2009-04-21 Thread Dave Korn
Piotr Wyderski wrote: > Dave Korn wrote: > >> Are you using SJLJ or DW2 exceptions? > > SJLJ only -- DW2 doesn't work on Windows if the exception > handling scope crosses DLL boundaries. It does these days as long as you're using shared libraries, but that's a separate issue. >> If SJLJ, do

Re: EH tree is invalid

2009-04-21 Thread Piotr Wyderski
Dave Korn wrote: >  Are you using SJLJ or DW2 exceptions? SJLJ only -- DW2 doesn't work on Windows if the exception handling scope crosses DLL boundaries. >  If SJLJ, does the patch at > >    http://gcc.gnu.org/ml/gcc-patches/2009-04/msg01628.html > > help the problem? Hm, it seems that rev 146

Re: EH tree is invalid

2009-04-21 Thread Dave Korn
Piotr Wyderski wrote: > On gcc-trunk my project fails with the following ICE. Whatever it means... Are you using SJLJ or DW2 exceptions? If SJLJ, does the patch at http://gcc.gnu.org/ml/gcc-patches/2009-04/msg01628.html help the problem? cheers, DaveK

Re: EH tree is invalid

2009-04-21 Thread Piotr Wyderski
Richard Guenther wrote: > Please file a bugreport in bugzilla and attach preprocessed source. Impossible, the source code is proprietary. But perhaps I can try to prepare a simplified testcase though... Best regards Piotr Wyderski

Re: EH tree is invalid

2009-04-21 Thread Richard Guenther
On Tue, Apr 21, 2009 at 3:56 PM, Piotr Wyderski wrote: > On gcc-trunk my project fails with the following ICE. Whatever it means... > > /home/piotr.wyderski/topnotch/vm/test/main.cpp: In function 'int > main(int, char**)': > /home/piotr.wyderski/topnotch/vm/test/main.cpp:32: error: Wrong > prev_tr

EH tree is invalid

2009-04-21 Thread Piotr Wyderski
On gcc-trunk my project fails with the following ICE. Whatever it means... /home/piotr.wyderski/topnotch/vm/test/main.cpp: In function 'int main(int, char**)': /home/piotr.wyderski/topnotch/vm/test/main.cpp:32: error: Wrong prev_try pointer in EH region 123 Eh tree: 100 catch tree_label: may_co