Bug 20719 - [4.1 Regression] ICE in default_no_named_section, at varasm.c:4828
Summary: [4.1 Regression] ICE in default_no_named_section, at varasm.c:4828
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: 4.1.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build, ice-on-valid-code
: 20778 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-01 16:56 UTC by Joseph S. Myers
Modified: 2005-04-15 15:58 UTC (History)
4 users (show)

See Also:
Host:
Target: hppa2.0w-*-hpux11.*
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-04-02 14:46:25


Attachments
File which ICEs (14.57 KB, text/plain)
2005-04-01 16:56 UTC, Joseph S. Myers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph S. Myers 2005-04-01 16:56:21 UTC
Bootstrap on mainline on hppa2.0w-hpux has started failing on 20050401 in the
build of libgcc with the stage1 compiler.

/home/gcc/nightlies/gcc-mainline-2005-04-01/gcc/libgcc2.c: In function '__muldi3':
/home/gcc/nightlies/gcc-mainline-2005-04-01/gcc/libgcc2.c:533: internal compiler
error: in default_no_named_section, at varasm.c:4828
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

The most recent big changes to varasm.c seem to be from

2005-03-31  Caroline Tice  <ctice@apple.com>

        * Makefile.in (varasm.o): Add basic-block.h to list of requirements.
        (bb-reorder.o): Add errors.h to list of requirements.
        (STAGEFEEDBACK_FLAGS_TO_PASS): Add -freorder-blocks-and-partition to
        profiledbootstrap flags.
[...]

(but it doesn't touch that particular function).  I'll attach preprocessed
source for the relevant file (no special compilation options needed to reproduce
the ICE).
Comment 1 Joseph S. Myers 2005-04-01 16:56:58 UTC
Created attachment 8508 [details]
File which ICEs
Comment 2 Andrew Pinski 2005-04-01 21:25:19 UTC
Also reproducable on i686-pc-openbsd3.1.
Comment 3 Andrew Pinski 2005-04-02 14:46:25 UTC
Confirmed.
"Unofficial" patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00135.html>.
Comment 4 Andrew Pinski 2005-04-05 23:12:17 UTC
*** Bug 20778 has been marked as a duplicate of this bug. ***
Comment 5 Andrew Pinski 2005-04-15 15:58:42 UTC
Fixed by a couple of patches.