]> git.ipfire.org Git - thirdparty/gcc.git/commit
Replace modulus with mask operation in over-aligned new
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Sep 2016 18:09:14 +0000 (18:09 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Sep 2016 18:09:14 +0000 (18:09 +0000)
commit29ff19b82569254ede5eb8c6134863d2e059fca4
treeb8c56baa281de2eae77e1ec2845a367d9bf8d38d
parent42f172d025a5f4f44520b5b172d1786ea2a8fc24
Replace modulus with mask operation in over-aligned new

2016-09-16  Jonathan Wakely  <jwakely@redhat.com>
    Marc Glisse  <marc.glisse@inria.fr>

* libsupc++/new_opa.cc [_GLIBCXX_HAVE_ALIGNED_ALLOC]
(operator new(size_t, align_val_t)): Replace modulus operator with
mask.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240192 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/new_opa.cc