* [Bug c/52855] ARM: Internal compiler error: in extract_insn, at recog.c:2109
2012-04-03 20:09 [Bug c/52855] New: ARM: Internal compiler error: in extract_insn, at recog.c:2109 mpthompson at gmail dot com
@ 2012-04-04 15:30 ` mpthompson at gmail dot com
2012-04-04 15:34 ` [Bug target/52855] " pinskia at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mpthompson at gmail dot com @ 2012-04-04 15:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52855
--- Comment #1 from Mike Thompson <mpthompson at gmail dot com> 2012-04-04 15:29:47 UTC ---
This bug can be reproduced using the standard gcc 4.6.3 packages that is part
of the Debian wheezy armhf port. The command line to trigger the bug is:
gcc -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -D_FORTIFY_SOURCE=2 -g
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings -marm
-march=armv6 -mfpu=vfp -o cccPDUUP.o cccPDUUP.
The regular Debian wheezy gcc is configured with the following options:
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-1'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-objc-gc --disable-sjlj-exceptions --with-arch=armv7-a
--with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb
--enable-checking=release --build=arm-linux-gnueabihf
--host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/52855] ARM: Internal compiler error: in extract_insn, at recog.c:2109
2012-04-03 20:09 [Bug c/52855] New: ARM: Internal compiler error: in extract_insn, at recog.c:2109 mpthompson at gmail dot com
2012-04-04 15:30 ` [Bug c/52855] " mpthompson at gmail dot com
@ 2012-04-04 15:34 ` pinskia at gcc dot gnu.org
2012-10-24 13:38 ` mans at mansr dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-04-04 15:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52855
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
Severity|major |normal
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/52855] ARM: Internal compiler error: in extract_insn, at recog.c:2109
2012-04-03 20:09 [Bug c/52855] New: ARM: Internal compiler error: in extract_insn, at recog.c:2109 mpthompson at gmail dot com
2012-04-04 15:30 ` [Bug c/52855] " mpthompson at gmail dot com
2012-04-04 15:34 ` [Bug target/52855] " pinskia at gcc dot gnu.org
@ 2012-10-24 13:38 ` mans at mansr dot com
2012-10-27 13:27 ` mikpe at it dot uu.se
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mans at mansr dot com @ 2012-10-24 13:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52855
Mans Rullgard <mans at mansr dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mans at mansr dot com
--- Comment #2 from Mans Rullgard <mans at mansr dot com> 2012-10-24 13:38:10 UTC ---
Confirmed with 4.6.3 and -march=armv6 or higher at -O1 and higher, no other
flags needed. No error with 4.5, 4.7, or 4.8.
The Linaro 4.6 branch does not have the problem either, so whatever they've
added seems to fix it.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/52855] ARM: Internal compiler error: in extract_insn, at recog.c:2109
2012-04-03 20:09 [Bug c/52855] New: ARM: Internal compiler error: in extract_insn, at recog.c:2109 mpthompson at gmail dot com
` (2 preceding siblings ...)
2012-10-24 13:38 ` mans at mansr dot com
@ 2012-10-27 13:27 ` mikpe at it dot uu.se
2012-11-16 9:48 ` stemidts at cisco dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mikpe at it dot uu.se @ 2012-10-27 13:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52855
--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2012-10-27 13:26:47 UTC ---
The ICE is fixed by the patch for PR50099. See especially
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50099#c6 which shows the same ICE
in Perl as shown here. Therefore I think this is a dup of PR50099.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/52855] ARM: Internal compiler error: in extract_insn, at recog.c:2109
2012-04-03 20:09 [Bug c/52855] New: ARM: Internal compiler error: in extract_insn, at recog.c:2109 mpthompson at gmail dot com
` (3 preceding siblings ...)
2012-10-27 13:27 ` mikpe at it dot uu.se
@ 2012-11-16 9:48 ` stemidts at cisco dot com
2012-11-28 3:22 ` ramana at gcc dot gnu.org
2014-02-16 13:17 ` jackie.rosen at hushmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: stemidts at cisco dot com @ 2012-11-16 9:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52855
Steinar Midtskogen <stemidts at cisco dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stemidts at cisco dot com
--- Comment #4 from Steinar Midtskogen <stemidts at cisco dot com> 2012-11-16 09:48:36 UTC ---
I've run into the same bug. The code below reproduces it:
#include <arm_neon.h>
static const __attribute__((aligned(16)))
int16_t c[][2][8] =
{
{ { 0 }, { 0 } }, { { 0 }, { 0 } }, { { 0 }, { 0 } }, { { 0 }, { 0 } },
{ { 0 }, { 0 } }, { { 0 }, { 0 } }, { { 0 }, { 0 } }, { { 0 }, { 0 } }
};
int16x8_t test2(int off)
{
return vld1q_u8((uint8_t*)c[off][0]);
}
int16x8_t test(int off, uint8_t **c)
{
static int8_t m[] = { 1, 2, 3 };
long long cf = m[off];
return vld1q_u8((uint8_t*)c[cf]);
}
Version: 4.6.3
Options: -mapcs-frame -mfloat-abi=softfp -mfpu=neon -flax-vector-conversions
-O1
Changing "long long cf" into "int cf" eliminates the crash.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/52855] ARM: Internal compiler error: in extract_insn, at recog.c:2109
2012-04-03 20:09 [Bug c/52855] New: ARM: Internal compiler error: in extract_insn, at recog.c:2109 mpthompson at gmail dot com
` (4 preceding siblings ...)
2012-11-16 9:48 ` stemidts at cisco dot com
@ 2012-11-28 3:22 ` ramana at gcc dot gnu.org
2014-02-16 13:17 ` jackie.rosen at hushmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: ramana at gcc dot gnu.org @ 2012-11-28 3:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52855
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |ramana at gcc dot gnu.org
Resolution| |DUPLICATE
--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2012-11-28 03:22:18 UTC ---
appears to be a dup of PR50099
*** This bug has been marked as a duplicate of bug 50099 ***
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/52855] ARM: Internal compiler error: in extract_insn, at recog.c:2109
2012-04-03 20:09 [Bug c/52855] New: ARM: Internal compiler error: in extract_insn, at recog.c:2109 mpthompson at gmail dot com
` (5 preceding siblings ...)
2012-11-28 3:22 ` ramana at gcc dot gnu.org
@ 2014-02-16 13:17 ` jackie.rosen at hushmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 13:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52855
Jackie Rosen <jackie.rosen at hushmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jackie.rosen at hushmail dot com
--- Comment #6 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.
^ permalink raw reply [flat|nested] 8+ messages in thread