Re: contributing advice

2024-01-29 Thread 3dw4rd--- via Gcc
3dw...@verizon.net On Monday, January 29, 2024 at 03:13:07 PM EST, Jonathan Wakely via Gcc wrote: On Mon, 29 Jan 2024 at 19:15, Claudio Bantaloukas via Gcc wrote: > > On 26/01/2024 17:51, Florin Mateoc via Gcc wrote: > > Hi all, > > > > I am an experienced software developer,

[Bug fortran/84073] In -fc-prototypes fixed (nonzero) length strings are mapped to plain char in prototype.

2018-01-28 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84073 Ed Smith-Rowland <3dw4rd at verizon dot net> changed: What|Removed |Added CC| |

[Bug fortran/83803] Using -fc-prototypes on modules with empty dummy arg lists does not close paren.

2018-01-11 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83803 --- Comment #2 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Forgot compiler info: ed@ed-VirtualBox:~$ ./bin/bin/gfortran -v Using built-in specs. COLLECT_GCC=./bin/bin/gfortran COLLECT_LTO_WRAPPER=/home/ed/bin/libexec/gcc/x86_64-pc

[Bug fortran/83803] New: Using -fc-prototypes on modules with empty dummy arg lists does not close paren.

2018-01-11 Thread 3dw4rd at verizon dot net
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: 3dw4rd at verizon dot net Target Milestone: --- Created attachment 43101 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43101=edit nocloseparen.f95 mod

[Bug libstdc++/83237] Values returned by std::poisson_distribution are not distributed correctly

2017-12-18 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83237 Ed Smith-Rowland <3dw4rd at verizon dot net> changed: What|Removed |Added CC| |

[Bug libstdc++/83120] [8 Regression] ext/special_functions/hyperg failure on AIX

2017-12-05 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83120 --- Comment #4 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- In my regen of the testcases, I clobbered some dg-extra-options or something.

[Bug libstdc++/66689] comp_ellint_3 and ellint_3 return garbage values

2017-11-17 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66689 --- Comment #6 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Created attachment 42635 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42635=edit Patch with regenerated testcases for all. tr1 and std. 2017-11-17 Edward Smit

[Bug libstdc++/66689] comp_ellint_3 and ellint_3 return garbage values

2017-11-16 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66689 --- Comment #5 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- in other news I've switched to boost to test this.

[Bug libstdc++/66689] comp_ellint_3 and ellint_3 return garbage values

2017-11-16 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66689 --- Comment #4 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- My last comment is nuts. I was thrown by the fact that GSL, against which I've been testing, and the Carlson papers that form the basis if the implementation use t

[Bug libstdc++/83025] xfstream::open with char* gets caught on C++17 path overload.

2017-11-16 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83025 --- Comment #1 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Created attachment 42628 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42628=edit patch... enable_if with is_class_v.

[Bug libstdc++/83025] New: xfstream::open with char* gets caught on C++17 path overload.

2017-11-16 Thread 3dw4rd at verizon dot net
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: 3dw4rd at verizon dot net Target Milestone: --- Created attachment 42627 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42627=edit Example showing error. Compile with -std=c+

[Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value

2017-04-13 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397 --- Comment #2 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Created attachment 41198 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41198=edit Testing a patch... I'm testing the following: 2017-04-13 Edward Smith-Rowl

[Bug libquadmath/68686] tgammaq(x) is always negative for noninteger x < 0

2017-03-29 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68686 --- Comment #4 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Created attachment 41079 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41079=edit Correct sign of negative arg tgammaq. Basically, return (x > 0.0Q || (

[Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value

2017-03-29 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397 --- Comment #1 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- I concur with this solution. I can make a patch.

[Bug libstdc++/66689] comp_ellint_3 and ellint_3 return garbage values

2017-03-29 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66689 --- Comment #3 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Well, for whatever reason, TR29124 and C++17 chose the - in front of \nu. As long as we document and warn I think this isn't a defect. I'll dig through the docs and get back.

[Bug testsuite/69371] UNRESOLVED: special_functions/18_riemann_zeta/check_value.cc compilation failed to produce executable

2016-01-21 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69371 --- Comment #5 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- On 01/20/2016 11:46 PM, thopre01 at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69371 > > --- Comment #4 from Thomas Preud'homme ---

[Bug testsuite/69371] UNRESOLVED: special_functions/18_riemann_zeta/check_value.cc compilation failed to produce executable

2016-01-20 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69371 --- Comment #2 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- On 01/19/2016 10:19 PM, thopre01 at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69371 > > Bug ID: 69371 > S

[Bug preprocessor/60858] 64-bit multi-character constants

2014-07-25 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60858 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added CC||3dw4rd

[Bug c++/61754] [C++1y] [[deprecated]] attribute warns annoyingly compared to __attribute__((deprecated))

2014-07-15 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61754 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added CC||3dw4rd

[Bug preprocessor/44317] ,##__VA_ARGS__ comma not eaten with -std=c++0x

2014-07-10 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44317 --- Comment #4 from Ed Smith-Rowland 3dw4rd at verizon dot net --- After the fix for PR61389 goes in we'll get: [ed@localhost tr2]$ /home/ed/bin/bin/g++ -std=gnu++11 -Wpedantic -c test_pr44317.cpp test_pr44317.cpp:7:17: warning: ISO C++11

[Bug preprocessor/61389] libcpp diagnostics shouldn't talk about ISO C99 for C++ input files

2014-07-07 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61389 --- Comment #1 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Here is a shot at the language of variadic macro arguments in macro.c: Index: macro.c === --- macro.c

[Bug preprocessor/61389] libcpp diagnostics shouldn't talk about ISO C99 for C++ input files

2014-07-07 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61389 --- Comment #4 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Do you want me to merge my variadic macro language and your final whole-string version (I had started on a %s solution too ;o))? Or are you on a roll?

[Bug preprocessor/61389] libcpp diagnostics shouldn't talk about ISO C99 for C++ input files

2014-07-07 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61389 --- Comment #6 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 33085 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33085action=edit Basic patch for C error messages in C++ This needs building and testing

[Bug preprocessor/61389] libcpp diagnostics shouldn't talk about ISO C99 for C++ input files

2014-07-07 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61389 --- Comment #7 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Add a dependency: 44317 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44317 At least it's closely related.

[Bug c++/61648] g++ accepts literal operator friends for non-template classes but not for *template* classes

2014-07-07 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61648 --- Comment #4 from Ed Smith-Rowland 3dw4rd at verizon dot net --- I need a tool like PROCESSING_REAL_TEMPLATE_DECL_P except for specializations in that it is true only for the most recent or latest or innermost declaration. I need a replacement

[Bug c++/58155] -Wliteral-suffix warns about tokens which are skipped by preprocessor

2014-07-02 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58155 --- Comment #1 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 33053 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33053action=edit Patch to not warn if skipping. I still need a testcase or two. 2014-07-02 Edward

[Bug c++/61648] g++ accepts literal operator friends for non-template classes but not for *template* classes

2014-06-30 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61648 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added CC||3dw4rd

[Bug c++/61648] g++ accepts literal operator friends for non-template classes but not for *template* classes

2014-06-30 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61648 --- Comment #2 from Ed Smith-Rowland 3dw4rd at verizon dot net --- In typeck.c/check_literal_operator_args Make this change: - if (processing_template_decl || processing_specialization) + /*if (processing_template_decl

[Bug c++/61648] g++ accepts literal operator friends for non-template classes but not for *template* classes

2014-06-30 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61648 --- Comment #3 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Put this and it works. if (PROCESSING_REAL_TEMPLATE_DECL_P() || processing_specialization) {

[Bug c++/60249] [c++11] Compiler goes into semi-infinite loop with wrong usage of user defined string literals

2014-06-28 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 --- Comment #7 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 33026 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33026action=edit patch_from_hell

[Bug c++/60249] [c++11] Compiler goes into semi-infinite loop with wrong usage of user defined string literals

2014-06-28 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 --- Comment #6 from Ed Smith-Rowland 3dw4rd at verizon dot net --- On 06/27/2014 05:39 PM, paolo.carlini at oracle dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 --- Comment #5 from Paolo Carlini paolo.carlini at oracle dot

[Bug c++/60249] [c++11] Compiler goes into semi-infinite loop with wrong usage of user defined string literals

2014-06-28 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 --- Comment #9 from Ed Smith-Rowland 3dw4rd at verizon dot net --- On 06/28/2014 10:03 AM, paolo.carlini at oracle dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot

[Bug c++/60249] [c++11] Compiler goes into semi-infinite loop with wrong usage of user defined string literals

2014-06-28 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 --- Comment #10 from Ed Smith-Rowland 3dw4rd at verizon dot net --- On 06/28/2014 10:03 AM, paolo.carlini at oracle dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot

[Bug c++/59867] Template string literal loses first symbol

2014-06-27 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59867 --- Comment #13 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 33020 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33020action=edit Patch 58781, 59867, 60249, ... I think I got it. Don't mess with the token stream

[Bug c++/58781] Unicode strings broken in a strange way

2014-06-27 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58781 --- Comment #4 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 33021 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33021action=edit Patch 58781, 59867, 60249, .. I think I got it. Don't mess with the token stream

[Bug c++/59867] Template string literal loses first symbol

2014-06-27 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59867 --- Comment #12 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 33019 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33019action=edit Patch 58781, 59867, 60249, ... I think I got it. Don't mess with the token stream

[Bug c++/60249] [c++11] Compiler goes into semi-infinite loop with wrong usage of user defined string literals

2014-06-27 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 --- Comment #4 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 33022 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33022action=edit Patch 58781, 59867, 60249, ... I think I got it. Don't mess with the token stream

[Bug c++/60249] [c++11] Compiler goes into semi-infinite loop with wrong usage of user defined string literals

2014-06-26 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 --- Comment #3 from Ed Smith-Rowland 3dw4rd at verizon dot net --- On 06/25/2014 01:45 PM, paolo.carlini at oracle dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot

[Bug libstdc++/61166] overflow when parse number in std::duration operator

2014-05-13 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61166 --- Comment #5 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 32792 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=32792action=edit Better patch with test case. 2014-05-13 Ed Smith-Rowland 3dw...@verizon.net

[Bug c++/61038] g++ -E is unusable with UDL strings

2014-05-12 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61038 --- Comment #5 from Ed Smith-Rowland 3dw4rd at verizon dot net --- I'm pretty sure I have my arms around this one. Two questions: 1. Any ideas on how to make testsuite cases? Any examples of looking at preprocessed files in the testsuite? 2

[Bug c++/61038] g++ -E is unusable with UDL strings

2014-05-12 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61038 --- Comment #7 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Note to self: you DO need to take care of char... void operator _t(const char) { } #define QUOTE(s) #s int main() { QUOTE(''_t); QUOTE('\''_t); QUOTE('\\'_t); }

[Bug c++/50025] [DR 1288] C++0x initialization syntax doesn't work for class members of reference type

2014-03-01 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50025 --- Comment #15 from Ed Smith-Rowland 3dw4rd at verizon dot net --- I agree. My examples are working. Unfortunately, my account seems to not have the permissions to close a bug. I am a maintainer. Any ideas how I can get such permissions set

[Bug c++/50025] [DR 1288] C++0x initialization syntax doesn't work for class members of reference type

2014-03-01 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50025 --- Comment #16 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Sorry for the noise. I reported a dupe not this bug. My question on permissions still stands though.

[Bug c++/59867] Template string literal loses first symbol

2014-01-21 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59867 --- Comment #11 from Ed Smith-Rowland 3dw4rd at verizon dot net --- This may be related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58781 - another decltype user-defined literal bug.

[Bug c++/59867] Template string literal loses first symbol

2014-01-19 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59867 --- Comment #10 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Right now, -std=c++1y means anything after c++11. Does anyone have an idea about what happens when C++14 and these other TSen actually come out? I guess I was thinking as far

[Bug c++/59867] Template string literal loses first symbol

2014-01-18 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59867 --- Comment #8 from Ed Smith-Rowland 3dw4rd at verizon dot net --- I put this in a while back because it looked like it was going into C++14. I jumped to gun. Unfortunately, I am not on a place where I can look at this until Tuesday. It should

[Bug libstdc++/59531] string_view overrun in copy operation

2013-12-21 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59531 --- Comment #1 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Also, we should throw when pos size() rather than pos = size(). Spinning new patches and testing.

[Bug libstdc++/59530] Incorrect check on string_view operator[]

2013-12-18 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59530 --- Comment #1 from Ed Smith-Rowland 3dw4rd at verizon dot net --- I mistakenly took cases for string which must be null terminated. I think we'll just remove those lines from the testcases.

[Bug libstdc++/53683] cout doesn't support std::u16string

2013-11-26 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53683 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added CC||3dw4rd

[Bug c++/57640] Explicit call of system literal operator complains about leading underscore.

2013-11-22 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57640 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug bootstrap/42825] bootstrap fails: /usr/bin/ld: can't locate file for: -lgcc_s.10.4

2013-11-22 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42825 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/48014] Bootstrap fails in stage2 on Fortran front end typedef collision.

