public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/61954] Ada fails to properly pass pointer arguments on x32 Date: Wed, 30 Jul 2014 16:03:00 -0000 [thread overview] Message-ID: <bug-61954-4-hlia257NHb@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61954-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61954 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- s-os_lib.adb has function Write (FD : File_Descriptor; A : System.Address; N : Integer) return Integer is begin return Integer (System.CRTL.write (System.CRTL.int (FD), System.CRTL.chars (A), System.CRTL.size_t (N))); end Write; It is compiled into jmp write 'A' should be a pointer, not integer.
next prev parent reply other threads:[~2014-07-30 16:03 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-07-29 16:23 [Bug ada/61954] New: " hjl.tools at gmail dot com 2014-07-30 0:18 ` [Bug ada/61954] " hjl.tools at gmail dot com 2014-07-30 0:34 ` hjl.tools at gmail dot com 2014-07-30 16:03 ` hjl.tools at gmail dot com [this message] 2014-08-06 16:30 ` ebotcazou at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-61954-4-hlia257NHb@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).