--- Comment #8 from sdyoung at miranda dot org 2007-08-08 17:34 ---
Consider:
main() {
int x[0xFFFD];
}
fails to compile (array too large).
main() {
int y = 0xFFFD;
int x[y];
}
does compile. Somewhere, your error checking (or lack thereof) for VLAs is
broken. Unless
--- Comment #4 from sdyoung at miranda dot org 2007-08-08 17:18 ---
I should clarify that the assembly below is generated from exactly the code I
included in my original bug report.
Furthermore, if it is being converted to 0xFFFD, then
#include
int main(int argc, char **argv
--- Comment #3 from sdyoung at miranda dot org 2007-08-08 17:14 ---
Subject: Re: gcc allows negatively-sized arrays
On Wed, Aug 08, 2007 at 04:55:08PM -, pinskia at gcc dot gnu dot org wrote:
> --- Comment #2 from pinskia at gcc dot gnu dot org 2007-08-08 16