public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27323]  New: [gomp] yet another ICE with exception handling
@ 2006-04-26 11:58 martin at mpa-garching dot mpg dot de
  2006-04-26 14:15 ` [Bug c++/27323] " reichelt at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: martin at mpa-garching dot mpg dot de @ 2006-04-26 11:58 UTC (permalink / raw)
  To: gcc-bugs

Even with Jakub's most recent fixes applied, I get an ICE with the following
testcase:

struct c1 { ~c1(); };

struct c2 { c1 foo, bar; };

void func () {
  c1 phas1, phas2;
#pragma omp parallel
  c2 helper;
  }

~/tmp>g++ -fopenmp -v -O bug.cc
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /scratch/gcc/configure --prefix=/afs/mpa/data/martin/ugcc
--enable-languages=c++,fortran --with-gmp=/afs/mpa/data/martin/mygmp
--with-mpfr=/afs/mpa/data/martin/mympfr --without-makeinfo --disable-tls
Thread model: posix
gcc version 4.2.0 20060426 (experimental)
[...]
bug.cc: In function 'void func()':
bug.cc:5: internal compiler error: Segmentation fault
[...]

This problem disappears if "-fno-exceptions" is specified.
It also disappears at -O0, but I was not able to find out which sub-option
of -O triggers the ICE.

It is different from PR25874, since no location for the ICE is given. In any
case, I thought an additional testcase wouldn't hurt ;)


-- 
           Summary: [gomp] yet another ICE with exception handling
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martin at mpa-garching dot mpg dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27323


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/27323] [gomp] yet another ICE with exception handling
  2006-04-26 11:58 [Bug c++/27323] New: [gomp] yet another ICE with exception handling martin at mpa-garching dot mpg dot de
@ 2006-04-26 14:15 ` reichelt at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-04-26 14:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from reichelt at gcc dot gnu dot org  2006-04-26 14:15 -------


*** This bug has been marked as a duplicate of 27310 ***


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27323


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-26 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-26 11:58 [Bug c++/27323] New: [gomp] yet another ICE with exception handling martin at mpa-garching dot mpg dot de
2006-04-26 14:15 ` [Bug c++/27323] " reichelt 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).