* [Bug middle-end/33880] ICE: in extract_omp_for_data, at omp-low.c:162
2007-10-24 12:21 [Bug middle-end/33880] New: ICE: in extract_omp_for_data, at omp-low.c:162 burnus at gcc dot gnu dot org
@ 2007-10-24 13:23 ` jakub at gcc dot gnu dot org
2007-11-19 5:37 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-10-24 13:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jakub at gcc dot gnu dot org 2007-10-24 13:23 -------
/* PR middle-end/33880 */
/* { dg-do compile } */
/* { dg-options "-O2 -fopenmp" } */
int
foo (void)
{
int i = 0;
void bar (void) { i++; }
bar ();
#pragma omp parallel for
for (i = 0; i < 10; i++)
;
i = 3;
bar ();
return i;
}
ICEs the same way.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33880
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/33880] ICE: in extract_omp_for_data, at omp-low.c:162
2007-10-24 12:21 [Bug middle-end/33880] New: ICE: in extract_omp_for_data, at omp-low.c:162 burnus at gcc dot gnu dot org
2007-10-24 13:23 ` [Bug middle-end/33880] " jakub at gcc dot gnu dot org
@ 2007-11-19 5:37 ` pinskia at gcc dot gnu dot org
2008-01-13 22:23 ` burnus at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-19 5:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-19 05:37 -------
Confirmed. Another nested function with openmp interaction case.
--
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 |2007-11-19 05:37:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33880
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/33880] ICE: in extract_omp_for_data, at omp-low.c:162
2007-10-24 12:21 [Bug middle-end/33880] New: ICE: in extract_omp_for_data, at omp-low.c:162 burnus at gcc dot gnu dot org
2007-10-24 13:23 ` [Bug middle-end/33880] " jakub at gcc dot gnu dot org
2007-11-19 5:37 ` pinskia at gcc dot gnu dot org
@ 2008-01-13 22:23 ` burnus at gcc dot gnu dot org
2008-01-25 10:18 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-01-13 22:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from burnus at gcc dot gnu dot org 2008-01-13 21:54 -------
Jakub, is there any chance that it can still get fixed for 4.3.0?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33880
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/33880] ICE: in extract_omp_for_data, at omp-low.c:162
2007-10-24 12:21 [Bug middle-end/33880] New: ICE: in extract_omp_for_data, at omp-low.c:162 burnus at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-01-13 22:23 ` burnus at gcc dot gnu dot org
@ 2008-01-25 10:18 ` jakub at gcc dot gnu dot org
2008-01-25 13:39 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-01-25 10:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2008-01-25 10:04 -------
Yes. Have a fix, now need to write some more testcases.
--
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-11-19 05:37:22 |2008-01-25 10:04:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33880
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/33880] ICE: in extract_omp_for_data, at omp-low.c:162
2007-10-24 12:21 [Bug middle-end/33880] New: ICE: in extract_omp_for_data, at omp-low.c:162 burnus at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-01-25 10:18 ` jakub at gcc dot gnu dot org
@ 2008-01-25 13:39 ` jakub at gcc dot gnu dot org
2008-01-25 13:59 ` jakub at gcc dot gnu dot org
2008-02-06 20:36 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-01-25 13:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2008-01-25 12:55 -------
Subject: Bug 33880
Author: jakub
Date: Fri Jan 25 12:54:42 2008
New Revision: 131825
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131825
Log:
PR middle-end/33880
* tree-nested.c (walk_omp_for): New function.
(convert_nonlocal_reference, convert_local_reference): Call
walk_omp_for on OMP_FOR.
(convert_call_expr): Call walk_body on OMP_FOR's
OMP_FOR_PRE_INIT_BODY.
* testsuite/libgomp.c/pr33880.c: New test.
* testsuite/libgomp.fortran/pr33880.f90: New test.
Added:
trunk/libgomp/testsuite/libgomp.c/pr33880.c
trunk/libgomp/testsuite/libgomp.fortran/pr33880.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-nested.c
trunk/libgomp/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33880
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/33880] ICE: in extract_omp_for_data, at omp-low.c:162
2007-10-24 12:21 [Bug middle-end/33880] New: ICE: in extract_omp_for_data, at omp-low.c:162 burnus at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-01-25 13:39 ` jakub at gcc dot gnu dot org
@ 2008-01-25 13:59 ` jakub at gcc dot gnu dot org
2008-02-06 20:36 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-01-25 13:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2008-01-25 12:55 -------
Fixed.
--
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=33880
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/33880] ICE: in extract_omp_for_data, at omp-low.c:162
2007-10-24 12:21 [Bug middle-end/33880] New: ICE: in extract_omp_for_data, at omp-low.c:162 burnus at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-01-25 13:59 ` jakub at gcc dot gnu dot org
@ 2008-02-06 20:36 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-06 20:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2008-02-06 20:36 -------
*** Bug 35108 has been marked as a duplicate of this bug. ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jellby at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33880
^ permalink raw reply [flat|nested] 8+ messages in thread