* symtab.c (symtab_node::increase_alignment): Correct max
alignment check.
From-SVN: r265404
+2018-10-22 Paul Koning <ni1d@arrl.net>
+
+ * symtab.c (symtab_node::increase_alignment): Correct max
+ alignment check.
+
2018-10-22 Yury Gribov <tetra2005@gmail.com>
PR tree-optimization/87633
void
symtab_node::increase_alignment (unsigned int align)
{
- gcc_assert (can_increase_alignment_p () && align < MAX_OFILE_ALIGNMENT);
+ gcc_assert (can_increase_alignment_p () && align <= MAX_OFILE_ALIGNMENT);
ultimate_alias_target()->call_for_symbol_and_aliases (increase_alignment_1,
(void *)(size_t) align,
true);