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

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #5)
> Thus, at least this part looks consistent - and doing the following would be
> fine:

This should have been:

--- a/gcc/testsuite/c-c++-common/goacc/kernels-decompose-pr104774-1.c
+++ b/gcc/testsuite/c-c++-common/goacc/kernels-decompose-pr104774-1.c
@@ -21,2 +21,4 @@ foo (void)
   {
+    /* Cf. PR121975; due to C++26's '-ftrivial-auto-var-init=zero': */
+    /* { dg-message {beginning 'gang-single' part in OpenACC 'kernels' region}
{} { target c++26 } .+1 } */
     int k;

Reply via email to