On Fri, 2 Sep 2011, Gary Funck wrote:
> On 09/02/11 13:42:32, Joseph S. Myers wrote:
> > [..] you should just generate #if/#error in the output [...]
>
> OK, take two, attached. (Confirmed that the #if works for
> the (<, ==, >) relationships between n_langs and the max.
> number of languages su
On 09/02/11 13:42:32, Joseph S. Myers wrote:
> [..] you should just generate #if/#error in the output [...]
OK, take two, attached. (Confirmed that the #if works for
the (<, ==, >) relationships between n_langs and the max.
number of languages supported.)
- Gary
2011-09-02 Gary Funck
On Thu, 1 Sep 2011, Gary Funck wrote:
> +# MAX_LANG is the maximum number of languages that can be defined.
> +# Its value is extracted from the value of CL_PARAMS in opts.h
> +# and is passed on the command line as '-v max_lang=...'.
> +if (n_langs > max_lang) {
> + print "Error: the number of d
2011-09-01 Gary Funck
* opts.c (print_specific_help): Fix off-by-one compare in
assertion check.
* opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER,
CL_TARGET, CL_COMMON, CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED):
Increase by +5 to allow for more
On Tue, 30 Aug 2011, Gary Funck wrote:
> On 08/30/11 15:52:12, Joseph S. Myers wrote:
> > Please send a patch. [... on points 1, 2, and 3]0
>
> OK, will do.
>
> > GF: Also, the use of fixed masks is problematic. Perhaps the AWK script
> > GF: could be changed to also generate values for CL_PARA
On 08/30/11 15:52:12, Joseph S. Myers wrote:
> Please send a patch. [... on points 1, 2, and 3]0
OK, will do.
> GF: Also, the use of fixed masks is problematic. Perhaps the AWK script
> GF: could be changed to also generate values for CL_PARAMS, etc., ensuring
> GF: that will not conflict with t
On Mon, 29 Aug 2011, Gary Funck wrote:
> 1) The sanity check should probably read:
>gcc_assert ((1U << cl_lang_count) <= CL_MIN_OPTION_CLASS);
> In other words, it is off-by-one.
Please send a patch.
> 2) The fixed shift counts starting at CL_PARAMS probably need to be
> adjusted upwards to
Recently, we ran "make check" on the GCC built from the GUPC branck
and compared it against "make check" run against the GCC trunk version
of the most recent merge with the trunk. The following failure
was detected on the GUPC branch.
cc1: internal compiler error: in print_specific_help, at opts