public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tbm at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/29059] New: [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator ""[0];) Date: Wed, 13 Sep 2006 08:24:00 -0000 [thread overview] Message-ID: <bug-29059-13019@http.gcc.gnu.org/bugzilla/> (raw) Compiling as C works, C++ fails. This worked with 20060823. (sid)118:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/g++ -c -O re-ru32un.c re-ru32un.c: In function 'void LoadUserAlph(char*)': re-ru32un.c:4: error: invalid operand to unary operator ""[0]; re-ru32un.c:4: internal compiler error: verify_stmts failed Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. zsh: exit 1 /usr/lib/gcc-snapshot/bin/g++ -c -O re-ru32un.c (sid)119:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/g++ -c re-ru32un.c (sid)120:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O re-ru32un.c (sid)121:tbm@em64t: ~] cat re-ru32un.c extern char *strcpy (char *__restrict __dest, __const char *__restrict __src); char wrkstr_un[270]; extern void LoadUserAlph (char *s) { s = wrkstr_un; strcpy (s, ""); }; -- Summary: [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator ""[0];) Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29059
next reply other threads:[~2006-09-13 8:24 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-09-13 8:24 tbm at gcc dot gnu dot org [this message] 2006-09-13 16:17 ` [Bug c++/29059] " pinskia at gcc dot gnu dot org 2006-09-13 18:13 ` janis at gcc dot gnu dot org 2006-09-13 18:34 ` pinskia at gcc dot gnu dot org 2006-09-13 21:33 ` tbm at cyrius dot com 2006-09-14 4:11 ` pinskia at gcc dot gnu dot org 2006-09-14 4:12 ` pinskia at gcc dot gnu dot org 2006-09-16 22:52 ` [Bug tree-optimization/29059] " pinskia at gcc dot gnu dot org 2006-09-16 22:52 ` pinskia at gcc dot gnu dot org 2007-06-26 11:49 ` jakub 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=bug-29059-13019@http.gcc.gnu.org/bugzilla/ \ --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).