------- Comment #1 from pinskia at gcc dot gnu dot org  2008-07-09 18:22 -------
forward-propagate is causing some of the issues as shown by:
int *test(int *a ){
  a[1]=a[0];
  a++;
  return a;
}
But using the register extension is causing the rest :).  I would recommend
against using them in real code really, they are not that useful and cause too
many issues in general.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org, bonzini at gnu dot org
           Severity|major                       |normal
             Status|UNCONFIRMED                 |NEW
          Component|c                           |middle-end
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-07-09 18:22:19
               date|                            |


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

Reply via email to