public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/6643: gcc fails in tree check for assignment to variable sized array
@ 2002-05-13 7:16 jakub
0 siblings, 0 replies; 3+ messages in thread
From: jakub @ 2002-05-13 7:16 UTC (permalink / raw)
To: aj, gcc-bugs, gcc-prs, jakub, nobody, pthomas, rth
Synopsis: gcc fails in tree check for assignment to variable sized array
Responsible-Changed-From-To: unassigned->jakub
Responsible-Changed-By: jakub
Responsible-Changed-When: Mon May 13 07:16:52 2002
Responsible-Changed-Why:
http://gcc.gnu.org/ml/gcc-patches/2001-12/msg02054.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6643
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c/6643: gcc fails in tree check for assignment to variable sized array
@ 2003-01-08 1:05 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-01-08 1:05 UTC (permalink / raw)
To: aj, gcc-bugs, gcc-prs, jakub, pthomas, rth
Synopsis: gcc fails in tree check for assignment to variable sized array
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Tue Jan 7 17:05:30 2003
State-Changed-Why:
Fix went in long ago.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6643
^ permalink raw reply [flat|nested] 3+ messages in thread
* c/6643: gcc fails in tree check for assignment to variable sized array
@ 2002-05-13 4:06 pthomas
0 siblings, 0 replies; 3+ messages in thread
From: pthomas @ 2002-05-13 4:06 UTC (permalink / raw)
To: gcc-gnats; +Cc: aj, rth
>Number: 6643
>Category: c
>Synopsis: gcc fails in tree check for assignment to variable sized array
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 13 04:06:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Philipp Thomas, SuSE Linux Ag
>Release: 3.1 20020506
>Organization:
>Environment:
axp-suse-linux
>Description:
Given this test case:
void foo (unsigned int len)
{
char str[len];
str[0] = '\0';
}
gcc with checking enabled fails with:
t.c: In function `foo':
t.c:5: tree check: expected integer_cst, have plus_expr in tree_int_cst_sgn, at tree.c:3513
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-08 1:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-13 7:16 c/6643: gcc fails in tree check for assignment to variable sized array jakub
-- strict thread matches above, loose matches on Subject: below --
2003-01-08 1:05 bangerth
2002-05-13 4:06 pthomas
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).