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 ubiz...@gmail.com * lib/target_suports.exp (check_effective_target_has_w_floating_suffix): New procedure. (check_effective_target_has_q_floating_suffix): Ditto. *

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 ja...@redhat.com wrote: 2012-11-16 Uros Bizjak ubiz...@gmail.com * lib/target_suports.exp (check_effective_target_has_w_floating_suffix): New procedure. (check_effective_target_has_q_floating_suffix): Ditto. *

[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 ubiz...@gmail.com 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

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 ubiz...@gmail.com * lib/target_suports.exp (check_effective_target_has_w_floating_suffix): New procedure.

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 ja...@redhat.com 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 ubiz...@gmail.com * lib/target_suports.exp

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, perhaps

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 ja...@redhat.com 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

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 ja...@redhat.com 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

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 ja...@redhat.com 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

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 ubiz...@gmail.com 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