public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49029] New: ICE in simplify_subreg, at simplify-rtx.c:5266
@ 2011-05-17 18:33 rmansfield at qnx dot com
2011-05-17 18:51 ` [Bug target/49029] " rmansfield at qnx dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: rmansfield at qnx dot com @ 2011-05-17 18:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49029
Summary: ICE in simplify_subreg, at simplify-rtx.c:5266
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rmansfield@qnx.com
$ cat ~/ice.i
#pragma pack(1)
struct S0
{
volatile unsigned f0:11;
signed f2:30;
};
struct S1
{
volatile struct S0 f7;
};
struct S1 a, b;
void
bar ()
{
foo (a.f7.f0) && foo (b.f7.f2);
}
$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: arm-unknown-linux-gnueabi
Configured with: ../configure --target=arm-unknown-linux-gnueabi
--prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi
--with-sysroot=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi//sys-root
--disable-multilib
--with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared
--disable-libmudflap --disable-libssp
Thread model: posix
gcc version 4.7.0 20110517 (experimental) [trunk revision 173832] (GCC)
$ ./xgcc -B. ~/ice.i
/home/ryan/ice.i: In function 'bar':
/home/ryan/ice.i:19:29: internal compiler error: in simplify_subreg, at
simplify-rtx.c:5266
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/49029] ICE in simplify_subreg, at simplify-rtx.c:5266
2011-05-17 18:33 [Bug target/49029] New: ICE in simplify_subreg, at simplify-rtx.c:5266 rmansfield at qnx dot com
@ 2011-05-17 18:51 ` rmansfield at qnx dot com
2011-05-18 10:19 ` [Bug middle-end/49029] " jakub at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rmansfield at qnx dot com @ 2011-05-17 18:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49029
Ryan Mansfield <rmansfield at qnx dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |arm-unknown-linux-gnueabi
Host| |x86_64-linux-gnu
Build| |x86_64-linux-gnu
--- Comment #1 from Ryan Mansfield <rmansfield at qnx dot com> 2011-05-17 18:20:32 UTC ---
Update host/target fields
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/49029] ICE in simplify_subreg, at simplify-rtx.c:5266
2011-05-17 18:33 [Bug target/49029] New: ICE in simplify_subreg, at simplify-rtx.c:5266 rmansfield at qnx dot com
2011-05-17 18:51 ` [Bug target/49029] " rmansfield at qnx dot com
@ 2011-05-18 10:19 ` jakub at gcc dot gnu.org
2011-05-18 10:26 ` [Bug middle-end/49029] [4.6/4.7 Regression] " jakub at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-05-18 10:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49029
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.05.18 09:57:22
CC| |jakub at gcc dot gnu.org
Component|target |middle-end
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/49029] [4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5266
2011-05-17 18:33 [Bug target/49029] New: ICE in simplify_subreg, at simplify-rtx.c:5266 rmansfield at qnx dot com
2011-05-17 18:51 ` [Bug target/49029] " rmansfield at qnx dot com
2011-05-18 10:19 ` [Bug middle-end/49029] " jakub at gcc dot gnu.org
@ 2011-05-18 10:26 ` jakub at gcc dot gnu.org
2011-05-18 10:49 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-05-18 10:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49029
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-18 10:12:16 UTC ---
Created attachment 24281
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24281
gcc46-pr49029.patch
Untested fix. I can bootstrap/regtest this on x86_64 and i686, but can't on
arm. Can anyone please test it there?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/49029] [4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5266
2011-05-17 18:33 [Bug target/49029] New: ICE in simplify_subreg, at simplify-rtx.c:5266 rmansfield at qnx dot com
` (2 preceding siblings ...)
2011-05-18 10:26 ` [Bug middle-end/49029] [4.6/4.7 Regression] " jakub at gcc dot gnu.org
@ 2011-05-18 10:49 ` jakub at gcc dot gnu.org
2011-05-22 19:27 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-05-18 10:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49029
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.1
Summary|ICE in simplify_subreg, at |[4.6/4.7 Regression] ICE in
|simplify-rtx.c:5266 |simplify_subreg, at
| |simplify-rtx.c:5266
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-18 10:11:16 UTC ---
I can reproduce with the trunk and 4.6 branch, works with 4.4, assuming it
started with -fstrict-volatile-bitfields addition.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/49029] [4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5266
2011-05-17 18:33 [Bug target/49029] New: ICE in simplify_subreg, at simplify-rtx.c:5266 rmansfield at qnx dot com
` (4 preceding siblings ...)
2011-05-22 19:27 ` jakub at gcc dot gnu.org
@ 2011-05-22 19:27 ` jakub at gcc dot gnu.org
2011-05-22 20:29 ` jakub at gcc dot gnu.org
2011-07-18 10:18 ` anitha.boyapati at atmel dot com
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-05-22 19:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49029
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-22 19:00:04 UTC ---
Author: jakub
Date: Sun May 22 19:00:00 2011
New Revision: 174034
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174034
Log:
PR middle-end/49029
* expmed.c (extract_fixed_bit_field): Test whether target can be used
only after deciding which mode to use.
* gcc.c-torture/compile/pr49029.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr49029.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expmed.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/49029] [4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5266
2011-05-17 18:33 [Bug target/49029] New: ICE in simplify_subreg, at simplify-rtx.c:5266 rmansfield at qnx dot com
` (3 preceding siblings ...)
2011-05-18 10:49 ` jakub at gcc dot gnu.org
@ 2011-05-22 19:27 ` jakub at gcc dot gnu.org
2011-05-22 19:27 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-05-22 19:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49029
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-22 19:03:02 UTC ---
Author: jakub
Date: Sun May 22 19:02:59 2011
New Revision: 174036
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174036
Log:
PR middle-end/49029
* expmed.c (extract_fixed_bit_field): Test whether target can be used
only after deciding which mode to use.
* gcc.c-torture/compile/pr49029.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr49029.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/expmed.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/49029] [4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5266
2011-05-17 18:33 [Bug target/49029] New: ICE in simplify_subreg, at simplify-rtx.c:5266 rmansfield at qnx dot com
` (5 preceding siblings ...)
2011-05-22 19:27 ` jakub at gcc dot gnu.org
@ 2011-05-22 20:29 ` jakub at gcc dot gnu.org
2011-07-18 10:18 ` anitha.boyapati at atmel dot com
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-05-22 20:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49029
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-22 19:05:08 UTC ---
Hopefully fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/49029] [4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5266
2011-05-17 18:33 [Bug target/49029] New: ICE in simplify_subreg, at simplify-rtx.c:5266 rmansfield at qnx dot com
` (6 preceding siblings ...)
2011-05-22 20:29 ` jakub at gcc dot gnu.org
@ 2011-07-18 10:18 ` anitha.boyapati at atmel dot com
7 siblings, 0 replies; 9+ messages in thread
From: anitha.boyapati at atmel dot com @ 2011-07-18 10:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49029
Anitha Boyapati <anitha.boyapati at atmel dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anitha.boyapati at atmel
| |dot com
--- Comment #7 from Anitha Boyapati <anitha.boyapati at atmel dot com> 2011-07-18 10:17:13 UTC ---
For 4.6.1 release, the corresponding testcase from regression fails for AVR
target...
/home/anitha/patch-upgrade/gcc-4.6.1/gcc/testsuite/gcc.c-torture/compile/pr49029.c:2:8:
error: width of 'g' exceeds its type
compiler exited with status 1
FAIL: gcc.c-torture/compile/pr49029.c -O0 (test for excess errors)
Compiler specs
--------------
Using built-in specs.
COLLECT_GCC=avr-gcc
COLLECT_LTO_WRAPPER=/home/anitha/install/libexec/gcc/avr/4.6.1/lto-wrapper
Target: avr
Configured with: ../configure --prefix=/home/anitha/install --target=avr
--with-gmp=/proj/install/gmp-4.3.2/ --with-mpfr=/proj/install/mpfr-2.4.2/
--with-mpc=/proj/install/mpc-0.8.2/ --enable-languages=c,c++ --disable-libssp
--disable-nls --with-dwarf2
Thread model: single
gcc version 4.6.1 (GCC)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-07-18 10:18 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 18:33 [Bug target/49029] New: ICE in simplify_subreg, at simplify-rtx.c:5266 rmansfield at qnx dot com
2011-05-17 18:51 ` [Bug target/49029] " rmansfield at qnx dot com
2011-05-18 10:19 ` [Bug middle-end/49029] " jakub at gcc dot gnu.org
2011-05-18 10:26 ` [Bug middle-end/49029] [4.6/4.7 Regression] " jakub at gcc dot gnu.org
2011-05-18 10:49 ` jakub at gcc dot gnu.org
2011-05-22 19:27 ` jakub at gcc dot gnu.org
2011-05-22 19:27 ` jakub at gcc dot gnu.org
2011-05-22 20:29 ` jakub at gcc dot gnu.org
2011-07-18 10:18 ` anitha.boyapati at atmel dot com
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).