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

            Bug ID: 112724
           Summary: C++ "'excess_precision_expr' not supported by
                    dump_expr<expression error>"
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: diagnostic, testsuite-fail
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: burnus at gcc dot gnu.org, jakub at gcc dot gnu.org
  Target Milestone: ---

(Only) in '-m32' testing of x86_64-pc-linux-gnu, I see (only) for C++ testing
of the test case added in commit
r14-5827-g1802f64e674eeef0c0d7e8f6ca2846145ec16315 "OpenMP: Accept argument to
depobj's destroy clause":

    +PASS: c-c++-common/gomp/depobj-3.c  -std=c++98  at line 17 (test for
warnings, line 15)
    +FAIL: c-c++-common/gomp/depobj-3.c  -std=c++98  at line 39 (test for
warnings, line 37)
    +PASS: c-c++-common/gomp/depobj-3.c  -std=c++98  at line 43 (test for
errors, line 41)
    +PASS: c-c++-common/gomp/depobj-3.c  -std=c++98  (test for warnings, line
45)
    +FAIL: c-c++-common/gomp/depobj-3.c  -std=c++98 (test for excess errors)

    [...]/c-c++-common/gomp/depobj-3.c: In function 'int main()':
    [...]/c-c++-common/gomp/depobj-3.c:37:38: warning: the 'destroy' expression
''excess_precision_expr' not supported by dump_expr<expression error>' should
be the same as the 'depobj' argument 'obj' [-Wopenmp]

This should be:

    [...]/c-c++-common/gomp/depobj-3.c:37:38: warning: the 'destroy' expression
'(a + (float)5)' should be the same as the 'depobj' argument 'obj' [-Wopenmp]

Reply via email to