public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/39958]  New: [4.5 Regression] OMP tasking creates invalid gimple
@ 2009-04-29 14:23 rguenth at gcc dot gnu dot org
  2009-04-29 14:28 ` [Bug middle-end/39958] " rguenth at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-29 14:23 UTC (permalink / raw)
  To: gcc-bugs

FAIL: libgomp.c++/task-4.C  -O  (internal compiler error)
FAIL: libgomp.c++/task-4.C  -O  (internal compiler error)
FAIL: libgomp.c++/task-4.C  -O  (test for excess errors)
FAIL: libgomp.c++/task-4.C  -O  (test for excess errors)

/space/rguenther/src/svn/trunk/libgomp/testsuite/libgomp.c++/task-4.C: In
function 'void foo(int, int)':^M
/space/rguenther/src/svn/trunk/libgomp/testsuite/libgomp.c++/task-4.C:37:
error: type mismatch in indirect reference^M
int[0:D.2184]^M
^M
int[0:<<< error >>>]^M
^M
D.2194 = &(*q.1)[0];^M
^M

so there is an issue with gimplification of type sizes of VLA.


-- 
           Summary: [4.5 Regression] OMP tasking creates invalid gimple
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


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

* [Bug middle-end/39958] [4.5 Regression] OMP tasking creates invalid gimple
  2009-04-29 14:23 [Bug middle-end/39958] New: [4.5 Regression] OMP tasking creates invalid gimple rguenth at gcc dot gnu dot org
@ 2009-04-29 14:28 ` rguenth at gcc dot gnu dot org
  2009-05-05 15:49 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-29 14:28 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.0


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


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

* [Bug middle-end/39958] [4.5 Regression] OMP tasking creates invalid gimple
  2009-04-29 14:23 [Bug middle-end/39958] New: [4.5 Regression] OMP tasking creates invalid gimple rguenth at gcc dot gnu dot org
  2009-04-29 14:28 ` [Bug middle-end/39958] " rguenth at gcc dot gnu dot org
@ 2009-05-05 15:49 ` mmitchel at gcc dot gnu dot org
  2009-05-06  7:00 ` reichelt at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2009-05-05 15:49 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug middle-end/39958] [4.5 Regression] OMP tasking creates invalid gimple
  2009-04-29 14:23 [Bug middle-end/39958] New: [4.5 Regression] OMP tasking creates invalid gimple rguenth at gcc dot gnu dot org
  2009-04-29 14:28 ` [Bug middle-end/39958] " rguenth at gcc dot gnu dot org
  2009-05-05 15:49 ` mmitchel at gcc dot gnu dot org
@ 2009-05-06  7:00 ` reichelt at gcc dot gnu dot org
  2009-05-06 15:57 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-05-06  7:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from reichelt at gcc dot gnu dot org  2009-05-06 06:59 -------
Confirmed. Simple testcase (just compile with -fopenmp:

=====================================
void foo(int n)
{
  int x[n];

  #pragma omp parallel private(x)
    x[0] = 0;
}
=====================================

Only the C++ frontend seems to be affected, not the C frontend.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code, openmp
   Last reconfirmed|0000-00-00 00:00:00         |2009-05-06 06:59:43
               date|                            |


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


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

* [Bug middle-end/39958] [4.5 Regression] OMP tasking creates invalid gimple
  2009-04-29 14:23 [Bug middle-end/39958] New: [4.5 Regression] OMP tasking creates invalid gimple rguenth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-05-06  7:00 ` reichelt at gcc dot gnu dot org
@ 2009-05-06 15:57 ` rguenth at gcc dot gnu dot org
  2009-05-29 13:15 ` jakub at gcc dot gnu dot org
  2009-05-29 13:17 ` jakub at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-05-06 15:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-05-06 15:56 -------
*** Bug 40047 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org


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


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

* [Bug middle-end/39958] [4.5 Regression] OMP tasking creates invalid gimple
  2009-04-29 14:23 [Bug middle-end/39958] New: [4.5 Regression] OMP tasking creates invalid gimple rguenth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-05-06 15:57 ` rguenth at gcc dot gnu dot org
@ 2009-05-29 13:15 ` jakub at gcc dot gnu dot org
  2009-05-29 13:17 ` jakub at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-05-29 13:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2009-05-29 13:15 -------
Subject: Bug 39958

Author: jakub
Date: Fri May 29 13:14:53 2009
New Revision: 147975

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147975
Log:
        PR middle-end/39958
        * omp-low.c (scan_omp_1_op): Call remap_type on TREE_TYPE
        for trees other than decls/types.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c


-- 


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


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

* [Bug middle-end/39958] [4.5 Regression] OMP tasking creates invalid gimple
  2009-04-29 14:23 [Bug middle-end/39958] New: [4.5 Regression] OMP tasking creates invalid gimple rguenth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-05-29 13:15 ` jakub at gcc dot gnu dot org
@ 2009-05-29 13:17 ` jakub at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-05-29 13:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2009-05-29 13:17 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-05-29 13:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-29 14:23 [Bug middle-end/39958] New: [4.5 Regression] OMP tasking creates invalid gimple rguenth at gcc dot gnu dot org
2009-04-29 14:28 ` [Bug middle-end/39958] " rguenth at gcc dot gnu dot org
2009-05-05 15:49 ` mmitchel at gcc dot gnu dot org
2009-05-06  7:00 ` reichelt at gcc dot gnu dot org
2009-05-06 15:57 ` rguenth at gcc dot gnu dot org
2009-05-29 13:15 ` jakub at gcc dot gnu dot org
2009-05-29 13:17 ` 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).