This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to implement `restrict' in C
- To: law at cygnus dot com, Andi Kleen <ak at muc dot de>
- Subject: Re: PATCH to implement `restrict' in C
- From: Michael Meissner <meissner at cygnus dot com>
- Date: Wed, 21 Oct 1998 16:50:03 -0400
- Cc: mark at markmitchell dot com, egcs-patches at cygnus dot com
- References: <k23e8jsb68.fsf@zero.aec.at> <423.908896574@upchuck>
On Tue, Oct 20, 1998 at 09:16:14AM -0600, Jeffrey A Law wrote:
>
> In message <k23e8jsb68.fsf@zero.aec.at>you write:
> > There is one problem with that: once restrict is ported to g++ it will
> > need an own option for it. -flang-c9x doesn't make sense for a C++ compiler
> > (and a new C++ standard including it is unlikely to appear anytime soon)
> > So an -frestrict is needed anyways, and it would be inconsistent to have
> > it for g++, but not for gcc. So I propose to keep -frestrict, but to have
> > -flang-c9x imply it.
> Actually I'd prefer "-lang-c9x", not "-flang-c9x". Again, consistency with
> existing language variant options.
And what happens if I have a library named libang-c9x.a? Then I can't link it
in.
--
Michael Meissner, Cygnus Solutions (Massachusetts office)
4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
meissner@cygnus.com, 617-354-5416 (office), 617-354-7161 (fax)