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: [google][patch] Put make_heap's declaration on a single line to work around inconsistent debug locations


And reverted in r177083 because I fixed the underlying problem.

On Fri, Jul 22, 2011 at 11:06 PM, Ollie Wild <aaw@google.com> wrote:
> Ok for inclusion in google/gcc-4_6.
>
> Ollie
>
> On Fri, Jul 22, 2011 at 5:46 PM, Jeffrey Yasskin <jyasskin@google.com> wrote:
>>
>> For the google/gcc-4_6 branch _only_. I'll fix the inconsistency in
>> debug locations later for trunk and google/main.
>>
>> In some translation units the debug location of make_heap is the
>> location of its name; in other TUs it's the location of the closing
>> ')'. This causes false positives in gold's ODR checker. Until I can
>> find why the locations are inconsistent, we can work around the
>> problem by putting the name and closing ')' on the same line.
>>
>> libstdc++-v3/ChangeLog
>> 2011-07-22 ? Jeffrey Yasskin ?<jyasskin@google.com>
>>
>> ? ? ? ?* include/bits/stl_heap.h(make_heap): Remove a newline.
>


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