Assembler warning: Warning: .space repeat count is zero, ignored

Jan Hubicka jh@suse.cz
Mon May 12 18:57:00 GMT 2003


> On hppa64-hp-hpux11.00 with gas style assembler output, I see
> the warnings are coming from lines like:
> 
> 	.zero   18446744073709551614
> 
> This is a rather large skip!
> 
> hppa64-hp-hpux11.00 is using the define for ASM_OUTPUT_SKIP from elfos.h.

That is what puzzles me.  The definition:
#define ASM_OUTPUT_SKIP(FILE, SIZE) \
   fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
               SKIP_ASM_OP, (SIZE))
Really should match the uses.  Perhaps I messed up the tree so something
didn't get commited as for me it works.  Or perhaps something underflows
because of unsigned math...  Can you drop this into debugger and figure
out from where the wrong value comes?

Honza
> 
> Dave
> -- 
> J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
> National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Gcc mailing list