[Bug middle-end/20491] [4.0/4.1 Regression] internal compiler error: in subreg_regno_offset, at rtlanal.c:3042

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 16 02:27:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-16 02:27 -------
Confirmed, reduced testcase:
volatile unsigned short _const_32 [4] = {1,2,3,4};
void
evas_common_convert_yuv_420p_601_rgba()
{
  __asm__ __volatile__ ("" : : "X" (*_const_32));
}

Note really X should not be used as you showed with -O0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
          Component|c                           |middle-end
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.0.0 4.1.0
      Known to work|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-16 02:27:51
               date|                            |
            Summary|internal compiler error: in |[4.0/4.1 Regression]
                   |subreg_regno_offset, at     |internal compiler error: in
                   |rtlanal.c:3042              |subreg_regno_offset, at
                   |                            |rtlanal.c:3042
   Target Milestone|---                         |4.0.0


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



More information about the Gcc-bugs mailing list