public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/57073] __builtin_powif (-1.0, k) should be optimized to "1.0 - 2.0 * (K%2)" Date: Sun, 28 Apr 2013 22:03:00 -0000 [thread overview] Message-ID: <bug-57073-4-Ga1cAOeojM@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-57073-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57073 --- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-04-28 22:03:35 UTC --- Created attachment 29968 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29968 patch that fails The patch in the attachment fails with the test case program main integer :: i real(8) :: a a = -1.0_8 read (*,*) i print *,(-1.0_8)**i,a**i end program main gfortran -O foo.f90 foo.f90: In function 'MAIN__': foo.f90:6:0: internal compiler error: in gimplify_modify_expr, at gimplify.c:4941 print *,(-1.0_8)**i,a**i ^ 0x7fbc17 gimplify_modify_expr ../../trunk/gcc/gimplify.c:4941 0x7f0211 gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**, bool (*)(tree_node*), int) ../../trunk/gcc/gimplify.c:7156 I wonder why.
next prev parent reply other threads:[~2013-04-28 22:03 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-57073-4@http.gcc.gnu.org/bugzilla/> 2013-04-26 7:06 ` jakub at gcc dot gnu.org 2013-04-26 7:09 ` burnus at gcc dot gnu.org 2013-04-28 9:05 ` tkoenig at gcc dot gnu.org 2013-04-28 22:03 ` tkoenig at gcc dot gnu.org [this message] 2013-04-29 8:41 ` burnus at gcc dot gnu.org 2013-05-02 19:56 ` tkoenig at gcc dot gnu.org 2013-05-02 21:08 ` burnus at gcc dot gnu.org 2013-05-02 22:01 ` burnus at gcc dot gnu.org 2013-05-03 9:58 ` burnus at gcc dot gnu.org 2013-05-17 23:08 ` tkoenig at gcc dot gnu.org 2013-05-30 15:33 ` tkoenig at gcc dot gnu.org 2013-05-30 21:33 ` burnus at gcc dot gnu.org 2013-05-30 21:34 ` burnus at gcc dot gnu.org 2013-05-31 20:40 ` tkoenig at gcc dot gnu.org 2013-05-31 20:44 ` burnus at gcc dot gnu.org 2013-06-01 8:41 ` burnus 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-57073-4-Ga1cAOeojM@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).