PATCH: Fix PR 30666 [4.3 Regression]

Doug Gregor doug.gregor@gmail.com
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?

  Cheers,
  Doug

:ADDPATCH c:

2007-03-03  Douglas Gregor  <doug.gregor@gmail.com>

	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: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070303/72346c80/attachment.bin>


More information about the Gcc-patches mailing list