public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dale Johannesen <dalej@apple.com>
To: Mark Mitchell <mark@codesourcery.com>
Cc: Dale Johannesen <dalej@apple.com>,
	"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: Re: Patch: stab info for const fields
Date: Thu, 31 Oct 2002 09:42:00 -0000	[thread overview]
Message-ID: <091B198B-ECF8-11D6-9FE8-000393D76DAA@apple.com> (raw)
In-Reply-To: <47730000.1036043931@warlock.codesourcery.com>


On Wednesday, October 30, 2002, at 09:58  PM, Mark Mitchell wrote:
> --On Wednesday, October 30, 2002 03:16:10 PM -0800 Dale Johannesen 
> <dalej@apple.com> wrote:
>
>> For fields of the form
>>    struct s {
>>       char *const p;
>>    }
>> the C FE sets the READONLY bit on the FIELD_DECL node, not
>> on its type.
>
> Yes, and that's what's wrong.  :-)
>
> The right fix is to change that behavior in the C front end the same
> way that I changed the C++ front end a couple of years ago.

How much of a can of worms is doing it this way?

  reply	other threads:[~2002-10-31 17:42 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-30 15:16 Dale Johannesen
2002-10-30 22:01 ` Mark Mitchell
2002-10-31  9:42   ` Dale Johannesen [this message]
2002-10-31  9:47     ` Mark Mitchell
2002-10-31 10:25       ` Dale Johannesen
2002-10-31 11:06         ` Mark Mitchell
2002-10-31 12:50           ` Zack Weinberg
2002-10-31 12:54             ` Mark Mitchell
2002-10-31 13:10               ` Zack Weinberg
2002-10-31 13:12                 ` Mark Mitchell
2002-10-31 14:26             ` Joseph S. Myers
2002-10-31 11:21   ` Joseph S. Myers
2002-10-31 13:37 Richard Kenner
2002-10-31 13:52 ` Mark Mitchell
2002-10-31 14:05 Richard Kenner
2002-10-31 14:29 ` Mark Mitchell
2002-10-31 14:33 Richard Kenner
2002-10-31 15:14 ` Zack Weinberg
2002-10-31 15:24 Richard Kenner
2002-10-31 15:50 ` Zack Weinberg
2002-10-31 16:04 Richard Kenner
2002-10-31 16:26 ` Gabriel Dos Reis
2002-10-31 20:17   ` Zack Weinberg
2002-11-01  4:52     ` Gabriel Dos Reis
2002-11-01  3:45 Richard Kenner
2002-11-01  3:55 ` Andrew Haley
2002-11-01  4:45 Richard Kenner
2002-11-01  4:56 ` Andrew Haley
2002-11-01  4:59 Richard Kenner
2002-11-01 12:35 Richard Kenner

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=091B198B-ECF8-11D6-9FE8-000393D76DAA@apple.com \
    --to=dalej@apple.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=mark@codesourcery.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).