public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/67502] New: ICE with collapsed for simd loop inside of parallel
@ 2015-09-08 16:06 jakub at gcc dot gnu.org
  2015-09-08 16:07 ` [Bug c/67502] " 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-08 16:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67502

            Bug ID: 67502
           Summary: ICE with collapsed for simd loop inside of parallel
           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: ---

With C (-std=gnu99) we ICE on:

void bar (void);

void
foo (void)
{
#pragma omp parallel
#pragma omp for simd collapse(2)
  for (int i1 = 0; i1 < 16; ++i1)
    for (int i2 = 0; i2 < 16; ++i2)
      bar ();
}

It is fine without the parallel, or with just simd instead of for simd, or with
C++.


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

end of thread, other threads:[~2015-09-10 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-08 16:06 [Bug c/67502] New: ICE with collapsed for simd loop inside of parallel jakub at gcc dot gnu.org
2015-09-08 16:07 ` [Bug c/67502] " jakub at gcc dot gnu.org
2015-09-10  7:29 ` jakub at gcc dot gnu.org
2015-09-10  7:37 ` jakub at gcc dot gnu.org
2015-09-10 15:08 ` 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).