This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34484] pulls in allegedly unneeded floatingpoint exception access funcs
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2008 12:36:16 -0000
- Subject: [Bug target/34484] pulls in allegedly unneeded floatingpoint exception access funcs
- References: <bug-34484-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from joseph at codesourcery dot com 2008-06-24 12:36 -------
Subject: Re: pulls in allegedly unneeded floatingpoint
exception access funcs
On Tue, 24 Jun 2008, aldot at gcc dot gnu dot org wrote:
> libdecnumber hunk could look like this:
libdecnumber's configure.ac is for the host, not the target. As such, it
needs to remain in sync with gcc's. I'm pretty sure it's deliberate that
it still needs to select a format even with --disable-decimal-float.
The logic selecting for the target is in libgcc/configure.ac. That's the
only place disabling without <fenv.h> might make sense (and if an explicit
--enable-decimal-float={yes,bid,dpd} is given without <fenv.h>, give an
error). The only reason this really makes sense is that you can
legitimately have both glibc and uClibc multilibs, some with <fenv.h> and
some without, and libgcc's configure is run once for each multilib.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34484