public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "amacleod at redhat dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug optimization/14541] [tree-ssa] built-in math functions are not fully optimized at tree level Date: Fri, 12 Mar 2004 15:30:00 -0000 [thread overview] Message-ID: <20040312153008.9782.qmail@sources.redhat.com> (raw) In-Reply-To: <20040312001701.14541.kazu@cs.umass.edu> ------- Additional Comments From amacleod at redhat dot com 2004-03-12 15:30 ------- Which expanders? Am I looking at something wrong? I see optimized tree code: test (d1) { double T.1; double T.0; <bb 0>: if (log (exp (d1<D1066>)) != d1<D1066>) goto <L0>; else goto <L1>; <L0>:; link_failure () [tail call]; <L1>:; return; } And if I put a breakpoint in expand_builtin_mathfn() I see: Breakpoint 4, expand_builtin_mathfn (exp=0x400231e0, target=0x0, subtarget=0x0) at /src/tree-ssa/2004-03-09/gcc/gcc/builtins.c:1704 1704 tree fndecl = get_callee_fndecl (exp); (gdb) p print_generic_expr (stderr, exp, 64) log (exp (d1)) $1 = void Its true that we dont get rid of the link_failure(), but I dont see a temp in there... Andrew -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14541
next prev parent reply other threads:[~2004-03-12 15:30 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-03-12 0:17 [Bug optimization/14541] New: [tree-ssa] gcc.dg/torture/builtin-explog-1.c fails kazu at cs dot umass dot edu 2004-03-12 0:18 ` [Bug optimization/14541] " kazu at cs dot umass dot edu 2004-03-12 0:26 ` pinskia at gcc dot gnu dot org 2004-03-12 2:40 ` [Bug optimization/14541] [tree-ssa] built-in math functions are not fully optimized at tree level kazu at cs dot umass dot edu 2004-03-12 15:30 ` amacleod at redhat dot com [this message] 2004-03-25 0:09 ` bje at gcc dot gnu dot org 2004-05-03 12:37 ` pinskia at gcc dot gnu dot org 2004-05-04 7:56 ` kazu at cs dot umass dot edu 2004-05-04 11:32 ` pinskia at gcc dot gnu dot org 2004-05-04 15:52 ` kazu at cs dot umass dot edu 2004-05-04 15:57 ` pinskia at gcc dot gnu dot org 2004-05-24 21:48 ` [Bug tree-optimization/14541] " pinskia at gcc dot gnu dot org 2004-06-01 1:47 ` pinskia at gcc dot gnu dot org 2004-06-21 5:15 ` pinskia at gcc dot gnu dot 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=20040312153008.9782.qmail@sources.redhat.com \ --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).