public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/106045] New: Incorrect testcase in libgomp.c/target-31.c at -O0
@ 2022-06-21 14:20 piannetta at kalrayinc dot com
  2022-06-21 15:57 ` [Bug libgomp/106045] " cvs-commit at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: piannetta at kalrayinc dot com @ 2022-06-21 14:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106045
           Summary: Incorrect testcase in libgomp.c/target-31.c at -O0
           Product: gcc
           Version: 10.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: piannetta at kalrayinc dot com
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Created attachment 53183
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53183&action=edit
patch which add the private clause on i

When investigating a test failure in the openmp testsuite, we found that the
test target-31.c exhibit a wrong behavior at -O0.

This is due to a missing private clause on the i variable.  At higher
optimization levels, the i variable is optimized out which makes the wrong
behavior disappear.

In attachment, a patch adding the missing private clause.

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

end of thread, other threads:[~2023-05-03 15:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 14:20 [Bug libgomp/106045] New: Incorrect testcase in libgomp.c/target-31.c at -O0 piannetta at kalrayinc dot com
2022-06-21 15:57 ` [Bug libgomp/106045] " cvs-commit at gcc dot gnu.org
2022-06-21 16:16 ` jakub at gcc dot gnu.org
2022-06-28 15:32 ` cvs-commit at gcc dot gnu.org
2022-11-04  8:30 ` cvs-commit at gcc dot gnu.org
2022-11-28 22:10 ` pinskia at gcc dot gnu.org
2023-05-03 15:18 ` 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).