public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67514] ICE in omp_add_variable
2015-09-09 11:30 [Bug c++/67514] New: ICE in omp_add_variable jakub at gcc dot gnu.org
@ 2015-09-09 11:30 ` jakub at gcc dot gnu.org
2015-09-10 7:31 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-09-09 11:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67514
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code, openmp
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-09-09
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Target Milestone|--- |5.3
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/67514] New: ICE in omp_add_variable
@ 2015-09-09 11:30 jakub at gcc dot gnu.org
2015-09-09 11:30 ` [Bug c++/67514] " jakub at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-09-09 11:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67514
Bug ID: 67514
Summary: ICE in omp_add_variable
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
template <class T>
void
foo (T x, T y)
{
#pragma omp parallel
#pragma omp for simd
for (T i = x; i < y; ++i)
;
}
void
bar (int *x, int *y)
{
foo (x, y);
}
void
baz (int x, int y)
{
foo (x, y);
}
ICEs in omp_add_variable
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/67514] ICE in omp_add_variable
2015-09-09 11:30 [Bug c++/67514] New: ICE in omp_add_variable jakub at gcc dot gnu.org
2015-09-09 11:30 ` [Bug c++/67514] " jakub at gcc dot gnu.org
@ 2015-09-10 7:31 ` jakub at gcc dot gnu.org
2015-09-10 7:39 ` jakub at gcc dot gnu.org
2015-09-10 15:07 ` jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-09-10 7:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67514
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 10 07:31:14 2015
New Revision: 227607
URL: https://gcc.gnu.org/viewcvs?rev=227607&root=gcc&view=rev
Log:
PR c++/67514
* gimplify.c (gimplify_omp_for): For loop SIMD construct, if
iterator is not explicitly determined, but is defined inside
of the combined workshare region, handle it like if it has
DECL_EXPR in OMP_FOR_PRE_BODY.
* g++.dg/gomp/pr67514.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/gomp/pr67514.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/67514] ICE in omp_add_variable
2015-09-09 11:30 [Bug c++/67514] New: ICE in omp_add_variable jakub at gcc dot gnu.org
2015-09-09 11:30 ` [Bug c++/67514] " jakub at gcc dot gnu.org
2015-09-10 7:31 ` jakub at gcc dot gnu.org
@ 2015-09-10 7:39 ` jakub at gcc dot gnu.org
2015-09-10 15:07 ` jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-09-10 7:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67514
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 10 07:38:30 2015
New Revision: 227614
URL: https://gcc.gnu.org/viewcvs?rev=227614&root=gcc&view=rev
Log:
PR c++/67514
* gimplify.c (gimplify_omp_for): For loop SIMD construct, if
iterator is not explicitly determined, but is defined inside
of the combined workshare region, handle it like if it has
DECL_EXPR in OMP_FOR_PRE_BODY.
* g++.dg/gomp/pr67514.C: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/gomp/pr67514.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/gimplify.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/67514] ICE in omp_add_variable
2015-09-09 11:30 [Bug c++/67514] New: ICE in omp_add_variable jakub at gcc dot gnu.org
` (2 preceding siblings ...)
2015-09-10 7:39 ` jakub at gcc dot gnu.org
@ 2015-09-10 15:07 ` jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-09-10 15:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67514
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 5.3+.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-09-10 15:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-09 11:30 [Bug c++/67514] New: ICE in omp_add_variable jakub at gcc dot gnu.org
2015-09-09 11:30 ` [Bug c++/67514] " jakub at gcc dot gnu.org
2015-09-10 7:31 ` jakub at gcc dot gnu.org
2015-09-10 7:39 ` jakub at gcc dot gnu.org
2015-09-10 15:07 ` jakub at gcc dot gnu.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).