public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/16216] New: [3.5 Regression] ICE in gimplify_va_arg_expr after error
@ 2004-06-25 23:32 pinskia at gcc dot gnu dot org
2004-06-25 23:35 ` [Bug middle-end/16216] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-25 23:32 UTC (permalink / raw)
To: gcc-bugs
I saw this when I was looking to PR 16211 because I acidently compiled the C++ code with the C
compiler:
void func()
{
const char *pek; int i;
pek=__builtin_va_arg(ap,const char*);
}
--
Summary: [3.5 Regression] ICE in gimplify_va_arg_expr after error
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: minor
Priority: P2
Component: middle-end
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,rth at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16216
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/16216] [3.5 Regression] ICE in gimplify_va_arg_expr after error
2004-06-25 23:32 [Bug middle-end/16216] New: [3.5 Regression] ICE in gimplify_va_arg_expr after error pinskia at gcc dot gnu dot org
@ 2004-06-25 23:35 ` pinskia at gcc dot gnu dot org
2004-06-29 23:09 ` rth at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-25 23:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-25 23:31 -------
Oh here is the ICE:
pr16211.c:6: error: 'ap' undeclared (first use in this function)
pr16211.c:6: error: (Each undeclared identifier is reported only once
pr16211.c:6: error: for each function it appears in.)
pr16211.c:6: internal compiler error: tree check: expected class 't', have 'x' (error_mark) in
gimplify_va_arg_expr, at builtins.c:4486
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16216
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/16216] [3.5 Regression] ICE in gimplify_va_arg_expr after error
2004-06-25 23:32 [Bug middle-end/16216] New: [3.5 Regression] ICE in gimplify_va_arg_expr after error pinskia at gcc dot gnu dot org
2004-06-25 23:35 ` [Bug middle-end/16216] " pinskia at gcc dot gnu dot org
@ 2004-06-29 23:09 ` rth at gcc dot gnu dot org
2004-06-29 23:18 ` cvs-commit at gcc dot gnu dot org
2004-06-30 0:10 ` rth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-06-29 23:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-06-29 23:00 -------
Testing a patch.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16216
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/16216] [3.5 Regression] ICE in gimplify_va_arg_expr after error
2004-06-25 23:32 [Bug middle-end/16216] New: [3.5 Regression] ICE in gimplify_va_arg_expr after error pinskia at gcc dot gnu dot org
2004-06-25 23:35 ` [Bug middle-end/16216] " pinskia at gcc dot gnu dot org
2004-06-29 23:09 ` rth at gcc dot gnu dot org
@ 2004-06-29 23:18 ` cvs-commit at gcc dot gnu dot org
2004-06-30 0:10 ` rth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-29 23:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-29 23:10 -------
Subject: Bug 16216
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2004-06-29 23:10:53
Modified files:
gcc : ChangeLog builtins.c
Added files:
gcc/testsuite/gcc.dg/noncompile: 20040629-1.c
Log message:
PR middle-end/16216
* builtins.c (gimplify_va_arg_expr): Check for valist being
an error_mark_node.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4197&r2=2.4198
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/builtins.c.diff?cvsroot=gcc&r1=1.342&r2=1.343
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/noncompile/20040629-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16216
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/16216] [3.5 Regression] ICE in gimplify_va_arg_expr after error
2004-06-25 23:32 [Bug middle-end/16216] New: [3.5 Regression] ICE in gimplify_va_arg_expr after error pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-06-29 23:18 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-30 0:10 ` rth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-06-30 0:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-06-29 23:57 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16216
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-06-29 23:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-25 23:32 [Bug middle-end/16216] New: [3.5 Regression] ICE in gimplify_va_arg_expr after error pinskia at gcc dot gnu dot org
2004-06-25 23:35 ` [Bug middle-end/16216] " pinskia at gcc dot gnu dot org
2004-06-29 23:09 ` rth at gcc dot gnu dot org
2004-06-29 23:18 ` cvs-commit at gcc dot gnu dot org
2004-06-30 0:10 ` rth 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).