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


On Thu, Mar 11, 2004 at 11:42:44PM +0100, Ulrich Weigand wrote:
> 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.

Gas doesn't like them though, for:
a.s:
        lg      %r2,b@GOT(%r12)
        lg      %r2,b+4@GOT(%r12)
        lg      %r2,4+b@GOT(%r12)
I get:
a.s:2: Warning: identifier+constant@got means identifier@got+constant
a.s:3: Warning: identifier+constant@got means identifier@got+constant
and there is no way to turn off that warning.

	Jakub


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