public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/51831] New: internal compiler error: in simplify_subreg, at simplify-rtx.c:5375
@ 2012-01-12 0:32 ebuddington at wesleyan dot edu
2012-01-12 9:12 ` [Bug target/51831] " rguenth at gcc dot gnu.org
2021-08-02 18:21 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: ebuddington at wesleyan dot edu @ 2012-01-12 0:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51831
Bug #: 51831
Summary: internal compiler error: in simplify_subreg, at
simplify-rtx.c:5375
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ebuddington@wesleyan.edu
Created attachment 26303
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26303
preprocessed code (automatically generated)
Compiling my own software on an Ubuntu system, got an ICE. I won't presume to
guess at the cause; presumably the attachment will speak for itself.
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --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 --enable-targets=all --disable-werror --with-arch-32=i686
--with-tune=generic --enable-checking=release --build=i686-linux-gnu
--host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/51831] internal compiler error: in simplify_subreg, at simplify-rtx.c:5375
2012-01-12 0:32 [Bug c/51831] New: internal compiler error: in simplify_subreg, at simplify-rtx.c:5375 ebuddington at wesleyan dot edu
@ 2012-01-12 9:12 ` rguenth at gcc dot gnu.org
2021-08-02 18:21 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-12 9:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51831
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64-*-*
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-12
Component|c |target
Known to work| |4.7.0
Ever Confirmed|0 |1
Known to fail| |4.6.2
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-12 09:11:55 UTC ---
Confirmed. Reduced testcase:
typedef signed short int16_t;
typedef unsigned short uint16_t;
typedef char v8qi __attribute__ ((vector_size (8)));
typedef uint16_t v4hu __attribute__ ((vector_size (8)));
typedef int16_t v4hi __attribute__ ((vector_size (8)));
v4hu v4hu_ (uint16_t const i);
void rgb_to_YCrCb (v8qi * const y, v8qi * const u, v8qi * const v,
v8qi const r, v8qi const g, v8qi const b, uint16_t *c)
{
v8qi const zero8 = { 0,0,0,0,0,0,0,0 };
v4hu r0 = (v4hu) __builtin_ia32_punpckhbw (zero8, r);
v4hu r1 = (v4hu) __builtin_ia32_punpcklbw (zero8, r);
v4hu g0 = (v4hu) __builtin_ia32_punpckhbw (zero8, g);
v4hu g1 = (v4hu) __builtin_ia32_punpcklbw (zero8, g);
v4hu b0 = (v4hu) __builtin_ia32_punpckhbw (zero8, b);
v4hu b1 = (v4hu) __builtin_ia32_punpcklbw (zero8, b);
v4hu y0 = (v4hu_(c[0]) * r0 + v4hu_(c[1]) * g0 + v4hu_(c[2]) * b0) >> 8;
v4hu y1 = (v4hu_(c[0]) * r1 + v4hu_(c[1]) * g1 + v4hu_(c[2]) * b1) >> 8;
*y = (v8qi)__builtin_ia32_packsswb ((v4hi)y0, (v4hi)y1);
}
fails at -O2. 4.5 does not support the shifts for vectors, fixed for 4.7.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/51831] internal compiler error: in simplify_subreg, at simplify-rtx.c:5375
2012-01-12 0:32 [Bug c/51831] New: internal compiler error: in simplify_subreg, at simplify-rtx.c:5375 ebuddington at wesleyan dot edu
2012-01-12 9:12 ` [Bug target/51831] " rguenth at gcc dot gnu.org
@ 2021-08-02 18:21 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-02 18:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51831
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Keywords| |ice-on-valid-code
Status|NEW |RESOLVED
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 56275.
*** This bug has been marked as a duplicate of bug 56275 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-02 18:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-12 0:32 [Bug c/51831] New: internal compiler error: in simplify_subreg, at simplify-rtx.c:5375 ebuddington at wesleyan dot edu
2012-01-12 9:12 ` [Bug target/51831] " rguenth at gcc dot gnu.org
2021-08-02 18:21 ` pinskia at gcc dot gnu.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).