This is the mail archive of the gcc@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]

Re: AIX bootstrap failure


>>>>> Richard Kenner writes:

Richard> Can you say exactly what's failing and how?

	Overnight I bootstrapped with just your changes and the bootstrap
still failed, so it definitely is one of your November 3 patches.  I am
bootstrapping again without the reload.c, expr.c, and builtins.c changes.
None of the other changes at that time looks easily separable.

	The bootstrap failure is an Internal compiler error in reload, but
occurs when the stage2 compiler builds libgcc, so I assume it is stage1
miscompiling stage2.

	The actual failure is:

./xgcc -B./ -B/gcc/dje/install/powerpc-ibm-aix4.3.3.0-20011110/powerpc-ibm-aix4.3.3.0/bin/ -isystem /gcc/dje/install/powerpc-ibm-aix4.3.3.0-20011110/powerpc-ibm-aix4.3.3.0/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/gcc/dje/src/gcc -I/gcc/dje/src/gcc/. -I/gcc/dje/src/gcc/config -I/gcc/dje/src/gcc/../include -maix64 -fexceptions -c /gcc/dje/src/gcc/unwind-dw2.c -o libgcc/ppc64/unwind-dw2.o
/gcc/dje/src/gcc/unwind-dw2.c: In function `execute_cfa_program':
/gcc/dje/src/gcc/unwind-dw2.c:877: Unable to generate reloads for:
(jump_insn 1027 1015 795 (parallel[ 
            (set (pc)
                (if_then_else (ne (reg:DI 44 f12 [293])
                        (const_int 1 [0x1]))
                    (label_ref 1028)
                    (pc)))
            (set (reg:DI 44 f12 [293])
                (plus:DI (reg:DI 44 f12 [293])
                    (const_int -1 [0xffffffffffffffff])))
            (clobber (scratch:CC))
            (clobber (scratch:DI))
        ] ) 483 {*ctrdi_internal1} (insn_list:REG_DEP_ANTI 758 (insn_list:REG_DEP_ANTI 760 (insn_list:REG_DEP_ANTI 787 (insn_list:REG_DEP_ANTI 1015 (insn_list:REG_DEP_ANTI 744 (insn_list:REG_DEP_ANTI 763 (insn_list:REG_DEP_ANTI 780 (insn_list:REG_DEP_ANTI 789 (nil)))))))))
    (expr_list:REG_UNUSED (scratch:CC)
        (expr_list:REG_UNUSED (scratch:DI)
            (expr_list:REG_BR_PROB (const_int 9375 [0x249f])
                (nil)))))
/gcc/dje/src/gcc/unwind-dw2.c:877: Internal compiler error in find_reloads, at reload.c:3543
Please submit a full bug report, with preprocessed source if appropriate.

	I believe the reload failure is GCC assigning an FPR to the DImode
reg when the constraint is for the CTR register.  Maybe this could mean
register allocation is miscompiled, but I don't know.

	I will let you know what the fine-grained removal of part of your
patch shows.

Thanks, David


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