Summary: | [3.4 Regression] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc | ||
---|---|---|---|
Product: | gcc | Reporter: | Kazumoto Kojima <kkojima> |
Component: | rtl-optimization | Assignee: | Kazumoto Kojima <kkojima> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs |
Priority: | P2 | Keywords: | build, compile-time-hog, ice-on-valid-code, patch |
Version: | 3.4.0 | ||
Target Milestone: | 3.4.1 | ||
Host: | sh4-unknown-linux-gnu | Target: | sh4-unknown-linux-gnu |
Build: | sh4-unknown-linux-gnu | Known to work: | 4.0.0 |
Known to fail: | 3.4.0 | Last reconfirmed: | 2004-04-30 09:17:03 |
Attachments: | an input file causing the problem |
Description
Kazumoto Kojima
2004-04-23 14:03:50 UTC
This looks like an optimization problem. There is a patch for comment with some analysis: http://gcc.gnu.org/ml/gcc-patches/2004-04/msg01893.html Thank you for the patch. Please, in future assign the bug to you when you have a patch. Do you know if the bug is present also on the 3.3 branch or on mainline? The mainline (20040425 x86-linux cross to sh4-linux) also hangs on .i file got from 3.4.0 abi_check.cc. Unfortunately, same .i file can't be compiled on 3.3-branch for another reasons like new __attribute__ expression and I don't have any appropriate testcase for this PR against 3.3-branch ATM. Can you attacch the precompiled file to this report for completeness? Maybe someone will have time to reduce this, making it possible to test it on 3.3. Created attachment 6197 [details]
an input file causing the problem
I've attached a problematic .i file. Subject: Bug 15100 CVSROOT: /cvs/gcc Module name: gcc Changes by: kkojima@gcc.gnu.org 2004-05-12 04:32:02 Modified files: gcc : ChangeLog combine.c Log message: PR optimization/15100 * combine.c (distribute_notes): Don't create a dangling REG_LIBCALL/REG_RETVAL note. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3628&r2=2.3629 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/combine.c.diff?cvsroot=gcc&r1=1.424&r2=1.425 Subject: Bug 15100 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_4-branch Changes by: kkojima@gcc.gnu.org 2004-05-18 10:51:39 Modified files: gcc : ChangeLog combine.c Log message: PR optimization/15100 Backport from mainline: 2004-05-11 Kaz Kojima <kkojima@gcc.gnu.org> * combine.c (distribute_notes): Don't create a dangling REG_LIBCALL/REG_RETVAL note. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.443&r2=2.2326.2.444 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/combine.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.400.4.7&r2=1.400.4.8 Fixed on 3.4/mainline. |