This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Treedump output


Hello

@Paul: no offence taken :) I'm as confused about this as you are.


To give input to Daves reply:



$ strace ./cc1 -fdump-tree-all -da tree.c 2>&1 |grep open
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/tls/libc.so.6", O_RDONLY) = 3
open("tree.c", O_RDONLY|O_NOCTTY) = 3
open("tree.s", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
open("tree.gcda", O_RDWR) = -1 ENOENT (No such file or directory)


And if touch "tree.gcda" to make it exist, no data will be present in this file.

I think I will compile myself a native compiler using this source to see if the same problem is present on that target.


Svein



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]