Re: [PATCH] Add check for x32 support

2012-11-02 Thread Mike Stump
On Nov 2, 2012, at 9:28 AM, Jack Howarth wrote: > Currently on targets like x86_64 darwin which don't support -mx32 > -maddress-mode=short, > tests that pass those on dg-options fail with excessive errors at -m64. The > attached patch > resolves this by adding a check_effective_target_maybe_x32

Re: [PATCH] Add check for x32 support

2012-11-02 Thread H.J. Lu
On Fri, Nov 2, 2012 at 9:28 AM, Jack Howarth wrote: > Currently on targets like x86_64 darwin which don't support -mx32 > -maddress-mode=short, > tests that pass those on dg-options fail with excessive errors at -m64. The > attached patch > resolves this by adding a check_effective_target_mayb

[PATCH] Add check for x32 support

2012-11-02 Thread Jack Howarth
Currently on targets like x86_64 darwin which don't support -mx32 -maddress-mode=short, tests that pass those on dg-options fail with excessive errors at -m64. The attached patch resolves this by adding a check_effective_target_maybe_x32 proc to test if the -mx32 -maddress-mode=short flags are