This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c/3643: GCC 3.0 is not functional for ARC target



>Number:         3643
>Category:       c
>Synopsis:       GCC 3.0 is not functional for ARC target
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 11 01:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     francisco.blasco@ds2.es
>Release:        GNU C version 3.1 20010710 (experimental) (arc-elf)
>Organization:
>Environment:
GNU C version 3.1 20010710 (experimental) (arc-elf)
        compiled by GNU C version 2.95.3 20010315 (release).


>Description:
When I try compiling this program:

int ll(int k)
{
  return k<0?1234:0;
}

I compile with the command:
./xgcc -O1 -DCROSS_COMPILE -S -o - /local/fblasco/kk/kk3.c -save-temps

Compiler crashes with this report:/local/fblasco/kk/kk3.c: In function `ll':
/local/fblasco/kk/kk3.c:4: Internal compiler error in simplify_gen_subreg, at simplify-rtx.c:2439
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


If I compile with -O0 (without optimizations), the compiler works OK.

>How-To-Repeat:
Try to compile the 3 lines of code I sent.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]