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 }