From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner)
To: mark@codesourcery.com
Cc: gcc@gcc.gnu.org
Subject: Re: PR 8730
Date: Mon, 31 Mar 2003 21:39:00 -0000 [thread overview]
Message-ID: <10303312023.AA11334@vlsi1.ultra.nyu.edu> (raw)
I remember looking at this a while ago and the problem has nothing to
do with expression folding, but rather with context in the C front end,
which I don't know well enough to fix.
The test case in question is
void foo() {
void *bar (int i, int A[1][i]) { return A[0]; };
};
The problem is that the size of A is being computed in the context
of function foo. It needs to be computed in the context of function bar.
Whoever knows the C front end well will have to look at this.
next reply other threads:[~2003-03-31 20:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-31 21:39 Richard Kenner [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-03-31 21:11 Richard Kenner
2003-03-31 21:22 ` Mark Mitchell
2003-03-31 21:03 Mark Mitchell
2003-03-23 19:41 Richard Kenner
2003-03-21 0:21 Mark Mitchell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10303312023.AA11334@vlsi1.ultra.nyu.edu \
--to=kenner@vlsi1.ultra.nyu.edu \
--cc=gcc@gcc.gnu.org \
--cc=mark@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).