public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65729] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf Date: Fri, 10 Apr 2015 03:03:00 -0000 [thread overview] Message-ID: <bug-65729-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65729 Bug ID: 65729 Summary: [5 Regression] ICE (segfault) on arm-linux-gnueabihf Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org seen with r221867 on arm-linux-gnueabihf, building the cgal and k3d packages. $ g++ -c -g -O2 boolean.ii boolean.ii: In function '(static initializers for boolean.ii)': boolean.ii:18:36: internal compiler error: in prohibited_class_reg_set_mode_p, at lra-constraints.c:1659 void fn1() { Interval_nt<>::m_fn1; } ^ 0x58af03 prohibited_class_reg_set_mode_p ../../src/gcc/lra-constraints.c:1659 0x58da27 process_alt_operands ../../src/gcc/lra-constraints.c:2345 0x58f98f curr_insn_transform ../../src/gcc/lra-constraints.c:3464 0x5919e3 lra_constraints(bool) ../../src/gcc/lra-constraints.c:4442 0x585863 lra(_IO_FILE*) ../../src/gcc/lra.c:2315 0x5558c7 do_reload ../../src/gcc/ira.c:5418 0x5558c7 execute ../../src/gcc/ira.c:5589 Please submit a full bug report, with preprocessed source if appropriate. $ cat boolean.ii template <bool = true> class Interval_nt { typedef Interval_nt IA; public: Interval_nt(double, double) { b; } static IA m_fn1() { IA(0, 0); } struct Test_runtime_rounding_modes { Test_runtime_rounding_modes() { double x; asm volatile("" : "+gw"(x)); } } static b; }; template <bool Protected> typename Interval_nt<Protected>::Test_runtime_rounding_modes Interval_nt<Protected>::b; void fn1() { Interval_nt<>::m_fn1; } $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/5/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5-20150404-0ubuntu11' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=c++98 --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-multilib --enable-checking=yes --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf Thread model: posix gcc version 5.0.0 20150404 (experimental) [trunk revision 221867] (Ubuntu 5-20150404-0ubuntu11)
next reply other threads:[~2015-04-10 3:03 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-04-10 3:03 doko at gcc dot gnu.org [this message] 2015-04-10 7:07 ` [Bug target/65729] [5 Regression] ICE (in prohibited_class_reg_set_mode_p, at lra-constraints.c) " jakub at gcc dot gnu.org 2015-04-10 7:47 ` rguenth at gcc dot gnu.org 2015-04-10 9:04 ` jakub at gcc dot gnu.org 2015-04-10 9:20 ` ktkachov at gcc dot gnu.org 2015-04-10 15:49 ` vmakarov at gcc dot gnu.org 2015-04-10 15:53 ` jakub at gcc dot gnu.org 2015-04-10 16:03 ` yroux at gcc dot gnu.org 2015-04-10 16:06 ` vmakarov at gcc dot gnu.org 2015-04-10 16:08 ` [Bug target/65729] [5/6 " jakub at gcc dot gnu.org 2015-04-10 16:13 ` [Bug target/65729] [5 " vmakarov at gcc dot gnu.org 2015-04-10 16:43 ` [Bug target/65729] [5/6 " jakub at gcc dot gnu.org 2015-04-15 13:07 ` yroux at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-65729-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).