Constructor order help (related to PR 6482)

Richard Henderson rth@redhat.com
Fri Apr 11 10:53:00 GMT 2003


On Fri, Apr 11, 2003 at 01:08:22AM -0700, Kean Johnston wrote:
> Actually the more I think about it the more I think that chosing
> the mechanism should be left to the target header file and not
> config.gcc. I bet you anything that some exotic host somewhere
> is going to need the power of the pre-processor in its own files
> to decide on the mechanism.

Eh.  My guess is that the common case is actually that hosts need
to choose based on some autoconf test, and *that* is easier to do
in config.gcc.

For any host that really needs preprocessor help, we can create
a special config/foo/crtbe-bar.c that has just their specific
hackery.


r~



More information about the Gcc mailing list