From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30002 invoked by alias); 16 Apr 2013 12:18:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29975 invoked by uid 48); 16 Apr 2013 12:18:48 -0000 From: "mgretton at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/56979] New: ICE in output_operand: invalid operand for code 'P' Date: Tue, 16 Apr 2013 12:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mgretton at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg01527.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56979 Bug #: 56979 Summary: ICE in output_operand: invalid operand for code 'P' Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: mgretton@gcc.gnu.org Created attachment 29882 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D29882 Reduced testcase The attached testcase causes the following ICE when compiled as shown: $ arm-none-linux-gnueabi-g++ -fsigned-char -march=3Darmv7-a -mfloat-abi=3Dh= ard -mfpu=3Dneon -ftree-vectorize -fPIC besttry.c besttry.c: In function =E2=80=98float2 operator-(float, float2)=E2=80=99: besttry.c:7:1: internal compiler error: output_operand: invalid operand for code 'P' } ^ 0x86acde output_operand_lossage(char const*, ...) /work/sources/gcc-fsf/master/gcc/final.c:3303 0xcdf7ba arm_print_operand /work/sources/gcc-fsf/master/gcc/config/arm/arm.c:18336 0x86ad2e output_operand(rtx_def*, int) /work/sources/gcc-fsf/master/gcc/final.c:3725 0x86b70b output_asm_insn /work/sources/gcc-fsf/master/gcc/final.c:3604 0x86b70b output_asm_insn(char const*, rtx_def**) /work/sources/gcc-fsf/master/gcc/final.c:3493 0xcd6864 output_move_vfp(rtx_def**) /work/sources/gcc-fsf/master/gcc/config/arm/arm.c:15383 0x86c6e8 final_scan_insn(rtx_def*, _IO_FILE*, int, int, int*) /work/sources/gcc-fsf/master/gcc/final.c:2853 0x86da15 final(rtx_def*, _IO_FILE*, int) /work/sources/gcc-fsf/master/gcc/final.c:1957 0x86de29 rest_of_handle_final /work/sources/gcc-fsf/master/gcc/final.c:4332 Issue also seen on 4.7, and 4.8. arm-none-linux-g++ -v:=20 Using built-in specs. COLLECT_GCC=3D/work/builds/gcc-fsf-master/tools/bin/arm-none-linux-gnueabi-= g++ COLLECT_LTO_WRAPPER=3D/work/builds/gcc-fsf-master/tools/libexec/gcc/arm-non= e-linux-gnueabi/4.9.0/lto-wrapper Target: arm-none-linux-gnueabi Configured with: /work/sources/gcc-fsf/master/configure --target=3Darm-none-linux-gnueabi --prefix=3D/work/builds/gcc-fsf-master/to= ols --with-sysroot=3D/work/builds/gcc-fsf-master/sysroot-arm-none-linux-gnueabi --disable-libssp --disable-libgomp --disable-libmudflap --enable-languages=3Dc,c++ --with-arch=3Darmv7-a --with-fpu=3Dvfpv3-d16 --with-float=3Dsoftfp --with-thumb : (reconfigured) /work/sources/gcc-fsf/master/configure --target=3Darm-none-linux-gnueabi --prefix=3D/work/builds/gcc-fsf-master/tools --with-sysroot=3D/work/builds/gcc-fsf-master/sysroot-arm-none-linux-gnueabi --disable-libssp --disable-libgomp --disable-libmudflap --with-arch=3Darmv7= -a --with-fpu=3Dvfpv3-d16 --with-float=3Dsoftfp --with-thumb target_alias=3Darm-none-linux-gnueabi CC=3Dgcc --enable-languages=3Dc,c++,l= to --no-create --no-recursion Thread model: posix gcc version 4.9.0 20130416 (experimental) (GCC) >>From gcc-bugs-return-420383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 16 12:45:41 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10961 invoked by alias); 16 Apr 2013 12:45:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10942 invoked by uid 48); 16 Apr 2013 12:45:38 -0000 From: "mgretton at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/56979] ICE in output_operand: invalid operand for code 'P' Date: Tue, 16 Apr 2013 12:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mgretton at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg01528.txt.bz2 Content-length: 267 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56979 --- Comment #1 from mgretton at gcc dot gnu.org 2013-04-16 12:45:38 UTC --- Command line can be further reduced to $ arm-none-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon reduced-testcase.c