[Bug debug/4252] cc1: Invalid option `-fdump-translation-unit'
rabeles-gccbug@archaelogic.com
gcc-bugzilla@gcc.gnu.org
Tue Jun 17 18:41:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4252
------- Additional Comments From rabeles-gccbug@archaelogic.com 2003-06-17 18:41 -------
I ran into this bug (cc1: Invalid option '-fdump-translation-unit') on the 3.4
mainline, and then found this problem report in Bugzilla. Reviewing the patch
"2001-06-05 Nathan Sidwell", I see that Nathan did not remove the
-fdump-translation-unit command-line flag; instead, he changed the way that the
'-fdump'-prefixed options were handled, removing an obsolete internal flag named
flag_dump_translation_unit. A subsequent misreading of this comment has spawned
the confusion over whether the command-line flag should be removed from the
documentation. My conclusion is that the documentation is correct, and that
there is a genuine bug that prevents the -fdump-translation-unit command-line
flag from working. I have a proposed patch to the mainline which fixes this bug;
I will attach it shortly.
More information about the Gcc-bugs
mailing list