diff options
Diffstat (limited to 'debian/patches/m68k-revert-pr45144.diff')
-rw-r--r-- | debian/patches/m68k-revert-pr45144.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/m68k-revert-pr45144.diff b/debian/patches/m68k-revert-pr45144.diff new file mode 100644 index 0000000..e7318d4 --- /dev/null +++ b/debian/patches/m68k-revert-pr45144.diff @@ -0,0 +1,20 @@ +[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 + +Index: b/src/gcc/tree-sra.c +=================================================================== +--- a/src/gcc/tree-sra.c ++++ b/src/gcc/tree-sra.c +@@ -927,9 +927,6 @@ scalarizable_type_p (tree type) + { + tree ft = TREE_TYPE (fld); + +- if (DECL_BIT_FIELD (fld)) +- return false; +- + if (!is_gimple_reg_type (ft) + && !scalarizable_type_p (ft)) + return false; |