public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/103836] New: '-fcompare-debug' failure (length) w/ -fopenacc --param openacc-kernels=decompose
@ 2021-12-26 16:17 asolokha at gmx dot com
  2021-12-27 13:18 ` [Bug debug/103836] " jakub at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: asolokha at gmx dot com @ 2021-12-26 16:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103836
           Summary: '-fcompare-debug' failure (length) w/ -fopenacc
                    --param openacc-kernels=decompose
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: openacc
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

Created attachment 52061
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52061&action=edit
diff -u o5cia6mf.*.gkd

g++ 12.0.0 20211219 snapshot (g:fcbf94a5be9e0c1ecad92da773a6632b86b7f70a) fails
-fcompare-debug check when compiling the following testcase w/, extracted from
gcc/testsuite/c-c++-common/goacc/nesting-1.c, w/ -fopenacc --param
openacc-kernels=decompose:

extern int i;

void
f_acc_kernels (void)
{
#pragma acc kernels
  {
#pragma acc loop
    for (i = 0; i < 2; ++i)
      ;
  }
}

% x86_64-unknown-linux-gnu-g++-12.0.0 -O1 -fcompare-debug -fopenacc --param
openacc-kernels=decompose -c o5cia6mf.c
x86_64-unknown-linux-gnu-g++-12.0.0: error: o5cia6mf.c: '-fcompare-debug'
failure (length)

Diff between two gkd files attached. I can reproduce the issue only w/ C++
front-end.

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

end of thread, other threads:[~2022-03-04 13:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-26 16:17 [Bug debug/103836] New: '-fcompare-debug' failure (length) w/ -fopenacc --param openacc-kernels=decompose asolokha at gmx dot com
2021-12-27 13:18 ` [Bug debug/103836] " jakub at gcc dot gnu.org
2021-12-28 10:45 ` [Bug middle-end/103836] " marxin at gcc dot gnu.org
2022-03-04 13:25 ` cvs-commit 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).