public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug jit/65691] New: libgccjit documentation typo in gcc_jit_context_one
@ 2015-04-08  7:27 rurban@x-ray.at
  0 siblings, 0 replies; only message in thread
From: rurban@x-ray.at @ 2015-04-08  7:27 UTC (permalink / raw)
  To: gcc-bugs

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: rurban@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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-08  7:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-08  7:27 [Bug jit/65691] New: libgccjit documentation typo in gcc_jit_context_one rurban@x-ray.at

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).