public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: optimization/8300: [3.2/3.3/3.4 regression] [sparc] ICE in gen_reg_rtx, at emit-rtl.c:662
Date: Mon, 17 Mar 2003 17:06:00 -0000	[thread overview]
Message-ID: <20030317170601.8451.qmail@sources.redhat.com> (raw)

The following reply was made to PR optimization/8300; it has been noted by GNATS.

From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: Robert Schiele <rschiele@uni-mannheim.de>
Cc: Richard Henderson <rth@redhat.com>, gcc-bugs@gcc.gnu.org,
   tneumann@pi3.informatik.uni-mannheim.de, gcc-gnats@gcc.gnu.org
Subject: Re: optimization/8300: [3.2/3.3/3.4 regression] [sparc] ICE in gen_reg_rtx, at emit-rtl.c:662
Date: 17 Mar 2003 17:59:25 +0100

 Robert Schiele <rschiele@uni-mannheim.de> writes:
 
 > On Mon, Mar 17, 2003 at 04:24:34PM +0100, Falk Hueffner wrote:
 > > Robert Schiele <rschiele@uni-mannheim.de> writes:
 > > 
 > > > void a() {
 > > >     double b;
 > > >     int c[2];
 > > >     *((int*)&b) && (c[1] = 0);
 > > > }
 > > > 
 > > > Exactly same problem.  And this time there is no pointer outside well
 > > > defined data area.  You agree that this sample is legal code?
 > > 
 > > No, you're violating the rule in 6.5.7 by accessing an object of type
 > > double with an lvalue of type int.
 > 
 > 6.5.7?  This one is about bitwise shift operators
 
 Sorry, I meant 6.5, paragraph 7.
 
 > lvalue?  b is not used as an lvalue here, is it?
 
 No, but you're accessing its value.
  
 > Is it generally illegal to do a cast of this type?
 
 No, only accessing the resulting object.
 
 -- 
 	Falk


             reply	other threads:[~2003-03-17 17:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-17 17:06 Falk Hueffner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-24  4:23 rth
2003-03-18 20:29 ebotcazou
2003-03-17 17:16 Robert Schiele
2003-03-17 16:56 Joseph S. Myers
2003-03-17 16:26 Robert Schiele
2003-03-17 15:56 Robert Schiele
2003-03-17 15:36 Andreas Schwab
2003-03-17 15:26 Falk Hueffner
2003-03-17 15:26 Robert Schiele
2003-03-17 14:36 Daniel Jacobowitz
2003-03-17  9:26 Robert Schiele
2003-03-17  9:16 Richard Henderson
2003-03-17  5:16 Robert Schiele
2003-03-16 23:27 rth
2003-03-16 23:26 rth

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=20030317170601.8451.qmail@sources.redhat.com \
    --to=falk.hueffner@student.uni-tuebingen.de \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@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: 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).