This is the mail archive of the gcc-patches@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] |
At the moment I'm trying to achieve the twin goals of:
(a) getting rid of TARGET_SWITCHES and TARGET_OPTIONS; and (b) applying PCH validity checks to general .opt options.
However, the long-term plan is to have a loop like:
for (i = 0; i < cl_options_count; i++) if (option_affects_pch_p (i)) ...check option validity...
ports, there would be no point in handling target_flags as a special case.
SH is (hopefully) unusual
! #ifdef TARGET_OPTIONS ! /* ??? We have a copy of this in toplev.c, but it is static. */ ! static const struct ! { ! const char *const prefix; ! const char **const variable; ! const char *const description; ! const char *const value; ! } ! target_options[] = TARGET_OPTIONS;
OK to install?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |