From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20634 invoked by alias); 16 Dec 2002 22:54:49 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 20493 invoked from network); 16 Dec 2002 22:54:44 -0000 Received: from unknown (HELO nikam.ms.mff.cuni.cz) (195.113.18.106) by sources.redhat.com with SMTP; 16 Dec 2002 22:54:44 -0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id C718A4EC12; Mon, 16 Dec 2002 23:54:45 +0100 (CET) Date: Mon, 16 Dec 2002 15:05:00 -0000 From: Jan Hubicka To: David Edelsohn Cc: Jan Hubicka , Zack Weinberg , gcc@gcc.gnu.org, libstdc++@gcc.gnu.org, Richard Henderson Subject: [libstdc++] Re: basic-improvements merge status Message-ID: <20021216225445.GH3138@kam.mff.cuni.cz> References: <20021216224439.GF3138@kam.mff.cuni.cz> <200212162248.RAA27342@makai.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200212162248.RAA27342@makai.watson.ibm.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2002-12/txt/msg00959.txt.bz2 > >>>>> Jan Hubicka writes: > > Jan> As I've mentined I am handling this with the other patch that disables > Jan> the transfomration for C90 until we decide how to detect such systems. > Jan> On C99 and C++ it is always valid as runtime is required to have it (and > Jan> thats why libstdc++ does it). I hope Richard will have time to take a > Jan> look on these patches soon. > > Would you please include a pointer to the patch? I have been > browsing your patches and cannot find one that fixes this problem. Hi, and this should fix the builtins overwriting problem. Even if we manage gcc to not do the transformation under certain configurations, still this is more safe to do. Honza Mon Dec 16 23:53:16 CET 2002 Jan Hubicka * Makefile.am (AM_CFLAGS): New. Index: Makefile.am =================================================================== RCS file: /cvs/gcc/gcc/libstdc++-v3/libmath/Makefile.am,v retrieving revision 1.20 diff -c -3 -p -r1.20 Makefile.am *** Makefile.am 12 Sep 2002 23:27:30 -0000 1.20 --- Makefile.am 16 Dec 2002 22:53:03 -0000 *************** libmath_la_DEPENDENCIES = $(libmath_la_L *** 34,39 **** --- 34,43 ---- libmath_la_SOURCES = stubs.c + # Avoid GCC transfroming (float)sin(float) into sinf causing infinite + # recursion. + AM_CFLAGS = -fno-builtins + # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@