Compiling as C works, C++ fails. This worked with 20060823. (sid)118:[EMAIL PROTECTED]: ~] /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:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ -c re-ru32un.c (sid)120:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O re-ru32un.c (sid)121:[EMAIL PROTECTED]: ~] 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