From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10223 invoked by alias); 9 Nov 2009 03:18:04 -0000 Received: (qmail 10134 invoked by uid 48); 9 Nov 2009 03:17:52 -0000 Date: Mon, 09 Nov 2009 03:18:00 -0000 Subject: [Bug c/41993] New: [sh] ICE in create_pre_exit, at mode-switching.c:399 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "iwamatsu at nigauri dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00754.txt.bz2 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 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 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