Patch to define NO_IMPLICIT_EXTERN_C on ia64-hpux

Zack Weinberg zack@codesourcery.com
Sat May 7 19:03:00 GMT 2005


"Joseph S. Myers" <joseph@codesourcery.com> writes:

> (I think we're probably at the point where it would in fact make
> sense for NO_IMPLICIT_EXTERN_C to be the default and for targets to
> need to define IMPLICIT_EXTERN_C to get the other semantics.)

I would agree; the first step in making that change would be to do an
inventory of all existing targets, determine which currently define
NO_IMPLICIT_EXTERN_C, and then figure out which of them *should* have
the implicit-extern-C semantics.  Last I looked at this (a few years
back) it was my impression that a very large number of targets that
didn't need implicit-extern-C were still getting it.

> Bootstrapped with no regressions on ia64-hp-hpux11.23.  OK to commit
> to mainline?

Yes.  And, based on cursory inspection of headers on CodeSourcery's PA
boxen, I will preapprove a similar patch for hppa*-hp-hpux11.*, if
that isn't already the case.  (You do need to test it, though.)

zw



More information about the Gcc-patches mailing list