[Bug c/13448] New: gcc 3.3.2, internal error when -O3 and trying to modify function const arg

luczajm at polbox dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 19 16:39:00 GMT 2003


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



More information about the Gcc-bugs mailing list