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

Bug#55263: [PATCH] fixed in 2.96 CVS, here's a backport of the diff

David Huggins-Daines writes:
 > Hi,
 > I've found the minimal set of optimization flags that will produce
 > this error (the -O is necessary):
 > [dhd@doppelbock]:~/src/debian/ncurses4.2-4.2/obj_s$ cc -I../ncurses -I.  -DNDEBUG -I. -I../include -DHAVE_CONFIG_H -DTERMINFO=\"/usr/share/terminfo\" -O  -fcse-skip-blocks -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -D_REENTRANT -fPIC -c ../ncurses/softscroll.c
 > ../ncurses/softscroll.c: In function `_nc_perform_scroll':
 > ../ncurses/softscroll.c:257: internal error--unrecognizable insn:
 > (insn 1213 1212 1215 (set (reg/v:DI 531)
 >         (mem/f:DI (symbol_ref:DI ("SP")) 0)) -1 (nil)
 >     (nil))
 > However, it seems that the bug is fixed in 2.96 from current CVS.
 > Here is the diff from 2.95.2 to 2.96 that solves the problem (I've
 > tested it, it seems to work):

included in gcc-2.95.2-7, which you find at master.debian.org:~doko/gcc
I did not build this version on alpha.

Other changes are:

gcc (2.95.2-7) frozen unstable; urgency=low

  * debian/patches/gcc-empty-struct-init.dpatch; Apply patch from
    http://gcc.gnu.org/ml/gcc-patches/2000-02/msg00637.html. Fixes
    compilation of 2.3.4x kernels.
  * debian/patches/gcc-emit-rtl.dpatch: Apply patch from David Huggins-Daines
    <dhuggins@linuxcare.com> (backport from 2.96 CVS to fix #55263).
  * debian/patches/gcc-pointer-arith: Apply patch from Jim Kingdon
    <kingdon@redhat.com> (backport from 2.96 CVS to fix #54951).

Reply to: