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][target/i386] PR 61599


> Hi,
> 
>    I have attached a patch for this bug:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61599. Is this alright?
> 
> Thanks
> Sri

> Patch to fix PR 61599: 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61599
> 
> Function int_size_in_bytes returns -1 in as the size in cases where
> the size of the type can vary or is larger than integer.  In these
> cases it is safer to assume that this is in large data.
> 
> 	PR target/61599
> 	* config/i386/i386.c (ix86_in_large_data_p): Check for size less
> 	than zero.
> 
> 	* gcc.target/i386/pr61599-1.c: New test.
> 	* gcc.target/i386/pr61599-2.c: New test.

OK,
thanks!
Honza


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