public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jason at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/25979] [4.0 Regression] incorrect codegen for conditional [SVO issue]
Date: Thu, 09 Feb 2006 09:54:00 -0000	[thread overview]
Message-ID: <20060209095444.16871.qmail@sourceware.org> (raw)
In-Reply-To: <bug-25979-11686@http.gcc.gnu.org/bugzilla/>



------- Comment #10 from jason at gcc dot gnu dot org  2006-02-09 09:54 -------
Subject: Bug 25979

Author: jason
Date: Thu Feb  9 09:54:36 2006
New Revision: 110789

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110789
Log:
        PR c++/25979
        * tree.def: Elaborate on difference from MODIFY_EXPR.
        * doc/c-tree.texi (INIT_EXPR): Likewise.
        * gimplify.c (internal_get_tmp_var): Use INIT_EXPR.
        (gimplify_decl_expr, gimplify_init_ctor_eval): Likewise.
        (gimplify_target_expr): Likewise.
        (gimplify_cond_expr): Remove target handling.
        (gimplify_modify_expr): Don't clobber INIT_EXPR code here.
        (gimplify_expr): Clobber it here.
        (gimplify_modify_expr_rhs): Push assignment into COND_EXPR here.
        Do return slot optimization if we have an INIT_EXPR.

        PR tree-opt/24365
        * tree-inline.c (declare_return_variable): Also clear
        DECL_COMPLEX_GIMPLE_REG_P as needed in the modify_dest case.

        PR c++/16405
        * gimplify.c (gimplify_modify_expr_rhs): Re-enable *& handling.

        PR middle-end/22439
        * gimplify.c (gimplify_one_sizepos): Fix typo.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-gimplify.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/doc/c-tree.texi
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/g++.dg/opt/temp1.C
    trunk/gcc/tree-inline.c
    trunk/gcc/tree.def


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25979


  parent reply	other threads:[~2006-02-09  9:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-26 17:29 [Bug c++/25979] New: incorrect codegen for conditional hhinnant at apple dot com
2006-01-26 17:31 ` [Bug c++/25979] " pinskia at gcc dot gnu dot org
2006-01-26 17:36 ` pinskia at gcc dot gnu dot org
2006-01-26 17:39 ` pinskia at gcc dot gnu dot org
2006-01-26 17:43 ` [Bug c++/25979] [4.0/4.1/4.2 Regression] incorrect codegen for conditional [SVO issue] pinskia at gcc dot gnu dot org
2006-01-26 18:17 ` pinskia at gcc dot gnu dot org
2006-01-27 20:09 ` jason at gcc dot gnu dot org
2006-02-01  3:08 ` mmitchel at gcc dot gnu dot org
2006-02-03 21:56 ` jason at gcc dot gnu dot org
2006-02-03 21:57 ` jason at gcc dot gnu dot org
2006-02-03 21:59 ` jason at gcc dot gnu dot org
2006-02-04 10:34 ` [Bug c++/25979] [4.0 " steven at gcc dot gnu dot org
2006-02-09  9:54 ` jason at gcc dot gnu dot org [this message]
2006-02-10 17:32 ` jason at gcc dot gnu dot org
2006-02-11  0:19 ` jason at gcc dot gnu dot org
2006-02-11  0:51 ` 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=20060209095444.16871.qmail@sourceware.org \
    --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: link
Be 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).