[Bug middle-end/78225] [7 Regression] FAIL: gcc.dg/gomp/pr27573.c (internal compiler error)

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 11 00:13:00 GMT 2016


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

Aldy Hernandez <aldyh at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2016-11-11
                 CC|                            |aldyh at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
I cannot reproduce on a cross build with --target=hppa-unknown-linux-gnu.  Is
this problem still present in mainline, but is not reproducible with a cross
build?

tor~/bld/t/gcc$ ./cc1 a.c -quiet -fno-diagnostics-show-caret
-fdiagnostics-color=never   -O2 -fopenmp -fprofile-generate  -I.
tor~/bld/t/gcc$ ./cc1plus a.c -quiet -fno-diagnostics-show-caret
-fdiagnostics-color=never   -O2 -fopenmp -fprofile-generate  -I.
tor~/bld/t/gcc$ cat a.c
/* PR middle-end/27573 */
/* { dg-do compile } */
/* { dg-require-profiling "-fprofile-generate" } */
/* { dg-options "-O2 -fopenmp -fprofile-generate" } */

extern int puts (const char *);

int
main (void)
{
  int i, j = 8;
#pragma omp parallel
  {
    puts ("foo");
    for (i = 1; i < j - 1; i++)
      ;
  }
  return 0;
}


More information about the Gcc-bugs mailing list