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

[Bug target/58833] RFE: 64-bit native compiler on Solaris


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58833

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-10-22
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Would it be possible for GCC in Solaris to auto-configure itself as a 64-bit
> native compiler by default (instead of the current 32-bit native compiler
> default)?

The decision was made years ago not to do so, at least on SPARC, because the
64-bit compiler was measurably slower than the 32-bit compiler.

> The output of `uname -p` in Solaris is always 'i386' or 'sparc', regardless
> of whether or not the kernel is 32-bit or 64-bit. In Solaris 11 and later,
> kernels are 64-bit only, so the output of `uname -p` does not really reflect
> reality.

Given that the 32-bit compiler is biarch by default, at least on SPARC, I'm not
sure there is really an incentive for switching to 64-bit by default.


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