summaryrefslogtreecommitdiff
path: root/debian/patches/m68k-revert-pr45144.diff
blob: 9f9d3c743f764e23902ac1916e9c88ede4dd1a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[revert the minor PR45144 missed-optimization fix because it
 results in miscompilation of gnat on m68k with gcc-4.6 and 4.5;
 with gcc-4.7 other changes mask the issue <mikpe@it.uu.se>]

	PR ada/48835

--- a/src/gcc/tree-sra.c
+++ b/src/gcc/tree-sra.c
@@ -916,9 +916,6 @@ type_consists_of_records_p (tree type)
       {
 	tree ft = TREE_TYPE (fld);
 
-	if (DECL_BIT_FIELD (fld))
-	  return false;
-
 	if (!is_gimple_reg_type (ft)
 	    && !type_consists_of_records_p (ft))
 	  return false;