public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/13363] New: [tree-ssa] ICE with arrays
@ 2003-12-09 2:33 pinskia at gcc dot gnu dot org
2003-12-09 2:34 ` [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-09 2:33 UTC (permalink / raw)
To: gcc-bugs
Try to compile this at -O1 or above:
enum machine_mode { MAX_MACHINE_MODE };
enum insn_code { CODE_FOR_nothing };
enum insn_code fixtab[(int) MAX_MACHINE_MODE][(int) MAX_MACHINE_MODE][2];
enum insn_code fixtrunctab[(int) MAX_MACHINE_MODE][(int) MAX_MACHINE_MODE][2];
void
init_optabs ()
{
int i, j;
enum insn_code *p;
for (p = fixtab[0][0];
p < fixtab[0][0] + sizeof fixtab / sizeof (fixtab[0][0][0]);
p++)
*p = CODE_FOR_nothing;
for (p = fixtrunctab[0][0];
p < fixtrunctab[0][0] + sizeof fixtrunctab / sizeof (fixtrunctab[0][0][0]);
p++)
*p = CODE_FOR_nothing;
}
You get:
new.c: In function `init_optabs':
new.c:11: internal compiler error: in maybe_fold_offset_to_array_ref, at tree-ssa-ccp.c:1534
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [tree-ssa] ICE with arrays
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: critical
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13363
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays
2003-12-09 2:33 [Bug optimization/13363] New: [tree-ssa] ICE with arrays pinskia at gcc dot gnu dot org
@ 2003-12-09 2:34 ` pinskia at gcc dot gnu dot org
2003-12-09 16:39 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-09 2:34 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[tree-ssa] ICE with arrays |[tree-ssa] ICE with zero
| |sized arrays
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13363
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays
2003-12-09 2:33 [Bug optimization/13363] New: [tree-ssa] ICE with arrays pinskia at gcc dot gnu dot org
2003-12-09 2:34 ` [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays pinskia at gcc dot gnu dot org
@ 2003-12-09 16:39 ` pinskia at gcc dot gnu dot org
2003-12-16 19:42 ` 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 @ 2003-12-09 16:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-09 16:39 -------
It passes with 2003-12-06 version of the tree-ssa so it is a recent regression.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13363
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays
2003-12-09 2:33 [Bug optimization/13363] New: [tree-ssa] ICE with arrays pinskia at gcc dot gnu dot org
2003-12-09 2:34 ` [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays pinskia at gcc dot gnu dot org
2003-12-09 16:39 ` pinskia at gcc dot gnu dot org
@ 2003-12-16 19:42 ` pinskia at gcc dot gnu dot org
2004-01-26 20:12 ` cvs-commit 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 @ 2003-12-16 19:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-16 19:38 -------
Fixed in at least 20031216.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13363
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays
2003-12-09 2:33 [Bug optimization/13363] New: [tree-ssa] ICE with arrays pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2003-12-16 19:42 ` pinskia at gcc dot gnu dot org
@ 2004-01-26 20:12 ` cvs-commit at gcc dot gnu dot org
2004-01-26 20:12 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-26 20:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-26 20:12 -------
Subject: Bug 13363
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: mmitchel@gcc.gnu.org 2004-01-26 20:12:22
Modified files:
gcc/cp : semantics.c
Added files:
gcc/testsuite/g++.dg/expr: for1.C
Log message:
PR c++/13663
* semantics.c (finish_for_expr): Check for unresolved overloaded
functions.
PR c++/13363
* g++.dg/expr/for1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.381.4.3&r2=1.381.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/for1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13363
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays
2003-12-09 2:33 [Bug optimization/13363] New: [tree-ssa] ICE with arrays pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-01-26 20:12 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-26 20:12 ` cvs-commit at gcc dot gnu dot org
2004-01-26 20:15 ` cvs-commit at gcc dot gnu dot org
2004-01-26 21:07 ` bangerth at dealii dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-26 20:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-26 20:11 -------
Subject: Bug 13363
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2004-01-26 20:11:47
Modified files:
gcc/cp : ChangeLog semantics.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/expr: for1.C
Log message:
PR c++/13663
* semantics.c (finish_for_expr): Check for unresolved overloaded
functions.
PR c++/13363
* g++.dg/expr/for1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3910&r2=1.3911
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.384&r2=1.385
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3424&r2=1.3425
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/for1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13363
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays
2003-12-09 2:33 [Bug optimization/13363] New: [tree-ssa] ICE with arrays pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-01-26 20:12 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-26 20:15 ` cvs-commit at gcc dot gnu dot org
2004-01-26 21:07 ` bangerth at dealii dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-26 20:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-26 20:13 -------
Subject: Bug 13363
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: mmitchel@gcc.gnu.org 2004-01-26 20:13:33
Modified files:
gcc/cp : ChangeLog
gcc/testsuite : ChangeLog
Log message:
PR c++/13663
* semantics.c (finish_for_expr): Check for unresolved overloaded
functions.
PR c++/13363
* g++.dg/expr/for1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.16&r2=1.3892.2.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.20&r2=1.3389.2.21
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13363
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays
2003-12-09 2:33 [Bug optimization/13363] New: [tree-ssa] ICE with arrays pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-01-26 20:15 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-26 21:07 ` bangerth at dealii dot org
6 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2004-01-26 21:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-01-26 21:07 -------
Note that above CVS commits were added accidentially to this PR due to
a typo in the PR number.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13363
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-01-26 21:07 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-09 2:33 [Bug optimization/13363] New: [tree-ssa] ICE with arrays pinskia at gcc dot gnu dot org
2003-12-09 2:34 ` [Bug optimization/13363] [tree-ssa] ICE with zero sized arrays pinskia at gcc dot gnu dot org
2003-12-09 16:39 ` pinskia at gcc dot gnu dot org
2003-12-16 19:42 ` pinskia at gcc dot gnu dot org
2004-01-26 20:12 ` cvs-commit at gcc dot gnu dot org
2004-01-26 20:12 ` cvs-commit at gcc dot gnu dot org
2004-01-26 20:15 ` cvs-commit at gcc dot gnu dot org
2004-01-26 21:07 ` bangerth at dealii 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).