public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/31769] New: ICE with OpenMP and exceptions
@ 2007-04-30 23:01 supermar at gmx dot de
2007-05-15 13:09 ` [Bug tree-optimization/31769] " supermar at gmx dot de
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: supermar at gmx dot de @ 2007-04-30 23:01 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1810 bytes --]
Hi,
The following small program gives ICE when compiled like this:
g++ -Wall -fopenmp -O2 -I$POLDEST/ext/include -E -o./test_pp.cc ./test.cc
g++ -Wall -fopenmp -O2 -L$POLDEST/ext/lib -o./test ./test_pp.cc -lblitz -lgomp
./test.cc: In function int main():
./test.cc:3: internal compiler error: Segmentation fault
When removing the 'try-catch'-part it works fine.
----
#include <blitz/array.h>
int main()
{
try
{
blitz::Array<float,1> transOrig( 10);
blitz::Array<float,1> trans( 10);
blitz::Range myRange( 0, 9);
#pragma omp parallel for
for( int i = 0; i < 2; ++i)
{
trans += transOrig( myRange);
}
}
catch( std::exception)
{}
}
Here the preprocessed source: http://data.marssoft.de/attachment-bug-gcc.bz2
And my specs: ~> gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: [...]/gcc-4.2-branch/configure -v --enable-languages=c,c++,f95
--prefix=[...]/extgcc-x86_64_gcc4-r124295 --enable-shared --with-system-zlib
--without-included-gettext --enable-threads=posix --enable-nls
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-debug --enable-gtk-cairo --with-mpfr=[...]/extgcc-x86_64_gcc4-r124295
--with-gmp=[...]/extgcc-x86_64_gcc4-r124295 --disable-werror
--enable-checking=release --disable-multilib --enable-bootstrap
Thread model: posix
gcc version 4.2.0 20070430 (prerelease)
--
Summary: ICE with OpenMP and exceptions
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: supermar at gmx dot de
GCC host triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31769
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/31769] ICE with OpenMP and exceptions
2007-04-30 23:01 [Bug tree-optimization/31769] New: ICE with OpenMP and exceptions supermar at gmx dot de
@ 2007-05-15 13:09 ` supermar at gmx dot de
2007-05-22 14:31 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: supermar at gmx dot de @ 2007-05-15 13:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from supermar at gmx dot de 2007-05-15 14:09 -------
I can confirm the bug for i486-unknown-linux-gnu, too.
--
supermar at gmx dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code, openmp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31769
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/31769] ICE with OpenMP and exceptions
2007-04-30 23:01 [Bug tree-optimization/31769] New: ICE with OpenMP and exceptions supermar at gmx dot de
2007-05-15 13:09 ` [Bug tree-optimization/31769] " supermar at gmx dot de
@ 2007-05-22 14:31 ` jakub at gcc dot gnu dot org
2007-05-30 13:46 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-05-22 14:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2007-05-22 15:30 -------
Testing a patch.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-05-22 15:30:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31769
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/31769] ICE with OpenMP and exceptions
2007-04-30 23:01 [Bug tree-optimization/31769] New: ICE with OpenMP and exceptions supermar at gmx dot de
2007-05-15 13:09 ` [Bug tree-optimization/31769] " supermar at gmx dot de
2007-05-22 14:31 ` jakub at gcc dot gnu dot org
@ 2007-05-30 13:46 ` jakub at gcc dot gnu dot org
2007-05-30 13:49 ` jakub at gcc dot gnu dot org
2007-05-30 14:01 ` jakub at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-05-30 13:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2007-05-30 13:46 -------
Subject: Bug 31769
Author: jakub
Date: Wed May 30 13:46:25 2007
New Revision: 125183
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125183
Log:
PR tree-optimization/31769
* except.c (duplicate_eh_regions): Clear prev_try if
ERT_MUST_NOT_THROW region is inside of ERT_TRY region.
* g++.dg/gomp/pr31769.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/gomp/pr31769.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/except.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31769
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/31769] ICE with OpenMP and exceptions
2007-04-30 23:01 [Bug tree-optimization/31769] New: ICE with OpenMP and exceptions supermar at gmx dot de
` (2 preceding siblings ...)
2007-05-30 13:46 ` jakub at gcc dot gnu dot org
@ 2007-05-30 13:49 ` jakub at gcc dot gnu dot org
2007-05-30 14:01 ` jakub at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-05-30 13:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2007-05-30 13:49 -------
Subject: Bug 31769
Author: jakub
Date: Wed May 30 13:49:06 2007
New Revision: 125185
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125185
Log:
PR tree-optimization/31769
* except.c (duplicate_eh_regions): Clear prev_try if
ERT_MUST_NOT_THROW region is inside of ERT_TRY region.
* g++.dg/gomp/pr31769.C: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/gomp/pr31769.C
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/except.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31769
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/31769] ICE with OpenMP and exceptions
2007-04-30 23:01 [Bug tree-optimization/31769] New: ICE with OpenMP and exceptions supermar at gmx dot de
` (3 preceding siblings ...)
2007-05-30 13:49 ` jakub at gcc dot gnu dot org
@ 2007-05-30 14:01 ` jakub at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-05-30 14:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2007-05-30 14:00 -------
Fixed on the trunk, gcc-4_2-branch and redhat/gcc-4_1-branch.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31769
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-05-30 14:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-30 23:01 [Bug tree-optimization/31769] New: ICE with OpenMP and exceptions supermar at gmx dot de
2007-05-15 13:09 ` [Bug tree-optimization/31769] " supermar at gmx dot de
2007-05-22 14:31 ` jakub at gcc dot gnu dot org
2007-05-30 13:46 ` jakub at gcc dot gnu dot org
2007-05-30 13:49 ` jakub at gcc dot gnu dot org
2007-05-30 14:01 ` jakub at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).