public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed
@ 2010-02-08 12:26 bero at arklinux dot org
2010-02-08 12:29 ` [Bug middle-end/42998] " bero at arklinux dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: bero at arklinux dot org @ 2010-02-08 12:26 UTC (permalink / raw)
To: gcc-bugs
Building Linux kernel 2.6.33-rc7 with gcc 4.5-svn fails with an ICE:
net/ipv6/ndisc.c: In function 'ndisc_fill_addr_option':
net/ipv6/ndisc.c:199:12: error: type mismatch in pointer plus expression
u8 *
void *
unsigned int
pretmp.191_160 = D.41953_14 + 2;
net/ipv6/ndisc.c:199:12: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
This might be related to bug 42749 (similar ICE, but preceded by a different
error message and happens on a different architecture (x86_32, the code
compiles on x86_64)).
--
Summary: [4.5 Regression] ICE: error: verify_stmts failed
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bero at arklinux dot org
GCC build triplet: i686-ark-linux-gnu
GCC host triplet: i686-ark-linux-gnu
GCC target triplet: i686-ark-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/42998] [4.5 Regression] ICE: error: verify_stmts failed
2010-02-08 12:26 [Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed bero at arklinux dot org
@ 2010-02-08 12:29 ` bero at arklinux dot org
2010-02-08 13:00 ` bero at arklinux dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bero at arklinux dot org @ 2010-02-08 12:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bero at arklinux dot org 2010-02-08 12:29 -------
Created an attachment (id=19820)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19820&action=view)
Preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/42998] [4.5 Regression] ICE: error: verify_stmts failed
2010-02-08 12:26 [Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed bero at arklinux dot org
2010-02-08 12:29 ` [Bug middle-end/42998] " bero at arklinux dot org
@ 2010-02-08 13:00 ` bero at arklinux dot org
2010-02-08 13:14 ` [Bug tree-optimization/42998] " rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bero at arklinux dot org @ 2010-02-08 13:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from bero at arklinux dot org 2010-02-08 13:00 -------
Only happens at -O2 and higher
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed
2010-02-08 12:26 [Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed bero at arklinux dot org
2010-02-08 12:29 ` [Bug middle-end/42998] " bero at arklinux dot org
2010-02-08 13:00 ` bero at arklinux dot org
@ 2010-02-08 13:14 ` rguenth at gcc dot gnu dot org
2010-02-08 13:33 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-08 13:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-08 13:14 -------
Confirmed. PRE does this - reducing.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Component|middle-end |tree-optimization
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-02-08 13:14:35
date| |
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed
2010-02-08 12:26 [Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed bero at arklinux dot org
` (2 preceding siblings ...)
2010-02-08 13:14 ` [Bug tree-optimization/42998] " rguenth at gcc dot gnu dot org
@ 2010-02-08 13:33 ` rguenth at gcc dot gnu dot org
2010-02-11 16:54 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-08 13:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-08 13:33 -------
void foo(void *);
void bar(void *);
void ndisc_fill_addr_option(unsigned char *opt, int data_len,
unsigned short addr_type)
{
int pad;
if (addr_type == 32)
pad = 2;
else
pad = 0;
__builtin_memset(opt + 2, 0, pad);
opt += pad;
__builtin_constant_p(data_len) ? foo (opt+2) : bar (opt+2);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed
2010-02-08 12:26 [Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed bero at arklinux dot org
` (3 preceding siblings ...)
2010-02-08 13:33 ` rguenth at gcc dot gnu dot org
@ 2010-02-11 16:54 ` rguenth at gcc dot gnu dot org
2010-02-11 17:01 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-11 16:54 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed
2010-02-08 12:26 [Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed bero at arklinux dot org
` (4 preceding siblings ...)
2010-02-11 16:54 ` rguenth at gcc dot gnu dot org
@ 2010-02-11 17:01 ` rguenth at gcc dot gnu dot org
2010-02-11 17:01 ` rguenth at gcc dot gnu dot org
2010-02-23 17:07 ` hjl at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-11 17:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2010-02-11 17:01 -------
Subject: Bug 42998
Author: rguenth
Date: Thu Feb 11 17:01:21 2010
New Revision: 156704
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156704
Log:
2010-02-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42998
* tree-ssa-pre.c (create_expression_by_pieces): Treat
POINTER_PLUS_EXPR properly.
* gcc.c-torture/compile/pr42998.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr42998.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-pre.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed
2010-02-08 12:26 [Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed bero at arklinux dot org
` (5 preceding siblings ...)
2010-02-11 17:01 ` rguenth at gcc dot gnu dot org
@ 2010-02-11 17:01 ` rguenth at gcc dot gnu dot org
2010-02-23 17:07 ` hjl at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-11 17:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2010-02-11 17:01 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed
2010-02-08 12:26 [Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed bero at arklinux dot org
` (6 preceding siblings ...)
2010-02-11 17:01 ` rguenth at gcc dot gnu dot org
@ 2010-02-23 17:07 ` hjl at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-02-23 17:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from hjl at gcc dot gnu dot org 2010-02-23 17:04 -------
Subject: Bug 42998
Author: hjl
Date: Tue Feb 23 17:02:26 2010
New Revision: 157010
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010
Log:
Backport testcases from mainline.
2010-02-23 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2010-02-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42749
* gcc.c-torture/compile/pr42749.c: New testcase.
2010-02-21 Dodji Seketeli <dodji@redhat.com>
PR c++/42824
* g++.dg/template/memclass4.C: New test.
2010-02-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/43111
* gfortran.dg/internal_pack_8.f90: New test.
2010-02-18 Jason Merrill <jason@redhat.com>
PR c++/43109
* g++.dg/parse/namespace12.C: New.
2010-02-18 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/43066
* gcc.c-torture/compile/pr43066.c: New test.
2010-02-17 Jason Merrill <jason@redhat.com>
PR c++/43069
* g++.dg/parse/namespace11.C: New.
PR c++/43093
* g++.dg/ext/attrib37.C: New.
PR c++/43079
* g++.dg/template/ptrmem20.C: New.
2010-02-16 Jason Merrill <jason@redhat.com>
PR c++/43031
* g++.dg/ext/attrib36.C: New.
2010-02-15 Richard Guenther <rguenther@suse.de>
PR middle-end/43068
* g++.dg/torture/pr43068.C: New testcase.
2010-02-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42998
* gcc.c-torture/compile/pr42998.c: New testcase.
2010-02-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43017
* gcc.dg/torture/pr43017.c: New testcase.
2010-02-10 Richard Guenther <rguenther@suse.de>
PR c/43007
* gcc.c-torture/execute/20100209-1.c: New testcase.
* gcc.dg/fold-div-3.c: Likewise.
2010-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/42999
* gfortran.dg/array_constructor_35.f90: New test.
2010-02-09 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43008
* gcc.c-torture/execute/pr43008.c: New testcase.
2010-02-09 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43000
* gcc.dg/torture/pr43000.c: New testcase.
* gcc.dg/torture/pr43002.c: Likewise.
2010-02-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/42742
* gfortran.dg/fmt_cache_2.f: New test.
2010-02-03 Jason Merrill <jason@redhat.com>
PR c++/42870
* g++.dg/ext/dllexport3.C: New.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/attrib36.C
- copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/ext/attrib36.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/attrib37.C
- copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/ext/attrib37.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/dllexport3.C
- copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/ext/dllexport3.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/namespace11.C
- copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/parse/namespace11.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/namespace12.C
- copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/parse/namespace12.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/memclass4.C
- copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/template/memclass4.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/ptrmem20.C
- copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/template/ptrmem20.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr43068.C
- copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/torture/pr43068.C
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr42749.c
- copied unchanged from r157009,
trunk/gcc/testsuite/gcc.c-torture/compile/pr42749.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr42998.c
- copied unchanged from r157009,
trunk/gcc/testsuite/gcc.c-torture/compile/pr42998.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr43066.c
- copied unchanged from r157009,
trunk/gcc/testsuite/gcc.c-torture/compile/pr43066.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/20100209-1.c
- copied unchanged from r157009,
trunk/gcc/testsuite/gcc.c-torture/execute/20100209-1.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr43008.c
- copied unchanged from r157009,
trunk/gcc/testsuite/gcc.c-torture/execute/pr43008.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/fold-div-3.c
- copied unchanged from r157009, trunk/gcc/testsuite/gcc.dg/fold-div-3.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/pr43000.c
- copied unchanged from r157009,
trunk/gcc/testsuite/gcc.dg/torture/pr43000.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/pr43002.c
- copied unchanged from r157009,
trunk/gcc/testsuite/gcc.dg/torture/pr43002.c
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/array_constructor_35.f90
- copied unchanged from r157009,
trunk/gcc/testsuite/gfortran.dg/array_constructor_35.f90
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/fmt_cache_2.f
- copied unchanged from r157009,
trunk/gcc/testsuite/gfortran.dg/fmt_cache_2.f
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/internal_pack_8.f90
- copied unchanged from r157009,
trunk/gcc/testsuite/gfortran.dg/internal_pack_8.f90
Modified:
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-02-23 17:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-08 12:26 [Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed bero at arklinux dot org
2010-02-08 12:29 ` [Bug middle-end/42998] " bero at arklinux dot org
2010-02-08 13:00 ` bero at arklinux dot org
2010-02-08 13:14 ` [Bug tree-optimization/42998] " rguenth at gcc dot gnu dot org
2010-02-08 13:33 ` rguenth at gcc dot gnu dot org
2010-02-11 16:54 ` rguenth at gcc dot gnu dot org
2010-02-11 17:01 ` rguenth at gcc dot gnu dot org
2010-02-11 17:01 ` rguenth at gcc dot gnu dot org
2010-02-23 17:07 ` hjl 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).