This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, Nov 15, 2012 at 05:42:32PM +0100, Uros Bizjak wrote:
> On Thu, Nov 15, 2012 at 5:34 PM, Jakub Jelinek <jakub@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 compile switches are added to compile flags.
> >
> > But -std=c++11 (well, perhaps -std=gnu++11) could be eventually the default.
> > As Q/W suffixes are only supported in certain modes through
> > TARGET_C_MODE_FOR_SUFFIX, it is better to put the explicit option that
> > allows it on the command line of the check_effective_target* test.
> 
> Do you have option in mind that would be appropriate for the test?

"-std=gnu++03" ?

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]