2013-11-22 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48014 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug libstdc++/59087] Issues including complex.h in C++11/1y mode because of C's complex.h

2013-11-14 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59087 --- Comment #6 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Strangely, head works: http://melpon.org/wandbox/permlink/CnsddYRxUohlCGF1 Although mine still gets the error. I did something that might have helped for 4.9. If I can prove

[Bug libstdc++/59087] Issues including complex.h in C++11/1y mode because of C's complex.h

2013-11-14 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59087 --- Comment #7 from Ed Smith-Rowland 3dw4rd at verizon dot net --- OK, it took me a while to remember this (even though I put it in myself). By default, g++ -std=c++11/1y intercepts numeric suffixes for C++11 user-defined literals. By default g

[Bug libstdc++/59087] Issues including complex.h in C++11/1y mode because of C's complex.h

2013-11-13 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59087 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added CC||3dw4rd

[Bug bootstrap/34881] Bootstrap fails on building libstdc++: can't find file for: -lgcc_s.10.4

2013-11-10 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34881 --- Comment #3 from Ed Smith-Rowland 3dw4rd at verizon dot net --- On 11/09/2013 06:02 PM, pinskia at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34881 Andrew Pinski pinskia at gcc dot gnu.org changed: What

[libstdc++,C++11] Library style for user-defined literal operators

