This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12207] Internal compiler error in size_binop, at fold-const.c:2014
- From: "Andrew dot Krassowski at brass dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2003 14:37:20 -0000
- Subject: [Bug c/12207] Internal compiler error in size_binop, at fold-const.c:2014
- References: <20030908134123.12207.andrewk@brass.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12207
------- Additional Comments From Andrew dot Krassowski at brass dot com 2003-09-08 14:37 -------
Subject: RE: Internal compiler error in size_binop, at fold-const.c:2014
Wow - quick response!
Sorry - when I searched "summary" for "internal compiler error"
I got no results, so I thought this was brand-spanking new.
My construct, using
const int XX_SIZE = 15;
is a real-world usage, resulting from a coding standard directive to
upgrade #define's to const int's.
I'm not sure that a non-const variable
should be allowed to declare array sizes.
Thanks and keep up the great work!
Andy
-----Original Message-----
From: pinskia at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: Monday, September 08, 2003 10:10 AM
To: Krassowski, Andrew
Subject: [Bug c/12207] Internal compiler error in size_binop, at
fold-const.c:2014
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT*
gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12207
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
------------------------------------------------------------------------
----
BugsThisDependsOn| |10089
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2003-09-08 14:10:19
date| |
------- Additional Comments From pinskia at gcc dot gnu dot org
2003-09-08 14:10 -------
Related to bug 10089.
Confirmed on the mainline (20030907).
Reduced a little more:
const int PRICE_SIZE = 15;
int main () {
char validPriceStr[][PRICE_SIZE] = {" "
};
return 1;
}
This is not a regression, just like 10089.
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.