public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "belyshev at depni dot sinp dot msu dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/21180] [4.1 Regression] checking on fold no longer happens in some cases
Date: Wed, 13 Jul 2005 10:37:00 -0000	[thread overview]
Message-ID: <20050713103114.25259.qmail@sourceware.org> (raw)
In-Reply-To: <20050423170606.21180.pinskia@gcc.gnu.org>


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-07-13 10:31 -------
This patch does'n work now, it fails on any input:

<built-in>:0: internal compiler error: tree check: expected function_decl, have
type_decl in fold_checksum_tree, at fold-const.c:10288

#0  internal_error (gmsgid=0xc377c8 "tree check: %s, have %s in %s, at %s:%d")
    at ../../gcc41/gcc/diagnostic.c:534
#1  0x000000000098ba01 in tree_check_failed (node=0x2aaaaaf9e340, 
    file=0xba6438 "../../gcc41/gcc/fold-const.c", line=10288, 
    function=0xdf5d90 "fold_checksum_tree") at ../../gcc41/gcc/tree.c:5778
#2  0x0000000000731e54 in fold_checksum_tree (expr=0x2aaaaaf9e340, 
    ctx=0x7fffffa5c0f0, ht=0xec7730) at ../../gcc41/gcc/fold-const.c:10288
#3  0x00000000007322a1 in fold_checksum_tree (expr=0x7fffffa5bb70, 
    ctx=0x7fffffa5c0f0, ht=0xec7730) at ../../gcc41/gcc/fold-const.c:10302
#4  0x000000000073160f in fold_checksum_tree (expr=0x2aaaaaf835d0, 
    ctx=0x7fffffa5c0f0, ht=0xec7730) at ../../gcc41/gcc/fold-const.c:10231
#5  0x0000000000732781 in fold_build2 (code=MINUS_EXPR, type=0x2aaaaaf91000, 
    op0=0x2aaaaaf835d0, op1=0x2aaaaaf835d0)
    at ../../gcc41/gcc/fold-const.c:10379
#6  0x0000000000959db6 in layout_type (type=0x2aaaaafa1c60)
    at ../../gcc41/gcc/stor-layout.c:1715
#7  0x000000000097f3b8 in type_hash_lookup (hashcode=196468616, 
    type=0x2aaaaafa1c60) at ../../gcc41/gcc/tree.c:3922
#8  0x000000000097f4f1 in type_hash_canon (hashcode=196468616, 
    type=0x2aaaaafa1c60) at ../../gcc41/gcc/tree.c:3972
#9  0x0000000000986088 in build_array_type (elt_type=0x2aaaaafa1b00, 
    index_type=0x2aaaaafa1bb0) at ../../gcc41/gcc/tree.c:4846
#10 0x00000000009f6c4e in ix86_build_builtin_va_list ()
    at ../../gcc41/gcc/config/i386/i386.c:3402
#11 0x000000000098d191 in build_common_tree_nodes_2 (short_double=0)
    at ../../gcc41/gcc/tree.c:6097
#12 0x0000000000464b00 in c_common_nodes_and_builtins ()


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2005-06-30 13:11:22         |2005-07-13 10:31:11
               date|                            |


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


  parent reply	other threads:[~2005-07-13 10:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-23 17:06 [Bug middle-end/21180] New: [4.1 Regression] checking on fold is no longer happen " pinskia at gcc dot gnu dot org
2005-04-23 17:06 ` [Bug middle-end/21180] " pinskia at gcc dot gnu dot org
2005-04-23 17:28 ` [Bug middle-end/21180] [4.1 Regression] checking on fold no longer happens " kazu at cs dot umass dot edu
2005-06-15  3:17 ` pinskia at gcc dot gnu dot org
2005-07-04 12:18 ` pinskia at gcc dot gnu dot org
2005-07-04 17:04 ` pinskia at gcc dot gnu dot org
2005-07-04 18:16 ` pinskia at gcc dot gnu dot org
2005-07-13 10:37 ` belyshev at depni dot sinp dot msu dot ru [this message]
2005-07-13 11:20 ` belyshev at depni dot sinp dot msu dot ru
2005-07-21 19:37 ` pinskia at gcc dot gnu dot org
2005-07-21 19:53 ` cvs-commit at gcc dot gnu dot org
2005-08-29  0:12 ` dberlin 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=20050713103114.25259.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).