2013-10-22 Thread 3dw4rd
Let me try that again. Sorry for the dupe and the bad subject in the previous message. This patch fixes a small stylistic nit in the user-defined literal operators in the standard library.I propose we prefer: operatorsuf - with no spacerather than: operator suf - with spaceIt is only strictly

[Bug c++/58781] Unicode strings broken in a strange way

2013-10-21 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58781 --- Comment #1 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 31061 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31061action=edit Busybox showing that the passed in string to the operator is OK. When I run

[Bug c++/58781] Unicode strings broken in a strange way

2013-10-21 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58781 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added Attachment #31061|0 |1

[Bug c++/58781] Unicode strings broken in a strange way

2013-10-21 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58781 --- Comment #3 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Q; Is this a regression? A: No. See http://ideone.com/8JS3Yf This is gcc-4.8.1 (needed a space between and _s but still errors

[Bug libstdc++/58804] dynamic_bitset uses popcountl on long long

2013-10-20 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58804 --- Comment #9 from Ed Smith-Rowland 3dw4rd at verizon dot net --- So I'll post this patch to gcc-patches. Thanks. In other news, people are thinking about a bitops library: https://groups.google.com/a/isocpp.org/forum/?fromgroups#!topic/std

[Bug c++/58708] string literal operator templates broken

2013-10-14 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58708 --- Comment #5 from Ed Smith-Rowland 3dw4rd at verizon dot net --- The const qualification of the first parm and the number of elements are wrong. I'm testing a patch.

[Bug libstdc++/58729] tr2::dynamic_bitset::resize fails

2013-10-14 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58729 --- Comment #5 from Ed Smith-Rowland 3dw4rd at verizon dot net --- This is wrong. Testing a patch...

[Bug c++/58708] string literal operator templates broken

2013-10-13 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58708 --- Comment #2 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Hristo, Thanks for finishing your thought. So if i have: templatetypename CharT, CharT... str void operator_foo { ChatT arr[]{str...}; } U\x1\x10001\x10002_foo

[Bug c++/58072] New: [C++11] Error messages involving user-defined literals are poor (refer to tokens)

2013-08-03 Thread 3dw4rd at verizon dot net
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: 3dw4rd at verizon dot net Created attachment 30603 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30603action=edit Patch triggering a range of bad errors. This bug

[Bug c++/58072] [C++11] Error messages involving user-defined literals are poor (refer to tokens)

2013-08-03 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58072 --- Comment #1 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 30604 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30604action=edit Patch c_parse_error to catch and describe user-defined literal tokens explicitly. gcc

[Bug c++/58057] gcc lexer cannot parse extern \x43 void blah() with option -std=c++0x;

2013-08-02 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58057 --- Comment #9 from Ed Smith-Rowland 3dw4rd at verizon dot net --- I think I need to test for keyword in addition to testing for macro in libcpp/lex.c I'll look at this. I'll also look at getting a better error.

[Bug c++/58057] gcc lexer cannot parse extern \x43 void blah() with option -std=c++0x;

2013-08-02 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58057 --- Comment #10 from Ed Smith-Rowland 3dw4rd at verizon dot net --- No, I remember now. This code *cannot* be right. With the addition of user-defined literals in C++11 and DR1473 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3675

[Bug c++/58057] gcc lexer cannot parse extern \x43 void blah() with option -std=c++0x;

2013-08-02 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58057 --- Comment #12 from Ed Smith-Rowland 3dw4rd at verizon dot net --- On 08/02/2013 01:47 PM, paolo.carlini at oracle dot com wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58057 --- Comment #11 from Paolo Carlini paolo.carlini at oracle dot

Re: Re: [C++14] Admit C++ keywords as literal suffixes.

2013-06-18 Thread 3dw4rd
On 06/18/13, Jonathan Wakelyjwakely@gmail.com wrote: On 18 June 2013 07:04, Ed Smith-Rowland wrote: I understand that the literal operators for complex numbers for C++14 faltered at least in part because of the perceived ugliness of the float operator: constexpr complexfloat

[Bug c++/57640] New: Explicit call of system literal operator complains about leading underscore.

2013-06-17 Thread 3dw4rd at verizon dot net
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: 3dw4rd at verizon dot net Since we added literal operators to the standard library I noticed that if you explicitly call a std literal operator

[Bug c++/57640] Explicit call of system literal operator complains about leading underscore.

2013-06-17 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57640 --- Comment #1 from Ed Smith-Rowland 3dw4rd at verizon dot net --- Created attachment 30317 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30317action=edit Add declarator_p to checks to trigger warning. Testing this fully but I think

RE: [Bug libstdc++/56430] In __airy: return-statement with a value, in function returning 'void'.

2013-06-12 Thread 3dw4rd
Here is an overdue patch for the Airy function. I repair the void function and I out two Airy functions as C++ extensions. Built and tested on x86_64-linux. OK? Ed CL_Airy Description: Binary data patch_Airy4 Description: Binary data

Re: Re: Implement N3642 - User-defined Literals for Standard Library Types

2013-05-31 Thread 3dw4rd
On 05/31/13, Ed Smith-Rowland3dw...@verizon.net wrote: ... 1. Put the precision first in upper case. As a matter of style I prefer 123456L to 123456l for normal literals anyway. Also, the precision snuggles next to the number - then you modify it. That seems logical to me. Also,

