[Bug libquadmath/78414] New: libquamath converts (long double) INFINITY to NAN

2016-11-18 Thread walter.mascarenhas at gmail dot com
Component: libquadmath Assignee: unassigned at gcc dot gnu.org Reporter: walter.mascarenhas at gmail dot com Target Milestone: --- Created attachment 40078 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40078&action=edit a simple code showing the bug Libquadmath conve

[Bug libquadmath/78415] New: sqrtq does not round correctly when round mode is upward

2016-11-18 Thread walter.mascarenhas at gmail dot com
Priority: P3 Component: libquadmath Assignee: unassigned at gcc dot gnu.org Reporter: walter.mascarenhas at gmail dot com Target Milestone: --- // // The code below shows that sqrtq does not round // correctly when the rounding mode is upwards. // #include #include

[Bug c++/56516] New: problem parsing templates: object.field < 10 interpreted as ill formed template

2013-03-04 Thread walter.mascarenhas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56516 Bug #: 56516 Summary: problem parsing templates: object.field < 10 interpreted as ill formed template Classification: Unclassified Product: gcc Version: unknown

[Bug c++/59056] New: enable_if turns a non-ambiguous template into an ambiguous one

2013-11-08 Thread walter.mascarenhas at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: walter.mascarenhas at gmail dot com Created attachment 31187 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31187&action=edit a simple code illustrating the bug The attach

[Bug c++/59056] ambiguous call to function template overloads not diagnosed

2013-11-13 Thread walter.mascarenhas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59056 --- Comment #7 from Walter Mascarenhas --- In itself, Richard's paragraph "Morally, the function should ambiguous... " implies that the code below is ambiguous. However, it compiles just fine with gcc 4.8.1, because gcc also takes into account the

[Bug c++/59056] ambiguous call to function template overloads not diagnosed

2013-11-14 Thread walter.mascarenhas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59056 --- Comment #9 from Walter Mascarenhas --- 1) I just wrote that Richard's paragraph, IN ITSELF, does not explain why things are as they are. I did not write that there aren't other reasons to justify the standard's decisions. 2) As I wrote, GCC d

[Bug c++/64497] New: std::scalbln does not round correctly for long doubles

2015-01-05 Thread walter.mascarenhas at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: walter.mascarenhas at gmail dot com The overload std::scalbln(long double, long) may not round the result correctly when the exponent is very small. For instance, with round mode = near, std::scalbln(1.1L, -16446

[Bug c++/64497] std::scalbln does not round correctly for long doubles

2015-01-05 Thread walter.mascarenhas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64497 --- Comment #2 from Walter Mascarenhas --- What if there is a difference in the expected behavior for this function in C and C++11? Is it not up to g++ for implementing what is mandated in C++11? (This is not a rhetorical question, I really do n

[Bug c++/60273] New: gcc gets confused when one class uses variadic

2014-02-19 Thread walter.mascarenhas at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: walter.mascarenhas at gmail dot com Created attachment 32171 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32171&action=edit gcc asked me to submit this file // // When compiling this file in Ubuntu 13.04, gc