Re: [PATCH] Reorder AM_CXXFLAGS in libitm

2011-12-21 Thread Jakub Jelinek
On Wed, Dec 21, 2011 at 08:00:08AM -0800, Richard Henderson wrote: > On 12/21/2011 06:25 AM, Jakub Jelinek wrote: > > In my redhat/gcc-4_7-branch build with -fexceptions in XCFLAGS > > (comes from standard Fedora optimization flags) > > Really? Out of curiousity, why? Because for C it allows mo

Re: [PATCH] Reorder AM_CXXFLAGS in libitm

2011-12-21 Thread Richard Henderson
On 12/21/2011 06:25 AM, Jakub Jelinek wrote: > In my redhat/gcc-4_7-branch build with -fexceptions in XCFLAGS > (comes from standard Fedora optimization flags) Really? Out of curiousity, why? > * Makefile.am (AM_CXXFLAGS): Put $(XCFLAGS) first. > * Makefile.in: Regenerated. Ok. r

[PATCH] Reorder AM_CXXFLAGS in libitm

2011-12-21 Thread Jakub Jelinek
Hi! In my redhat/gcc-4_7-branch build with -fexceptions in XCFLAGS (comes from standard Fedora optimization flags) I got many libitm testsuite failures, because libitm currently relies on -fno-exceptions as it is not linked against -lstdc++. Fixed by putting XCFLAGS first and thus overriding thos