public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17424] New: [4.0 regression] ICE with sizeof an undeclared variable
@ 2004-09-11 23:56 reichelt at gcc dot gnu dot org
2004-09-12 0:05 ` [Bug c/17424] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-09-11 23:56 UTC (permalink / raw)
To: gcc-bugs
Here's a (symmetric) testcase that crashes mainline:
============================
;int foezis = sizeof tni;
============================
:1:c.c:1: error: 'tni' undeclared here (not in a function)
:1:c.c:1: internal compiler error: tree check: expected class 't', have 'x'
(error_mark) in c_expr_sizeof_expr, at c-typeck.c:1854
Please submit a full bug report, [etc.]
--
Summary: [4.0 regression] ICE with sizeof an undeclared variable
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored, ice-
checking
Severity: critical
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: bangerth at dealii dot org,gcc-bugs at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17424
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/17424] [4.0 regression] ICE with sizeof an undeclared variable
2004-09-11 23:56 [Bug c/17424] New: [4.0 regression] ICE with sizeof an undeclared variable reichelt at gcc dot gnu dot org
@ 2004-09-12 0:05 ` pinskia at gcc dot gnu dot org
2004-09-12 0:25 ` steven at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-12 0:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-12 00:05 -------
: Search converges between 2004-09-07-trunk (#536) and 2004-09-10-trunk (#537).
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |minor
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-09-12 00:05:09
date| |
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17424
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/17424] [4.0 regression] ICE with sizeof an undeclared variable
2004-09-11 23:56 [Bug c/17424] New: [4.0 regression] ICE with sizeof an undeclared variable reichelt at gcc dot gnu dot org
2004-09-12 0:05 ` [Bug c/17424] " pinskia at gcc dot gnu dot org
@ 2004-09-12 0:25 ` steven at gcc dot gnu dot org
2004-09-12 23:12 ` bangerth at dealii dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-09-12 0:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-09-12 00:25 -------
looks like Joseph is to blame...?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jsm28 at gcc dot gnu dot org
Last reconfirmed|2004-09-12 00:05:09 |2004-09-12 00:25:51
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17424
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/17424] [4.0 regression] ICE with sizeof an undeclared variable
2004-09-11 23:56 [Bug c/17424] New: [4.0 regression] ICE with sizeof an undeclared variable reichelt at gcc dot gnu dot org
2004-09-12 0:05 ` [Bug c/17424] " pinskia at gcc dot gnu dot org
2004-09-12 0:25 ` steven at gcc dot gnu dot org
@ 2004-09-12 23:12 ` bangerth at dealii dot org
2004-09-18 18:28 ` cvs-commit at gcc dot gnu dot org
2004-09-19 20:31 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2004-09-12 23:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-09-12 23:12 -------
Hey, Volker, you're getting good at that! :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17424
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/17424] [4.0 regression] ICE with sizeof an undeclared variable
2004-09-11 23:56 [Bug c/17424] New: [4.0 regression] ICE with sizeof an undeclared variable reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-09-12 23:12 ` bangerth at dealii dot org
@ 2004-09-18 18:28 ` cvs-commit at gcc dot gnu dot org
2004-09-19 20:31 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-18 18:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-18 18:28 -------
Subject: Bug 17424
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jsm28@gcc.gnu.org 2004-09-18 18:28:14
Modified files:
gcc : ChangeLog c-typeck.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: pr17424-1.c
Log message:
PR c/17424
* c-typeck.c (c_expr_sizeof_expr): Check for error_mark_node.
testsuite:
* gcc.dg/pr17424-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5514&r2=2.5515
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.375&r2=1.376
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4313&r2=1.4314
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr17424-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17424
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/17424] [4.0 regression] ICE with sizeof an undeclared variable
2004-09-11 23:56 [Bug c/17424] New: [4.0 regression] ICE with sizeof an undeclared variable reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-09-18 18:28 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-19 20:31 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-19 20:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-19 20:31 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17424
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-09-19 20:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-11 23:56 [Bug c/17424] New: [4.0 regression] ICE with sizeof an undeclared variable reichelt at gcc dot gnu dot org
2004-09-12 0:05 ` [Bug c/17424] " pinskia at gcc dot gnu dot org
2004-09-12 0:25 ` steven at gcc dot gnu dot org
2004-09-12 23:12 ` bangerth at dealii dot org
2004-09-18 18:28 ` cvs-commit at gcc dot gnu dot org
2004-09-19 20:31 ` pinskia 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).