public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jengelh at medozas dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc Date: Tue, 24 Jul 2012 21:17:00 -0000 [thread overview] Message-ID: <bug-54088-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088 Bug #: 54088 Summary: ICE at dwarf2out.c:20632 with -O1 and sparc Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: jengelh@medozas.de Host: sparc64-suse-linux/sparcv9-suse-linux I have narrowed down a case whereby gcc-4.7.1-20120723 fails to compile itself on sparcv9 and sparc64. Host compiler: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/sparc64-suse-linux/4.7/lto-wrapper Target: sparc64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.7 --enable-ssp --disable-libssp --disable-libitm --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --program-suffix=-4.7 --enable-linux-futex --without-system-libunwind --with-cpu=v8 --with-long-double-128 --build=sparc64-suse-linux Thread model: posix gcc version 4.7.1 20120723 [gcc-4_7-branch revision 189773] (SUSE Linux) The new compiler is configured a bit simplified: jengelh@ares:/tmp/gcc-4.7.1-20120723/obj> ../configure --with-cpu=v8 --enable-languages=c && make STAGE1_CFLAGS='-O1 -g' [...] Checking for build/host/target... sparc64-suse-linux [...] gcc -c -DIN_GCC_FRONTEND -O1 -g -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber ../../gcc/c-parser.c -o c-parser.o ../../gcc/c-parser.c: In function ‘c_parser_omp_for_loop’: ../../gcc/c-parser.c:10140:1: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:20366 Please submit a full bug report, with preprocessed source if appropriate. This can happen in a bunch of different places; I have seen it occur with the gcc/graphite-poly.c source file also; in both cases, it triggered this assert in line 20332-20336: gcc_assert (prev && (CALL_P (prev) || (NONJUMP_INSN_P (prev) && GET_CODE (PATTERN (prev)) == SEQUENCE && CALL_P (XVECEXP (PATTERN (prev), 0, 0))))); A user account can be provided, if desired.
next reply other threads:[~2012-07-24 21:17 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-07-24 21:17 jengelh at medozas dot de [this message] 2012-07-27 15:55 ` [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g ebotcazou at gcc dot gnu.org 2012-07-28 12:09 ` jengelh at medozas dot de 2012-07-28 13:09 ` mikpe at it dot uu.se 2012-07-28 19:43 ` jengelh at medozas dot de 2012-07-31 9:42 ` pinskia at gcc dot gnu.org 2012-07-31 10:22 ` jengelh at inai dot de 2012-07-31 10:41 ` rguenth at gcc dot gnu.org 2012-07-31 11:04 ` jengelh at inai dot de 2012-08-02 8:01 ` ebotcazou at gcc dot gnu.org 2012-08-25 23:22 ` [Bug rtl-optimization/54088] [4.7/4.8 regression] " ebotcazou at gcc dot gnu.org 2012-08-25 23:22 ` ebotcazou at gcc dot gnu.org 2012-08-25 23:23 ` ebotcazou at gcc dot gnu.org 2012-08-25 23:24 ` ebotcazou 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-54088-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).