ICE when trying to compile code with calls to SSE2 Intel intrinsic library. Any combination ofoptimizing flag -Ox with -mcpu=pentium4 -march=pentium4 -msse2 generate an ICE. The output is: > gcc-3.3 -save-temps -O3 -mcpu=pentium4 -march=pentium4 -msse2 sse2test.c -o sse2test sse2test.c: En la función `main': sse2test.c:94: internal compiler error: in simplify_unary_operation, at simplify-rtx.c:387 Por favor envíe un reporte completo de `bugs', con el código preprocesado si es apropiado. Vea <URL:http://gcc.gnu.org/bugs.html> para más instrucciones. Attached is sse2test.tar.gz with 'sse2test.c' and 'sse2test.i' files Release: gcc versión 3.3 20030424 (prerelease) Environment: pentium4-pc-linux-gnu; Kernel-2.4.19, SuSE-linux 8.1 How-To-Repeat: Try to compile the code with -O3 -mcpu=pentium4 -march=pentium4 -msse2 flags
State-Changed-From-To: open->analyzed State-Changed-Why: Confirmed. Problem exists in 3.3, but 3.4 works. 3.2.x never really supported sse2, so this is not a regression. W.
From: Guillermo Ballester Valor <gbv@oxixares.com> To: gcc-prs@gcc.gnu.org, gbvalor@oxixares.com, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: target/10504: [3.3] ICE with SSE2 code and -O3 -mcpu=pentium4 -msse2 Date: Sun, 18 May 2003 11:11:16 +0200 Hi, I am the guy who reported the bug. I only would like to add that the bug should be introduced recently. Precisely, the gcc version used by SuSE 8.2 does not show any problem: gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. OTOH, I tried with the 3.3 release and the problem is still here. Hope this helps. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10504 Guillermo -- Guillermo Ballester Valor gbv@oxixares.com Ogijares, Granada SPAIN
Responsible-Changed-From-To: unassigned->hubicka Responsible-Changed-Why: Jan, I think this is your field, right? Thanks W.
Hi, So, when this GCC 3.4 patch backported will be commited to the 3.3 CVS branch ? Guillermo.
This is apparently fixed for mainline, and it is an ice-on-valid-code; also, this PR is only in the FSF release, not in the SuSE prerelease they use for SuSE 8.2. Probably Jan's fix was in the SuSE tree all along, which would mean this is well-tested and therefore safe for 3.3.1. Is there stil ltime for a backport?
Subject: Re: [3.3] ICE with SSE2 code and -O3 -mcpu=pentium4 -msse2 On Fri, 2003-07-11 at 17:11, steven at gcc dot gnu dot org wrote: > PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10504 > > > steven at gcc dot gnu dot org changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |mark at codesourcery dot com > > > ------- Additional Comments From steven at gcc dot gnu dot org 2003-07-12 00:11 ------- > This is apparently fixed for mainline, and it is an ice-on-valid-code; also, > this PR is only in the FSF release, not in the SuSE prerelease they use for SuSE > 8.2. Probably Jan's fix was in the SuSE tree all along, which would mean this > is well-tested and therefore safe for 3.3.1. Is there stil ltime for a backport? Yes, and it would be great to do that!
Fixed by my earlier patch