public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/26611]  New: openmp gomp ICE at gimplify.c:4257
@ 2006-03-08 22:30 bowie dot owens at csiro dot au
  2006-03-08 22:34 ` [Bug libgomp/26611] " bowie dot owens at csiro dot au
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bowie dot owens at csiro dot au @ 2006-03-08 22:30 UTC (permalink / raw)
  To: gcc-bugs

I consistently get the following ICE on this C++ code.

omp_harness.cpp:39: internal compiler error: in omp_add_variable, at
gimplify.c:4257

The code is not legit and there are several errors but this is because I have
cut down a larger program.

I am using the gomp-branch and gcc -v reports:

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gomp-20050608-branch/configure
--prefix=/local_scratch/owe043/gcc_gomp
Thread model: posix
gcc version 4.2.0-gomp-20050608-branch 20060216 (experimental) (merged
20060216)

The command line I used to compile was:

g++ -save-temps -fopenmp omp_harness.cpp


-- 
           Summary: openmp gomp ICE at gimplify.c:4257
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bowie dot owens at csiro dot au
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug libgomp/26611] openmp gomp ICE at gimplify.c:4257
  2006-03-08 22:30 [Bug libgomp/26611] New: openmp gomp ICE at gimplify.c:4257 bowie dot owens at csiro dot au
@ 2006-03-08 22:34 ` bowie dot owens at csiro dot au
  2006-03-08 22:39 ` bowie dot owens at csiro dot au
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bowie dot owens at csiro dot au @ 2006-03-08 22:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bowie dot owens at csiro dot au  2006-03-08 22:34 -------
Created an attachment (id=10999)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10999&action=view)
preprocessed output from save-temps that triggers ICE

GZIP compressed to make it within the size limit. Will try and make a smaller
example that doesn't involve valarray or iostreams.


-- 


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


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

* [Bug libgomp/26611] openmp gomp ICE at gimplify.c:4257
  2006-03-08 22:30 [Bug libgomp/26611] New: openmp gomp ICE at gimplify.c:4257 bowie dot owens at csiro dot au
  2006-03-08 22:34 ` [Bug libgomp/26611] " bowie dot owens at csiro dot au
@ 2006-03-08 22:39 ` bowie dot owens at csiro dot au
  2006-03-09 18:33 ` [Bug middle-end/26611] [GOMP] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bowie dot owens at csiro dot au @ 2006-03-08 22:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bowie dot owens at csiro dot au  2006-03-08 22:39 -------
Created an attachment (id=11000)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11000&action=view)
simpler preprocessed C++ code that causes ICE

Removed include of valarray and iostream to produce simpler preprocessed C++
code that still triggers ICE.


-- 

bowie dot owens at csiro dot au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10999|0                           |1
        is obsolete|                            |


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


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

* [Bug middle-end/26611] [GOMP] openmp gomp ICE at gimplify.c:4257
  2006-03-08 22:30 [Bug libgomp/26611] New: openmp gomp ICE at gimplify.c:4257 bowie dot owens at csiro dot au
  2006-03-08 22:34 ` [Bug libgomp/26611] " bowie dot owens at csiro dot au
  2006-03-08 22:39 ` bowie dot owens at csiro dot au
