public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/20623] New: ICE: fold check: original tree changed by fold with --enable-checking=fold
@ 2005-03-24 15:07 micis at gmx dot de
  2005-03-24 15:12 ` [Bug tree-optimization/20623] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: micis at gmx dot de @ 2005-03-24 15:07 UTC (permalink / raw)
  To: gcc-bugs

I built gcc from the actual snapshot (gcc-4.1-20050320) with --enable-
checking=fold and run make check.

I got ICEs "fold check: original tree changed by fold" on 28 different files

g++.dg/inherit/ptrmem2.C:23: internal compiler error: fold check: original tree 
changed by fold
g++.dg/parse/defarg5.C:14: internal compiler error: fold check: original tree 
changed by fold
g++.dg/template/ctor1.C:16: internal compiler error: fold check: original tree 
changed by fold
g++.old-deja/g++.ext/anon3.C:26: internal compiler error: fold check: original 
tree changed by fold
g++.old-deja/g++.jason/bool4.C:10: internal compiler error: fold check: 
original tree changed by fold
g++.old-deja/g++.mike/bool2.C:47: internal compiler error: fold check: original 
tree changed by fold
g++.old-deja/g++.mike/pmf8.C:27: internal compiler error: fold check: original 
tree changed by fold
gcc.c-torture/compile/20020701-1.c:33: internal compiler error: fold check: 
original tree changed by fold
gcc.c-torture/execute/builtins/memmove-2.c:23: internal compiler error: fold 
check: original tree changed by fold
gcc.c-torture/execute/builtins/strcat.c:26: internal compiler error: fold 
check: original tree changed by fold
gcc.c-torture/execute/builtins/strncat.c:23: internal compiler error: fold 
check: original tree changed by fold
gcc.c-torture/execute/builtins/strncpy.c:43: internal compiler error: fold 
check: original tree changed by fold
gcc.c-torture/execute/builtins/strstr-asm.c:22: internal compiler error: fold 
check: original tree changed by fold
gcc.c-torture/execute/builtins/strstr-asm.c:36: internal compiler error: fold 
check: original tree changed by fold
gcc.c-torture/execute/builtins/strstr.c:16: internal compiler error: fold 
check: original tree changed by fold
gcc.c-torture/execute/memcpy-bi.c:30: internal compiler error: fold check: 
original tree changed by fold
gcc.c-torture/execute/string-opt-18.c:39: internal compiler error: fold check: 
original tree changed by fold
gcc.dg/builtins-10.c:27: internal compiler error: fold check: original tree 
changed by fold
gcc.dg/builtins-2.c:35: internal compiler error: fold check: original tree 
changed by fold
gcc.dg/builtins-21.c:28: internal compiler error: fold check: original tree 
changed by fold
gcc.dg/builtins-26.c:27: internal compiler error: fold check: original tree 
changed by fold
gcc.dg/builtins-47.c:11: internal compiler error: fold check: original tree 
changed by fold
gcc.dg/builtins-52.c:12: internal compiler error: fold check: original tree 
changed by fold
gcc.dg/builtins-7.c:25: internal compiler error: fold check: original tree 
changed by fold
gcc.dg/pr19402-1.c:8: internal compiler error: fold check: original tree 
changed by fold
gcc.dg/torture/builtin-explog-1.c:66: internal compiler error: fold check: 
original tree changed by fold
gcc.dg/torture/builtin-integral-1.c:53: internal compiler error: fold check: 
original tree changed by fold
gcc.dg/unordered-1.c:7: internal compiler error: fold check: original tree 
changed by fold

All the ICEs above do not occur when I do not specify --enable-checking=fold.

Michael Cieslinski

-- 
           Summary: ICE: fold check: original tree changed by fold with --
                    enable-checking=fold
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: micis at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug tree-optimization/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold
  2005-03-24 15:07 [Bug tree-optimization/20623] New: ICE: fold check: original tree changed by fold with --enable-checking=fold micis at gmx dot de
@ 2005-03-24 15:12 ` pinskia at gcc dot gnu dot org
  2005-04-16 16:38 ` [Bug middle-end/20623] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-24 15:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-24 15:11 -------
Most if not all of the problems are listed in PR 16045.  Well all of the builtins related failures are listed 
there.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |16045
            Summary|ICE: fold check: original   |ICE: fold check: original
                   |tree changed by fold with --|tree changed by fold with --
                   |enable-checking=fold        |enable-checking=fold


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


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

* [Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold
  2005-03-24 15:07 [Bug tree-optimization/20623] New: ICE: fold check: original tree changed by fold with --enable-checking=fold micis at gmx dot de
  2005-03-24 15:12 ` [Bug tree-optimization/20623] " pinskia at gcc dot gnu dot org
@ 2005-04-16 16:38 ` pinskia at gcc dot gnu dot org
  2005-05-31 16:57 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-16 16:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-16 16:38 -------
The C++ failures are most likely PR 20931.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |20931
          Component|tree-optimization           |middle-end
           Keywords|                            |ice-on-valid-code


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


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

* [Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold
  2005-03-24 15:07 [Bug tree-optimization/20623] New: ICE: fold check: original tree changed by fold with --enable-checking=fold micis at gmx dot de
  2005-03-24 15:12 ` [Bug tree-optimization/20623] " pinskia at gcc dot gnu dot org
  2005-04-16 16:38 ` [Bug middle-end/20623] " pinskia at gcc dot gnu dot org
@ 2005-05-31 16:57 ` pinskia at gcc dot gnu dot org
  2005-07-04 21:16 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-31 16:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 20623 depends on bug 20931, which changed state.

