[PATCH 0/2] work around gcc 4.2.x compiler crash
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Mar 21, 2016, 04:35 UTC
- Message-ID
- <1458534958-6956-1-git-send-email-sunshine@sunshineco.com>
This patch series works around a gcc 4.2.1 compiler crash reported on Mac OS X[1] and FreeBSD[2] which is triggered by perfectly valid change from 5b442c4 (tree-diff: catch integer overflow in combine_diff_path allocation, 2016-02-19).
patch 1: sidestep the problem via a simple re-ordering of macro argument
evaluationpatch 2: revert an earlier Mac OS X 10.6-specific work-around which is
no longer needed[1]: http://thread.gmane.org/gmane.comp.version-control.git/287486/focus=287706 [2]: http://thread.gmane.org/gmane.linux.kernel/2179363/focus=289357
Eric Sunshine (2): git-compat-util: st_add4: work around gcc 4.2.x compiler crash Revert "config.mak.uname: use clang for Mac OS X 10.6"
config.mak.uname | 3 --- git-compat-util.h | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-)
-- 2.8.0.rc3.240.g104e649