[bnc#977654] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc48?expand=0&rev=199
22 lines
689 B
Diff
22 lines
689 B
Diff
2015-07-08 Richard Biener <rguenther@suse.de>
|
|
|
|
PR middle-end/43341
|
|
* toplev.c (compile_file): Reset maximum_field_alignment after parsing.
|
|
|
|
Index: gcc/toplev.c
|
|
===================================================================
|
|
--- gcc/toplev.c (revision 225534)
|
|
+++ gcc/toplev.c (working copy)
|
|
@@ -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;
|
|
|