c++/1687: Extreme compile time regression from 2.95.2

Zack Weinberg zackw@Stanford.EDU
Wed Feb 7 10:37:00 GMT 2001


On Tue, Feb 06, 2001 at 12:43:21PM -0800, Zack Weinberg wrote:
> 
> 	* optimize.c: Include hashtab.h.
> 	(struct inline_data): Add tree_pruner field.
> 	(expand_call_inline, expand_calls_inline): Call walk_tree with
> 	id->tree_pruner for fourth argument, putting it into
> 	no-duplicates mode.
> 	(optimize_function): Create and destroy a hash table for
> 	duplicate pruning, store it in id.tree_pruner.

This survived an x86-linux bootstrap and reports the following test
suite failures.  I do not know if they are regressions or not.

FAIL: g++.dg/vtgc1.C scan-assembler (about 30 of these)
FAIL: g++.ext/instantiate1.C not instantiated (test for errors, line 18)
FAIL: g++.ext/instantiate1.C not instantiated (test for errors, line 20)
FAIL: g++.jason/2371.C (test for excess errors)
FAIL: g++.other/crash32.C (test for excess errors)
FAIL: g++.other/loop2.C caused compiler crash

zw


More information about the Gcc-patches mailing list