* toplev.c (compile_file): Reset maximum_field_alignment after parsing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225603
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
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;