public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "havard.graff at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/48183] ICE [arm] immed_double_const at emit-rtl.c (-mfpu=neon -g -O1)
Date: Thu, 01 Dec 2011 19:58:00 -0000	[thread overview]
Message-ID: <bug-48183-4-wOg7NbcIwH@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-48183-4@http.gcc.gnu.org/bugzilla/>

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

Havard Graff <havard.graff at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |havard.graff at gmail dot
                   |                            |com

--- Comment #1 from Havard Graff <havard.graff at gmail dot com> 2011-12-01 19:58:11 UTC ---
I have some additional info related to this bug:

If I compile the following:

#include "arm_neon.h"
#include "stdlib.h"

int main ()
{
   float r [] = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
   float32x4x2_t d;
   d = vld2q_f32 (r);
   vst2q_f32 (r, d);
   return 0;
}

using: arm-linux-androideabi-gcc test.c -mfloat-abi=softfp -mfpu=neon -g -O1

I get:
test.c: In function 'main':
test.c:4:5: internal compiler error: in immed_double_const, at emit-rtl.c:550
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

However, if I comment out vst2q_f32 (r, d);, the problem goes away. Also by not
using -g or -O1.

$ arm-linux-androideabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-androideabi-gcc
COLLECT_LTO_WRAPPER=/Users/havard.graff/Code/android-ndk-r7/toolchains/arm-linux-androideabi-4.6.2/prebuilt/darwin-x86/libexec/gcc/arm-linux-androideabi/4.6.2/lto-wrapper
Target: arm-linux-androideabi
Configured with:
/Users/havard.graff/Code/selfbuilt_android_toolchain/build/../gcc/gcc-4.6.2/configure
--prefix=/Users/havard.graff/Code/android-ndk-r7/toolchains/arm-linux-androideabi-4.6.2/prebuilt/darwin-x86
--target=arm-linux-androideabi --host=i686-apple-darwin
--build=i686-apple-darwin --with-gnu-as --with-gnu-ld
--enable-languages=c,c++,objc
--with-gmp=/tmp/ndk-havard.graff/build/toolchain/temp-install
--with-mpfr=/tmp/ndk-havard.graff/build/toolchain/temp-install
--with-mpc=/tmp/ndk-havard.graff/build/toolchain/temp-install --disable-libssp
--enable-threads --disable-nls --disable-libmudflap --disable-libgomp
--disable-sjlj-exceptions --disable-shared --disable-tls --with-float=soft
--with-fpu=vfp --with-arch=armv5te --enable-target-optspace
--disable-hosted-libstdcxx --enable-cxx-flags='-fexceptions -frtti'
--enable-initfini-array --disable-nls
--prefix=/Users/havard.graff/Code/android-ndk-r7/toolchains/arm-linux-androideabi-4.6.2/prebuilt/darwin-x86
--with-sysroot=/Users/havard.graff/Code/android-ndk-r7/toolchains/arm-linux-androideabi-4.6.2/prebuilt/darwin-x86/sysroot
--with-binutils-version=2.22.51 --with-mpfr-version=2.4.1
--with-gmp-version=4.2.4 --with-gcc-version=4.6.2 --with-gdb-version=6.6
--with-arch=armv5te --program-transform-name='s,^,arm-linux-androideabi-,'
Thread model: posix
gcc version 4.6.2 (GCC)


  parent reply	other threads:[~2011-12-01 19:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 15:54 [Bug c/48183] New: " juha.kallioinen at nokia dot com
2011-04-04 20:54 ` [Bug target/48183] " ramana at gcc dot gnu.org
2011-12-01 19:58 ` havard.graff at gmail dot com [this message]
2014-07-09  8:35 ` ktkachov at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-48183-4-wOg7NbcIwH@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).