[Bug c++/19817] C++ front-end produces a cast instead of just &a.b (when call the deconstructor)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 15 00:05:00 GMT 2007
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-04-15 01:05 -------
Note this was fixed at the tree level by:
2007-04-08 Jan Hubicka <jh@suse.cz>
* tree.h (maybe_fold_offset_to_component_ref): Declare.
* tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Export.
* fold-const.c (fold_unary): Use it.
But The C++ front-end should not produce this to begin with.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|TREE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19817
More information about the Gcc-bugs
mailing list