Bug 46725 - [4.6 Regression] ICE when compiling libstdc++-v3/include/precompiled/stdc++.h
Summary: [4.6 Regression] ICE when compiling libstdc++-v3/include/precompiled/stdc++.h
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.6.0
: P3 blocker
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 15:14 UTC by Dominique d'Humieres
Modified: 2010-11-30 15:52 UTC (History)
2 users (show)

See Also:
Host: x86_64-apple-darwin10
Target: x86_64-apple-darwin10
Build: x86_64-apple-darwin10
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique d'Humieres 2010-11-30 15:14:28 UTC
While updating from  r167293 (clean bootstrap) to 167298, I get the following ICE:

In file included from /opt/gcc/build_w/x86_64-apple-darwin10.5.0/libstdc++-v3/include/string:57:0,
                 from /opt/gcc/build_w/x86_64-apple-darwin10.5.0/libstdc++-v3/include/bitset:48,
                 from /opt/gcc/work/libstdc++-v3/include/precompiled/stdc++.h:65:
/opt/gcc/build_w/x86_64-apple-darwin10.5.0/libstdc++-v3/include/bits/basic_string.tcc:68:24: internal compiler error: tree check: did not expect class 'type', have 'type' (record_type) in contains_placeholder_p, at tree.c:2855

Revision 167297

Jump to revision:	     
Author:	ebotcazou
Date:	Tue Nov 30 14:24:11 2010 UTC (25 minutes, 21 seconds ago)
Changed paths:	2
Log Message:	
	* tree.c (build_range_type_1): Do not set TYPE_STRUCTURAL_EQUALITY_P
	because of self-referential bounds.
Changed paths:

Path	Details
trunk/gcc/ChangeLog	modified , text changed
trunk/gcc/tree.c	modified , text changed

seems to be the usual suspect.
Comment 1 Paolo Carlini 2010-11-30 15:37:59 UTC
*usual* ? ;)
Comment 2 Dominique d'Humieres 2010-11-30 15:46:51 UTC
> *usual* ? ;)

Missing quotes around "usual suspect";-)
Comment 3 Eric Botcazou 2010-11-30 15:48:13 UTC
Author: ebotcazou
Date: Tue Nov 30 15:48:09 2010
New Revision: 167300

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167300
Log:
	PR middle-end/46725
	Revert
	2010-11-30  Eric Botcazou  <ebotcazou@adacore.com>

	* tree.c (build_range_type_1): Do not set TYPE_STRUCTURAL_EQUALITY_P
	because of self-referential bounds.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree.c
Comment 4 Eric Botcazou 2010-11-30 15:52:52 UTC
Quite puzzling...