http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51784
Bug #: 51784
Summary: [4.7 Regression] FAIL: gcc.dg/tree-prof/pr44777.c
execution, -fprofile-generate -D_PROFILE_GENERATE
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Host: x86_64-apple-darwin10
Target: x86_64-apple-darwin10
Build: x86_64-apple-darwin10
At revision 182975 on x86_64-apple-darwin10, the test
gcc.dg/tree-prof/pr44777.c fails with a segmentation fault:
Program received signal SIGSEGV, Segmentation fault.
0x900949d9 in __findenv () from /usr/lib/libSystem.B.dylib
(gdb) bt
#0 0x900949d9 in __findenv () from /usr/lib/libSystem.B.dylib
#1 0x90094971 in getenv () from /usr/lib/libSystem.B.dylib
#2 0x00002640 in gcov_exit () at ../../../../work/libgcc/libgcov.c:334
#3 0x900b1c0a in __cxa_finalize () from /usr/lib/libSystem.B.dylib
#4 0x900b1b14 in exit () from /usr/lib/libSystem.B.dylib
#5 0x00001cc8 in main () at
/opt/gcc/work/gcc/testsuite/gcc.dg/tree-prof/pr44777.c:42
Although the test has been introduced at revision 182920, I have marked it as a
regression since there is no segmentation fault at revision 182587.