This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fobey-inline (was Re: gcc and inlining)
- From: Eric Christopher <echristo at redhat dot com>
- To: Robert Dewar <dewar at gnat dot com>
- Cc: Richard dot Earnshaw at arm dot com, aph at redhat dot com, gcc at gcc dot gnu dot org
- Date: 13 Mar 2003 16:40:38 -0800
- Subject: Re: -fobey-inline (was Re: gcc and inlining)
- References: <20030313231224.45F76F2941@nile.gnat.com>
On Thu, 2003-03-13 at 15:12, Robert Dewar wrote:
> > No, it's a compile my buggy program issue.
>
> That's too harsh, a program that does not follow the letter of the standard may
> still be perfectly valid for a given implementation, just not portable, but the
> programmer may not care about portable, and may care very much whether or not a
> given implementation behaves or does not behave in a particular manner.
>
This is ridiculous, and absolutely unsupportable. There's no way that we
can promise the behavior that every user that decides not to program to
the various language standards will get the behavior that they expect -
not unless you have a patch to enable the compiler to read the user's
mind.
Something that is given as implementation specific can occasionally be
worked out among different compiler vendors, you stand a better chance
of getting the behavior into the language than to get that type of
coordination.
-eric
--
o/~ got caught stealing fire from the sky o/~