diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 2009-06-17 19:33:59 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 2009-06-17 19:33:59 +0000 |
commit | 48c342e22472128049c9e278e4e6d3a578e0d477 (patch) | |
tree | 14caaf1cb3df899f71160f8432e023d6855334ec /devel/avr-gcc-42/files/patch-bug30243 | |
parent | - Ensure Fortran shim is not built if USE_FORTRAN is not set. (diff) |
After upgrading devel/avr-gcc to GCC 4.3.x, keep a GCC 4.2.x version
here as it frequently produces more compact code (but supports less
target MCU types).
Notes
Notes:
svn path=/head/; revision=236158
Diffstat (limited to 'devel/avr-gcc-42/files/patch-bug30243')
-rw-r--r-- | devel/avr-gcc-42/files/patch-bug30243 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/avr-gcc-42/files/patch-bug30243 b/devel/avr-gcc-42/files/patch-bug30243 new file mode 100644 index 000000000000..dcfa43dd6b66 --- /dev/null +++ b/devel/avr-gcc-42/files/patch-bug30243 @@ -0,0 +1,14 @@ +Fix for GCC bug #30243. +Index: gcc/builtins.c +=================================================================== +--- gcc/builtins.c (revision 126457) ++++ gcc/builtins.c (working copy) +@@ -5664,7 +5664,7 @@ + lo = 0; + } + +- if (imode != rmode) ++ if (imode > rmode) + temp = gen_lowpart (rmode, temp); + temp = expand_binop (rmode, and_optab, temp, + immed_double_const (lo, hi, rmode), |