[Bug middle-end/39696] gcc.dg/tree-ssa/ssa-ccp-25.c scan-tree-dump doesn't work on Linux/ia32

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Apr 9 13:33:00 GMT 2009



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-04-09 13:32 -------
Interesting.  On 64bit we gimplify to

  p = &a[0];
  D.1596 = (long unsigned int) i;
  D.1597 = D.1596 * 4;
  D.1598 = p + D.1597;

while on 32bit we get

  p = &a[0];
  i.0 = (unsigned int) i;
  D.1253 = i.0 * 4;
  D.1254 = p + D.1253;

which is because tree.c:get_name strips nops but not sign nops.

I'll adjust the patterns.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-09 13:32:47
               date|                            |


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



More information about the Gcc-bugs mailing list