public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30494]  New: internal compiler error: in gimplify_expr, at gimplify.c:5979
@ 2007-01-18  3:52 brandon dot barker at gmail dot com
  2007-01-18  6:57 ` [Bug c++/30494] internal compiler error: in gimplify_expr, at gimplify.c:5979 [-fopenmp] pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: brandon dot barker at gmail dot com @ 2007-01-18  3:52 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

Compiler output:

g++ -save-temps -Wall -g -fopenmp -Wno-deprecated -O4 -ffast-math
-fexpensive-optimizations -DLINUX -I/home/latte/paraLattE/NTL/include 
-I/usr/local/gcc4.2/lib/gcc/x86_64-unknown-linux-gnu/4.2.0/include -c
BirkhoffCones.cpp
BirkhoffCones.cpp: In function ‘int Birkhoff_with_Vol_para(int, int, int, int,
int, int)’:
BirkhoffCones.cpp:2462: internal compiler error: in gimplify_expr, at
gimplify.c:5979
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [BirkhoffCones.o] Error 1


-- 
           Summary: internal compiler error: in gimplify_expr, at
                    gimplify.c:5979
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brandon dot barker at gmail dot com
 GCC build triplet: 4.2.0 20070102 (prerelease)
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug c++/30494] internal compiler error: in gimplify_expr, at gimplify.c:5979 [-fopenmp]
  2007-01-18  3:52 [Bug c++/30494] New: internal compiler error: in gimplify_expr, at gimplify.c:5979 brandon dot barker at gmail dot com
@ 2007-01-18  6:57 ` pinskia at gcc dot gnu dot org
  2007-01-18 10:13 ` [Bug middle-end/30494] ICE with VLA and openmp pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-18  6:57 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal
            Summary|internal compiler error: in |internal compiler error: in
                   |gimplify_expr, at           |gimplify_expr, at
                   |gimplify.c:5979             |gimplify.c:5979 [-fopenmp]


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


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

* [Bug middle-end/30494] ICE with VLA and openmp
  2007-01-18  3:52 [Bug c++/30494] New: internal compiler error: in gimplify_expr, at gimplify.c:5979 brandon dot barker at gmail dot com
  2007-01-18  6:57 ` [Bug c++/30494] internal compiler error: in gimplify_expr, at gimplify.c:5979 [-fopenmp] pinskia at gcc dot gnu dot org
@ 2007-01-18 10:13 ` pinskia at gcc dot gnu dot org
  2007-01-23 14:19 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-18 10:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-01-18 10:13 -------
Confirmed, reduced testcase (I thought I had asked about this interaction
before):
int Birkhoff_with_Vol_para(int n)
{
  int I;
#pragma omp for
        for(I = 0; I < 6; I++) 
        {
                int v[n];
        }
}

--------
This ICEs for both the C and C++ front-ends.  Considering VLA is C99, we should
support this.  Also I bet you can produce a fortran code which also ICEs.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |middle-end
     Ever Confirmed|0                           |1
  GCC build triplet|4.2.0 20070102 (prerelease) |
   GCC host triplet|x86_64-unknown-linux-gnu    |
 GCC target triplet|x86_64-unknown-linux-gnu    |
           Keywords|                            |openmp
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-18 10:13:33
               date|                            |
            Summary|internal compiler error: in |ICE with VLA and openmp
                   |gimplify_expr, at           |
                   |gimplify.c:5979 [-fopenmp]  |


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


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

* [Bug middle-end/30494] ICE with VLA and openmp
  2007-01-18  3:52 [Bug c++/30494] New: internal compiler error: in gimplify_expr, at gimplify.c:5979 brandon dot barker at gmail dot com
  2007-01-18  6:57 ` [Bug c++/30494] internal compiler error: in gimplify_expr, at gimplify.c:5979 [-fopenmp] pinskia at gcc dot gnu dot org
  2007-01-18 10:13 ` [Bug middle-end/30494] ICE with VLA and openmp pinskia at gcc dot gnu dot org
@ 2007-01-23 14:19 ` jakub at gcc dot gnu dot org
  2007-01-24 20:57 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-01-23 14:19 UTC (permalink / raw)
  To: gcc-bugs



