Commit 0a0f74aa by Nathan Sidwell Committed by Nathan Sidwell

nvptx.c (nvptx_assemble_undefined_decl): Check it's not a constant pool object.

	* config/nvptx/nvptx.c (nvptx_assemble_undefined_decl): Check
	it's not a constant pool object.

From-SVN: r232003
parent a7557c5e
2015-12-30 Nathan Sidwell <nathan@acm.org>
* config/nvptx/nvptx.c (nvptx_assemble_undefined_decl): Check
it's not a constant pool object.
2015-12-29 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (init_float128_ieee): Remove IEEE 128-bit
......@@ -1718,6 +1718,11 @@ nvptx_globalize_label (FILE *, const char *)
static void
nvptx_assemble_undefined_decl (FILE *file, const char *name, const_tree decl)
{
/* The middle end can place constant pool decls into the varpool as
undefined. Until that is fixed, catch the problem here. */
if (DECL_IN_CONSTANT_POOL (decl))
return;
write_var_marker (file, false, TREE_PUBLIC (decl), name);
fprintf (file, "\t.extern ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment