This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Why don't gcc implement large model for x86-64
Ian Lance Taylor <iant@google.com> writes:
> "hendric" <hendric.lee@gmail.com> writes:
>
> > As far as I know,current x86-64 gcc forces programmes linked in
> > lower 2GB even though specified -mcmode=medium mode. But don't you
> > think large mode too important? I wondered why large mode's out of
> > implementation.
>
> Because nobody has implemented it.
Andrew Pinski pointed out that in fact Jan Hubicka has implemented
large model support already, and it should go into gcc 4.3:
http://gcc.gnu.org/wiki/large-model
Projects planned for gcc 4.3 are listed here:
http://gcc.gnu.org/wiki/GCC_4.3_Release_Planning
Ian