public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/30167] New: OpenMP can produce invalid gimple (for indirect references)
@ 2006-12-12 7:37 pinskia at gcc dot gnu dot org
2006-12-12 7:40 ` [Bug middle-end/30167] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-12 7:37 UTC (permalink / raw)
To: gcc-bugs
Fortran Testcase:
SUBROUTINE A13( X, XOLD, N, TOL )
!$OMP PARALLEL
DO WHILE( TOOBIG > 0 )
!$OMP MASTER
PRINT *, "Iteration ", C, " TOOBIG=", TOOBIG
!$OMP END MASTER
ENDDO
!$OMP END PARALLEL
END SUBROUTINE A12
----------------
We get:
D.1056 = *(.omp_data_i->toobig);
Which is obviously not gimple.
Again the testcase in PR 30142 is used to test for this.
--
Summary: OpenMP can produce invalid gimple (for indirect
references)
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
OtherBugsDependingO 30142
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30167
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/30167] OpenMP can produce invalid gimple (for indirect references)
2006-12-12 7:37 [Bug middle-end/30167] New: OpenMP can produce invalid gimple (for indirect references) pinskia at gcc dot gnu dot org
@ 2006-12-12 7:40 ` pinskia at gcc dot gnu dot org
2006-12-12 8:44 ` pinskia at gcc dot gnu dot org
2006-12-15 8:22 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-12 7:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-12 07:40 -------
This testcase is from gfortran.dg/gomp/appendix-a/a.12.1.f90.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30167
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/30167] OpenMP can produce invalid gimple (for indirect references)
2006-12-12 7:37 [Bug middle-end/30167] New: OpenMP can produce invalid gimple (for indirect references) pinskia at gcc dot gnu dot org
2006-12-12 7:40 ` [Bug middle-end/30167] " pinskia at gcc dot gnu dot org
@ 2006-12-12 8:44 ` pinskia at gcc dot gnu dot org
2006-12-15 8:22 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-12 8:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-12 08:44 -------
Here is another testcase (a C one this time):
int x, *p = &x;
g (int n)
{
int i = 1, j, sum = 0;
#pragma omp parallel reduction(+: sum) num_threads(2)
{
f1 (&j);
sum += i + j + *p + n;
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30167
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/30167] OpenMP can produce invalid gimple (for indirect references)
2006-12-12 7:37 [Bug middle-end/30167] New: OpenMP can produce invalid gimple (for indirect references) pinskia at gcc dot gnu dot org
2006-12-12 7:40 ` [Bug middle-end/30167] " pinskia at gcc dot gnu dot org
2006-12-12 8:44 ` pinskia at gcc dot gnu dot org
@ 2006-12-15 8:22 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-15 8:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-12-15 08:22 -------
Actually never mind, this is caused by my patch to fix PR 30143.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30167
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-12-15 8:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-12 7:37 [Bug middle-end/30167] New: OpenMP can produce invalid gimple (for indirect references) pinskia at gcc dot gnu dot org
2006-12-12 7:40 ` [Bug middle-end/30167] " pinskia at gcc dot gnu dot org
2006-12-12 8:44 ` pinskia at gcc dot gnu dot org
2006-12-15 8:22 ` pinskia 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).