PATCH: Fix PR 30666 [4.3 Regression]

Doug Gregor
Sat Mar 3 19:47:00 GMT 2007

This little patch fixes PR tree-optimization/20336, a 4.3 regression
where the canonical types system was failing to keep the built-in
complex types canonical. The problem shows up as a warning now, but
would be a crash with --disable-checking.

Tested i686-pc-linux-gnu; no regressions.

Okay for mainline?



2007-03-03  Douglas Gregor  <>

	PR tree-optimization/30666
	* tree.c (build_common_tree_nodes_2): Use build_complex_type when
	building predefined complex types, to preserve canonical types.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: complex-canon.patch
Type: text/x-patch
Size: 1492 bytes
Desc: not available
URL: <>

More information about the Gcc-patches mailing list