[Bug rtl-optimization/55106] ice: Maximum number of LRA constraint passes is achieved (15)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55106 --- Comment #7 from Vladimir Makarov vmakarov at gcc dot gnu.org 2012-12-21 14:27:51 UTC --- (In reply to comment #5) I'm still hitting this failure when building GMP 5.1.0 for i686-w64-mingw32: libtool: compile: i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../../src/gmp/mpn -I.. -D__GMP_WITHIN_GMP -I../../../../src/gmp -DOPERATION_sbpi1_div_qr -O2 -march=nocona -mtune=core2 -fomit-frame-pointer -momit-leaf-frame-pointer -c sbpi1_div_qr.c -o sbpi1_div_qr.o div_qr_2u_pi1.c: In function '__gmpn_div_qr_2u_pi1': div_qr_2u_pi1.c:67:1: internal compiler error: Maximum number of LRA constraint passes is achieved (30) } ^ Please submit a full bug report, with preprocessed source if appropriate. The build for x86_64-w64-mingw32 did not encounter this problem. I'm building on 64-bit Debian using a self-built linux to Windows cross-compilers. Could you provide a preprocessed source code. I'd try to reproduce this. In any case, it will be not fixed quickly. I am on vacation next two weeks. Sorry.
[Bug rtl-optimization/55106] ice: Maximum number of LRA constraint passes is achieved (15)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55106 Ruben Van Boxem vanboxem.ruben at gmail dot com changed: What|Removed |Added CC||vanboxem.ruben at gmail dot ||com --- Comment #5 from Ruben Van Boxem vanboxem.ruben at gmail dot com 2012-12-20 19:36:08 UTC --- I'm still hitting this failure when building GMP 5.1.0 for i686-w64-mingw32: libtool: compile: i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../../src/gmp/mpn -I.. -D__GMP_WITHIN_GMP -I../../../../src/gmp -DOPERATION_sbpi1_div_qr -O2 -march=nocona -mtune=core2 -fomit-frame-pointer -momit-leaf-frame-pointer -c sbpi1_div_qr.c -o sbpi1_div_qr.o div_qr_2u_pi1.c: In function '__gmpn_div_qr_2u_pi1': div_qr_2u_pi1.c:67:1: internal compiler error: Maximum number of LRA constraint passes is achieved (30) } ^ Please submit a full bug report, with preprocessed source if appropriate. The build for x86_64-w64-mingw32 did not encounter this problem. I'm building on 64-bit Debian using a self-built linux to Windows cross-compilers.
[Bug rtl-optimization/55106] ice: Maximum number of LRA constraint passes is achieved (15)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55106 --- Comment #6 from Ruben Van Boxem vanboxem.ruben at gmail dot com 2012-12-20 19:42:02 UTC --- I can also add that GMP 5.0.5 does not trigger this ICE.
[Bug rtl-optimization/55106] ice: Maximum number of LRA constraint passes is achieved (15)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55106 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED --- Comment #3 from Richard Biener rguenth at gcc dot gnu.org 2012-10-29 14:39:24 UTC --- Fixed.
[Bug rtl-optimization/55106] ice: Maximum number of LRA constraint passes is achieved (15)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55106 --- Comment #4 from Vladimir Makarov vmakarov at gcc dot gnu.org 2012-10-29 14:42:21 UTC --- Author: vmakarov Date: Mon Oct 29 14:42:05 2012 New Revision: 192944 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192944 Log: 2012-10-29 Vladimir Makarov vmaka...@redhat.com PR rtl-optimization/55106 * g++.dg/pr55106.C: New. Added: trunk/gcc/testsuite/g++.dg/pr55106.C Modified: trunk/gcc/testsuite/ChangeLog
[Bug rtl-optimization/55106] ice: Maximum number of LRA constraint passes is achieved (15)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55106 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added CC||markus at trippelsdorf dot ||de, vmakarov at gcc dot ||gnu.org --- Comment #1 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-10-28 14:52:03 UTC --- markus@x4 tmp % cat test.ii templatetypename _Tp struct A { typedef _Tp *pointer; typedef _Tp reference; typedef _Tp const_reference; templatetypenamestruct rebind { typedef A other; }; }; templatetypename _Allocstruct __alloc_traits { typedef typename _Alloc::pointer pointer; typedef typename _Alloc::reference reference; typedef typename _Alloc::const_reference const_reference; templatetypename _Tpstruct rebind { typedef typename _Alloc::template rebind_Tp::other other; }; }; templatetypename _Tp, typename _Allocstruct B { typedef typename __alloc_traits_Alloc::template rebind _Tp::other _Tp_alloc_type; typedef typename __alloc_traits_Tp_alloc_type::pointer pointer; struct F { pointer _M_start; }; F _M_impl; }; templatetypename _Tp, typename _Alloc = A_Tp class vec : B_Tp, _Alloc{ typedef B_Tp, _Alloc _Base; typedef typename _Base::_Tp_alloc_type _Tp_alloc_type; typedef __alloc_traits_Tp_alloc_type _Alloc_traits; public: typedef _Tp value_type; typedef typename _Alloc_traits::reference reference; typedef typename _Alloc_traits::const_reference const_reference; reference operator[](int p1) { return *(this-_M_impl._M_start + p1); } const_reference operator[](long) const; }; int a[17]; class C { vecint m_value; void opModDivGuts(const C); int mostSetBitP1() const; }; void C::opModDivGuts(const C p1) { int b = p1.mostSetBitP1(), c = b + 1; int d[16]; for (int i = c; i; i--) a[i] = p1.m_value[i] b; for (int i = 0; i c; i++) m_value[i] = d[i] b -b; } markus@x4 tmp % g++ -Wall -Wextra -c -O3 test.ii test.ii: In member function ‘void C::opModDivGuts(const C)’: test.ii:65:1: internal compiler error: Maximum number of LRA constraint passes is achieved (15)
[Bug rtl-optimization/55106] ice: Maximum number of LRA constraint passes is achieved (15)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55106 --- Comment #2 from Vladimir Makarov vmakarov at gcc dot gnu.org 2012-10-29 00:42:30 UTC --- Author: vmakarov Date: Mon Oct 29 00:42:25 2012 New Revision: 192904 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192904 Log: 2012-10-28 Vladimir Makarov vmaka...@redhat.com PR rtl-optimization/55106 * lra-constraints.c (skip_usage_debug_insns): New function. (check_secondary_memory_needed_p): Ditto. (inherit_reload_reg): Use the new functions. Improve debug output. Modified: trunk/gcc/ChangeLog trunk/gcc/lra-constraints.c