Home > Internal Compiler > Internal Compiler Error In Do_subst At Combine.c

Internal Compiler Error In Do_subst At Combine.c

Comment 7 Andrew Pinski 2006-08-30 21:38:16 UTC *** Bug 28911 has been marked as a duplicate of this bug. *** Format For Printing -XML -Clone This Bug -Top of page Home make[2]: *** [libgcc/m68000/_fixdfdi.o] Fehler 1 make[2]: Leaving directory `/home/jens/build/gcc/gcc' make[1]: *** [stmp-multilib] Fehler 2 make[1]: Leaving directory `/home/jens/build/gcc/gcc' make: *** [all-gcc] Fehler 2 The line numbers vary with gcc versions, but Target: sh4-unknown-linux-gnu Configured with: ../configure --build=i486-build_pc-linux-gnu --host=i486-build_pc-linux-gnu --target=sh4-unknown-linux-gnu --prefix=/home/ryan/crosstool-ng-1.3.1/targets/sh4-unknown-linux-gnu/build/gcc-core-static --with-local-prefix=/home/ryan/x-tools/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sys-root --disable-multilib --with-sysroot=/home/ryan/x-tools/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sys-root --with-newlib --enable-threads=no --disable-shared --enable-__cxa_atexit --disable-nls --enable-symvers=gnu --enable-languages=c --enable-target-optspace Thread model: single gcc version 4.5.0 20090515 (experimental) [trunk revision 147550] Visit the Trac open source project athttp://trac.edgewall.com/ gcc › gcc - bugs Search everywhere only in this topic Advanced Search [Bug c/26906] New: internal compiler error: in do_SUBST, at combine.c:447 Classic check my blog

comment:6 Changed 4 years ago by florian If you are sure you are going to hit this ICE again, then please report this to the upstream GCC developpers. comment:3 Changed 4 years ago by anonymous Ok, tried... armeb-linux-gcc -march=armv5te -mtune=xscale -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/usr/lib\" -DGTK_DATADIR=\"/usr/share\" -DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.8.9\" -DGTK_BINARY_VERSION=\"2.4.0\" -DGTK_HOST=\"armeb-unknown-linux-gnu\" -DGTK_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -pthread -Os -fomit-frame-pointer -frename-registers -fno-unroll-loops -fno-inline-functions -fweb -funit-at-a-time -Wall -c reopen The resolution will be deleted. navigate to these guys

The configure command was ../gcc-4.0.1/configure --prefix=$HOME/m68k-amd64 --target=m68k-unknown-elf --enable-languages=c Google found someone else had this problem with a sparc64 host: http://www.rtems.com/ml/rtems-users/2005/june/msg00025.html And someone else had this problem on x86_64 with gcc-3.4: http://mailman.uclinux.org/pipermail/uclinux-dev/2005-June/033210.html Comment 4 Jorn Wolfgang Rennecke 2011-11-08 00:29:17 UTC Patch is here: http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01106.html Comment 5 Jorn Wolfgang Rennecke 2011-12-07 10:17:53 UTC Actually, it is not enough to ensure that the mode matches; Included the command that makes GCC fail (minus all -I include paths) with an ICE, the output. I'll ask the middle-end experts on the gcc list about this issue. --- ORIG/trunk/gcc/expmed.c 2009-05-12 19:17:54.000000000 +0900 +++ trunk/gcc/expmed.c 2009-05-16 08:34:14.000000000 +0900 @@ -2958,7 +2958,7 @@ expand_mult_const (enum machine_mode mod enum

  • Included the command that makes GCC fail (minus all -I include paths) with an ICE, the output.
  • Comment 9 Jakub Jelinek 2013-04-12 15:16:59 UTC GCC 4.6.4 has been released and the branch has been closed.
  • Bug52896 - internal compiler error: in do_SUBST, at combine.c:447 Summary: internal compiler error: in do_SUBST, at combine.c:447 Status: RESOLVED WONTFIX Alias: None Product: gcc Classification: Unclassified Component: c (show other bugs)

Also, -O1, -O2, -O3 are OK. -- likewise at gmx dot net changed: What |Removed armeb-linux-gcc -march=armv5te -mtune=xscale -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/usr/lib\" -DGTK_DATADIR=\"/usr/share\" -DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.8.9\" -DGTK_BINARY_VERSION=\"2.4.0\" -DGTK_HOST=\"armeb-unknown-linux-gnu\" -DGTK_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -pthread -Os -fomit-frame-pointer -frename-registers -fno-unroll-loops -fno-inline-functions -fweb -funit-at-a-time -Wall -c gnu ! Also, -O1, -O2, -O3 are OK. -- likewise at gmx dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |likewise at gmx dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26906 References: [Bug c/26906] New: internal compiler error:

Please run make menuconfig, oldconfig or defconfig! Description Ryan Mansfield 2009-05-15 02:21:09 UTC ryan@ryan:~/gcc/trunk/gcc/build/gcc$ ./xgcc -v Using built-in specs. Format For Printing -XML -Clone This Bug -Top of page Home | New | Browse | Search | [?] | Reports | Help | NewAccount | Log In Remember [x] | I used GCC r201473 from SVN.

