This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/54789] [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG
- From: "chrbr at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Oct 2012 10:32:22 +0000
- Subject: [Bug driver/54789] [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG
- Auto-submitted: auto-generated
- References: <bug-54789-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54789
chrbr at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chrbr at gcc dot gnu.org
--- Comment #3 from chrbr at gcc dot gnu.org 2012-10-04 10:32:22 UTC ---
indeed the "known" switch field should be true for this option. but why not
directly call save_switch function ?
opt = concat ("fcompare-debug=", compare_debug_opt, NULL);
save_switch (opt, 0, NULL, false, true);
looks more generic to avoid this kind of errors with internal flags and code
duplication.