This is the mail archive of the gcc@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: Assembler warning: Warning: .space repeat count is zero, ignored


> 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)


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