toplev.c (compile_file): Reset maximum_field_alignment after parsing.

2015-07-08  Richard Biener  <rguenther@suse.de>

	* toplev.c (compile_file): Reset maximum_field_alignment after parsing.

From-SVN: r225603
This commit is contained in:
Richard Biener 2015-07-09 08:40:25 +00:00 committed by Richard Biener
parent 830ff0020a
commit 6c909a6a21
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-07-09 Richard Biener <rguenther@suse.de>
* toplev.c (compile_file): Reset maximum_field_alignment after parsing.
2015-07-09 Richard Biener <rguenther@suse.de>
PR tree-optimization/66807

View File

@ -553,6 +553,11 @@ compile_file (void)
if (flag_syntax_only || flag_wpa)
return;
/* Reset maximum_field_alignment, it can be adjusted by #pragma pack
and this shouldn't influence any types built by the middle-end
from now on (like gcov_info_type). */
maximum_field_alignment = initial_max_fld_align * BITS_PER_UNIT;
ggc_protect_identifiers = false;