My configure line was ../gcc-4.1.1/configure --target=m68k-elf --prefix=/home/lpowell/m68k-gcc --disable-shared --with-gnu-as --with-gnu-ld --with-newlib --without-headers --enable-languages=c --with-local-prefix=/home/lpowell/m68k-gcc/m68k-elf The final command and output was /home/lpowell/build-gcc/./gcc/xgcc -B/home/lpowell/build-gcc/./gcc/ -B/home/lpowell/m68k-gcc/m68k-elf/bin/ -B/home/lpowell/m68k-gcc/m68k-elf/lib/ -isystem /home/lpowell/m68k-gcc/m68k-elf/include -isystem /home/lpowell/m68k-gcc/m68k-elf/sys-include -O2 -O2 -g I built a m68k-elf toolchain on x86_64-pc-linux-gnu and compiled the testcase. GNU C++ (GCC) version 4.7.0 20111107 (experimental) (epiphany-elf) compiled by GNU C version 4.6.1 20111003 (Red Hat 4.6.1-10), GMP version 4.3.2, MPFR version 3.0.0, MPC version 0.9 GGC heuristics: --param ggc-min-expand=30 The error happens when compiling the DVB modules in linux-2.6.35.4 for Playstation 2 (mips).

Description fdarkangel 2012-04-06 23:27:41 UTC I got this when cross-compiling gcc-3.4.6 for m68k-elf on x86_64 host (gcc-4.7.0). svn co ​svn://svn.openwrt.org/openwrt/branches/attitude_adjustment ./scripts/feeds update -a ./scripts/feeds install -a make menuconfig + Image Builder, SDK, ToolChain make ... Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed Powered by Trac 1.0.1 By Edgewall Software. Do you need "set solib-search-path" or "set sysroot"?

Changed by anonymous Author Your email or username: E-mail address and user name can be saved in the Preferences. click site FAIL: tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_nan.cc (test for excess errors) FAIL: tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/compile.cc (test for excess errors) FAIL: tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/compile_2.cc (test for excess errors) expand_absneg_bit sets a REG_EQUAL note in SFmode on an instruction that sets an Works in gcc 4.3.3. It defines a new DImode arithmetic shift left expander which generates SH's movdi_i insn as its last insn.

org> Date: 2006-03-30 22:01:34 Message-ID: 20060330220134.19995.qmail () sourceware ! Please include the complete backtrace with any bug report. Host gcc: gcc version 4.0.3 20060212 (prerelease) (Debian 4.0.2-9) Example: m68k-elf-gcc 3.4.6, configured with: ../../gcc-3.4.6/configure --target=m68k-elf --prefix=/opt/m68k --enable-languages=c Result: /home/jens/build/gcc/gcc/xgcc -B/home/jens/build/gcc/gcc/ -B/opt/m68k/m68k-elf/bin/ -B/opt/m68k/m68k-elf/lib/ -isystem /opt/m68k/m68k-elf/include -isystem /opt/m68k/m68k-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W news See for instructions.

Not using the parameters "-Os", "-mno-abicalls" or "-mlong-calls" fix the problem. Start it from the beginning? (y or n) y Starting program: /home/amylaar/epiphany/bld-epiphany-20111107/gcc/cc1plus -fpreprocessed check_nan.ii -quiet -dumpbase check_nan.cc -auxbase check_nan -g -g -g -O2 -O2 -O2 -version -fmessage-length=0 -ffunction-sections -fdata-sections -o check_nan.s SImode.

A patch that takes this into account is posted here: http://gcc.gnu.org/ml/gcc-patches/2011-12/msg00490.html Comment 7 Jorn Wolfgang Rennecke 2011-12-09 12:57:28 UTC Author: amylaar Date: Fri Dec 9 12:57:24 2011 New Revision: 182162 URL:

what is this libssp business?? I stripped the source code as far as possible and attached the preprocessor output. Bug40154 - [4.7/4.8/4.9 Regression] internal compiler error: in do_SUBST, at combine.c:681 Summary: [4.7/4.8/4.9 Regression] internal compiler error: in do_SUBST, at combine.c:681 Status: RESOLVED FIXED Alias: None Product: gcc Classification: Unclassified Component: package/click/Makefile (note, compiling the userlevel click only) config.log​ (11.2 KB) - added by anonymous 4 years ago.

Free forum by Nabble Edit this page [prev in list] [next in list] [prev in thread] [next in thread] List: gcc-bugs Subject: [Bug middle-end/23442] Compiler fails to build - internal compiler Comment 3 Leon Woestenberg 2006-03-28 16:47:33 UTC Created attachment 11140 [details] preprocessed C file (bzip2'd) Comment 4 Andrew Pinski 2006-03-30 22:01:34 UTC 3.4.x is no longer being updated, can you try The comment in the source code above the gcc_assert() is: "Sanity check that we're replacing oldval with a CONST_INT that is a valid sign-extension for the original mode.". More about the author Description Leon Woestenberg 2006-03-28 16:33:31 UTC ICE when cross-compiling on x86_64 host for armeb target.

Comment 2 Jens Arnold 2006-03-21 21:11:47 UTC This happens with *all* versions of m68k-elf-gcc I tried to build (3.3.6, 3.4.5, 3.4.6, 4.0.2, 4.0.3). Presumed fixed. -- rearnsha at gcc dot gnu dot org changed: What |Removed |Added ----------------------------------------------------------------------------