avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bug #29280] Illegal opcode for at90usb162 if optimizatio


From: Gabriel Csefalvay
Subject: [avr-libc-dev] [bug #29280] Illegal opcode for at90usb162 if optimizations enabled
Date: Sun, 21 Mar 2010 08:49:06 +0000
User-agent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.2.15 Version/10.10

URL:
  <http://savannah.nongnu.org/bugs/?29280>

                 Summary: Illegal opcode for at90usb162 if optimizations
enabled
                 Project: AVR C Runtime Library
            Submitted by: havier
            Submitted on: Sun 21 Mar 2010 08:49:05 AM GMT
                Category: Build Infrastructure
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build system
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.4.7
           Fixed Release: None

    _______________________________________________________

Details:


The compiler exits with the msg "Error: illegal opcode mul for mcu
at90usb162", when I run the following command:

$avr-gcc -mmcu=at90usb162 -Os -Wa,-adhlms=bugrprt.lst  bugrprt.c -o
bugrprt.o

The sample C code is attached. Using -O0 it compiles ok.


info:

version.h
#define __AVR_LIBC_VERSION__        10407UL

$avr-gcc -v
Using built-in specs.
Target: avr
Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr
--infodir=/usr/share/info --mandir=/usr/share/man --enable-shared
--with-system-zlib --enable-long-long --enable-nls --without-included-gettext
--disable-checking --disable-libssp --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=avr
Thread model: single
gcc version 4.2.2




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 21 Mar 2010 08:49:05 AM GMT  Name: bugrprt.c  Size: 390B   By:
havier

<http://savannah.nongnu.org/bugs/download.php?file_id=19992>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?29280>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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