public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Assembler warning: Warning: .space repeat count is zero, ignored
@ 2003-05-12 16:03 H. J. Lu
  2003-05-12 16:10 ` Andreas Tobler
  0 siblings, 1 reply; 10+ messages in thread
From: H. J. Lu @ 2003-05-12 16:03 UTC (permalink / raw)
  To: gcc

With today's gcc, I saw many

/tmp/ccYeoniW.s:568: Warning: .space repeat count is zero, ignored
/tmp/ccYeoniW.s:575: Warning: .space repeat count is zero, ignored
/tmp/ccYeoniW.s:577: Warning: .space repeat count is zero, ignored

on both Linux/i386 and Linux/ia64. Has anyone else seen those?


H.J.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Assembler warning: Warning: .space repeat count is zero, ignored
  2003-05-12 16:03 Assembler warning: Warning: .space repeat count is zero, ignored H. J. Lu
@ 2003-05-12 16:10 ` Andreas Tobler
  2003-05-12 17:18   ` H. J. Lu
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Tobler @ 2003-05-12 16:10 UTC (permalink / raw)
  To: H. J. Lu, Jan Hubicka; +Cc: gcc

H. J. Lu wrote:
> With today's gcc, I saw many
> 
> /tmp/ccYeoniW.s:568: Warning: .space repeat count is zero, ignored
> /tmp/ccYeoniW.s:575: Warning: .space repeat count is zero, ignored
> /tmp/ccYeoniW.s:577: Warning: .space repeat count is zero, ignored
> 
> on both Linux/i386 and Linux/ia64. Has anyone else seen those?


Yep, on darwin a similar one even after Honza's fix for darwin.

/var/tmp//ccA2jB5g.s:28000:Repeat < 0, .space ignored
/var/tmp//ccA2jB5g.s:28002:Repeat < 0, .space ignored

Andreas

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Assembler warning: Warning: .space repeat count is zero, ignored
  2003-05-12 16:10 ` Andreas Tobler
@ 2003-05-12 17:18   ` H. J. Lu
  2003-05-12 17:19     ` Andreas Tobler
  2003-05-12 18:57     ` Jan Hubicka
  0 siblings, 2 replies; 10+ messages in thread
From: H. J. Lu @ 2003-05-12 17:18 UTC (permalink / raw)
  To: Andreas Tobler; +Cc: Jan Hubicka, gcc

On Mon, May 12, 2003 at 06:10:01PM +0200, Andreas Tobler wrote:
> H. J. Lu wrote:
> > With today's gcc, I saw many
> > 
> > /tmp/ccYeoniW.s:568: Warning: .space repeat count is zero, ignored
> > /tmp/ccYeoniW.s:575: Warning: .space repeat count is zero, ignored
> > /tmp/ccYeoniW.s:577: Warning: .space repeat count is zero, ignored
> > 
> > on both Linux/i386 and Linux/ia64. Has anyone else seen those?
> 
> 
> Yep, on darwin a similar one even after Honza's fix for darwin.
> 
> /var/tmp//ccA2jB5g.s:28000:Repeat < 0, .space ignored
> /var/tmp//ccA2jB5g.s:28002:Repeat < 0, .space ignored
> 

This error message causes so many libjava failures. Jan, did you get
any new "make check" failures in libjava on Linux/x86?


H.J.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Assembler warning: Warning: .space repeat count is zero, ignored
  2003-05-12 17:18   ` H. J. Lu
@ 2003-05-12 17:19     ` Andreas Tobler
  2003-05-12 18:57     ` Jan Hubicka
  1 sibling, 0 replies; 10+ messages in thread
From: Andreas Tobler @ 2003-05-12 17:19 UTC (permalink / raw)
  To: H. J. Lu; +Cc: Jan Hubicka, gcc

H. J. Lu wrote:

> On Mon, May 12, 2003 at 06:10:01PM +0200, Andreas Tobler wrote:
> 
>>H. J. Lu wrote:
>>
>>>With today's gcc, I saw many
>>>
>>>/tmp/ccYeoniW.s:568: Warning: .space repeat count is zero, ignored
>>>/tmp/ccYeoniW.s:575: Warning: .space repeat count is zero, ignored
>>>/tmp/ccYeoniW.s:577: Warning: .space repeat count is zero, ignored
>>>
>>>on both Linux/i386 and Linux/ia64. Has anyone else seen those?
>>
>>
>>Yep, on darwin a similar one even after Honza's fix for darwin.
>>
>>/var/tmp//ccA2jB5g.s:28000:Repeat < 0, .space ignored
>>/var/tmp//ccA2jB5g.s:28002:Repeat < 0, .space ignored
>>
> 
> 
> This error message causes so many libjava failures. Jan, did you get
> any new "make check" failures in libjava on Linux/x86?

Aeh, here with me it is a bootstrap failure! Not just a warning.

Andreas



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Assembler warning: Warning: .space repeat count is zero, ignored
  2003-05-12 17:18   ` H. J. Lu
  2003-05-12 17:19     ` Andreas Tobler
