http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47793

           Summary: Relative path in fprofile-use turns into absolute path
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: martin.gccb...@gmail.com


I noticed that I was unable to specify a relative path when generating gcda
files:

# ${trunk_gcc} -Wall  -fprofile-generate=./fdoprof -fprofile-arcs in.c -o
trunk.out 
# ./trunk.out
profiling:/./fdoprof:Cannot create directory
profiling:/./fdoprof/in.gcda:Skip

I believe this was introduced in
http://gcc.gnu.org/viewcvs?view=revision&revision=165596

gcc version 4.6.0 20110211
Target: x86_64-unknown-linux-gnu

Reply via email to