Re: Re: [wwwdocs] C++14 support for binary literals says Noinstead of Yes

2013-04-30 Thread 3dw4rd
On 04/30/13, Jakub Jelinekja...@redhat.com wrote: On Tue, Apr 30, 2013 at 11:23:49AM -0400, Jason Merrill wrote: I've updated the webpage. Perhaps it would be nice if we had some testsuite coverage for it too, right now unless I'm blind there are exactly 2 testcases, using one 0b...

[Bug c++/56821] New: Unable to overload with references to 'this'.

2013-04-02 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56821 Bug #: 56821 Summary: Unable to overload with references to 'this'. Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/56821] Unable to overload with references to 'this'.

2013-04-02 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56821 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added CC||jason

Re: more distributions

2013-03-01 Thread 3dw4rd
On 03/01/13, Ulrich Drepperdrep...@gmail.com wrote: I have a few more distributions to be added. The triangle distribution is the result of combining to uniform distributions and therefore quite frequently used. The von Mises distribution (the simple, 2D version) would be the first circular

[Bug libstdc++/56430] New: In __airy: return-statement with a value, in function returning 'void'.

2013-02-22 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56430 Bug #: 56430 Summary: In __airy: return-statement with a value, in function returning 'void'. Classification: Unclassified Product: gcc Version: 4.8.0

[Bug libstdc++/56430] In __airy: return-statement with a value, in function returning 'void'.

2013-02-22 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56430 --- Comment #1 from Ed Smith-Rowland 3dw4rd at verizon dot net 2013-02-22 22:33:37 UTC --- Created attachment 29526 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29526 Patch with better test case. Added checks for new template

Re: Re: [PATCH] C++ math constants

2013-02-21 Thread 3dw4rd
On 02/21/13, Alec Teala.t...@warwick.ac.uk wrote: On 21/02/13 16:32, Ulrich Drepper wrote: How about the attached file as a start for ext/math. I used the constexpr approach (instead of function calls) and replicated the constants that are available in math.h in Unix. What other constants

[Bug libstdc++/56216] New: TR1 bessel functions bomb at x == 0!

2013-02-05 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56216 Bug #: 56216 Summary: TR1 bessel functions bomb at x == 0! Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libstdc++/56216] TR1 bessel functions bomb at x == 0!

2013-02-05 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56216 --- Comment #1 from Ed Smith-Rowland 3dw4rd at verizon dot net 2013-02-06 04:39:43 UTC --- Created attachment 29362 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29362 Patch including testcase and other cleanups. This patch adds

[Bug libstdc++/56193] New: ios_base should replace operator void* with explicit operator bool in C++11 onwards.

2013-02-03 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56193 Bug #: 56193 Summary: ios_base should replace operator void* with explicit operator bool in C++11 onwards. Classification: Unclassified Product: gcc Version: unknown

[Bug libstdc++/56193] ios_base should replace operator void* with explicit operator bool in C++11 onwards.

2013-02-03 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56193 --- Comment #1 from Ed Smith-Rowland 3dw4rd at verizon dot net 2013-02-03 17:40:16 UTC --- Created attachment 29343 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29343 Patch including testcase. Here is a small patch. I'm not ure

[Bug c++/55582] [C++11] Unable to define string user-defined literal without leading underscore.

2012-12-05 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55582 --- Comment #2 from Ed Smith-Rowland 3dw4rd at verizon dot net 2012-12-05 13:18:36 UTC --- Created attachment 28882 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28882 Patch This patch lexes stringXYZ user-defined literals as *two

[Bug c++/55582] [C++11] Unable to define string user-defined literal without leading underscore.

2012-12-05 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55582 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added Attachment #28882|0 |1

[Bug c++/55582] New: [C++11] Unable to define string user-defined literal without leading underscore.

2012-12-03 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55582 Bug #: 55582 Summary: [C++11] Unable to define string user-defined literal without leading underscore. Classification: Unclassified Product: gcc Version: 4.8.0

