diff mbox

[testsuite] : g++.dg/pr49718.C: Add "-mno-explicit-relocs" for alpha*-*-* targets.

Message ID CAFULd4ZGtRoAUyg9hRYXt3Ko4PKWekFYLO1Rz_f2035ASKR96w@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Jan. 19, 2014, 7:23 p.m. UTC
Hello!

Alpha needs "-mno-explicit-relocs" to count number of function calls properly.

2014-01-19  Uros Bizjak  <ubizjak@gmail.com>

    * g++.dg/pr49718.C: Add "-mno-explicit-relocs" for alpha*-*-* targets.

Tested on alphaev6-pc-linux-gnu and committed to mainline SVN.

Uros.
diff mbox

Patch

Index: g++.dg/pr49718.C
===================================================================
--- g++.dg/pr49718.C	(revision 206758)
+++ g++.dg/pr49718.C	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O2 -finstrument-functions" } */
+/* { dg-additional-options "-mno-explicit-relocs" { target alpha*-*-* } } */
 /* { dg-final { scan-assembler-times "__cyg_profile_func_enter" 1} } */
 
 #define NOINSTR __attribute__((no_instrument_function))