Bug 44100 - [4.6 regression] ICE compiling g++.dg/init/struct2.C on Tru64 UNIX V5.1B
Summary: [4.6 regression] ICE compiling g++.dg/init/struct2.C on Tru64 UNIX V5.1B
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: 4.6.0
Assignee: Eric Botcazou
URL: http://gcc.gnu.org/ml/gcc-patches/201...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 16:22 UTC by Rainer Orth
Modified: 2010-05-24 22:05 UTC (History)
1 user (show)

See Also:
Host: alpha-dec-osf5.1b
Target: alpha-dec-osf5.1b
Build: alpha-dec-osf5.1b
Known to work:
Known to fail:
Last reconfirmed: 2010-05-12 21:34:55


Attachments
preprocessed source code (271 bytes, text/plain)
2010-05-12 16:23 UTC, Rainer Orth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Orth 2010-05-12 16:22:24 UTC
Between 20100422 and 20100507 there appeared a testsuite regression on Tru64 UNIX
V5.1B:

FAIL: g++.dg/init/struct2.C (internal compiler error)
FAIL: g++.dg/init/struct2.C (test for excess errors)

Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/init/struct2.C:20:5: internal compiler error: in decode_addr_const, at varasm.c:2854
Comment 1 Rainer Orth 2010-05-12 16:23:05 UTC
Created attachment 20650 [details]
preprocessed source code
Comment 2 Eric Botcazou 2010-05-12 21:34:01 UTC
Looking into it.
Comment 3 Eric Botcazou 2010-05-24 22:03:22 UTC
Subject: Bug 44100

Author: ebotcazou
Date: Mon May 24 22:03:09 2010
New Revision: 159800

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159800
Log:
	PR middle-end/44100
	* typeck.c (cp_build_unary_op): Fold offsetof-like computations.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/array-size2.C

Comment 4 Eric Botcazou 2010-05-24 22:05:12 UTC
Should work again.