public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/49644] [4.5/4.6/4.7 Regression] post-increment of promoted operand is incorrect. Date: Thu, 07 Jul 2011 19:43:00 -0000 [thread overview] Message-ID: <bug-49644-4-QvsROGuwW1@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-49644-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49644 --- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-07 19:43:03 UTC --- Author: jakub Date: Thu Jul 7 19:42:58 2011 New Revision: 176007 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176007 Log: PR c/49644 * typeck.c (cp_build_binary_op): For MULT_EXPR and TRUNC_DIV_EXPR with one non-complex and one complex argument, call save_expr on both operands. * g++.dg/torture/pr49644.C: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/torture/pr49644.C Modified: branches/gcc-4_6-branch/gcc/cp/ChangeLog branches/gcc-4_6-branch/gcc/cp/typeck.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2011-07-07 19:43 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-07-05 15:35 [Bug c/49644] New: [ 4.5/4.6 Regression ] " orion at cora dot nwra.com 2011-07-05 15:42 ` [Bug c/49644] [ 4.5/4.6 Regression ] post-increment of promoted to complex " orion at cora dot nwra.com 2011-07-05 15:42 ` [Bug c/49644] [4.5/4.6 Regression] post-increment of promoted " rguenth at gcc dot gnu.org 2011-07-05 19:48 ` jakub at gcc dot gnu.org 2011-07-05 20:02 ` orion at cora dot nwra.com 2011-07-07 9:55 ` [Bug c/49644] [4.5/4.6/4.7 " orion at cora dot nwra.com 2011-07-07 9:55 ` jakub at gcc dot gnu.org 2011-07-07 19:11 ` jakub at gcc dot gnu.org 2011-07-07 19:14 ` jakub at gcc dot gnu.org 2011-07-07 19:20 ` jakub at gcc dot gnu.org 2011-07-07 19:42 ` jakub at gcc dot gnu.org 2011-07-07 19:43 ` jakub at gcc dot gnu.org [this message] 2011-07-19 13:08 ` [Bug c/49644] [4.5 " jakub at gcc dot gnu.org 2011-07-19 13:09 ` jakub at gcc dot gnu.org 2011-07-19 13:49 ` jakub at gcc dot gnu.org 2011-08-01 14:52 ` rguenth 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-49644-4-QvsROGuwW1@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).