public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/49170] New: [4.7 regression] Several libstdc++ tests fail to link on Solaris 8/9: cexp missing
@ 2011-05-26 11:35 ro at gcc dot gnu.org
  2011-05-26 12:14 ` [Bug tree-optimization/49170] " wschmidt at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2011-05-26 11:35 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-18 15:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-26 11:35 [Bug tree-optimization/49170] New: [4.7 regression] Several libstdc++ tests fail to link on Solaris 8/9: cexp missing ro at gcc dot gnu.org
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

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).