public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/16876] [4.0/4.1 Regression] ICE on testcase with -O3 in fold-const
Date: Sat, 23 Jun 2007 18:18:00 -0000	[thread overview]
Message-ID: <20070623181812.23705.qmail@sourceware.org> (raw)
In-Reply-To: <bug-16876-3760@http.gcc.gnu.org/bugzilla/>



------- Comment #19 from rguenth at gcc dot gnu dot org  2007-06-23 18:18 -------
Subject: Bug 16876

Author: rguenth
Date: Sat Jun 23 18:17:57 2007
New Revision: 125974

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125974
Log:
2007-06-23  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/16876
        PR middle-end/29478
        * tree.h (CALL_CANNOT_INLINE_P): New macro to access static_flag
        for CALL_EXPRs.
        * tree-inline.c (initialize_inlined_parameters): Do not call
        lang_hooks.tree_inlining.convert_parm_for_inlining.
        * cgraphbuild.c (initialize_inline_failed): Set inline failed
        reason for mismatched types.
        * gimplify.c (gimplify_call_expr): Verify the call expression
        arguments match the called function type signature.  Otherwise
        mark the call expression to be not considered for inlining
        using CALL_CANNOT_INLINE_P flag.
        * ipa-inline.c (cgraph_mark_inline): Honor CALL_CANNOT_INLINE_P on the
        edges call expression.
        (cgraph_decide_inlining_of_small_function): Likewise.
        (cgraph_decide_inlining): Likewise.
        * c-objc-common.h (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
        Remove define.
        * c-tree.h (c_convert_parm_for_inlining): Remove declaration.
        * c-typeck.c (c_convert_parm_for_inlining): Remove.
        * langhooks-def.h (lhd_tree_inlining_convert_parm_for_inlining):
        Remove declaration.
        (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): Remove define.
        * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining):
        Remove.
        * langhooks.h (struct lang_hooks_for_tree_inlining): Remove
        convert_parm_for_inlining member.

        * gcc.dg/pr29254.c: The warning is bogus.
        * gcc.dg/warn-1.c: Likewise.
        * gcc.dg/assign-warn-3.c: Likewise.
        * gcc.dg/noncompile/pr16876.c: The testcase is bogus, remove.

Removed:
    trunk/gcc/testsuite/gcc.dg/noncompile/pr16876.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-objc-common.h
    trunk/gcc/c-tree.h
    trunk/gcc/c-typeck.c
    trunk/gcc/cgraphbuild.c
    trunk/gcc/gimplify.c
    trunk/gcc/ipa-inline.c
    trunk/gcc/langhooks-def.h
    trunk/gcc/langhooks.c
    trunk/gcc/langhooks.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/assign-warn-3.c
    trunk/gcc/testsuite/gcc.dg/pr29254.c
    trunk/gcc/testsuite/gcc.dg/warn-1.c
    trunk/gcc/tree-inline.c
    trunk/gcc/tree.h


-- 


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


  parent reply	other threads:[~2007-06-23 18:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-16876-3760@http.gcc.gnu.org/bugzilla/>
2005-10-05 12:00 ` [Bug tree-optimization/16876] [3.4/4.0/4.1 Regression] ICE on testcase with -O3 in gen_lowpart pinskia at gcc dot gnu dot org
2005-10-30 22:44 ` mmitchel at gcc dot gnu dot org
2005-11-20 20:29 ` rth at gcc dot gnu dot org
2005-12-18 17:15 ` [Bug tree-optimization/16876] [3.4/4.0/4.1/4.2 " steven at gcc dot gnu dot org
2006-02-24  0:25 ` [Bug tree-optimization/16876] [3.4/4.0/4.1/4.2 Regression] ICE on testcase with -O3 in gen_lowpart and fold-const mmitchel at gcc dot gnu dot org
2006-05-25  2:33 ` [Bug tree-optimization/16876] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2006-06-05 10:44 ` steven at gcc dot gnu dot org
2006-06-05 10:49 ` [Bug tree-optimization/16876] [4.0/4.1/4.2 Regression] ICE on testcase with -O3 in fold-const steven at gcc dot gnu dot org
2006-08-24 19:13 ` amylaar at gcc dot gnu dot org
2006-08-25 18:52 ` amylaar at gcc dot gnu dot org
2006-10-18  9:26 ` [Bug tree-optimization/16876] [4.0/4.1 " rguenth at gcc dot gnu dot org
2006-10-18 18:56 ` pinskia at gcc dot gnu dot org
2007-02-14  9:08 ` mmitchel at gcc dot gnu dot org
2007-06-23 18:18 ` rguenth at gcc dot gnu dot org [this message]
2007-07-03  0:10 ` [Bug tree-optimization/16876] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
2007-07-20  3:50 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:30 ` mmitchel at gcc dot gnu dot org
2008-02-01 16:53 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:24 ` [Bug tree-optimization/16876] [4.1/4.2 " jsm28 at gcc dot gnu dot org
2008-07-04 22:45 ` [Bug tree-optimization/16876] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-30 15:37 ` jsm28 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=20070623181812.23705.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).