Commit fecd7a1a by Richard Biener Committed by Richard Biener

re PR testsuite/91004 (Excess errors in g++.dg/torture/pr34850.C starting with r272688)

2019-06-27  Richard Biener  <rguenther@suse.de>

	PR testsuite/91004
	* g++.dg/torture/pr34850.C: Fix overly reduced testcase.

From-SVN: r272737
parent 721bd210
2019-06-27 Richard Biener <rguenther@suse.de>
PR testsuite/91004
* g++.dg/torture/pr34850.C: Fix overly reduced testcase.
2019-06-27 Kewen Lin <linkw@gcc.gnu.org> 2019-06-27 Kewen Lin <linkw@gcc.gnu.org>
PR target/62147 PR target/62147
......
...@@ -13,7 +13,8 @@ extern "C" { ...@@ -13,7 +13,8 @@ extern "C" {
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__))
void * memset (void *__dest, int __ch, size_t __len) throw () { void * memset (void *__dest, int __ch, size_t __len) throw () {
if (__builtin_constant_p (__len) && __len == 0) if (__builtin_constant_p (__len) && __len == 0)
__warn_memset_zero_len (); __warn_memset_zero_len ();
return __dest;
} }
} }
inline void clear_mem(void* ptr, u32bit n) { inline void clear_mem(void* ptr, u32bit n) {
......
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