This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/54789] [4.8 Regression] Error in GCC driver when defining GCC_COMPARE_DEBUG


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]