cherry-pick CONST_CAST from gcc-in-cxx tree

Taras Glek tglek@mozilla.com
Wed May 27 18:15:00 GMT 2009


This cast fix allows a c++ plugin to include gimple.h.

gcc/Changelog
2009-05-27  Tom Tromey  <tromey@redhat.com>

    * system.h (CONST_CAST): Use C++ const_cast when compiled as C++




-------------- next part --------------
A non-text attachment was scrubbed...
Name: tromey_cast.diff
Type: text/x-patch
Size: 844 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090527/b91f014e/attachment.bin>


More information about the Gcc-patches mailing list