public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Steve Ellcey <sje@cup.hp.com>
To: wilson@specifixinc.com, ebotcazou@adacore.com
Cc: gcc@gcc.gnu.org
Subject: Re: MEMBER_TYPE_FORCES_BLK on IA-64/HP-UX
Date: Sun, 03 Jul 2005 16:13:00 -0000	[thread overview]
Message-ID: <200507031613.JAA20867@hpsje.cup.hp.com> (raw)
In-Reply-To: <42C5C77D.1050604@specifixinc.com>

> Steve Ellcey defined MEMBER_TYPE_FORCES_BLK when he first implemented 
> the ia64-hpux port.  At the time, I mentioned using PARALLELs was a 
> better solution, but this was a simpler way for him to get the initial 
> port working.  Since then, there have been a lot of bug fixes to the 
> ia64-hpux support by various people: Steve, Zack, Joseph, etc.  Looking 
> at the current code, it does appear that all cases are now handled by 
> PARALLELs, and that the definition of MEMBER_TYPE_FORCES_BLK no longer 
> appears to be necessary.
> 
> I don't have an ia64-hpux machine, so there is no easy way for me to 
> test this change.
> -- 
> Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com

I am concerned about the use of MEMBER_TYPE_FORCES_BLK in stor-layout.c.
I believe that, if MEMBER_TYPE_FORCES_BLK is not defined, this code will
change the mode of a structure containing a single field from BLKmode
into the mode of the field.  I think this might mess up the parameter
passing of structures that contain a single field, particularly when
that field is smaller than 64 bits, like a single char, an int, or a
float.  I would definitely want to check the parameter passing of small
single field structures before removing MEMBER_TYPE_FORCES_BLK on
ia64-hpux.

Steve Ellcey
sje@cup.hp.com

  parent reply	other threads:[~2005-07-03 16:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-08 10:27 Eric Botcazou
2005-07-01 22:45 ` James E Wilson
2005-07-02 10:04   ` Eric Botcazou
2005-07-03 16:13   ` Steve Ellcey [this message]
2005-07-03 16:32     ` Eric Botcazou
2005-07-06  1:09     ` James E Wilson

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=200507031613.JAA20867@hpsje.cup.hp.com \
    --to=sje@cup.hp.com \
    --cc=ebotcazou@adacore.com \
    --cc=gcc@gcc.gnu.org \
    --cc=wilson@specifixinc.com \
    /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).