------- Comment #1 from pinskia at gcc dot gnu dot org  2006-05-17 20:58 -------
Reduced testcase:
int main(int argc,char **argv)
{
  int *t = 0;
  static_cast<int* __attribute((mode(SI) ))>( t);
}
----
This has nothing to do with the may_alias attribute but instead attributes on
pointers in a static cast.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.0.0 4.1.0 4.2.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-17 20:58:30
               date|                            |
            Summary|ICE on alias attribute      |[4.0/4.1/4.2 Regression] ICE
                   |casting                     |on attribute on pointers in
                   |                            |static_cast
   Target Milestone|---                         |4.0.4


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

Reply via email to