[tree-ssa] PATCH to ocp_convert
Thu Apr 3 20:05:00 GMT 2003
The recent inliner change to convert the (promoted) argument back to the
parm type breaks on some classes because ocp_convert is suspicious of
the idea of applying a NOP to an lvalue. But in this case we're not
interested in an lvalue, so the abort is inappropriate. This patch
restricts the abort to types with copy constructors, which need to be
Tested i686-pc-linux-gnu. Applied to trunk and tree-ssa branch.
2003-04-02 Jason Merrill <email@example.com>
* cvt.c (ocp_convert): Only abort if we try to convert an object
of TREE_ADDRESSABLE type.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 648 bytes
Desc: not available
More information about the Gcc-patches