Commit 98abdf3a by Martin Liska Committed by Martin Liska

Fix ifunc detection.

2018-01-26  Martin Liska  <mliska@suse.cz>

	* lib/target-supports.exp: Return a value, otherwise -Wreturn-type
	warning is seen.

From-SVN: r257094
parent 373d1f5f
2018-01-26 Martin Liska <mliska@suse.cz>
* lib/target-supports.exp: Return a value, otherwise -Wreturn-type
warning is seen.
2018-01-26 Will Schmidt <will_schmidt@vnet.ibm.com> 2018-01-26 Will Schmidt <will_schmidt@vnet.ibm.com>
* gcc.target/powerpc/fold-vec-neg-longlong.h: New. * gcc.target/powerpc/fold-vec-neg-longlong.h: New.
......
...@@ -449,7 +449,7 @@ proc check_ifunc_available { } { ...@@ -449,7 +449,7 @@ proc check_ifunc_available { } {
extern "C" { extern "C" {
#endif #endif
typedef void F (void); typedef void F (void);
F* g (void) {} F* g (void) { return 0; }
void f () __attribute__ ((ifunc ("g"))); void f () __attribute__ ((ifunc ("g")));
#ifdef __cplusplus #ifdef __cplusplus
} }
......
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