This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13448] New: gcc 3.3.2, internal error when -O3 and trying to modify function const arg
- From: "luczajm at polbox dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2003 16:32:36 -0000
- Subject: [Bug c/13448] New: gcc 3.3.2, internal error when -O3 and trying to modify function const arg
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc (not g++) reports "Internal compiler error in emit_move_insn_1, at
expr.c:3114" when is run with "-O3" and this source:
void funct(const int n)
{
n++;
}
int main()
{
funct(1);
return 0;
}
Same thing with "gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)" under
Linux (don't know which falvour) and "gcc version 3.3.1 (mingw special 20030804-
1)" under Windows XP.
--
Summary: gcc 3.3.2, internal error when -O3 and trying to modify
function const arg
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: luczajm at polbox dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13448