public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Earnshaw <rearnsha@arm.com>
To: Richard Henderson <rth@redhat.com>
Cc: Momchil Velikov <velco@fadata.bg>,
	Alan Modra <amodra@bigpond.net.au>,
	gcc@gcc.gnu.org, Richard.Earnshaw@arm.com
Subject: Re: Undefined behavior in 950605-1.c
Date: Fri, 26 Jul 2002 14:47:00 -0000	[thread overview]
Message-ID: <200207260854.JAA14169@cam-mail2.cambridge.arm.com> (raw)
In-Reply-To: Your message of "Thu, 25 Jul 2002 10:56:12 PDT." <20020725105612.A27073@redhat.com>


> PROMOTE_MODE has nothing to do with C types.  It's for efficiency
> in the generated rtl *only*. 

I believe it can also be part of the ABI specification, so someone writing 
assembler would be able to tell the difference, and a compiler can assume 
that a caller has done the promotion (so saving a repeat promotion).

> If a strictly conforming program can
> notice the existance of PROMOTE_MODE, there is a bug.

Agreed.

R.


  reply	other threads:[~2002-07-26  8:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-25  7:08 Momchil Velikov
2002-07-25  8:54 ` Andreas Schwab
2002-07-25  9:04   ` Momchil Velikov
     [not found]     ` <20020725102412.GV26054@bubble.sa.bigpond.net.au>
2002-07-25 10:56       ` Momchil Velikov
2002-07-25 11:24         ` Andreas Schwab
2002-07-25 13:25         ` Richard Henderson
2002-07-26 14:47           ` Richard Earnshaw [this message]
2002-07-28  0:08             ` Richard Henderson

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=200207260854.JAA14169@cam-mail2.cambridge.arm.com \
    --to=rearnsha@arm.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=amodra@bigpond.net.au \
    --cc=gcc@gcc.gnu.org \
    --cc=rth@redhat.com \
    --cc=velco@fadata.bg \
    /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: link
Be 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).