* [Bug lto/44143] -fdump-tree-all for lto does not work as expected
2010-05-14 16:15 [Bug lto/44143] New: -fdump-tree-all for lto does not work as expected hjl dot tools at gmail dot com
@ 2010-05-14 16:16 ` hjl dot tools at gmail dot com
2010-05-14 16:27 ` [Bug lto/44143] [4.6 Regression] " rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-14 16:16 UTC (permalink / raw)
To: gcc-bugs
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44143
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/44143] [4.6 Regression] -fdump-tree-all for lto does not work as expected
2010-05-14 16:15 [Bug lto/44143] New: -fdump-tree-all for lto does not work as expected hjl dot tools at gmail dot com
2010-05-14 16:16 ` [Bug lto/44143] " hjl dot tools at gmail dot com
@ 2010-05-14 16:27 ` rguenth at gcc dot gnu dot org
2010-05-14 16:32 ` hjl dot tools at gmail dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-14 16:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-05-14 16:26 -------
Did it?
> ./xgcc -B. -o t 1.c 2.c -flto -fdump-tree-optimized
> ls t.142t.optimized 1.c.142t.optimized 2.c.142t.optimized
1.c.142t.optimized 2.c.142t.optimized t.142t.optimized
or do you mean with -fwhopr? Yes, there it might have been - but I'd like
to change 4.5 behavior there anyway.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|-fdump-tree-all for lto does|[4.6 Regression] -fdump-
|not work as expected |tree-all for lto does not
| |work as expected
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44143
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/44143] [4.6 Regression] -fdump-tree-all for lto does not work as expected
2010-05-14 16:15 [Bug lto/44143] New: -fdump-tree-all for lto does not work as expected hjl dot tools at gmail dot com
2010-05-14 16:16 ` [Bug lto/44143] " hjl dot tools at gmail dot com
2010-05-14 16:27 ` [Bug lto/44143] [4.6 Regression] " rguenth at gcc dot gnu dot org
@ 2010-05-14 16:32 ` hjl dot tools at gmail dot com
2010-05-14 16:34 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-14 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl dot tools at gmail dot com 2010-05-14 16:32 -------
I saw
[hjl@gnu-26 tmp]$ ls /tmp/cc*.alias
/tmp/cc0eEl7p.wpa.o.062t.alias /tmp/cckTN74j.wpa.o.062t.alias
/tmp/cc0fl2Gv.wpa.o.062t.alias /tmp/ccKxCa48.wpa.o.062t.alias
/tmp/cc0mDjKr.wpa.o.062t.alias /tmp/ccmBxp4i.wpa.o.062t.alias
/tmp/cc2aQnfZ.wpa.o.062t.alias /tmp/ccmCGQyk.wpa.o.062t.alias
/tmp/cc44cnPJ.wpa.o.062t.alias /tmp/ccmeNbWi.wpa.o.062t.alias
/tmp/cc4VTteM.wpa.o.062t.alias /tmp/ccMf6RhU.wpa.o.062t.alias
/tmp/cc6PRdMg.wpa.o.062t.alias /tmp/ccMfSIug.wpa.o.062t.alias
/tmp/cc6uMLow.wpa.o.062t.alias /tmp/ccmhdUhZ.wpa.o.062t.alias
/tmp/cc89Jo9c.wpa.o.062t.alias /tmp/ccMRx2Rm.wpa.o.062t.alias
/tmp/cc8C0Fnr.wpa.o.062t.alias /tmp/ccmStWDb.wpa.o.062t.alias
/tmp/cc8IKE3z.wpa.o.062t.alias /tmp/ccMVFGbe.wpa.o.062t.alias
/tmp/ccA0uYOV.wpa.o.062t.alias /tmp/ccmZ1YYH.wpa.o.062t.alias
/tmp/ccACidGl.wpa.o.062t.alias /tmp/cco1kqB2.wpa.o.062t.alias
/tmp/ccaKvd2e.wpa.o.062t.alias /tmp/ccoalfcL.wpa.o.062t.alias
/tmp/ccaSErpY.wpa.o.062t.alias /tmp/ccoKBpHd.wpa.o.062t.alias
/tmp/ccAUJRcI.wpa.o.062t.alias /tmp/ccQ2FPLZ.wpa.o.062t.alias
/tmp/ccAZcsmq.wpa.o.062t.alias /tmp/ccq3LmLt.wpa.o.062t.alias
/tmp/cccfr7pZ.wpa.o.062t.alias /tmp/ccqeFc1T.wpa.o.062t.alias
/tmp/ccCkB5aX.wpa.o.062t.alias /tmp/ccQnJ9tm.wpa.o.062t.alias
/tmp/ccCPo3KN.wpa.o.062t.alias /tmp/ccs3kFvP.wpa.o.062t.alias
/tmp/cccYRb2r.wpa.o.062t.alias /tmp/ccs9g6iX.wpa.o.062t.alias
/tmp/cccySTRh.wpa.o.062t.alias /tmp/ccSCkKGD.wpa.o.062t.alias
/tmp/ccEbBSxV.wpa.o.062t.alias /tmp/ccSfBmUQ.wpa.o.062t.alias
/tmp/ccEhqkkj.wpa.o.062t.alias /tmp/ccSR21cA.wpa.o.062t.alias
/tmp/cceMXyCM.wpa.o.062t.alias /tmp/ccsSDmqA.wpa.o.062t.alias
/tmp/cceOgGZP.wpa.o.062t.alias /tmp/ccU0Gb3j.wpa.o.062t.alias
/tmp/ccg7uyKt.wpa.o.062t.alias /tmp/ccUC5eql.wpa.o.062t.alias
/tmp/ccGdMtFc.wpa.o.062t.alias /tmp/ccuTcS0o.wpa.o.062t.alias
/tmp/ccI8fSXr.wpa.o.062t.alias /tmp/ccw6QIfF.wpa.o.062t.alias
/tmp/ccircpzK.wpa.o.062t.alias /tmp/ccWd7clT.wpa.o.062t.alias
/tmp/ccISWkIR.wpa.o.062t.alias /tmp/ccWg1Bqk.wpa.o.062t.alias
/tmp/ccK1120n.wpa.o.062t.alias /tmp/ccwIbmdq.wpa.o.062t.alias
/tmp/cck4NFD9.wpa.o.062t.alias /tmp/ccwIMzla.wpa.o.062t.alias
/tmp/cckBb0IM.wpa.o.062t.alias /tmp/ccyGlDlq.wpa.o.062t.alias
/tmp/ccKcLaRh.wpa.o.062t.alias /tmp/ccyMLPcV.wpa.o.062t.alias
/tmp/cckG4BDR.wpa.o.062t.alias /tmp/ccYO3bBu.wpa.o.062t.alias
[hjl@gnu-26 tmp]$
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44143
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/44143] [4.6 Regression] -fdump-tree-all for lto does not work as expected
2010-05-14 16:15 [Bug lto/44143] New: -fdump-tree-all for lto does not work as expected hjl dot tools at gmail dot com
` (2 preceding siblings ...)
2010-05-14 16:32 ` hjl dot tools at gmail dot com
@ 2010-05-14 16:34 ` rguenth at gcc dot gnu dot org
2010-05-14 16:39 ` hjl dot tools at gmail dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-14 16:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-05-14 16:33 -------
So that's not "-fdump-tree-* do not work as expected" but "testing leaves
temporary files behind"?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44143
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/44143] [4.6 Regression] -fdump-tree-all for lto does not work as expected
2010-05-14 16:15 [Bug lto/44143] New: -fdump-tree-all for lto does not work as expected hjl dot tools at gmail dot com
` (3 preceding siblings ...)
2010-05-14 16:34 ` rguenth at gcc dot gnu dot org
@ 2010-05-14 16:39 ` hjl dot tools at gmail dot com
2010-05-14 16:53 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-14 16:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from hjl dot tools at gmail dot com 2010-05-14 16:38 -------
I opened PR 41708, which is closed as a dup for PR 41564.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44143
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/44143] [4.6 Regression] -fdump-tree-all for lto does not work as expected
2010-05-14 16:15 [Bug lto/44143] New: -fdump-tree-all for lto does not work as expected hjl dot tools at gmail dot com
` (4 preceding siblings ...)
2010-05-14 16:39 ` hjl dot tools at gmail dot com
@ 2010-05-14 16:53 ` rguenth at gcc dot gnu dot org
2010-05-14 17:13 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-14 16:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2010-05-14 16:53 -------
I'll fix it (again).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-05-14 16:53:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44143
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/44143] [4.6 Regression] -fdump-tree-all for lto does not work as expected
2010-05-14 16:15 [Bug lto/44143] New: -fdump-tree-all for lto does not work as expected hjl dot tools at gmail dot com
` (5 preceding siblings ...)
2010-05-14 16:53 ` rguenth at gcc dot gnu dot org
@ 2010-05-14 17:13 ` rguenth at gcc dot gnu dot org
2010-05-18 15:11 ` rguenth at gcc dot gnu dot org
2010-05-18 15:11 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-14 17:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2010-05-14 17:13 -------
Btw, I like to have wpa/ltrans dumps named after the final output file, not
random source files. That would allow easier adaption of dg-scan-* i think.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44143
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/44143] [4.6 Regression] -fdump-tree-all for lto does not work as expected
2010-05-14 16:15 [Bug lto/44143] New: -fdump-tree-all for lto does not work as expected hjl dot tools at gmail dot com
` (6 preceding siblings ...)
2010-05-14 17:13 ` rguenth at gcc dot gnu dot org
@ 2010-05-18 15:11 ` rguenth at gcc dot gnu dot org
2010-05-18 15:11 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-18 15:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2010-05-18 15:11 -------
Fixed again.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44143
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug lto/44143] [4.6 Regression] -fdump-tree-all for lto does not work as expected
2010-05-14 16:15 [Bug lto/44143] New: -fdump-tree-all for lto does not work as expected hjl dot tools at gmail dot com
` (7 preceding siblings ...)
2010-05-18 15:11 ` rguenth at gcc dot gnu dot org
@ 2010-05-18 15:11 ` rguenth at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-18 15:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2010-05-18 15:11 -------
Subject: Bug 44143
Author: rguenth
Date: Tue May 18 15:11:01 2010
New Revision: 159536
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159536
Log:
2010-05-18 Richard Guenther <rguenther@suse.de>
PR lto/44143
* lto-wrapper.c (verbose): New variable. Initialize from -v.
(debug): Initialize from -save-temps.
(collect_execute): Print command-line when verbose.
(run_gcc): Always use COLLECT_GCC_OPTIONS. Use fork_execute
for ltrans invocation. Produce -dumpbase flag again.
(process_args): Remove.
(main): Simplify.
* collect2.c (maybe_run_lto_and_relink): Only pass object
files to lto-wrapper.
* gcc.c (LINK_COMMAND_SPEC): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/collect2.c
trunk/gcc/gcc.c
trunk/gcc/lto-wrapper.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44143
^ permalink raw reply [flat|nested] 10+ messages in thread