[Bug testsuite/60487] FAIL: gcc.dg/tree-prof/crossmodule-indircall-1a.c compilation, -fprofile-generate -D_PROFILE_GENERATE

cb at cebix dot net gcc-bugzilla@gcc.gnu.org
Tue Nov 11 13:27:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60487

Christian Bauer <cb at cebix dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cb at cebix dot net

--- Comment #1 from Christian Bauer <cb at cebix dot net> ---
This test case also fails when building GCC 4.9.2 on x86_64-unknown-linux:

Executing on host: /tmp/gcc-build/gcc/xgcc -B/tmp/gcc-build/gcc/
/tmp/gcc-4.9.2/gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1a.c 
-fno-diagnostics-show-caret -fdiagnostics-color=never  
/tmp/gcc-4.9.2/gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1a.c  
-fprofile-generate -D_PROFILE_GENERATE  -lm   -m32 -o
/tmp/gcc-build/gcc/testsuite/gcc/crossmodule-indircall-1a.x01    (timeout =
300)
spawn /tmp/gcc-build/gcc/xgcc -B/tmp/gcc-build/gcc/
/tmp/gcc-4.9.2/gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1a.c
-fno-diagnostics-show-caret -fdiagnostics-color=never
/tmp/gcc-4.9.2/gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1a.c
-fprofile-generate -D_PROFILE_GENERATE -lm -m32 -o
/tmp/gcc-build/gcc/testsuite/gcc/crossmodule-indircall-1a.x01
/tmp/ccze6Bo8.o: In function `main':
crossmodule-indircall-1a.c:(.text+0x0): multiple definition of `main'
/tmp/cchSmBQj.o:crossmodule-indircall-1a.c:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
compiler exited with status 1



More information about the Gcc-bugs mailing list