public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35294]  New: iwmmxt intrinsics, internal compiler error
@ 2008-02-22 14:18 haavardw at ifi dot uio dot no
  2009-01-02 12:08 ` [Bug target/35294] " laurent at guerby dot net
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: haavardw at ifi dot uio dot no @ 2008-02-22 14:18 UTC (permalink / raw)
  To: gcc-bugs

Compiling this simple function:

#include <mmintrin.h>
void foo()
{
    _mm_srli_pi16(_mm_setzero_si64(), 8);
}

with the command line arm-angstrom-linux-gnueabi-gcc -c -O2 iwmmxt.cpp, results
in:

/home/qt/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/image/home/qt/gumstix/gumstix-oe/tmp/cross/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/include/mmintrin.h:
In function 'void foo()':
/home/qt/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/image/home/qt/gumstix/gumstix-oe/tmp/cross/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/include/mmintrin.h:529:
internal compiler error: in arm_expand_binop_builtin, at config/arm/arm.c:12551
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
/home/qt/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/image/home/qt/gumstix/gumstix-oe/tmp/cross/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/include/mmintrin.h:
In function 'foo':
/home/qt/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/image/home/qt/gumstix/gumstix-oe/tmp/cross/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/include/mmintrin.h:529:
internal compiler error: in arm_expand_binop_builtin, at config/arm/arm.c:12551
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

$ arm-angstrom-linux-gnueabi-gcc -v
Using built-in specs.
Target: arm-angstrom-linux-gnueabi
Configured with:
/home/qt/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r10/gcc-4.1.2/configure
--build=x86_64-linux --host=x86_64-linux --target=arm-angstrom-linux-gnueabi
--prefix=/home/qt/gumstix/gumstix-oe/tmp/cross
--exec_prefix=/home/qt/gumstix/gumstix-oe/tmp/cross
--bindir=/home/qt/gumstix/gumstix-oe/tmp/cross/bin
--sbindir=/home/qt/gumstix/gumstix-oe/tmp/cross/bin
--libexecdir=/home/qt/gumstix/gumstix-oe/tmp/cross/libexec
--datadir=/home/qt/gumstix/gumstix-oe/tmp/cross/share
--sysconfdir=/home/qt/gumstix/gumstix-oe/tmp/cross/etc
--sharedstatedir=/home/qt/gumstix/gumstix-oe/tmp/cross/com
--localstatedir=/home/qt/gumstix/gumstix-oe/tmp/cross/var
--libdir=/home/qt/gumstix/gumstix-oe/tmp/cross/lib
--includedir=/home/qt/gumstix/gumstix-oe/tmp/cross/include
--oldincludedir=/home/qt/gumstix/gumstix-oe/tmp/cross/include
--infodir=/home/qt/gumstix/gumstix-oe/tmp/cross/share/info
--mandir=/home/qt/gumstix/gumstix-oe/tmp/cross/share/man --with-gnu-ld
--enable-shared --enable-target-optspace --enable-languages=c,c++
--enable-threads=posix --enable-multilib --enable-c99 --enable-long-long
--enable-symvers=gnu --enable-libstdcxx-pch
--program-prefix=arm-angstrom-linux-gnueabi-
--with-local-prefix=/home/qt/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi
--with-gxx-include-dir=/home/qt/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include/c++
--enable-__cxa_atexit --with-float=soft --disable-libssp
--disable-libunwind-exceptions
--with-mpfr=/home/qt/gumstix/gumstix-oe/tmp/staging/x86_64-linux
Thread model: posix
gcc version 4.1.2


-- 
           Summary: iwmmxt intrinsics, internal compiler error
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: haavardw at ifi dot uio dot no
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: arm-linux-gnueabi


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/35294] iwmmxt intrinsics, internal compiler error
  2008-02-22 14:18 [Bug c/35294] New: iwmmxt intrinsics, internal compiler error haavardw at ifi dot uio dot no
@ 2009-01-02 12:08 ` laurent at guerby dot net
  2009-02-19 13:44 ` ixt at nm dot ru
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: laurent at guerby dot net @ 2009-01-02 12:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from laurent at guerby dot net  2009-01-02 12:06 -------
Fixed on 4.3.2-1 Debian gnueabi and on trunk at rev 142808 (tested native)


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/35294] iwmmxt intrinsics, internal compiler error
  2008-02-22 14:18 [Bug c/35294] New: iwmmxt intrinsics, internal compiler error haavardw at ifi dot uio dot no
  2009-01-02 12:08 ` [Bug target/35294] " laurent at guerby dot net
