This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/43165] New: ice in simplify_subreg, at simplify-rtx.c:5146
- From: "regehr at cs dot utah dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Feb 2010 15:57:10 -0000
- Subject: [Bug c/43165] New: ice in simplify_subreg, at simplify-rtx.c:5146
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
regehr@john-home:~/volatile/bugs/tmp270$ current-gcc -O -g small.c -c
small.c: In function ?func_24?:
small.c:11:6: internal compiler error: in simplify_subreg, at
simplify-rtx.c:5146
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
regehr@john-home:~/volatile/bugs/tmp270$ cat small.c
#pragma pack(1)
struct S1
{
unsigned char f0;
unsigned short f1;
short f2;
unsigned f3:24;
};
#pragma pack()
void func_24 (struct S1 p_27)
{
for (; p_27.f2; p_27.f2 = 1)
{
}
}
regehr@john-home:~/volatile/bugs/tmp270$ current-gcc -v
Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/home/regehr/z/tmp/gcc-r157027-install/libexec/gcc/i686-pc-linux-gnu/4.5.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/tmp/gcc-r157027-install --program-prefix=r157027-
--enable-languages=c,c++
Thread model: posix
gcc version 4.5.0 20100224 (experimental) (GCC)
--
Summary: ice in simplify_subreg, at simplify-rtx.c:5146
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: regehr at cs dot utah dot edu
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43165