PATCH: Fix PR 30666 [4.3 Regression]
Sat Mar 3 20:04:00 GMT 2007
On 3/3/07, Doug Gregor <email@example.com> wrote:
> 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?
Is there a reason why simply calling build_complex_type is not enough?
It looks like that will invoke layout_type and set TYPE_NAME (which
is IMHO the right thing to do).
> 2007-03-03 Douglas Gregor <firstname.lastname@example.org>
> PR tree-optimization/30666
> * tree.c (build_common_tree_nodes_2): Use build_complex_type when
> building predefined complex types, to preserve canonical types.
More information about the Gcc-patches