[Bug c/67978] New: dead code elimination deleted the predicated branch within the function block.

feqin1023 at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 15 19:13:00 GMT 2015


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

}



More information about the Gcc-bugs mailing list