Bug 20931 Summary: [4.0/4.1 Regression] fold checking failure
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20931

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold
  2005-03-24 15:07 [Bug tree-optimization/20623] New: ICE: fold check: original tree changed by fold with --enable-checking=fold micis at gmx dot de
                   ` (2 preceding siblings ...)
  2005-05-31 16:57 ` pinskia at gcc dot gnu dot org
@ 2005-07-04 21:16 ` pinskia at gcc dot gnu dot org
  2005-07-05 10:49 ` micis at gmx dot de
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-04 21:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-04 21:16 -------
How many still fail today?

-- 


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


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

* [Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold
  2005-03-24 15:07 [Bug tree-optimization/20623] New: ICE: fold check: original tree changed by fold with --enable-checking=fold micis at gmx dot de
                   ` (3 preceding siblings ...)
  2005-07-04 21:16 ` pinskia at gcc dot gnu dot org
@ 2005-07-05 10:49 ` micis at gmx dot de
  2005-08-18  5:02 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: micis at gmx dot de @ 2005-07-05 10:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From micis at gmx dot de  2005-07-05 10:48 -------
With snapshot gcc-4.1-20050702 the following gcc tests fail:

gcc.c-torture/compile/20020701-1.c
gcc.c-torture/compile/20021108-1.c
gcc.c-torture/compile/920501-7.c
gcc.c-torture/compile/labels-1.c
gcc.c-torture/compile/labels-2.c
gcc.c-torture/compile/labels-3.c
gcc.c-torture/execute/builtins/memmove-2.c
gcc.c-torture/execute/builtins/strcat-chk.c
gcc.c-torture/execute/builtins/strcat.c
gcc.c-torture/execute/builtins/strncat-chk.c
gcc.c-torture/execute/builtins/strncat.c
gcc.c-torture/execute/builtins/strncpy-chk.c
gcc.c-torture/execute/builtins/strncpy.c
gcc.c-torture/execute/builtins/strstr-asm.c
gcc.c-torture/execute/builtins/strstr.c
gcc.c-torture/execute/memcpy-bi.c
gcc.c-torture/execute/string-opt-18.c
gcc.dg/20021029-1.c
gcc.dg/builtins-10.c
gcc.dg/builtins-2.c
gcc.dg/builtins-21.c
gcc.dg/builtins-26.c
gcc.dg/builtins-47.c
gcc.dg/builtins-52.c
gcc.dg/builtins-7.c
gcc.dg/pr16973.c
gcc.dg/pr19402-1.c
gcc.dg/torture/builtin-explog-1.c
gcc.dg/torture/builtin-integral-1.c


All with a message like:
gcc-4.1-20050702/gcc/testsuite/gcc.c-torture/compile/20020701-1.c:33: internal 
compiler error: fold check: original tree changed by fold


Michael Cieslinski


-- 


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


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

* [Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold
  2005-03-24 15:07 [Bug tree-optimization/20623] New: ICE: fold check: original tree changed by fold with --enable-checking=fold micis at gmx dot de
                   ` (4 preceding siblings ...)
  2005-07-05 10:49 ` micis at gmx dot de
@ 2005-08-18  5:02 ` pinskia at gcc dot gnu dot org
  2005-08-18  6:39 ` pinskia at gcc dot gnu dot org
  2005-08-29  0:12 ` dberlin at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-18  5:02 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 20623 depends on bug 16045, which changed state.

Bug 16045 Summary: ICE fold check: original tree changed by fold
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold
  2005-03-24 15:07 [Bug tree-optimization/20623] New: ICE: fold check: original tree changed by fold with --enable-checking=fold micis at gmx dot de
                   ` (5 preceding siblings ...)
  2005-08-18  5:02 ` pinskia at gcc dot gnu dot org
@ 2005-08-18  6:39 ` pinskia at gcc dot gnu dot org
  2005-08-29  0:12 ` dberlin at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-18  6:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-18 05:03 -------
This depends on PR 22455 now as --enable-checking=fold is broken.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |22455


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


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

* [Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold
  2005-03-24 15:07 [Bug tree-optimization/20623] New: ICE: fold check: original tree changed by fold with --enable-checking=fold micis at gmx dot de
                   ` (6 preceding siblings ...)
  2005-08-18  6:39 ` pinskia at gcc dot gnu dot org
@ 2005-08-29  0:12 ` dberlin at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2005-08-29  0:12 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 20623 depends on bug 22455, which changed state.

Bug 22455 Summary: [4.1 regression] ICE tree check: expected function_decl, have type_decl in fold_checksum_tree, at fold-const.c:10282
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22455

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

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


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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-24 15:07 [Bug tree-optimization/20623] New: ICE: fold check: original tree changed by fold with --enable-checking=fold micis at gmx dot de
2005-03-24 15:12 ` [Bug tree-optimization/20623] " pinskia at gcc dot gnu dot org
2005-04-16 16:38 ` [Bug middle-end/20623] " pinskia at gcc dot gnu dot org
2005-05-31 16:57 ` pinskia at gcc dot gnu dot org
2005-07-04 21:16 ` pinskia at gcc dot gnu dot org
2005-07-05 10:49 ` micis at gmx dot de
2005-08-18  5:02 ` pinskia at gcc dot gnu dot org
2005-08-18  6:39 ` pinskia at gcc dot gnu dot org
2005-08-29  0:12 ` 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).