Re: [PATCH] Fix overflow handling in std::align

2020-09-21 Thread Glen Fernandes via Gcc-patches
On Mon, Sep 14, 2020 at 5:44 PM Thomas Rodgers wrote: > > On Sep 14, 2020, at 7:30 AM, Ville Voutilainen wrote: > > > > On Mon, 14 Sep 2020 at 15:49, Glen Fernandes wrote: > >> Sounds like a good idea. Updated patch attached. > > > > Looks good to me. > > Agree. Rebased patch on latest changes

Re: [PATCH] Fix overflow handling in std::align

2020-09-14 Thread Glen Fernandes via Gcc-patches
On Mon, Sep 14, 2020 at 5:52 AM Ville Voutilainen wrote: > On Mon, 14 Sep 2020 at 12:51, Ville Voutilainen > wrote: > > On Mon, 14 Sep 2020 at 09:18, Glen Fernandes > wrote: > > > Edit; Correct patch this time. > > > > > > Fix overflow handling in align > > > > Should the test verify that space is

[PATCH] Fix overflow handling in std::align

2020-09-13 Thread Glen Fernandes via Gcc-patches
Edit; Correct patch this time. Fix overflow handling in align 2020-09-12 Glen Joseph Fernandes * include/bits/align.h (align): Fix overflow handling. * testsuite/20_util/align/3.cc: New tests. Tested x86_64-pc-linux-gnu. Glen commit 1c560175f38c6b108f80ffcf94d4cd956ef66604 A

[PATCH] Fix overflow handling in std::align

2020-09-13 Thread Glen Fernandes via Gcc-patches
Fix overflow handling in align 2020-09-12 Glen Joseph Fernandes * include/bits/align.h (align): Fix overflow handling. * testsuite/20_util/align/3.cc: New tests. Tested x86_64-pc-linux-gnu. commit 1c560175f38c6b108f80ffcf94d4cd956ef66604 Author: Glen Joseph Fernandes Date: