public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gcc-bugzilla at antony dot heightanxiety dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/21460] New: Internal compiler error in calc_dfs_tree on valid code Date: Mon, 09 May 2005 04:54:00 -0000 [thread overview] Message-ID: <20050509045427.21460.gcc-bugzilla@antony.heightanxiety.com> (raw) When compiling a C++ file, gcc 4.0.0 and 4.0.1 20050507 prerelease report an internal compiler error: > /gcc-test/bin/g++ ice.cpp -O2 ice.cpp: In constructor 'SomeException::SomeException(const char*, ...)': ice.cpp:21: internal compiler error: in calc_dfs_tree, at dominance.c:376 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. > /gcc-test/bin/g++ -v Using built-in specs. Target: powerpc-linux Configured with: ../gcc-4.0-20050507/configure --enable-languages=c,c++ -- prefix=/gcc-test --with-gnu-as --with-gnu-ld --with-system-zlib --without- included-gettext --enable-threads=posix --enable-haifa --enable-sjlj-exceptions powerpc-linux Thread model: posix gcc version 4.0.1 20050507 (prerelease) When not using -O2 or when using -O2 -msoft-float, the ICE isn't reported. This points to /* Save FP registers if needed. */ if (DEFAULT_ABI == ABI_V4 && TARGET_HARD_FLOAT && TARGET_FPRS && ! no_rtl && next_cum.fregno <= FP_ARG_V4_MAX_REG) branch in gcc/config/rs6000/rs6000.c whose contents causes the problem (directly or indirectly). I have managed to create a minimal testcase for the problem and will attach it to this report. -- Summary: Internal compiler error in calc_dfs_tree on valid code Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at antony dot heightanxiety dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-unknown-linux GCC host triplet: powerpc-unknown-linux GCC target triplet: powerpc-unknown-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21460
next reply other threads:[~2005-05-09 4:54 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-05-09 4:54 gcc-bugzilla at antony dot heightanxiety dot com [this message] 2005-05-09 4:57 ` [Bug tree-optimization/21460] " gcc-bugzilla at antony dot heightanxiety dot com 2005-05-09 19:35 ` [Bug middle-end/21460] " pinskia at gcc dot gnu dot org 2005-05-15 22:33 ` ssolie at telus dot net 2005-09-01 6:27 ` amodra at bigpond dot net dot au 2005-09-02 5:10 ` amodra at bigpond dot net dot au 2005-09-04 0:07 ` [Bug middle-end/21460] sjlj_emit_function_enter adds rtl to wrong block amodra at bigpond dot net dot au 2005-09-06 4:54 ` cvs-commit at gcc dot gnu dot org 2005-09-06 8:10 ` cvs-commit at gcc dot gnu dot org 2005-09-06 8:28 ` amodra at bigpond dot net dot au
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=20050509045427.21460.gcc-bugzilla@antony.heightanxiety.com \ --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).