Compiling RTEMS with -O3 the webserver code with 4.0.0 and 4.1.0 generates the
following ICE:

$ m68k-rtems-gcc -m5200 --pipe -DHAVE_CONFIG_H   -I.. -I../../../lib/include
-DWEBS -DUEMF  -Wall -fasm -O3 -g  -m5200 -MT libhttpd_a-ejlex.o -MD -MP -MF
".deps/libhttpd_a-ejlex.Tpo" -c -o libhttpd_a-ejlex.o `test -f 'ejlex.c' || echo
'../../../../../head/cpukit/httpd/'`ejlex.c -save-temps
../../../../../head/cpukit/httpd/ejlex.c: In function ‘ejLexGetToken’:
../../../../../head/cpukit/httpd/ejlex.c:207: error: insn does not satisfy its
constraints:
(insn 3295 1381 1382 98 ../../../../../head/cpukit/httpd/ejlex.c:678 (set
(reg:QI 1 %d1)
        (reg:QI 8 %a0)) 34 {*m68k.md:754} (nil)
    (nil))
../../../../../head/cpukit/httpd/ejlex.c:207: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:391
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

$ m68k-rtems-gcc -v
Using built-in specs.
Target: m68k-rtems
Configured with: ../cvs/head/configure --target=m68k-rtems
--prefix=/local/tools/head --with-gnu-as --with-gnu-ld --with-newlib
--enable-threads=rtems --enable-languages=c,c++
Thread model: rtems
gcc version 4.1.0 20050515 (experimental)

-- 
           Summary: ICE in reload_cse_simplify_operands for Coldfire.
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cjohns at cybertec dot com dot au
                CC: corsepiu at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
                    dot org,joel at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m68k-rtems


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

Reply via email to