Home > Internal Compiler > Internal Compiler Error In Reload_cse_simplify_operands At Postreload.c

Internal Compiler Error In Reload_cse_simplify_operands At Postreload.c

Backport r171632 from mainline 2011-03-28 Richard Sandiford * builtins.c (expand_builtin_memset_args): Use gen_int_mode instead of GEN_INT. We are very sorry. I'm getting this ICE currently when using Linaro gcc-4.5 2011.05 and compiling the tests in gstreamer0.10 (http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.34.tar.bz2). rs6000.md doesn't, due to the "o" constraint problem mentioned in comment #3. have a peek at these guys

See for instructions. arm-none-linux-gnueabi-gcc pr48325.c -mfloat-abi=softfp -mfpu=neon -O1 pr48325.c: In function 'test': pr48325.c:19:1: error: insn does not satisfy its constraints: (insn 40 38 26 2 /work/ianbol01/cross-build/gcc45-r171282-thumb/arm-none-linux-gnueabi/tools/lib/gcc/arm-none-linux-gnueabi/4.5.3/include/arm_neon.h:10277 (set (reg:OI 95 d16 [orig:152 __b ] [152]) See full activity log To post a comment you must log in. Edit bug mail Other bug subscribers Subscribe someone else Bug attachments testcase (edit) Add attachment • Take the tour • Read the guide © 2004-2016 CanonicalLtd. • Terms of use https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44787

It's possible that this is the same as bug #42949, but I'm not qualified to judge. Comment 3 Andrew Pinski 2007-06-18 05:44:27 UTC I don't know if this is data flow related any more, due to the reporting of PR 32389. Report a bug This report contains Public information Edit Everyone can see this information.

COLLECT_GCC=arm-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.5.2/lto-wrapper Target: arm-linux-gnueabi Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-5ubuntu2~ppa1' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.5.2 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description While building neon optimized code $ Michael Hope (michaelh1) wrote on 2011-03-30: #3 Confirmed in gcc-linaro-4.5-2011.03-0: [email protected]:~/linaro/bugs$ /tools/toolchains/gcc-linaro-4.5-2011.03-0-armv7l-maverick-cbuild71-carina7-cortexa8r1/bin/gcc -mfpu=neon -O1 -c insn-unsat-constr.i insn-unsat-constr.c: In function 'test': insn-unsat-constr.c:19:1: error: insn does not satisfy its constraints: (insn 40 38 I boiled down a very small example of the problem: Let's say we have a file 'test_pc.c' as follow -------------------------------------------- void func_2(const unsigned long aPC) { } int func_1() { register

void joint_decode(float* mlt_buffer1, int t) { int i; float decode_buffer[1060]; foo(decode_buffer); for (i=0; i<10 ; i++) { mlt_buffer1[i] = i * decode_buffer[t]; } } /usr/local/install/R160947/libexec/gcc/arm-linux-androideabi/4.6.0/cc1 -fpreprocessed cook.i -fPIC -quiet -dumpbase cook.i Ira Rosen (irar) wrote on 2011-04-15: AUTO: Ira Rosen is out of the office. (returning 17/04/2011) #13 I am out of the office until 17/04/2011. Bug837630 - internal compiler error: in reload_cse_simplify_operands, at postreload.c:403 Summary: internal compiler error: in reload_cse_simplify_operands, at postreload.c:403 Status: CLOSED RAWHIDE Aliases: None Product: Fedora Classification: Fedora Component: gcc (Show other bugs) over here This is the only notification you will receive while this person is away.

I think this is more or less just luck of the draw, so the same thing could happen on mainline with a slightly different test case. Backport r171251 from mainline 2011-03-21 Daniel Jacobowitz

In GCC Bugzilla #48250, Jye2 (jye2) wrote on 2011-09-19: #20 Author: jye2 Date: Mon Sep 19 06:17:45 2011 New Revision: 178953 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178953 Log: 2011-09-19 chengbin

When I compile with gcc-4.8 I get the following: -------------------------------------------- $ $ANDROID_NDK_HOME/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -O0 -g -Wall -o test_pc.o -c test_pc.c test_pc.c: In function 'func_1': test_pc.c:10:1: error: insn does not satisfy its constraints: More about the author Comment 10 Alan Modra 2012-07-16 23:49:13 EDT What's happening here is that the pseudo for the reg in insn 1485 doesn't get a hard reg. Michael Hope (michaelh1) wrote on 2011-03-22: #4 Andrew, can you create a ticket upstream and attach it to this bug please? However on gcc-4.7, insn 1485 was deleted!

Launchpad couldn't import bug #48325 from GCC Bugzilla. (what does this mean?) Affecting: gcc Filed here by: Luke Kim When: 2011-03-30 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Backport r171379 from mainline 2011-03-23 Chung-Lin Tang

Other register address like: fp, lr or sp are instead always working fine. See for instructions. Comment 16 Jeff Law 2013-07-29 14:27:58 EDT Per c#15.

lda : 1), _colFactor(layout == ROW_MAJOR ? 1 : lda) {} inline int operator()(int i, int j) { return i * _rowFactor + j * _colFactor; } private: int _rowFactor; int

  • None, the status of the bug is updated manually.
  • Backport r171978 from mainline 2011-04-05 Tom de Vries PR target/43920 * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing for size.
  • Seems this works because + 32764 is not rs6000_legitimate_offset_address_p.
  • Feb 11, 2014 Project Member #5 [email protected] test case added: https://android-review.googlesource.com/#/c/81825/ Feb 28, 2014 Project Member #6 [email protected] Could you take a look at the code snippet in bionic/libc/bionic/debug_stacktrace.cpp
  • There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ arm-linux-gnueabi-gcc-4.4 -marm -mfpu=neon -O2 -g -c epoll-ltp.i epoll-ltp.c: In function ‘test_epoll_ctl’: epoll-ltp.c:651: error: insn does not
  • It passed bootstrap/regtest, hope it works fine temporarily and for the final solution I'll wait for Alan's commits.
  • In GCC Bugzilla #48325, Ibolton (ibolton) wrote on 2011-03-29: #9 I get the same thing when I use r171282 of FSF 4.5 branch.
  • Comment 2 Karsten Hopp 2012-07-05 08:24:56 EDT Created attachment 596395 [details] preprocessed source Comment 3 Alan Modra 2012-07-08 22:33:37 EDT Some notes: 1) The instruction is actually good.
  • I don't get the crash with Linaro gcc 4.5 2011.08 with my test case anymore.
  • This happened at reload1.c:1041, based on the reg_renumber and reg_equiv_init.

Correct is "val + 0x8000 >= 0x10000 - 12". 5) As far as offsettable_memref_p is concerned, the offset range check in rs6000_mode_dependent_address is completely redundant. GCC Bugzilla #48250 URL: The information about this bug in Launchpad is automatically pulled daily from the remote bug. Comment 4 Uroš Bizjak 2007-06-18 22:36:45 UTC (In reply to comment #3) > I don't know if this is data flow related any more, due to the reporting of PR > Since the patch was regarding long double support on Darwin, I can understand poking at ti and tf patterns, but I wonder why Geoff did anything with a di pattern?

Mark as duplicate Convert to a question Link a related branch Link to CVE You are not directly subscribed to this bug's notifications. Backport r172297 from mainline 2011-04-11 Chung-Lin Tang

Comment on this change (optional) Email me about changes to this bug report gcc Edit Fix Released Medium gcc-bugzilla #48250 You need to log in to change this bug's status. Changed in gcc-linaro: status: New → Triaged importance: Undecided → Medium Michael Hope (michaelh1) wrote on 2011-03-30: #4 Also occurs in trunk in gcc 4.5.1 and gcc-4.5.2+svn171194. Michael Hope (michaelh1) wrote on 2011-06-08: #14 For reference, this bug exists in the gcc-linaro-{4.5,4.6}-2011.05 releases: [email protected]:~/linaro/bugs$ /tools/toolchains/arch/armv7l/gcc-linaro-4.6-2011.05-0-armv7l-maverick-cbuild114-ursa3-cortexa9r1/bin/gcc -c -O2 -marm -mfpu=neon epoll-ltp.i epoll-ltp.c: In function 'test_epoll_ctl': epoll-ltp.c:651:1: error: insn