From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4594 invoked by alias); 8 Sep 2003 14:37:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4567 invoked by alias); 8 Sep 2003 14:37:20 -0000 Date: Mon, 08 Sep 2003 14:37:00 -0000 Message-ID: <20030908143720.4566.qmail@sources.redhat.com> From: "Andrew dot Krassowski at brass dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030908134123.12207.andrewk@brass.com> References: <20030908134123.12207.andrewk@brass.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/12207] Internal compiler error in size_binop, at fold-const.c:2014 X-Bugzilla-Reason: CC X-SW-Source: 2003-09/txt/msg00677.txt.bz2 List-Id: 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.