This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/67978] New: dead code elimination deleted the predicated branch within the function block.
- From: "feqin1023 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Oct 2015 19:13:37 +0000
- Subject: [Bug c/67978] New: dead code elimination deleted the predicated branch within the function block.
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67978
Bug ID: 67978
Summary: dead code elimination deleted the predicated branch
within the function block.
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: feqin1023 at gmail dot com
Target Milestone: ---
if i have this input:
void foo(int *x) {
int y = *x; // dead code can be clean
}