Fix a couple of logic issues in contributed code (gcc, mpfr, tre).
commit122b686e384c0fb6cfc3dd8cf3a16b87651fc609
authorSascha Wildner <saw@online.de>
Thu, 23 Jun 2016 09:46:10 +0000 (23 11:46 +0200)
committerSascha Wildner <saw@online.de>
Thu, 23 Jun 2016 09:46:10 +0000 (23 11:46 +0200)
tree2aa2516cb6140e09feecc48d874526fead49a54d
parentf48f2686df1550ec9d3fecf4c30d48747d80b0db
Fix a couple of logic issues in contributed code (gcc, mpfr, tre).

* The mpfr bug was fixed in mpfr's trunk (r8705).
  Report: (https://sympa.inria.fr/sympa/arc/mpfr/2013-11/msg00009.html)

* The GCC bug was fixed too. This commit applies GCC's 51aab39345ae.

* The TRE bug came in with Apple's code. No idea if there is a simple way
  to report a bug in their libc to them. I've not found any.
contrib/gcc-5.0/gcc/varasm.c
contrib/mpfr/src/vasprintf.c
contrib/tre/lib/tre-parse.c