------- Comment #4 from pinskia at gcc dot gnu dot org  2006-05-23 06:51 -------
Reduced testcase:
struct st{
  int _mark;
};
unsigned long long t = ((int)&(((struct st*)16)->_mark) - 16);

This is undefined code.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org, dj at redhat dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-23 06:51:13
               date|                            |
            Summary|internal compiler error: no-|[4.1/4.2 Regression]
                   |op convert from 4 to 8 bytes|internal compiler error: no-
                   |in initializer              |op convert from 4 to 8 bytes
                   |                            |in initializer
   Target Milestone|---                         |4.1.1


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

Reply via email to