Re: [PATCH v2, testsuite]: Add dg-error for unsupported floating suffix

2012-11-16 Thread Uros Bizjak
On Fri, Nov 16, 2012 at 9:52 AM, Jakub Jelinek wrote: >> 2012-11-16 Uros Bizjak >> >> * lib/target_suports.exp >> (check_effective_target_has_w_floating_suffix): New procedure. >> (check_effective_target_has_q_floating_suffix): Ditto. >> * g++.dg/cpp0x/gnu_fext-numeric-

Re: [PATCH v2, testsuite]: Add dg-error for unsupported floating suffix

2012-11-16 Thread Jakub Jelinek
On Fri, Nov 16, 2012 at 08:53:54AM +0100, Uros Bizjak wrote: > 2012-11-16 Uros Bizjak > > * lib/target_suports.exp > (check_effective_target_has_w_floating_suffix): New procedure. > (check_effective_target_has_q_floating_suffix): Ditto. > * g++.dg/cpp0x/gnu_fext-numeric-

Re: [PATCH v2, testsuite]: Add dg-error for unsupported floating suffix

2012-11-15 Thread Uros Bizjak
On Thu, Nov 15, 2012 at 7:44 PM, Uros Bizjak wrote: >>> >> No, the intention of this test is to check if target can handle these >>> >> suffixes through TARGET_C_MODE_FOR_SUFFIX. Please note that in >>> >> particular tests, -std=x compile switches are added to compile flags. >>> > >>> > But -std=

Re: [PATCH v2, testsuite]: Add dg-error for unsupported floating suffix

2012-11-15 Thread Uros Bizjak
On Thu, Nov 15, 2012 at 5:44 PM, Jakub Jelinek wrote: >> >> No, the intention of this test is to check if target can handle these >> >> suffixes through TARGET_C_MODE_FOR_SUFFIX. Please note that in >> >> particular tests, -std=x compile switches are added to compile flags. >> > >> > But -std=c++

Re: [PATCH v2, testsuite]: Add dg-error for unsupported floating suffix

2012-11-15 Thread Jakub Jelinek
On Thu, Nov 15, 2012 at 05:42:32PM +0100, Uros Bizjak wrote: > On Thu, Nov 15, 2012 at 5:34 PM, Jakub Jelinek wrote: > > On Thu, Nov 15, 2012 at 05:31:42PM +0100, Uros Bizjak wrote: > >> No, the intention of this test is to check if target can handle these > >> suffixes through TARGET_C_MODE_FOR_S

Re: [PATCH v2, testsuite]: Add dg-error for unsupported floating suffix

2012-11-15 Thread Uros Bizjak
On Thu, Nov 15, 2012 at 5:34 PM, Jakub Jelinek wrote: > On Thu, Nov 15, 2012 at 05:31:42PM +0100, Uros Bizjak wrote: >> No, the intention of this test is to check if target can handle these >> suffixes through TARGET_C_MODE_FOR_SUFFIX. Please note that in >> particular tests, -std=x compile switch

Re: [PATCH v2, testsuite]: Add dg-error for unsupported floating suffix

2012-11-15 Thread Jakub Jelinek
On Thu, Nov 15, 2012 at 05:31:42PM +0100, Uros Bizjak wrote: > No, the intention of this test is to check if target can handle these > suffixes through TARGET_C_MODE_FOR_SUFFIX. Please note that in > particular tests, -std=x compile switches are added to compile flags. But -std=c++11 (well, perhap

Re: [PATCH v2, testsuite]: Add dg-error for unsupported floating suffix

2012-11-15 Thread Uros Bizjak
On Thu, Nov 15, 2012 at 5:25 PM, Jakub Jelinek wrote: > On Thu, Nov 15, 2012 at 05:20:48PM +0100, Uros Bizjak wrote: >> This revision auto-detect support for Q and W suffixes. >> >> 2012-11-15 Uros Bizjak >> >> * lib/target_suports.exp >> (check_effective_target_has_w_floating_suffi

Re: [PATCH v2, testsuite]: Add dg-error for unsupported floating suffix

2012-11-15 Thread Jakub Jelinek
On Thu, Nov 15, 2012 at 05:20:48PM +0100, Uros Bizjak wrote: > This revision auto-detect support for Q and W suffixes. > > 2012-11-15 Uros Bizjak > > * lib/target_suports.exp > (check_effective_target_has_w_floating_suffix): New procedure. > (check_effective_target_has_q_floa

[PATCH v2, testsuite]: Add dg-error for unsupported floating suffix

2012-11-15 Thread Uros Bizjak
On Thu, Nov 15, 2012 at 1:35 AM, Uros Bizjak wrote: > Attached patch fixes following testsuite failure > > FAIL: g++.dg/cpp0x/gnu_fext-numeric-literals.C (test for excess errors) > FAIL: g++.dg/cpp0x/std_fext-numeric-literals.C (test for excess errors) > > on targets that don't support Q and W fl