From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4602 invoked by alias); 2 Jan 2010 01:14:49 -0000 Received: (qmail 4549 invoked by uid 48); 2 Jan 2010 01:14:36 -0000 Date: Sat, 02 Jan 2010 01:14:00 -0000 Message-ID: <20100102011436.4548.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug driver/41564] -fdump-tree-all for lto does not work as expected In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg00086.txt.bz2 ------- 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