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

            Bug ID: 113428
           Summary: [14 regression] gcc.dg/gomp/bad-array-section-c-3.c
                    fails after r14-7158-gb5476e4c881b0d
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:b5476e4c881b0d2bfbbfb84ee38d791123acf8e1, r14-7158-gb5476e4c881b0d

Seeing this on big endian with -m32.  Works fine on BE with -m64.

make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}'
gomp.exp=gcc.dg/gomp/bad-array-section-c-3.c"
FAIL: gcc.dg/gomp/bad-array-section-c-3.c  at line 14 (test for warnings, line
12)
# of expected passes            4
# of unexpected failures        1


spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/gomp/bad-array-section-c-3.c
-m32 -fdiagnostics-plain-output -fopenmp -S -o bad-array-section-c-3.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/gomp/bad-array-section-c-3.c:
In function 'main':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/gomp/bad-array-section-c-3.c:12:58:
error: expected ']' before ':' token
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/gomp/bad-array-section-c-3.c:12:23:
sorry, unimplemented: unsupported map expression '{(int *)arr[5]}'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/gomp/bad-array-section-c-3.c:19:23:
sorry, unimplemented: unsupported map expression '{&arr[5]}'
compiler exited with status 1
PASS: gcc.dg/gomp/bad-array-section-c-3.c  at line 13 (test for errors, line
12)
FAIL: gcc.dg/gomp/bad-array-section-c-3.c  at line 14 (test for warnings, line
12)
PASS: gcc.dg/gomp/bad-array-section-c-3.c  at line 15 (test for warnings, line
12)
PASS: gcc.dg/gomp/bad-array-section-c-3.c  at line 20 (test for warnings, line
19)

commit b5476e4c881b0d2bfbbfb84ee38d791123acf8e1 (HEAD)
Author: Julian Brown <jul...@codesourcery.com>
Date:   Mon Nov 15 02:23:49 2021 -0800

    OpenMP: lvalue parsing for map/to/from clauses (C)

Reply via email to