delorie.com/archives/browse.cgi | search |
Date: | Tue, 3 Nov 1998 11:06:03 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | djgpp-workers AT delorie DOT com |
cc: | Kbwms AT aol DOT com |
Subject: | Inlining math functions and ANSI/Posix |
Message-ID: | <Pine.SUN.3.91.981103110230.19001H-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
I understand that GCC 2.8.x inlines some math functions under -O2 (`sqrt' is one of them). If this is so, how does this influence the ANSI requirements that some values of arguments should set errno? Is GCC's inlining smart enough to not break this? If not, should we do something about this? (I cannot test this myself since I still don't have 2.8.1 installed.)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |