From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20359 invoked by alias); 5 Apr 2007 12:21:38 -0000 Received: (qmail 20287 invoked by uid 48); 5 Apr 2007 12:21:24 -0000 Date: Thu, 05 Apr 2007 12:21:00 -0000 Message-ID: <20070405122124.20286.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "arcangelpip at hotmail dot com" 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: 2007-04/txt/msg00374.txt.bz2 ------- Comment #11 from arcangelpip at hotmail dot com 2007-04-05 13:21 ------- I'm sorry to drag this back up again, but it happened again on 4.2. Again it is with the gettext package which seems to love me so much. Using built-in specs. Target: i686-pc-mingw32 Configured with: ../gcc-4.2/configure --prefix=/crosstools/gccwin --target=i686-pc-mingw32 --enable-shared --enable-threads --disable-multilib --disable-nls --enable-languages=c,c++,ada,fortran,objc,obj-c++ --enable-c99 --enable-long-long --enable-sjlj-exceptions --enable-libada --enable-boehm-gc Thread model: win32 gcc version 4.2.0 20070403 (prerelease) It ICEs with the following. make[4]: Entering directory `/mnt/hd2/build/gettextbuild/gettext-tools/src' /bin/sh ../libtool --tag=CC --mode=compile i686-pc-mingw32-gcc -DLOCALEDIR=\"/crosstools/gccwin/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/crosstools/gccwin/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/crosstools/gccwin/lib/gettext\" -DGETTEXTJAR=\"/crosstools/gccwin/share/gettext/gettext.jar\" -DLIBDIR=\"/crosstools/gccwin/lib\" -DGETTEXTDATADIR=\"/crosstools/gccwin/share/gettext\" -DPROJECTSDIR=\"/crosstools/gccwin/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I../../../gettext-0.16.1/gettext-tools/src -I. -I../../../gettext-0.16.1/gettext-tools/src -I.. -I../../../gettext-0.16.1/gettext-tools -I../../../gettext-0.16.1/gettext-tools/libgrep -I../../../gettext-0.16.1/gettext-tools/libuniname -I../gnulib-lib -I../../../gettext-0.16.1/gettext-tools/gnulib-lib -I../intl -I../../../gettext-0.16.1/gettext-tools/../gettext-runtime/intl -I/crosstools/gccwin/include -g -O2 -c -o msgl-check.lo ../../../gettext-0.16.1/gettext-tools/src/msgl-check.c i686-pc-mingw32-gcc -DLOCALEDIR=\"/crosstools/gccwin/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/crosstools/gccwin/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/crosstools/gccwin/lib/gettext\" -DGETTEXTJAR=\"/crosstools/gccwin/share/gettext/gettext.jar\" -DLIBDIR=\"/crosstools/gccwin/lib\" -DGETTEXTDATADIR=\"/crosstools/gccwin/share/gettext\" -DPROJECTSDIR=\"/crosstools/gccwin/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I../../../gettext-0.16.1/gettext-tools/src -I. -I../../../gettext-0.16.1/gettext-tools/src -I.. -I../../../gettext-0.16.1/gettext-tools -I../../../gettext-0.16.1/gettext-tools/libgrep -I../../../gettext-0.16.1/gettext-tools/libuniname -I../gnulib-lib -I../../../gettext-0.16.1/gettext-tools/gnulib-lib -I../intl -I../../../gettext-0.16.1/gettext-tools/../gettext-runtime/intl -I/crosstools/gccwin/include -g -O2 -c ../../../gettext-0.16.1/gettext-tools/src/msgl-check.c -DDLL_EXPORT -DPIC -o .libs/msgl-check.o ../../../gettext-0.16.1/gettext-tools/src/msgl-check.c: In function 'plural_help': ../../../gettext-0.16.1/gettext-tools/src/msgl-check.c:195: error: unrecognizable insn: (insn 40 39 41 6 ../../../gettext-0.16.1/gettext-tools/src/msgl-check.c:180 (set (reg:SI 76) (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.plural_table") ) [0 S4 A8]) (const_int 4 [0x4])))) -1 (nil) (nil)) ../../../gettext-0.16.1/gettext-tools/src/msgl-check.c:195: internal compiler error: in extract_insn, at recog.c:2077 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. I configured gettext with ../gettext-0.16.1/configure --prefix=/crosstools/gccwin --build=i686-pc-linux-gnu --host=i686-pc-mingw32 --disable-java --disable-native-java --with-libiconv-prefix=/crosstools/gccwin --disable-threads --disable-openmp If I am doing anything wrong here I'm open to suggestions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29826