This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using C++ in GCC is OK
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc at gnu dot org, chiheng dot xu at gmail dot com
- Date: Fri, 4 Jun 2010 20:01:38 +0000 (UTC)
- Subject: Re: Using C++ in GCC is OK
- References: <4C030228.8020201@codesourcery.com> <201005310850.52926.ebotcazou@adacore.com> <m34ohov3ap.fsf@hase.home> <201005311148.22320.ebotcazou@adacore.com> <4619EA28-AC1B-4012-A4B9-164013FF075E@gmail.com> <AANLkTil4Y_1KKV0ug31ulpUoA1pwTvvx4cCDYhrGs9VW@mail.gmail.com> <4C04BECC.3070701@gnu.org>
On Tue, 1 Jun 2010, Paolo Bonzini wrote:
> > I think compiler can and should be host independent, like LLVM.
>
> It is. Changes to code generation depending on the host are considered to be
> serious bugs, and have been long before LLVM existed.
I'd like that to be the case, but PR 35466 was closed as WONTFIX. I don't
know whether the problem there applies to other targets as well, but I'd
prefer requiring HOST_WIDE_INT to be 64 bits for all hosts and targets
simply to eliminate the risk of this class of bugs.
--
Joseph S. Myers
joseph@codesourcery.com