public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/98834] New: Code path incorrectly determined to be unreachable
@ 2021-01-26  8:28 kretz at kde dot org
  2021-01-26  9:18 ` [Bug ipa/98834] [10/11 Regression] " rguenth at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: kretz at kde dot org @ 2021-01-26  8:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98834
           Summary: Code path incorrectly determined to be unreachable
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kretz at kde dot org
  Target Milestone: ---
            Target: x86_64-pc-linux-gnu

Created attachment 50054
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50054&action=edit
test case

The attached testcase compiles to a main function without return statement, as
if the compiler determines the code path is unreachable.

Compile with -O2. If you compile with -O2 -fno-tree-vrp, the return statement
is emitted.

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

end of thread, other threads:[~2021-03-24 14:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-26  8:28 [Bug tree-optimization/98834] New: Code path incorrectly determined to be unreachable kretz at kde dot org
2021-01-26  9:18 ` [Bug ipa/98834] [10/11 Regression] " rguenth at gcc dot gnu.org
2021-01-26  9:20 ` kretz at kde dot org
2021-01-26  9:29 ` kretz at kde dot org
2021-01-26  9:47 ` jakub at gcc dot gnu.org
2021-01-26 10:09 ` rguenther at suse dot de
2021-03-08 18:10 ` jamborm at gcc dot gnu.org
2021-03-15 12:40 ` rguenth at gcc dot gnu.org
2021-03-15 15:00 ` cvs-commit at gcc dot gnu.org
2021-03-15 15:02 ` rguenth at gcc dot gnu.org
2021-03-16  9:29 ` marxin at gcc dot gnu.org
2021-03-24 13:12 ` [Bug ipa/98834] [10 " rguenth at gcc dot gnu.org
2021-03-24 14:26 ` cvs-commit at gcc dot gnu.org
2021-03-24 14:27 ` 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).