This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19817] C++ front-end produces a cast instead of just &a.b (when call the deconstructor)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]