[Bug middle-end/52067] force sibling call optimization

2024-12-23 Thread trashyankes at wp dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52067 trashyankes at wp dot pl changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug c/16186] gcc should have an option to warn about enumerations with duplicate values

2023-03-10 Thread trashyankes at wp dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16186 trashyankes at wp dot pl changed: What|Removed |Added CC||trashyankes at wp dot pl

[Bug c++/85784] False positive with -Wunused-but-set-parameter

2019-07-19 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85784 trashyankes at wp dot pl changed: What|Removed |Added CC||trashyankes at wp dot pl

[Bug c++/53637] NRVO not applied where there are two different variables involved

2019-05-29 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53637 trashyankes at wp dot pl changed: What|Removed |Added CC||trashyankes at wp dot pl

[Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values

2018-12-12 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87370 --- Comment #12 from trashyankes at wp dot pl --- (In reply to H.J. Lu from comment #11) > (In reply to trashyankes from comment #10) > > Which GCC are you using? GCC 8.2 generates: GCC Explorer :D g++ (GCC-Explorer-Build) 9.0.0

[Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values

2018-12-09 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87370 --- Comment #10 from trashyankes at wp dot pl --- (In reply to H.J. Lu from comment #9) > Fixed for GCC 9, GCC 8.3 and GCC 7.4. One question, I look on test case and see: ``` f1(): xor eax, eax xor edx, edx

[Bug c++/87386] Error message for static_assert show wrong range

2018-09-21 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87386 --- Comment #1 from trashyankes at wp dot pl --- btw how reduce "Importance" of this bug? Right now it have same level as bug that could break my code.

[Bug c++/87386] New: Error message for static_assert show wrong range

2018-09-21 Thread trashyankes at wp dot pl
++ Assignee: unassigned at gcc dot gnu.org Reporter: trashyankes at wp dot pl Target Milestone: --- Compiler output: ``` 24 | static_assert(std::is_same::value,"eee"); | ^~~ ``` Range mark only `std` instead of whole expression. At least is s

[Bug middle-end/87370] New: Regression in return struct code

2018-09-20 Thread trashyankes at wp dot pl
Assignee: unassigned at gcc dot gnu.org Reporter: trashyankes at wp dot pl Target Milestone: --- Test case: https://gcc.godbolt.org/z/58JsxE ``` struct A { int b[4]; }; struct B { char a[12]; int b; }; struct C { char a[16]; }; A f1(int i) { return { }; } B f2

[Bug c++/80093] missed optimization opportunity with std::uniform_int_distribution

2018-08-24 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80093 trashyankes at wp dot pl changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug c++/51180] [C++0x] inner class alias-definition variadic template error

2018-08-24 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51180 trashyankes at wp dot pl changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug target/87077] missed optimization for horizontal add for x86 SSE

2018-08-24 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87077 --- Comment #3 from trashyankes at wp dot pl --- (In reply to Richard Biener from comment #2) > Can you attach the source please? These stupid Web 2.0 sites do not allow > to save it to a file. Code: ``` #include #include struct alig

[Bug target/87077] New: missed optimization for horizontal add for x86 SSE

2018-08-23 Thread trashyankes at wp dot pl
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: trashyankes at wp dot pl Target Milestone: --- During some experiments with toy programs I find out that GCC do not do any horizontal adding for xmm registers. Some benchmark code: http://quick-bench.com

[Bug c++/80093] missed optimization opportunity with std::uniform_int_distribution

2017-03-23 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80093 --- Comment #2 from trashyankes at wp dot pl --- ``` #include int foo (std::mt19937* x) { std::uniform_int_distribution k(0, 99); for (auto i = 0; i < 1'000'000'000; ++i) { std::uniform_int_distribution y(0, 99);

[Bug c++/80093] New: missed optimization opportunity with std::uniform_int_distribution

