public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.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
Date: Thu, 26 May 2011 11:35:00 -0000	[thread overview]
Message-ID: <bug-49170-4@http.gcc.gnu.org/bugzilla/> (raw)

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  <wschmidt@linux.vnet.ibm.com>

        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


             reply	other threads:[~2011-05-26 11:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26 11:35 ro at gcc dot gnu.org [this message]
2011-05-26 12:14 ` [Bug tree-optimization/49170] " wschmidt at gcc dot gnu.org
2011-05-26 12:34 ` rguenth at gcc dot gnu.org
2011-05-26 13:44 ` wschmidt at gcc dot gnu.org
2011-05-27 10:16 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-05-27 10:32 ` dominiq at lps dot ens.fr
2011-05-27 13:32 ` wschmidt at gcc dot gnu.org
2011-07-18 15:16 ` ro at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-49170-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).