https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
--- Comment #30 from Andrew Pinski ---
*** Bug 106456 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
--- Comment #29 from Richard Biener ---
Created attachment 51895
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51895=edit
-Wunreachable-code-ctrl at GIMPLE lowering time
This is the -Wunreachable-code-ctrl (not enabled by -Wextra) patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
Richard Biener changed:
What|Removed |Added
Attachment #51878|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
Bug 46476 depends on bug 103439, which changed state.
Bug 103439 Summary: genemit emits dead code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103439
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
--- Comment #27 from Richard Biener ---
(In reply to Richard Biener from comment #25)
> Created attachment 51878 [details]
> -Wunreachable-code-return at GIMPLE lowering time
...
> At least this patch passes bootstrap and would have found one
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
--- Comment #26 from Richard Biener ---
diff --git a/gcc/gimple-low.c b/gcc/gimple-low.c
index 18e66450977..dc56e14b605 100644
--- a/gcc/gimple-low.c
+++ b/gcc/gimple-low.c
@@ -60,7 +60,7 @@ typedef struct return_statements_t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
--- Comment #25 from Richard Biener ---
Created attachment 51878
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51878=edit
-Wunreachable-code-return at GIMPLE lowering time
This is an alternative change only implementing
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
Thomas Schwinge changed:
What|Removed |Added
See Also||http://gcc.gnu.org/bugzilla
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
--- Comment #23 from Richard Biener ---
Created attachment 51877
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51877=edit
some fallout in GCC
This fixes some fallout appearant when bootstrapping with the patch, mostly
style, so not
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
--- Comment #22 from Richard Biener ---
Created attachment 51876
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51876=edit
-Wunreachable-code at CFG construction time
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
Bug 46476 depends on bug 80701, which changed state.
Bug 80701 Summary: Option for generating link symbol for functions removed by
DCE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80701
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
Richard Biener changed:
What|Removed |Added
CC||gustavo.hime at mpimet dot
mpg.de
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
Thomas Schwinge changed:
What|Removed |Added
CC||tschwinge at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
Richard Biener changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
--- Comment #18 from Richard Biener ---
We can warn at CFG construction time. Note the ??? though, we'd want to improve
here to avoid duplicate diagnostics. Tricky cases:
/* Unreachable region entry has a predecessor (backedge). */
void foo()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476
Eric Gallager changed:
What|Removed |Added
Blocks||89863
--- Comment #17 from Eric
16 matches
Mail list logo