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]
Other format: [Raw text]

[Bug c/16925] New: ICC when building a m68hc11 cross-compiler on 64-bit architectures


I am unable to build a m68hc11 cross-compiler on 64-bit architectures. xgcc
generates an internal compiler error during the build of libgcc2:

make[1]: Entering directory `/home/aurel32/gcc/gcc-3.4.1/gcc'
for d in libgcc m68hc12 libgcc/m68hc12 mshort libgcc/mshort fshort-double
libgcc/fshort-double mshort/fshort-double libgcc/mshort/fshort-double
m68hc12/mshort libgcc/m68hc12/mshort m68hc12/fshort-double
libgcc/m68hc12/fshort-double m68hc12/mshort/fshort-double
libgcc/m68hc12/mshort/fshort-double; do \
  if [ -d $d ]; then true; else /bin/sh ./mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/home/aurel32/m68hc11/bin/ -isystem /home/aurel32/m68hc11/include
-isystem /home/aurel32/m68hc11/sys-include
-L/home/aurel32/gcc/gcc-3.4.1/gcc/../ld -Os -mrelax  -DUSE_GAS -DIN_GCC -g 
-DIN_LIBGCC2 -Dinhibit_libc -I. -I. -I. -I./. -I./../include 
-DFINE_GRAINED_LIBRARIES -DL_pack_df -c dp-bit.c -o libgcc/./_pack_df.o
dp-bit.c: In function `__pack_d':
dp-bit.c:434: error: could not split insn
(insn:HI 61 613 63 2 dp-bit.c:219 (parallel [
            (set (mem:DI (plus:HI (reg:HI 2 y)
                        (const_int 19 [0x13])) [11 fraction+0 S8 A8])
                (ior:DI (mem:DI (plus:HI (reg:HI 2 y)
                            (const_int 19 [0x13])) [11 fraction+0 S8 A8])
                    (const_int 2251799813685248 [0x8000000000000])))
            (clobber (reg:HI 1 d))
        ]) 81 {iordi3} (nil)
    (expr_list:REG_DEAD (reg:HI 2 y)
        (expr_list:REG_UNUSED (reg:HI 1 d)
            (expr_list:REG_UNUSED (reg:HI 1 d)
                (nil)))))
dp-bit.c:434: internal compiler error: in final_scan_insn, at final.c:2429
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [libgcc/./_pack_df.o] Error 1
make[1]: Leaving directory `/home/aurel32/gcc/gcc-3.4.1/gcc'


The problem is _not_ present in gcc 3.2.3, but present in gcc 3.3.1, gcc 3.3.2,
gcc 3.4.0 and gcc 3.4.1

The problem seems to be present only on 64-bit architectures (alpha, amd64 and
ia64), and in all cases, the problem occurs on the same file, same line, with
the same error message.

configure line used:
./configure --prefix=/home/aurel32 --with-gnu-as --with-gnu-ld --enable-nls
--without-included-gettext --disable-checking --enable-languages=c,c++
--target=m68hc11 --without-headers

-- 
           Summary: ICC when building a m68hc11 cross-compiler on 64-bit
                    architectures
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aurelien at aurel32 dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alphapca56-unknown-linux-gnu
  GCC host triplet: alphapca56-unknown-linux-gnu
GCC target triplet: m68hc11


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


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