https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66913

            Bug ID: 66913
           Summary: jit: missing error-checking that value fits in type
                    for gcc_jit_context_new_rvalue_from_ API entrypoints
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: dmalcolm at gcc dot gnu.org
  Target Milestone: ---

As noted here:
  https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01520.html

> This is probably out-of-scope for this patch, but seeing this made me
> wonder if we ought to add a validation to the various
> "new_rvalue_from_TYPE" APIs to ensure that the host value will fit in
> the target type, and emit an error on the context if the given host
> value won't fit.

Filing in BZ for now.

Reply via email to