develooper Front page | perl.perl5.porters | Postings from October 2017

[perl #131689] Configure should probe for __builtin_add_overflow

Thread Next
From:
James E Keenan via RT
Date:
October 28, 2017 20:47
Subject:
[perl #131689] Configure should probe for __builtin_add_overflow
Message ID:
rt-4.0.24-5372-1509223618-1070.131689-15-0@perl.org
On Sun, 02 Jul 2017 08:19:31 GMT, mauke- wrote:
> On Sun, 02 Jul 2017 01:14:12 -0700, mauke- wrote:
> >
> > I'd like to be able __builtin_add_overflow, __builtin_sub_overflow,
> > __builtin_mul_overflow (safe +, -, * with overflow checks) in core
> > code.
> >
> > It would be nice if Configure had checks for those (it already checks
> > for
> > __builtin_choose_expr and __builtin_expect).
> 
> I've attached patches to do that, but I'm not sure if this is the
> right way to do it (see bug #131688).
> 
> The first patch extends Configure.
> 
> The second patch extends config_h.SH, which contains a comment saying
> "THIS IS A GENERATED FILE. DO NOT HAND-EDIT.  See
> Porting/config_h.pl", but I saw Porting/config_h.pl and it contains no
> useful information, so I hand-edited anyway.

Now that metaconfig has its repository on github.com, should this RT be re-formulated as an issue at that location?

https://github.com/perl5-metaconfig/metaconfig/issues?q=is%3Aopen+is%3Aissue

Thank you very much.

-- 
James E Keenan (jkeenan@cpan.org)

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=131689

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About