http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153
--- Comment #9 from Steve Ellcey <sje at cup dot hp.com> 2011-08-23 20:55:15 UTC --- I think all I need to do is expand the existing hpux11_abs fixinclude rule from 'ia64-hp-hpux11*' to '*-hp-hpux11*' I am currently testing this. The other checks for '__cplusplus < 199707L' in the header files don't like like they should cause problems. They set NULL to 0 (old) vs. 0L (new), add a define for _WCHAR_T, and set some macros to specify that the long long type is always available. I think all those things should be OK. I am testing my patch but had some system problems over night so I don't have a complete bootstrap and test yet.