[Bug c++/52654] [C++11] Warn on overflow in user-defined literals

2012-11-27 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52654 --- Comment #19 from Ed Smith-Rowland 3dw4rd at verizon dot net 2012-11-28 03:05:27 UTC --- Created attachment 28814 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28814 Patch. Here is a final patch for this. Ultimately we should

Re: [patch] Apply recent DRs resolutions to libstdc++

2012-11-19 Thread 3dw4rd
I looks like there were a couple #ifdef __GXX_EXPERIMENTAL_CXX0X__ in the patch. I think you want to change these to #if __cplusplus = 201103L ? Regards, Ed

[Bug c++/54413] Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing

2012-11-14 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54413 --- Comment #18 from Ed Smith-Rowland 3dw4rd at verizon dot net 2012-11-14 13:07:00 UTC --- I added a bullet for this flag in gcc-4.8/changes.html. How does one close a bug?

[Bug c++/55325] [4.8 Regression]: g++.dg/cpp0x/constexpr-complex.C excess errors

2012-11-14 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55325 --- Comment #4 from Ed Smith-Rowland 3dw4rd at verizon dot net 2012-11-14 20:20:27 UTC --- OK, g++.dg/cpp0x/constexpr-complex.C will fail with the patch to control GNU literal parsing. i.e. this behavior in intended. The purpose

[Bug c++/55325] [4.8 Regression]: g++.dg/cpp0x/constexpr-complex.C excess errors

2012-11-14 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55325 --- Comment #6 from Ed Smith-Rowland 3dw4rd at verizon dot net 2012-11-14 21:52:14 UTC --- (In reply to comment #4) Invoke with gnu++0x: // { dg-options -std=gnu++0x } Invoke with new flag: // { dg-options -std=c++0x -fext

[Bug c++/55325] [4.8 Regression]: g++.dg/cpp0x/constexpr-complex.C excess errors

2012-11-14 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55325 --- Comment #7 from Ed Smith-Rowland 3dw4rd at verizon dot net 2012-11-14 22:18:09 UTC --- (In reply to comment #3) (In reply to comment #1) I also see failing g++.dg/parse/template23.C and for this one too the problem seems

[Bug c++/54413] Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing

2012-11-12 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54413 --- Comment #16 from Ed Smith-Rowland 3dw4rd at verizon dot net 2012-11-12 17:48:29 UTC --- Thanks, So If there are several ChangeLogs in the tree to get updated which one do I put in the svn commit? Or does it matter? Also, I just

[Bug c++/54413] Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing

2012-11-11 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54413 Ed Smith-Rowland 3dw4rd at verizon dot net changed: What|Removed |Added Attachment #28617|0 |1

[Bug c++/54413] Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing

2012-11-06 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54413 --- Comment #13 from Ed Smith-Rowland 3dw4rd at verizon dot net 2012-11-06 17:54:31 UTC --- The patch tests clean on x86_64-linux.

Re: Re: [C++11] PR54413 Option for turning off compiler extensions for numeric literals.

2012-11-06 Thread 3dw4rd
On 11/06/12, Jason Merrillja...@redhat.com wrote: Why three separate flags? I thought extra flexibility might be wanted. On the other hand, *I* would never turn off just one set. I expect a food fight over all flags. Also, if, as seems reasonable, strict ANSI turns off all gnu

[Bug c++/54413] Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing

2012-11-04 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54413 --- Comment #11 from Ed Smith-Rowland 3dw4rd at verizon dot net 2012-11-05 04:50:20 UTC --- Here is a patch that should work. it passes on x86_64 linux. I would like to get this in for 4.8 if possible.

[Bug c++/54413] Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing

2012-11-04 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54413 --- Comment #12 from Ed Smith-Rowland 3dw4rd at verizon dot net 2012-11-05 04:55:36 UTC --- Created attachment 28617 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28617 Patch to implement flags allowing gnu suffixes to be used as user

  1   2   >