On Wed, Oct 7, 2015 at 3:37 PM, Lynn A. Boger <labo...@linux.vnet.ibm.com> wrote: > Right I didn't think of the multilib on powerpc-linux-gnu (actually didn't > think that was allowed). > > I don't think TARGET_64BIT will work here (I tried it), because on ppc64 & > ppc64le it gets replaced with a code snippet to check > a value in rs6000_isa_flags. Based on how it is used here, it has to be a > compile time define, not a bit checked > at runtime. > > However, I think #if TARGET_POWERPC64 == 1 should work instead of > TARGET_64BIT and I believe that will do the trick. > > Let me try that out on the ppc64 & ppc64le targets to make sure it still > works as it should.
TARGET_POWERPC64 is not the correct test. - David