From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6014 invoked by alias); 26 May 2011 11:34:11 -0000 Received: (qmail 5725 invoked by uid 22791); 26 May 2011 11:34:09 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_XP X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 May 2011 11:33:55 +0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/49170] New: [4.7 regression] Several libstdc++ tests fail to link on Solaris 8/9: cexp missing X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 26 May 2011 11:35:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg02513.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49170 Summary: [4.7 regression] Several libstdc++ tests fail to link on Solaris 8/9: cexp missing Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: ro@gcc.gnu.org CC: wschmidt@gcc.gnu.org Host: *-*-solaris2.[89] Target: *-*-solaris2.[89] Build: *-*-solaris2.[89] Between 20110523 and 20110525, several libstdc++ tests fail to link on Solaris 8 and 9 (both SPARC and x86) that lacks cexp in libm: FAIL: 26_numerics/complex/13450.cc (test for excess errors) Excess errors: Undefined first referenced symbol in file cexp /var/tmp//ccvyjKLM.o cexpf /var/tmp//ccvyjKLM.o cexpl /var/tmp//ccvyjKLM.o ld: fatal: Symbol referencing errors. No output written to ./13450.exe Comparing -save-temps output before and after the patch, I find no changes to the .ii file, no calls to cexp before the patch, but calls after. I very strongly suspect this patch: 2011-05-24 Bill Schmidt PR tree-optimization/46728 * tree-ssa-math-opts.c (powi_table): New. (powi_lookup_cost): New. (powi_cost): New. (powi_as_mults_1): New. (powi_as_mults): New. (gimple_expand_builtin_powi): New. (execute_cse_sincos): Add switch case for BUILT_IN_POWI. (gate_cse_sincos): Remove sincos/cexp restriction. Please fix. Rainer