Commit cc748322 by Jakub Jelinek

testsuite: Fix up pr92788.C FAIL on ia32.

2020-01-26  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/92788
	* g++.dg/pr92788.C: Move to ...
	* g++.target/i386/pr92788.C: ... here.  Remove target from dg-do line.
	Change type of operator new's first parameter to __SIZE_TYPE__.
parent de0684bf
2020-01-26 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/92788
* g++.dg/pr92788.C: Move to ...
* g++.target/i386/pr92788.C: ... here. Remove target from dg-do line.
Change type of operator new's first parameter to __SIZE_TYPE__.
2020-01-25 Marek Polacek <polacek@redhat.com> 2020-01-25 Marek Polacek <polacek@redhat.com>
PR c++/93414 - poor diagnostic for dynamic_cast in constexpr context. PR c++/93414 - poor diagnostic for dynamic_cast in constexpr context.
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-do compile } */
/* { dg-require-effective-target c++11 } */ /* { dg-require-effective-target c++11 } */
/* { dg-options "-O3 -fnon-call-exceptions -ftracer -march=k8 -Wno-return-type" } */ /* { dg-options "-O3 -fnon-call-exceptions -ftracer -march=k8 -Wno-return-type" } */
...@@ -17,7 +17,7 @@ struct is_same : integral_constant<true> {}; ...@@ -17,7 +17,7 @@ struct is_same : integral_constant<true> {};
template <bool, typename _Tp> using __enable_if_t = _Tp; template <bool, typename _Tp> using __enable_if_t = _Tp;
void *operator new(unsigned long, void *__p) { return __p; } void *operator new(__SIZE_TYPE__, void *__p) { return __p; }
template <typename _Iterator, typename> class __normal_iterator { template <typename _Iterator, typename> class __normal_iterator {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment