public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "andrewk at brass dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/12207] New: Internal compiler error in size_binop, at fold-const.c:2014 Date: Mon, 08 Sep 2003 13:41:00 -0000 [thread overview] Message-ID: <20030908134123.12207.andrewk@brass.com> (raw) 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 Summary: Internal compiler error in size_binop, at fold- const.c:2014 Product: gcc Version: 3.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: andrewk at brass dot com CC: gcc-bugs at gcc dot gnu dot org Version info: gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.2 Also fails with gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) Here are the .i contents - brief, so you get contents instead of attachment # 1 "/ioi/users/andrewk/BP74/2.4/lib/brassii/test/test_ustring.c" # 1 "<built-in>" # 1 "<command line>" # 1 "/ioi/users/andrewk/BP74/2.4/lib/brassii/test/test_ustring.c" # 11 "/ioi/users/andrewk/BP74/2.4/lib/brassii/test/test_ustring.c" const int PRICE_SIZE = 15; int main () { char validPriceStr[][PRICE_SIZE] = { "111111", "0.123456", "999999", "3 1/2", "4 7/256", "5/8", "1 2/3", "0.00000000001", "12.12 ", "5 3 /8", "6.9999999999" }; # 56 "/ioi/users/andrewk/BP74/2.4/lib/brassii/test/test_ustring.c" return 1; } Compiler output: /ioi/users/andrewk/BP74/2.4/lib/brassii/test/test_ustring.c: In function `main': /ioi/users/andrewk/BP74/2.4/lib/brassii/test/test_ustring.c:18: Internal compiler error in size_binop, at fold-const.c:2014 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. Changing PRICE_SIZE to a #define works around this bug.
next reply other threads:[~2003-09-08 13:41 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-09-08 13:41 andrewk at brass dot com [this message] 2003-09-08 14:10 ` [Bug c/12207] " pinskia at gcc dot gnu dot org 2003-09-08 14:37 ` Andrew dot Krassowski at brass dot com 2003-09-08 14:44 ` pinskia at gcc dot gnu dot org 2003-10-02 19:21 ` denis at rouleau dot com 2004-02-06 3:22 ` grothoff at cs dot purdue dot edu 2004-05-06 13:01 ` reichelt at gcc dot gnu dot org 2004-05-06 14:23 ` pinskia at gcc dot gnu dot org 2004-05-13 21:58 ` pinskia at gcc dot gnu dot org 2004-05-13 21:59 ` pinskia at gcc dot gnu dot org 2004-08-18 12:13 ` reichelt at gcc dot gnu dot org 2004-08-18 12:13 ` reichelt at gcc dot gnu dot org 2004-08-18 12:15 ` reichelt at gcc dot gnu dot org 2004-08-18 12:16 ` reichelt at gcc dot gnu dot org
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=20030908134123.12207.andrewk@brass.com \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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).