This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR C++/58708 - string literal operator templates broken
- From: Ed Smith-Rowland <3dw4rd at verizon dot net>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Fri, 25 Oct 2013 07:38:55 -0400
- Subject: Re: PR C++/58708 - string literal operator templates broken
- Authentication-results: sourceware.org; auth=none
- References: <5260A01F dot 5010701 at verizon dot net> <526A4304 dot 6020800 at oracle dot com>
On 10/25/2013 06:08 AM, Paolo Carlini wrote:
Hi,
On 10/18/2013 04:42 AM, Ed Smith-Rowland wrote:
--- testsuite/g++.dg/cpp1y/pr58708.C (revision 0)
+++ testsuite/g++.dg/cpp1y/pr58708.C (working copy)
@@ -0,0 +1,70 @@
+// { dg-options -std=c++1y }
+
+#include <array>
+#include <vector>
+#include <type_traits>
+#include <testsuite_hooks.h>
are you sure you want these includes in a C++ front-end testcase? Even
<testsuite_hooks.h> instead of <cassert>? What about something more
minimal, not including large headers like <vector>, for the C++
front-end + a library testcase (first blush, the above would be
perfectly fine)
Thanks,
Paolo.
You're right. I'll send something slimmer later tonight.
The rest of the tests in the cpp1y directory use __builtin_abort.
So, you also want a library testcase?