@ 2003-05-12 18:57     ` Jan Hubicka
  1 sibling, 0 replies; 10+ messages in thread
From: Jan Hubicka @ 2003-05-12 18:57 UTC (permalink / raw)
  To: H. J. Lu; +Cc: Andreas Tobler, Jan Hubicka, gcc

> On Mon, May 12, 2003 at 06:10:01PM +0200, Andreas Tobler wrote:
> > H. J. Lu wrote:
> > > With today's gcc, I saw many
> > > 
> > > /tmp/ccYeoniW.s:568: Warning: .space repeat count is zero, ignored
> > > /tmp/ccYeoniW.s:575: Warning: .space repeat count is zero, ignored
> > > /tmp/ccYeoniW.s:577: Warning: .space repeat count is zero, ignored
> > > 
> > > on both Linux/i386 and Linux/ia64. Has anyone else seen those?
> > 
> > 
> > Yep, on darwin a similar one even after Honza's fix for darwin.
> > 
> > /var/tmp//ccA2jB5g.s:28000:Repeat < 0, .space ignored
> > /var/tmp//ccA2jB5g.s:28002:Repeat < 0, .space ignored
> > 
> 
> This error message causes so many libjava failures. Jan, did you get
> any new "make check" failures in libjava on Linux/x86?
I think so, but apparently I didn't.  I am working on a fix.
Sorry for that!

Honza
> 
> 
> H.J.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Assembler warning: Warning: .space repeat count is zero, ignored
  2003-05-12 19:23     ` Andrew Pinski
@ 2003-05-12 19:28       ` Jan Hubicka
  0 siblings, 0 replies; 10+ messages in thread
From: Jan Hubicka @ 2003-05-12 19:28 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: Jan Hubicka, John David Anglin, gcc, hjl

> Looks like Jan's patch did not match Jan's ChangeLog:
>         * varasm.c (asm_output_bss, asm_output_aligned_bss,
>         asm_emit_uninitialized, assemble_zeros, assemble_static_space):
>         HOST_WIDE_INT argument
> 
> When in reality, assemble_zeros and output_constant, now take `unsigned 
> HOST_WIDE_INT', not just `HOST_WIDE_INT'.

Oops, sorry for that.  I was asked to unsignetize the output (as
otherwise the data structures larger than half of address space would be
misscompiled) and forgot to update changelogs.  Hope that the
output_constant will fix the problems.

Honza

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Assembler warning: Warning: .space repeat count is zero, ignored
  2003-05-12 19:16   ` Andrew Pinski
@ 2003-05-12 19:23     ` Andrew Pinski
  2003-05-12 19:28       ` Jan Hubicka
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Pinski @ 2003-05-12 19:23 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: Jan Hubicka, John David Anglin, gcc, hjl

Looks like Jan's patch did not match Jan's ChangeLog:
         * varasm.c (asm_output_bss, asm_output_aligned_bss,
         asm_emit_uninitialized, assemble_zeros, assemble_static_space):
         HOST_WIDE_INT argument

When in reality, assemble_zeros and output_constant, now take `unsigned 
HOST_WIDE_INT', not just `HOST_WIDE_INT'.

Thanks,
Andrew Pinski



On Monday, May 12, 2003, at 15:11 US/Eastern, Andrew Pinski wrote:

> That is what I am doing right now:
> #0  assemble_zeros (size=4294967294) at 
> /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/varasm.c:1235
> #1  0x000583a0 in output_constant (exp=0x109fc30, size=4294967294, 
> align=16) at 
> /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/varasm.c:3918
>
> (gdb) p (long)size
> $2 = -2
>
> Looks like someone said size is unsigned when it really is signed (can 
> be less than 0).
>
> From gcc/varasm.c:
> 1234        if (size > 0)
> 1235          ASM_OUTPUT_SKIP (asm_out_file, size);
>
> Thanks,
> Andrew Pinski
>
>
> On Monday, May 12, 2003, at 14:46 US/Eastern, Jan Hubicka wrote:
>
>>> 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)
>>
>>
>
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Assembler warning: Warning: .space repeat count is zero, ignored
  2003-05-12 18:57 ` Jan Hubicka
@ 2003-05-12 19:16   ` Andrew Pinski
  2003-05-12 19:23     ` Andrew Pinski
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Pinski @ 2003-05-12 19:16 UTC (permalink / raw)
  To: Jan Hubicka; +Cc: Andrew Pinski, John David Anglin, gcc, hjl

That is what I am doing right now:
#0  assemble_zeros (size=4294967294) at 
/Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/varasm.c:1235
#1  0x000583a0 in output_constant (exp=0x109fc30, size=4294967294, 
align=16) at 
/Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/varasm.c:3918

(gdb) p (long)size
$2 = -2

Looks like someone said size is unsigned when it really is signed (can 
be less than 0).

 From gcc/varasm.c:
1234        if (size > 0)
1235          ASM_OUTPUT_SKIP (asm_out_file, size);

Thanks,
Andrew Pinski


On Monday, May 12, 2003, at 14:46 US/Eastern, Jan Hubicka wrote:

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Assembler warning: Warning: .space repeat count is zero, ignored
  2003-05-12 18:57 John David Anglin
@ 2003-05-12 18:57 ` Jan Hubicka
  2003-05-12 19:16   ` Andrew Pinski
  0 siblings, 1 reply; 10+ messages in thread
From: Jan Hubicka @ 2003-05-12 18:57 UTC (permalink / raw)
  To: John David Anglin; +Cc: gcc, hjl, jh

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Assembler warning: Warning: .space repeat count is zero, ignored
@ 2003-05-12 18:57 John David Anglin
  2003-05-12 18:57 ` Jan Hubicka
  0 siblings, 1 reply; 10+ messages in thread
From: John David Anglin @ 2003-05-12 18:57 UTC (permalink / raw)
  To: gcc; +Cc: hjl, jh

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.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-05-12 19:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12 16:03 Assembler warning: Warning: .space repeat count is zero, ignored H. J. Lu
2003-05-12 16:10 ` Andreas Tobler
2003-05-12 17:18   ` H. J. Lu
2003-05-12 17:19     ` Andreas Tobler
2003-05-12 18:57     ` Jan Hubicka
2003-05-12 18:57 John David Anglin
2003-05-12 18:57 ` Jan Hubicka
2003-05-12 19:16   ` Andrew Pinski
2003-05-12 19:23     ` Andrew Pinski
2003-05-12 19:28       ` Jan Hubicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).