This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Change to readonly conflict handling


> Date: Sun, 17 Sep 00 17:53:58 EDT
> From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner)
> Cc: gcc-patches@gcc.gnu.org
> 
>     Do you have a test case?
> 
> Yes, but it's in Ada.  I don't think any other front-end has readonly fields.

C has readonly fields:

struct foo
{
  const int a;
  int b;
};

How is the Ada frontend creating a non-unchanging write to a readonly
field?

-- 
- Geoffrey Keating <geoffk@cygnus.com>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]