This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/16104] [3.4/3.5 regression] ICE in reload_cse_simplify_operands, at postreload.c:378 with SSE2 code on -O2
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2004 09:30:35 -0000
- Subject: [Bug rtl-optimization/16104] [3.4/3.5 regression] ICE in reload_cse_simplify_operands, at postreload.c:378 with SSE2 code on -O2
- References: <20040620185309.16104.gcc@weidai.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-06-25 09:30 -------
Here's an even shorter testcase which crashes with the 3.4 branch
and mainline:
===========================================================
typedef int __m64 __attribute__ ((__mode__ (__V2SI__)));
int foo()
{
return (long long)(__m64)(0ll);
}
===========================================================
PR16104B.c: In function `foo':
PR16104B.c:5: internal compiler error: in convert_move, at expr.c:585
Please submit a full bug report, [etc.]
Before 3.4 the code was rejected (errorneously IMHO):
PR16104B.c: In function `foo':
PR16104B.c:5: error: can't convert between vector values of different size
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16104