[Bug jit/66913] New: jit: missing error-checking that value fits in type for gcc_jit_context_new_rvalue_from_ API entrypoints
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 17 14:06:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list