[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug middle-end/25328] [4.0/4.1 regression] ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1453




------- Comment #2 from pinskia at gcc dot gnu dot org  2005-12-09 17:16 -------
Reduced testcase:
int main(int argc, char **argv)
{
        int status = 0;
        char msg[100] = "";
        if(__builtin_strcmp(msg, ""))
                status = 200;
}

There a couple of issue here, first DCE is not removing some code even though
it is dead code but that is not the real issue.  The real issue is that DOM is
ICEing, it is not folding *&a to a or a[0] since a is an array.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to work|4.0.1                       |4.0.1 4.2.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-09 17:16:30
               date|                            |
   Target Milestone|---                         |4.0.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25328

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: