CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]  2026/08/21 07:54:27

Modified files:
        lang/gcc/16    : Makefile 
        lang/gcc/16/patches: patch-gcc_config_sparc_sparc_cc 

Log message:
lang/gcc/16: fix ICE in gcc by compiling LLVM-22 at sparc64

Seems that sparc_legitimize_pic_address can place a LABEL_REF in
UNSPEC_MOVE_PIC and UNSPEC_MOVE_GOTDATA, while
sparc_delegitimize_address assumes that both contain a SYMBOL_REF.

So, it needs to accept LABEL_REF for the PIC cases and keep UNSPEC_TLSLE
restricted to SYMBOL_REF.

This fixes an ICE during RTL combine when compiling PIC code on sparc64.

Reply via email to