Bug 45163 - -save-temps=obj does not work correctly with -fdum-tree- options
Summary: -save-temps=obj does not work correctly with -fdum-tree- options
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: driver (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-02 08:39 UTC by Jie Zhang
Modified: 2017-05-03 10:35 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail: 8.0
Last reconfirmed: 2017-05-03 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jie Zhang 2010-08-02 08:39:47 UTC
Assume there is a directory "foo" in the current directory and there is a foo.c in ./foo , I saw this on 4.5.1

$ gcc-4.5 -fdump-tree-optimized -save-temps=obj foo/foo.c -S -o foo/foo.s
foo/foo.c: In function ‘foo’:
foo/foo.c:1:6: error: could not open dump file ‘foo/foo/foo.140t.optimized’: No such file or directory
Comment 1 Jie Zhang 2010-08-02 08:43:10 UTC
Make the summary more specific.
Comment 2 Martin Liška 2017-05-03 10:35:59 UTC
Confirmed.