help-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug target/14542] New: ICE on simple source


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug target/14542] New: ICE on simple source
Date: 12 Mar 2004 01:56:38 -0000

Here is is ICE message:

$ m6811-elf-gcc -c -m68hc12 -O3 -fomit-frame-pointer  strcat.c
strcat.c: In function `strcat':
strcat.c:18: internal compiler error: in verify_local_live_at_start, at 
flow.c:546
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Environment:
System: Linux namsh 2.6.4 #66 Thu Mar 11 22:55:35 KST 2004 i686 athlon i386 
GNU/Linux
Architecture: i686

        
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: m6811-unknown-none
configured with: ../configure --disable-nls --target=m6811-elf 
--prefix=/usr/GNUHCS --program-prefix=m6811-elf- --with-gnu-ld --with-gnu-as 
--disable-shared --enable-languages=c,c++ --without-headers --with-newlib

How-To-Repeat:
Here is a source:

/* strcat.c */
char *strcat(char *d, const char *s)
{
    char *p = d;
    while (*d) d++;
    while ((*d = *s) != '\0') { d++; s++; }
    return p;
}
------- Additional Comments From namsh at kldp dot org  2004-03-12 01:56 -------
Fix:
        1.  Do not use '-fomit-frame-pointer'
        2.  Use '-O2' instead of '-O3'.

-- 
           Summary: ICE on simple source
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: namsh at kldp dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m6811-unknown-none


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14542




reply via email to

[Prev in Thread] Current Thread [Next in Thread]