This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Fix s390x PR target/14533


Hi Jakub,

> (const:DI (plus:DI (unspec:DI [
>                 (symbol_ref:DI ("b"))
>             ] UNSPEC_GOT)
>         (const_int 4 [0x4])))

This could actually be accepted as legitimate in the first place.
I just hadn't thought the could be any valid use of parts of a
GOT slot, but this obviously is one ...  However, that's another
issue.

> 	PR target/14533
> 	* config/s390/s390.c (legitimize_pic_address): Don't abort on UNSPEC
> 	other than UNSPEC_GOTOFF.
> 
> 	* gcc.dg/20040311-2.c: New test.

OK.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


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