public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97760] New: GCC outputs wrong values when compiling the testcase with -O3
@ 2020-11-09  2:58 yangyang305 at huawei dot com
  2020-11-09  3:01 ` [Bug tree-optimization/97760] " yangyang305 at huawei dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: yangyang305 at huawei dot com @ 2020-11-09  2:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97760
           Summary: GCC outputs wrong values when compiling the testcase
                    with -O3
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yangyang305 at huawei dot com
  Target Milestone: ---

Hi, gcc-trunk outputs wrong values when compiling the attached testcase with
-O3.


gcc -O0 test.c -w && ./a.out

159,150,150
150

gcc -O3 test.c -w && ./a.out

159,123,123
123

GCC version: 11.0.0 20201106 (experimental)

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

end of thread, other threads:[~2020-12-01 15:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09  2:58 [Bug tree-optimization/97760] New: GCC outputs wrong values when compiling the testcase with -O3 yangyang305 at huawei dot com
2020-11-09  3:01 ` [Bug tree-optimization/97760] " yangyang305 at huawei dot com
2020-11-09  8:13 ` [Bug tree-optimization/97760] [10/11 Regression] GCC outputs wrong values when compiling the testcase with -O3 since r10-4200-gb7ff7cef5005721e marxin at gcc dot gnu.org
2020-11-09  8:17 ` rguenth at gcc dot gnu.org
2020-11-09 13:38 ` rguenth at gcc dot gnu.org
2020-11-09 14:19 ` rguenth at gcc dot gnu.org
2020-11-10  9:18 ` cvs-commit at gcc dot gnu.org
2020-11-10  9:22 ` [Bug tree-optimization/97760] [10 " rguenth at gcc dot gnu.org
2020-12-01 15:44 ` cvs-commit at gcc dot gnu.org
2020-12-01 15:45 ` rguenth 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).