@ 2009-02-19 13:44 ` ixt at nm dot ru
  2009-02-24 14:37 ` ixt at nm dot ru
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ixt at nm dot ru @ 2009-02-19 13:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ixt at nm dot ru  2009-02-19 13:44 -------
Testing sample with gcc-4.3.3 (released after 2009-01-02 12:06) also fail:

sergeyhost:/tmp$ cat ./main.c 
#include <mmintrin.h>
void foo()
{
    _mm_srli_pi16(_mm_setzero_si64(), 8);
}
sergeyhost:/tmp$

sergeyhost:/tmp$ arm-iwmmx-linux-gnueabi-gcc -flax-vector-conversions -c -O2
./main.c
/opt/toolchain/arm-iwmmx-linux-gnueabi/gcc-4.3.3-glibc-2.8-binutils-2.18-kernel-2.6.22-sanitized/lib/gcc/arm-iwmmx-linux-gnueabi/4.3.3/include/mmintrin.h:
In function 'foo':
/opt/toolchain/arm-iwmmx-linux-gnueabi/gcc-4.3.3-glibc-2.8-binutils-2.18-kernel-2.6.22-sanitized/lib/gcc/arm-iwmmx-linux-gnueabi/4.3.3/include/mmintrin.h:529:
internal compiler error: in arm_expand_binop_builtin, at config/arm/arm.c:15380
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
sergeyhost:/tmp$ 

I am use OSELAS.Toolchan-1.99.3
arm-iwmmx-linux-gnueabi_gcc-4.3.2_glibc-2.8_binutils-2.18_kernel-2.6.27-sanitized
with small changes for me (update compiler because in contains "regression
fixes and docs only" and downgrade kernel headers). I think this changes
unimportant for bug.


-- 

ixt at nm dot ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ixt at nm dot ru


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/35294] iwmmxt intrinsics, internal compiler error
  2008-02-22 14:18 [Bug c/35294] New: iwmmxt intrinsics, internal compiler error haavardw at ifi dot uio dot no
  2009-01-02 12:08 ` [Bug target/35294] " laurent at guerby dot net
  2009-02-19 13:44 ` ixt at nm dot ru
@ 2009-02-24 14:37 ` ixt at nm dot ru
  2009-09-13 17:07 ` den at openvz dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ixt at nm dot ru @ 2009-02-24 14:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ixt at nm dot ru  2009-02-24 14:37 -------
Can anybody reopen bug?


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/35294] iwmmxt intrinsics, internal compiler error
  2008-02-22 14:18 [Bug c/35294] New: iwmmxt intrinsics, internal compiler error haavardw at ifi dot uio dot no
                   ` (2 preceding siblings ...)
  2009-02-24 14:37 ` ixt at nm dot ru
@ 2009-09-13 17:07 ` den at openvz dot org
  2009-09-16 15:58 ` ixt at nm dot ru
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: den at openvz dot org @ 2009-09-13 17:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from den at openvz dot org  2009-09-13 17:07 -------
same problem with gcc-4.3.4, sources comes from gentoo package

iris ~ $ arm-iwmmxt-linux-gnueabi-g++ -flax-vector-conversions -c -O2  1.cpp
/vol/marvel-4.3.2/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.3.4/include/mmintrin.h:
In function 'void foo()':
/vol/marvel-4.3.2/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.3.4/include/mmintrin.h:529:
internal compiler error: in arm_expand_binop_builtin, at config/arm/arm.c:15429
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
iris ~ $ arm-iwmmxt-linux-gnueabi-g++ -v
Using built-in specs.
Target: arm-iwmmxt-linux-gnueabi
Configured with: /vol/build/gcc-4.3.4/configure
--target=arm-iwmmxt-linux-gnueabi --with-cpu=iwmmxt --with-float=soft
--enable-cxx-flags=-msoft-float --disable-nls --enable-threads=posix
--enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++
--enable-shared --enable-c99 --enable-long-long
--with-sysroot=/opt/marvel/sysroot --prefix=/opt/marvel/
Thread model: posix
gcc version 4.3.4 (GCC) 


-- 

