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: haifa-sched.c: Internal compiler error


hjl@lucon.org (H.J. Lu) writes:

|> > 
|> > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
|> > -fomit-frame-pointer -D__powerpc__ -fsigned-char -msoft-float -pipe
|> > -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple -mstring   -c -o
|> > super.o super.c
|> > ../../gcc/haifa-sched.c:7593: Internal compiler error in function
|> > schedule_region
|> > cpp: output pipe has been closed
|> > make[2]: *** [super.o] Error 1
|> > 
|> 
|> FYI, all egcs since the last gcc2 merge may be miscompiled due to
|> a combine bug from gcc2.

It may be fixed by a the following change in gcc2, which is part of the
latest snapshot:

        * combine.c (simplify_comparison, case AND): Don't commute AND
        with SUBREG if constant is whole mode and don't do if lowpart
        and not WORD_REGISTER_OPERATIONS.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org


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