This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/41564] -fdump-tree-all for lto does not work as expected
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jan 2010 01:14:36 -0000
- Subject: [Bug driver/41564] -fdump-tree-all for lto does not work as expected
- References: <bug-41564-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from hjl dot tools at gmail dot com 2010-01-02 01:14 -------
Created an attachment (id=19442)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19442&action=view)
A patch
lto-wrapper translates
/export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -o gcc-dg-lto-20081222-31
-fdump-tree-all -v -mtune=generic c_lto_20081222_0.o c_lto_20081222_1.o
to
/export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -combine -x lto -c -o
/tmp/cclzoEg3.lto.o -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2
--fdump-tree-all -mtune=generic c_lto_20081222_0.o c_lto_20081222_1.o
There is no good way to tell which directory should be used for
dump. This patch adds -dumpdir. lto-wrapper uses it to tell lto1
where to dump files.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #19433|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41564