Hi,
When I built gnustep-base, I got the following errors.
-----
mframe.m:1250: warning: cast increases required alignment of target type
mframe.m: In function 'retframe_short':
mframe.m:863: internal compiler error: in create_pre_exit, at
mode-switching.c:399
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[3]: *** [obj/mframe.m.o] Error 1
-----

And I tested following sample program with gcc HEAD of subversion.
-----
$ cat a.c 
short retframe_short (void *rframe)
{
    __builtin_return (rframe);
}
$ tools/bin/sh4-unknown-linux-gnu-gcc -c  a.c
a.c: In function 'retframe_short':
a.c:4: internal compiler error: in create_pre_exit, at mode-switching.c:399
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
$ tools/bin/sh4-unknown-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=tools/bin/sh4-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/home/yoshii/work/gcc/tools/libexec/gcc/sh4-unknown-linux-gnu/4.5.0/lto-wrapper
Target: sh4-unknown-linux-gnu
Configured with: /var/src/gcc/configure --build=x86_64-pc-linux-gnu
--target=sh4-unknown-linux-gnu --prefix=/home/yoshii/work/gcc/tools
--with-sysroot=/home/yoshii/work/gcc/sysroot --with-cpu=sh4a
--with-multilib-list=sh4a,sh4a-nofpu --disable-libgomp --disable-libmudflap
--enable-incomplete_targets --enable-libssp --enable-nls --enable-shared
--enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-c99
--enable-long-long --enable-languages=c,c++
Thread model: posix
gcc version 4.5.0 20091109 (experimental) (GCC)
-----

Best regards,
  Nobuhiro


-- 
           Summary: [sh] ICE in create_pre_exit, at mode-switching.c:399
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: iwamatsu at nigauri dot org
GCC target triplet: sh4-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41993

Reply via email to