This is the mail archive of the gcc@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: Switching to C++ by default in 4.8


On 4/9/12, Jakub Jelinek <jakub@redhat.com> wrote:
> On Mon, Apr 09, 2012 at 11:51:56AM -0700, Lawrence Crowl wrote:
>> On 4/9/12, Jakub Jelinek <jakub@redhat.com> wrote:
>> > On Mon, Apr 09, 2012 at 10:55:46AM -0700, Lawrence Crowl wrote:
>> > > A build conversion to C++ is a precondition to any source change
>> > > using C++, though the two could be bundled into one patch.  In any
>> > > event, I agree that the conversion needs to provide value. Vectors
>> > > and hash tables are a good early target.
>> >
>> > Hash tables?  Ugh, what is wrong with the hash tables we have
>> > right now in GCC?
>>
>> Lots of boiler plate involving casting to void*.  Some of that
>> boiler plate makes the optimizer less effective.
>
> Have you any numbers that back that up?

Not for the optimizer claim, as the conversion hasn't been done yet.

-- 
Lawrence Crowl


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