[Bug target/29319] ICE unrecognizable insn: offset too large for larl (breaks glibc)

krebbel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 27 16:27:00 GMT 2006



------- Comment #6 from krebbel at gcc dot gnu dot org  2006-11-27 16:27 -------
Subject: Bug 29319

Author: krebbel
Date: Mon Nov 27 16:26:53 2006
New Revision: 119255

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119255
Log:
2006-11-27  Michael Matz  <matz@suse.de>
            Andreas Krebbel  <krebbel1@de.ibm.com>

        PR target/29319
        * config/s390/predicates.md (larl_operand): Check addend of larl
        operand to be in range of -/+2GB.
        * config/s390/s390.c (legitimize_pic_address): Likewise.  
        Changed type of variable even to HOST_WIDE_INT.

2006-11-27  Michael Matz  <matz@suse.de>
            Andreas Krebbel  <krebbel1@de.ibm.com>

        PR target/29319
        * gcc.dg/20061127-1.c: New testcase.


Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/20061127-1.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/config/s390/predicates.md
    branches/gcc-4_2-branch/gcc/config/s390/s390.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list