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] Fix ICE for static vars in offloaded functions


On Wed, Mar 07, 2018 at 02:20:26PM +0100, Tom de Vries wrote:
> Fix ICE for static vars in offloaded functions
> 
> 2018-03-06  Tom de Vries  <tom@codesourcery.com>
> 
> 	PR lto/84592
> 	* varpool.c (varpool_node::get_create): Mark static variables in
> 	offloaded functions as offloadable.
> 
> 	* testsuite/libgomp.c/pr84592-2.c: New test.
> 	* testsuite/libgomp.c/pr84592.c: New test.
> 	* testsuite/libgomp.oacc-c-c++-common/pr84592-3.c: New test.

Ok, thanks

	Jakub


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