On Wed, 21 Sep 2016, John David Anglin wrote:
> The alignment of 16 arises in code that used the ldcw instruction.
> Although this could be avoided in glibc there are numerous other
> packages with objects requiring 16-byte alignment. So, I'm tending
> to think the typedef for max_align_t should
On Wed, 2016-09-21 at 16:56 +0200, Florian Weimer wrote:
> Torvald, would it be possible to align mutexes internally on hppa, to
> avoid the 16-byte alignment of the entire struct (that is, store a
> pointer to the actual mutex object, which points to a sub-region of
> the struct which is suitably
* Carlos O'Donell:
>> Yes, and for the warning to go away, GCC's MALLOC_ABI_ALIGNMENT needs
>> to be increased as well, I think.
>
> This is not required.
Strictly speaking, that's true.
> The __attribute__((__aligned__(16))); is not required for pthread locks
> to work correctly, it is simply
On 09/21/2016 10:56 AM, Florian Weimer wrote:
> * John David Anglin:
>
>> On Tue, Sep 20, 2016 at 09:27:17PM +0200, Florian Weimer wrote:
>>> * Ian Lance Taylor:
>>>
GCC PR 77625 is about a warning while compiling the Go frontend. The
Go frontend called `new std::ofstream()`, and the
* John David Anglin:
> On Tue, Sep 20, 2016 at 09:27:17PM +0200, Florian Weimer wrote:
>> * Ian Lance Taylor:
>>
>> > GCC PR 77625 is about a warning while compiling the Go frontend. The
>> > Go frontend called `new std::ofstream()`, and the warning is "error:
>> > `new' of type `std::ofstream
On Tue, Sep 20, 2016 at 09:27:17PM +0200, Florian Weimer wrote:
> * Ian Lance Taylor:
>
> > GCC PR 77625 is about a warning while compiling the Go frontend. The
> > Go frontend called `new std::ofstream()`, and the warning is "error:
> > `new' of type `std::ofstream {aka std::basic_ofstream}'
* Ian Lance Taylor:
> GCC PR 77625 is about a warning while compiling the Go frontend. The
> Go frontend called `new std::ofstream()`, and the warning is "error:
> ‘new’ of type ‘std::ofstream {aka std::basic_ofstream}’ with
> extended alignment 16". Frankly I'm not sure how this supposed to
>