The additional source must have the same requirement crossmodule-indircall-1.c 
has.

        * crossmodule-indircall-1a.c: Add missing requirement.

diff -Nur a/gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1a.c 
b/gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1a.c
--- a/gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1a.c 2013-08-10 
00:53:00.000000000 +0200
+++ b/gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1a.c 2014-10-21 
16:06:46.715580336 +0200
@@ -1,3 +1,4 @@
+/* { dg-require-effective-target lto } */
 /* It seems there is no way to avoid the other source of mulitple
    source testcase from being compiled independently.  Just avoid
    error.  */

Reply via email to