r259337 - in /trunk/gcc: ChangeLog config/nvptx...
vries@gcc.gnu.org
vries@gcc.gnu.org
Thu Apr 12 07:17:00 GMT 2018
Author: vries
Date: Thu Apr 12 07:17:29 2018
New Revision: 259337
URL: https://gcc.gnu.org/viewcvs?rev=259337&root=gcc&view=rev
Log:
[nvptx] Fix handling of extern var with flexible array member
2018-04-12 Tom de Vries <tom@codesourcery.com>
PR target/85296
* config/nvptx/nvptx.c (flexible_array_member_type_p): New function.
(nvptx_assemble_decl_begin): Add undefined param. Declare undefined
array with flexible array member as array without given dimension.
(nvptx_assemble_undefined_decl): Set nvptx_assemble_decl_begin call
argument for undefined param to true.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/nvptx/nvptx.c
More information about the Gcc-cvs
mailing list