This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/43165] New: ice in simplify_subreg, at simplify-rtx.c:5146


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]