This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/42675] lto1 rejects -fdump-core option of gfortran
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2010 16:08:41 -0000
- Subject: [Bug lto/42675] lto1 rejects -fdump-core option of gfortran
- References: <bug-42675-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2010-01-15 16:08 -------
(In reply to comment #1)
> Huh. lto1 should probably accept all frontend options but ignore most of them.
> Or lto-wrapper should strip them.
I think the crucial part about the option is that it starts with -fdump-*; same
result for -fdump-parse-tree while all other options seem to work. Grepping for
fdump finds in *opt:
common.opt:fdump-
common.opt:fdump-final-insns=
common.opt:fdump-noaddr
common.opt:fdump-unnumbered
common.opt:fdump-unnumbered-links
fortran/lang.opt:fdump-core
fortran/lang.opt:fdump-parse-tree
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42675