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]
Other format: [Raw text]

Re: C vs. C++ breakage on 4.7 (was Re: [Patch, fortran] PR58007: unresolved fixup hell)


On Tue, Jan 28, 2014 at 3:25 AM, Hans-Peter Nilsson <hp@bitrange.com> wrote:
> On Mon, 27 Jan 2014, Richard Biener wrote:
>> >Huh, so we have C for cross-builds and C++ for bootstraps.
>>
>> No, we use a C host compiler in both cases. Only stages 2 and 3 build with a C++ compiler.
>
> Tomatos potatoes!  As fortran isn't built until then, it'll be
> built as C for cross-builds and C++ for native bootstraps.  Can
> we make stage 2 and 3 built with C on the 4.7 branch?

You can, with a configure option.  No, at this point we don't want to
change the defaults.

Richard.

>
>>
>> Richard.
>>  I
>> >wish we could retire that difference *also* on the 4.7 branch
>> >(using either C *or* C++ for *both* would be fine with me FWIW).
>> >I believe we're now eperiencing more problems than benefits with
>> >that difference, now that the migration is over.
>> >
>> >> > Looks like you committed C++ code there, in module.c:
>> >> Alright; can you try the attached patch?
>> >
>> >Sorry, not at the moment, but I see Janus took care of that
>> >(thanks) and it looks pretty obvious to me.  It'll be noticed
>> >when it's committed...
>> >
>> >brgds, H-P
>>
>>


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