This is the mail archive of the gcc-patches@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]

Re: [RFC Patch]: Implement remainder() as built-in function [PR fortran/24518]


On Wednesday 25 October 2006 23:28, Mike Stump wrote:
> On Oct 25, 2006, at 3:22 PM, Paul Brook wrote:
> > You'd have to make that hook per-multilib. AFAIK the compiler itself
> > doesn't currently know about multilibs, only the driver.
>
> That's a silly notion, of course it does.  

No it doesn't.

> Think -msoft-float or -mbig- endian and what it does to the generated code.

The compiler only sees a subset of the commandline options.
It doesn't see all the commandline options, and it doesn't know which 
combinations of options imply a different multilib.

It is also possible to have multibs based on options that do not effect code 
generation. e.g. in the CodeSourcery toolchains we add a uclibc multilib to 
our linux toolchains.

Paul


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