> -----Original Message-----
> From: Georg-Johann Lay 
> Sent: Monday, September 03, 2012 1:05 PM
> To: Selvaraj, Senthil_Kumar
> Cc: gcc@gcc.gnu.org
> Subject: Re: [AVR] Target specific regression test causes virtual memory
> exhaustion
> 
> Senthil Kumar Selvaraj schrieb:
> > On a 64 bit machine, executing
> >
> > $ make check RUNTESTFLAGS="avr-torture.exp=builtins-1.c --
> target_board=atxmega128a1"
> >
> > causes virtual memory allocation failure and/or large scale machine
> > slowdown, with cc1 using up gobs (>35G) virtual memory.
> >
> > I tracked this down to
> >
> > void delay_4 (void)  { __builtin_avr_delay_cycles (-1ul); }
> >
> > In avr_expand_delay_cycles, the operand is converted into a
> > HOST_WIDE_UINT, which on a 64 bit machine is 0xFFFFFFFFFFFFFFFF. 

Oops. Yes, I would think that that is incorrect. We shouldn't be converting it 
to anything with the host, but to the target UINT.


<snip
> 
> 
> Please file a bug report.
> 

Agreed. Sentil, please put my email address in the CC field of the bug report. 
Thanks!

Eric Weddington

Reply via email to