den at openvz dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |den at openvz dot org


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/35294] iwmmxt intrinsics, internal compiler error
  2008-02-22 14:18 [Bug c/35294] New: iwmmxt intrinsics, internal compiler error haavardw at ifi dot uio dot no
                   ` (3 preceding siblings ...)
  2009-09-13 17:07 ` den at openvz dot org
@ 2009-09-16 15:58 ` ixt at nm dot ru
  2009-09-16 17:22 ` den at openvz dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ixt at nm dot ru @ 2009-09-16 15:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ixt at nm dot ru  2009-09-16 15:58 -------
Denis, nobody wants to open this thread. First, we must do it.

PS You say in Russian?


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/35294] iwmmxt intrinsics, internal compiler error
  2008-02-22 14:18 [Bug c/35294] New: iwmmxt intrinsics, internal compiler error haavardw at ifi dot uio dot no
                   ` (4 preceding siblings ...)
  2009-09-16 15:58 ` ixt at nm dot ru
@ 2009-09-16 17:22 ` den at openvz dot org
  2009-09-16 18:26 ` ixt at nm dot ru
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: den at openvz dot org @ 2009-09-16 17:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from den at openvz dot org  2009-09-16 17:22 -------
for russian - yes.

Should we open new issue? :)


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/35294] iwmmxt intrinsics, internal compiler error
  2008-02-22 14:18 [Bug c/35294] New: iwmmxt intrinsics, internal compiler error haavardw at ifi dot uio dot no
                   ` (5 preceding siblings ...)
  2009-09-16 17:22 ` den at openvz dot org
@ 2009-09-16 18:26 ` ixt at nm dot ru
  2009-09-17 17:04 ` rearnsha at gcc dot gnu dot org
  2009-09-17 17:04 ` rearnsha at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ixt at nm dot ru @ 2009-09-16 18:26 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 618 bytes --]



------- Comment #7 from ixt at nm dot ru  2009-09-16 18:26 -------
ß êîãäà-òî ïî ïîâîäó ýòîé îøèáêè îáèëüíî ãóãëèë è íàõîäèë íåñêîëüêî òðåäîâ â
ýòîé áàãçèëëå. Èõ çàêðûâàëè ïîä ïðåäëîãîì "duplicate". ß äóìàþ, åñëè òû
çàõî÷åøü, òû èõ òîæå íàéä¸øü. Òàê ÷òî - ýòî ãëàâíûé òðåä.
À òàê íàâåðíîå íàäî îòêðûâàòü íîâûé áàã è ñêîïèïàñòèòü òóäà ÷òî åñòü. :)


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/35294] iwmmxt intrinsics, internal compiler error
  2008-02-22 14:18 [Bug c/35294] New: iwmmxt intrinsics, internal compiler error haavardw at ifi dot uio dot no
                   ` (6 preceding siblings ...)
  2009-09-16 18:26 ` ixt at nm dot ru
@ 2009-09-17 17:04 ` rearnsha at gcc dot gnu dot org
  2009-09-17 17:04 ` rearnsha at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2009-09-17 17:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rearnsha at gcc dot gnu dot org  2009-09-17 17:03 -------
The assertion in the source is clearly broken if a constant can legally be
passed to it.  If a constant can't legally be passed, then the caller needs to
be fixed to diagnose it before we reach this point.


-- 

rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/35294] iwmmxt intrinsics, internal compiler error
  2008-02-22 14:18 [Bug c/35294] New: iwmmxt intrinsics, internal compiler error haavardw at ifi dot uio dot no
                   ` (7 preceding siblings ...)
  2009-09-17 17:04 ` rearnsha at gcc dot gnu dot org
@ 2009-09-17 17:04 ` rearnsha at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2009-09-17 17:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-09-17 17:04:07
               date|                            |


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-09-17 17:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-22 14:18 [Bug c/35294] New: iwmmxt intrinsics, internal compiler error haavardw at ifi dot uio dot no
2009-01-02 12:08 ` [Bug target/35294] " laurent at guerby dot net
2009-02-19 13:44 ` ixt at nm dot ru
2009-02-24 14:37 ` ixt at nm dot ru
2009-09-13 17:07 ` den at openvz dot org
2009-09-16 15:58 ` ixt at nm dot ru
2009-09-16 17:22 ` den at openvz dot org
2009-09-16 18:26 ` ixt at nm dot ru
2009-09-17 17:04 ` rearnsha at gcc dot gnu dot org
2009-09-17 17:04 ` rearnsha at gcc dot gnu dot org

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).