This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/15718] [3.3 regression][alpha] ICE in subreg_hard_regno, at emit-rtl.c:928


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-29 01:31 -------
Confirmed.  The rtx which is ICEing:
(subreg:DF (reg:SC 48 $f16) 0)

Note the failure for FAIL: gcc.c-torture/execute/complex-6.c compilation,  -Os  is the same.
Here is the reduced source for that testcase:
int err;
__complex__ float ctest_float (__complex__ float x)
{
 __complex__ float res;
 res = ~x;
 return res;
 }
void test_float (void)
{
 __complex__ float res, x;
 x = 1.0 + 2.0i;
 res = ctest_float (x);
 if (res != 1.0 - 2.0i)
  ++err;
}

I think is a bug in the alpha backend as it does not check for the complex modes.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
          Component|rtl-optimization            |target
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-29 01:31:18
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]