public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/49170] [4.7 regression] Several libstdc++ tests fail to link on Solaris 8/9: cexp missing Date: Thu, 26 May 2011 13:44:00 -0000 [thread overview] Message-ID: <bug-49170-4-h7LB0IiWJM@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-49170-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49170 --- Comment #3 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2011-05-26 13:24:31 UTC --- Rainer, please try: Index: tree-ssa-math-opts.c =================================================================== --- tree-ssa-math-opts.c (revision 174277) +++ tree-ssa-math-opts.c (working copy) @@ -1093,6 +1093,10 @@ execute_cse_sincos (void) CASE_FLT_FN (BUILT_IN_COS): CASE_FLT_FN (BUILT_IN_SIN): CASE_FLT_FN (BUILT_IN_CEXPI): + /* Make sure we have either sincos or cexp. */ + if (!TARGET_HAS_SINCOS && !TARGET_C99_FUNCTIONS) + break; + arg = gimple_call_arg (stmt, 0); if (TREE_CODE (arg) == SSA_NAME) cfg_changed |= execute_cse_sincos_1 (arg); and let me know if it solves the problem. Thanks, Bill
next prev parent reply other threads:[~2011-05-26 13:25 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-05-26 11:35 [Bug tree-optimization/49170] New: " 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 [this message] 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-h7LB0IiWJM@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: linkBe 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).