* config/rs6000/rs6000.c (rs6000_xcoff_asm_output_aligned_decl_common): Test for NULL decl.

From-SVN: r253667
This commit is contained in:
David Edelsohn 2017-10-12 00:02:45 +00:00 committed by David Edelsohn
parent e94574b3bf
commit c82da65c68
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-10-11 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/rs6000.c
(rs6000_xcoff_asm_output_aligned_decl_common): Test for NULL decl.
2017-10-11 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/predicates.md (zero_constant, all_ones_constant):

View File

@ -34375,7 +34375,8 @@ rs6000_xcoff_asm_output_aligned_decl_common (FILE *stream,
size, align2);
#ifdef HAVE_GAS_HIDDEN
fputs (rs6000_xcoff_visibility (decl), stream);
if (decl != NULL)
fputs (rs6000_xcoff_visibility (decl), stream);
#endif
putc ('\n', stream);
}