-- 

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
   Last reconfirmed|2007-01-18 10:13:33         |2007-01-23 14:18:56
               date|                            |


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


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

* [Bug middle-end/30494] ICE with VLA and openmp
  2007-01-18  3:52 [Bug c++/30494] New: internal compiler error: in gimplify_expr, at gimplify.c:5979 brandon dot barker at gmail dot com
                   ` (2 preceding siblings ...)
  2007-01-23 14:19 ` jakub at gcc dot gnu dot org
@ 2007-01-24 20:57 ` jakub at gcc dot gnu dot org
  2007-01-24 21:04 ` jakub at gcc dot gnu dot org
  2007-01-26 23:45 ` jakub at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-01-24 20:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2007-01-24 20:57 -------
Subject: Bug 30494

Author: jakub
Date: Wed Jan 24 20:56:45 2007
New Revision: 121132

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121132
Log:
        PR middle-end/30494
        * gimplify.c (omp_add_variable): Don't call omp_notice_variable
        on TYPE_SIZE_UNIT for GOVD_LOCAL VLAs.

        * gcc.dg/gomp/pr30494.c: New test.
        * g++.dg/gomp/pr30494.C: New test.

        * testsuite/libgomp.c/pr30494.c: New test.

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr30494.C
    trunk/gcc/testsuite/gcc.dg/gomp/pr30494.c
    trunk/libgomp/testsuite/libgomp.c/pr30494.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgomp/ChangeLog


-- 


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


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

* [Bug middle-end/30494] ICE with VLA and openmp
  2007-01-18  3:52 [Bug c++/30494] New: internal compiler error: in gimplify_expr, at gimplify.c:5979 brandon dot barker at gmail dot com
                   ` (3 preceding siblings ...)
  2007-01-24 20:57 ` jakub at gcc dot gnu dot org
@ 2007-01-24 21:04 ` jakub at gcc dot gnu dot org
  2007-01-26 23:45 ` jakub at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-01-24 21:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2007-01-24 21:04 -------
Subject: Bug 30494

Author: jakub
Date: Wed Jan 24 21:03:31 2007
New Revision: 121135

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121135
Log:
        PR middle-end/30494
        * gimplify.c (omp_add_variable): Don't call omp_notice_variable
        on TYPE_SIZE_UNIT for GOVD_LOCAL VLAs.

        * gcc.dg/gomp/pr30494.c: New test.
        * g++.dg/gomp/pr30494.C: New test.

        * testsuite/libgomp.c/pr30494.c: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/gomp/pr30494.C
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/gomp/pr30494.c
    branches/gcc-4_2-branch/libgomp/testsuite/libgomp.c/pr30494.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/gimplify.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/libgomp/ChangeLog


-- 


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


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

* [Bug middle-end/30494] ICE with VLA and openmp
  2007-01-18  3:52 [Bug c++/30494] New: internal compiler error: in gimplify_expr, at gimplify.c:5979 brandon dot barker at gmail dot com
                   ` (4 preceding siblings ...)
  2007-01-24 21:04 ` jakub at gcc dot gnu dot org
@ 2007-01-26 23:45 ` jakub at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-01-26 23:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2007-01-26 23:45 -------
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=30494


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

end of thread, other threads:[~2007-01-26 23:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-18  3:52 [Bug c++/30494] New: internal compiler error: in gimplify_expr, at gimplify.c:5979 brandon dot barker at gmail dot com
2007-01-18  6:57 ` [Bug c++/30494] internal compiler error: in gimplify_expr, at gimplify.c:5979 [-fopenmp] pinskia at gcc dot gnu dot org
2007-01-18 10:13 ` [Bug middle-end/30494] ICE with VLA and openmp pinskia at gcc dot gnu dot org
2007-01-23 14:19 ` jakub at gcc dot gnu dot org
2007-01-24 20:57 ` jakub at gcc dot gnu dot org
2007-01-24 21:04 ` jakub at gcc dot gnu dot org
2007-01-26 23:45 ` 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).