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: PR C++/58708 - string literal operator templates broken


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?


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