public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/22455] New: [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282
@ 2005-07-13 11:21 belyshev at depni dot sinp dot msu dot ru
  2005-07-13 11:24 ` [Bug middle-end/22455] " belyshev at depni dot sinp dot msu dot ru
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-07-13 11:21 UTC (permalink / raw)
  To: gcc-bugs

This testcase fails if gcc configured with --enable-checking=yes,fold :

--------------------------
int a [2];
--------------------------

f.c:1: internal compiler error: tree check: expected function_decl, have
type_decl in fold_checksum_tree, at fold-const.c:10282

Exposed by this change:

2005-07-08  Daniel Berlin  <dberlin@dberlin.org>

	* Makefile.in (TREE_H): Add treestruct.def.

-- 
           Summary: [4.1 regression] ICE tree check: expected function_decl,
                    have type_decl in fold_checksum_tree, at fold-
                    const.c:10282
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, ice-checking
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/22455] [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282
  2005-07-13 11:21 [Bug middle-end/22455] New: [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282 belyshev at depni dot sinp dot msu dot ru
@ 2005-07-13 11:24 ` belyshev at depni dot sinp dot msu dot ru
  2005-07-13 11:28 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-07-13 11:24 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dberlin at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/22455] [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282
  2005-07-13 11:21 [Bug middle-end/22455] New: [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282 belyshev at depni dot sinp dot msu dot ru
  2005-07-13 11:24 ` [Bug middle-end/22455] " belyshev at depni dot sinp dot msu dot ru
@ 2005-07-13 11:28 ` pinskia at gcc dot gnu dot org
  2005-07-13 11:36 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-13 11:28 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.1.0


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/22455] [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282
  2005-07-13 11:21 [Bug middle-end/22455] New: [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282 belyshev at depni dot sinp dot msu dot ru
  2005-07-13 11:24 ` [Bug middle-end/22455] " belyshev at depni dot sinp dot msu dot ru
  2005-07-13 11:28 ` pinskia at gcc dot gnu dot org
@ 2005-07-13 11:36 ` pinskia at gcc dot gnu dot org
  2005-07-13 11:38 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-13 11:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-13 11:35 -------
Confirmed, it is obvious that Daniel forgot to update fold_checksum_tree after the change.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-13 11:35:26
               date|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/22455] [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282
  2005-07-13 11:21 [Bug middle-end/22455] New: [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282 belyshev at depni dot sinp dot msu dot ru
                   ` (2 preceding siblings ...)
  2005-07-13 11:36 ` pinskia at gcc dot gnu dot org
@ 2005-07-13 11:38 ` pinskia at gcc dot gnu dot org
  2005-07-13 12:38 ` dberlin at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-13 11:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-13 11:36 -------
This blocks PR 21180 now.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |21180
              nThis|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/22455] [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282
  2005-07-13 11:21 [Bug middle-end/22455] New: [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282 belyshev at depni dot sinp dot msu dot ru
                   ` (3 preceding siblings ...)
  2005-07-13 11:38 ` pinskia at gcc dot gnu dot org
@ 2005-07-13 12:38 ` dberlin at gcc dot gnu dot org
  2005-08-29  0:12 ` cvs-commit at gcc dot gnu dot org
  2005-08-29  0:17 ` dberlin at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2005-07-13 12:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dberlin at gcc dot gnu dot org  2005-07-13 12:36 -------
Yeah, it looks like some structure checks will be necessary there.
(if you fix the check for DECL_ARGUMENTS, you will next hit section_name,
vindex, etc).

I'll fix it in a few moments.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dberlin at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-07-13 11:35:26         |2005-07-13 12:36:47
               date|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/22455] [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282
  2005-07-13 11:21 [Bug middle-end/22455] New: [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282 belyshev at depni dot sinp dot msu dot ru
                   ` (4 preceding siblings ...)
  2005-07-13 12:38 ` dberlin at gcc dot gnu dot org
@ 2005-08-29  0:12 ` cvs-commit at gcc dot gnu dot org
  2005-08-29  0:17 ` dberlin at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-29  0:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-29 00:12 -------
Subject: Bug 22455

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dberlin@gcc.gnu.org	2005-08-29 00:12:21

Modified files:
	gcc            : ChangeLog fold-const.c 

Log message:
	2005-08-28  Daniel Berlin  <dberlin@dberlin.org>
	
	Fix PR middle-end/22455
	
	* fold-const.c (fold_checksum_tree): Adjust for now-largest tree size.
	Checksum only the parts of the tree that exist for the tree code.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9845&r2=2.9846
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.623&r2=1.624



-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug middle-end/22455] [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282
  2005-07-13 11:21 [Bug middle-end/22455] New: [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282 belyshev at depni dot sinp dot msu dot ru
                   ` (5 preceding siblings ...)
  2005-08-29  0:12 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-29  0:17 ` dberlin at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2005-08-29  0:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dberlin at gcc dot gnu dot org  2005-08-29 00:12 -------
Fixed

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-08-29  0:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-13 11:21 [Bug middle-end/22455] New: [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282 belyshev at depni dot sinp dot msu dot ru
2005-07-13 11:24 ` [Bug middle-end/22455] " belyshev at depni dot sinp dot msu dot ru
2005-07-13 11:28 ` pinskia at gcc dot gnu dot org
2005-07-13 11:36 ` pinskia at gcc dot gnu dot org
2005-07-13 11:38 ` pinskia at gcc dot gnu dot org
2005-07-13 12:38 ` dberlin at gcc dot gnu dot org
2005-08-29  0:12 ` cvs-commit at gcc dot gnu dot org
2005-08-29  0:17 ` dberlin at gcc dot gnu dot org

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).