https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65691
Bug ID: 65691 Summary: libgccjit documentation typo in gcc_jit_context_one Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit Assignee: dmalcolm at gcc dot gnu.org Reporter: rur...@x-ray.at Copy & Paste problem. gcc_jit_rvalue *gcc_jit_context_one(gcc_jit_context *ctxt, gcc_jit_type *numeric_type) Given a numeric type (integer or floating point), get the rvalue for zero. Essentially this is just a shortcut for: gcc_jit_context_new_rvalue_from_int (ctxt, numeric_type, 1) => Replace "zero" with "one". Seen at https://gcc.gnu.org/onlinedocs/jit/topics/expressions.html