@ 2006-03-09 18:33 ` pinskia at gcc dot gnu dot org
  2006-03-09 18:43 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-09 18:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-09 18:33 -------
Also happens on the mainline now.  Reducing.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery, ice-on-
                   |                            |invalid-code


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


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

* [Bug middle-end/26611] [GOMP] openmp gomp ICE at gimplify.c:4257
  2006-03-08 22:30 [Bug libgomp/26611] New: openmp gomp ICE at gimplify.c:4257 bowie dot owens at csiro dot au
                   ` (2 preceding siblings ...)
  2006-03-09 18:33 ` [Bug middle-end/26611] [GOMP] " pinskia at gcc dot gnu dot org
@ 2006-03-09 18:43 ` pinskia at gcc dot gnu dot org
  2006-03-23 19:54 ` [Bug middle-end/26611] " jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-09 18:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-03-09 18:43 -------
Confirmed, reduced testcase:
int t;

void search()
{
#pragma omp parallel for
 for (int i = 0; i < 1000; ++i) try {
   mm::print(t);
 }catch(...){}
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-09 18:43:30
               date|                            |


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


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

* [Bug middle-end/26611] openmp gomp ICE at gimplify.c:4257
  2006-03-08 22:30 [Bug libgomp/26611] New: openmp gomp ICE at gimplify.c:4257 bowie dot owens at csiro dot au
                   ` (3 preceding siblings ...)
  2006-03-09 18:43 ` pinskia at gcc dot gnu dot org
@ 2006-03-23 19:54 ` jakub at gcc dot gnu dot org
  2006-03-24 16:14 ` jakub at gcc dot gnu dot org
  2006-03-27 16:13 ` jakub at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-03-23 19:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2006-03-23 19:54 -------
This is actually ICE on valid, a small modification of the testcase
that makes it valid still ICEs.


-- 

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|NEW                         |ASSIGNED
           Keywords|error-recovery, ice-on-     |ice-on-valid-code
                   |invalid-code                |
   Last reconfirmed|2006-03-09 18:43:30         |2006-03-23 19:54:07
               date|                            |


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


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

* [Bug middle-end/26611] openmp gomp ICE at gimplify.c:4257
  2006-03-08 22:30 [Bug libgomp/26611] New: openmp gomp ICE at gimplify.c:4257 bowie dot owens at csiro dot au
                   ` (4 preceding siblings ...)
  2006-03-23 19:54 ` [Bug middle-end/26611] " jakub at gcc dot gnu dot org
@ 2006-03-24 16:14 ` jakub at gcc dot gnu dot org
  2006-03-27 16:13 ` jakub at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-03-24 16:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jakub at gcc dot gnu dot org  2006-03-24 16:14 -------
Subject: Bug 26611

Author: jakub
Date: Fri Mar 24 16:14:40 2006
New Revision: 112351

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112351
Log:
        PR middle-end/26611
        * gimplify.c (gimplify_bind_expr): Only call omp_add_variable on
        non-global variables that don't have DECL_SEEN_IN_BIND_EXPR_P bit
        set yet or weren't marked as local yet.

        * g++.dg/gomp/pr26611-1.C: New test.
        * g++.dg/gomp/pr26611-2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr26611-1.C
    trunk/gcc/testsuite/g++.dg/gomp/pr26611-2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/26611] openmp gomp ICE at gimplify.c:4257
  2006-03-08 22:30 [Bug libgomp/26611] New: openmp gomp ICE at gimplify.c:4257 bowie dot owens at csiro dot au
                   ` (5 preceding siblings ...)
  2006-03-24 16:14 ` jakub at gcc dot gnu dot org
@ 2006-03-27 16:13 ` jakub at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-03-27 16:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jakub at gcc dot gnu dot org  2006-03-27 16:12 -------
Fixed in SVN.


-- 

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=26611


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

end of thread, other threads:[~2006-03-27 16:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-08 22:30 [Bug libgomp/26611] New: openmp gomp ICE at gimplify.c:4257 bowie dot owens at csiro dot au
2006-03-08 22:34 ` [Bug libgomp/26611] " bowie dot owens at csiro dot au
2006-03-08 22:39 ` bowie dot owens at csiro dot au
2006-03-09 18:33 ` [Bug middle-end/26611] [GOMP] " pinskia at gcc dot gnu dot org
2006-03-09 18:43 ` pinskia at gcc dot gnu dot org
2006-03-23 19:54 ` [Bug middle-end/26611] " jakub at gcc dot gnu dot org
2006-03-24 16:14 ` jakub at gcc dot gnu dot org
2006-03-27 16:13 ` 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).