2017-03-18 Thread trashyankes at wp dot pl
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: trashyankes at wp dot pl Target Milestone: --- We have two functions: ``` #include int foo (std::mt19937* x) { for (auto i = 0; i < 1'000'000'000

[Bug c++/60305] New: ICE constexpr array of functions in template

2014-02-21 Thread trashyankes at wp dot pl
++ Assignee: unassigned at gcc dot gnu.org Reporter: trashyankes at wp dot pl -->8>8>8>8>8-- template int F() { return Y; } template void func(int i) { //internal compiler error: in type_dependent_expression_p, at cp/pt.c:19969 constexpr int (*

[Bug c++/57765] [C++11] Variadic Template Specialization does not follow the INCITS/ISO​/IEC 14882-2011 standard

2013-07-01 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57765 --- Comment #3 from trashyankes at wp dot pl --- I see, they fix wording in final version, but meaning didnt change (at last if I understand it correctly). "(...) primary class template or alias template is a template parameter pack, it sha

[Bug c++/57765] [C++11] Variadic Template Specialization does not follow the INCITS/ISO​/IEC 14882-2011 standard

2013-07-01 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57765 trashyankes at wp dot pl changed: What|Removed |Added CC||trashyankes at wp dot pl

[Bug c++/52366] [c++11] static constexpr function cant initialize static constexpr

2012-02-25 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52366 --- Comment #2 from trashyankes at wp dot pl 2012-02-25 14:46:33 UTC --- (In reply to comment #1) > dup of PR 52315 ? after long thoughts, its indeed, dup of PR 52315.

[Bug c++/52366] New: [c++11] static constexpr function cant initialize static constexpr

2012-02-23 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52366 Bug #: 52366 Summary: [c++11] static constexpr function cant initialize static constexpr Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/52343] New: [C++11] alias-definition dont work in `template` params type

2012-02-22 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52343 Bug #: 52343 Summary: [C++11] alias-definition dont work in `template` params type Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/52067] force sibling call optimization

2012-01-31 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52067 --- Comment #2 from trashyankes at wp dot pl 2012-01-31 17:04:10 UTC --- (In reply to comment #1) > I suppose you would want to annotate a specific call, not necessarily _all_ > calls to loop (those from main). Im interested in calls from

[Bug c++/52067] New: force sibling call optimization

2012-01-31 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52067 Bug #: 52067 Summary: force sibling call optimization Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug c++/51180] [C++0x] inner class alias-definition variadic template error

2011-11-23 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51180 --- Comment #1 from trashyankes at wp dot pl 2011-11-23 18:34:43 UTC --- I find easy workaround this bug. --- --- template class M> struct m { template struct _inner_

[Bug c++/51180] New: [C++0x][C++11] inner class alias-definition variadic template error

2011-11-16 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51180 Bug #: 51180 Summary: [C++0x][C++11] inner class alias-definition variadic template error Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/51120] New: [C++0x][C++11] name alias `using` dont need Semicolon

2011-11-14 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51120 Bug #: 51120 Summary: [C++0x][C++11] name alias `using` dont need Semicolon Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/50837] New: [c++0x] static_assert and constexpr in template class

2011-10-23 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50837 Bug #: 50837 Summary: [c++0x] static_assert and constexpr in template class Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/50830] New: [c++0x] Variadic template, inner class error

2011-10-22 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50830 Bug #: 50830 Summary: [c++0x] Variadic template, inner class error Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/50785] [C++0x] static constexpr double undefined reference

2011-10-19 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50785 --- Comment #11 from trashyankes at wp dot pl 2011-10-19 16:35:06 UTC --- it will be possible to add better waring/error in this case? is complicity misleading when you use `static const` or `static constexpr` for long time and when you try get

[Bug c++/50785] New: [C++0x][constexpr] static constexpr double undefined reference

2011-10-18 Thread trashyankes at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50785 Bug #: 50785 Summary: [C++0x][constexpr] static constexpr double undefined reference Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED