[Bug c++/81973] Aliased virtual methods are treated as undefined, so the vtable is not generated

2017-08-28 Thread blaffablaffa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81973 --- Comment #3 from Lorenzo Pistone --- That is not the issue, or maybe I don't understand the suggestion. This program fails just the same: #include using namespace std; struct b{ int a;

[Bug c++/81973] Aliased virtual methods are treated as undefined, so the vtable is not generated

2017-08-24 Thread blaffablaffa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81973 --- Comment #1 from Lorenzo Pistone --- It is possible to obtain the desired behavior defining in a compilation unit a dummy s::f with weak attribute (and so generate the vtable), then in a separate compilation the actual alias of s::f to

[Bug c++/81973] New: Aliased virtual methods are treated as undefined, so the vtable is not generated

2017-08-24 Thread blaffablaffa at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- test case: #include using namespace std; struct b{ int

[Bug c++/81943] New: Wrong ABI in class methods returning structs for the Windows amd64 target

2017-08-23 Thread blaffablaffa at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- test case: struct retstruct{ int a; }; struct badABI{ retstruct f

[Bug c++/80583] ICE with target_clones and vectorized float: internal compiler error: in convert_move, at expr.c:270

2017-05-01 Thread blaffablaffa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80583 --- Comment #2 from Lorenzo Pistone --- Created attachment 41291 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41291=edit test case My bad.

[Bug c++/80583] New: ICE with target_clones and vectorized float: internal compiler error: in convert_move, at expr.c:270

2017-05-01 Thread blaffablaffa at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- The test case in attachment unfortunately is relatively large, but I couldn't isolate the issue

[Bug c++/70901] vectorized sin cos is wrongly optimized into scalar sincos

2016-05-02 Thread blaffablaffa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70901 Lorenzo Pistone changed: What|Removed |Added CC||blaffablaffa at gmail dot com

[Bug c++/70901] New: vectorized sin cos is wrongly optimized into scalar sincos

2016-05-02 Thread blaffablaffa at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- Created attachment 38390 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38390=edit testcase As per title. Compile testcase with

[Bug c++/70882] vectorized sincos trashes the stack

2016-04-29 Thread blaffablaffa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70882 Lorenzo Pistone changed: What|Removed |Added CC||blaffablaffa at gmail dot com

[Bug c++/70882] New: vectorized sincos trashes the stack

2016-04-29 Thread blaffablaffa at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- Created attachment 38381 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38381=edit testcase The double4 version of the vectorized sincos() in libmvec (glibc 2.22) cau

[Bug c++/70832] move-assignment of lambdas calls copy-assignment for captures

2016-04-28 Thread blaffablaffa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70832 --- Comment #2 from Lorenzo Pistone --- I should add also that this makes impossible to assign lambdas with move-only captures to a std::function.

[Bug c++/70832] New: move-assignment of lambdas calls copy-constructor for captures

2016-04-27 Thread blaffablaffa at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- Created attachment 38352 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38352=edit testcase, compile with -std=c++14 Testc

[Bug c++/70832] move-assignment of lambdas calls copy-assignment for captures

2016-04-27 Thread blaffablaffa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70832 --- Comment #1 from Lorenzo Pistone --- correction, it calls the copy assignment operator, not the copy constructor.

[Bug c++/70338] New: ICE combining debug symbols, range-for in lambda in function template accessing captured variable-size array

2016-03-21 Thread blaffablaffa at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com Target Milestone: --- Created attachment 38045 --> https://gcc.gnu.org/bugzi

[Bug sanitizer/67941] New: calls on function pointer from a captureless lambda cause ubsan warning

2015-10-12 Thread blaffablaffa at gmail dot com
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org

[Bug c++/61514] New: -ftree-vectorize cause bogus duplicate section ... has different size on windows x64

2014-06-15 Thread blaffablaffa at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com some other instances: http://stackoverflow.com/q/14181351/1073006 http://stackoverflow.com/q/11635485/1073006 In my case the duplicated

[Bug c++/61514] -ftree-vectorize cause bogus duplicate section ... has different size on windows x64

2014-06-15 Thread blaffablaffa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61514 --- Comment #1 from Lorenzo Pistone blaffablaffa at gmail dot com --- The warning printed by the test case is: spaghetti/spaghetti.o: duplicate section `.data$_ZGVZN9luabridge8Security11getSettingsEvE8settings

[Bug c++/61514] -ftree-vectorize cause bogus duplicate section ... has different size on windows x64

2014-06-15 Thread blaffablaffa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61514 --- Comment #2 from Lorenzo Pistone blaffablaffa at gmail dot com --- Created attachment 32943 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=32943action=edit The object file that triggers the warning

[Bug c++/59790] New: Inner template class specialization has no direct access to outer template class typedefs

2014-01-13 Thread blaffablaffa at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blaffablaffa at gmail dot com See the attached testcase, Compile simply with `g++ -c test.cpp`. The code compiles with the latest clang.

[Bug c++/59790] Inner template class specialization has no direct access to outer template class typedefs

2014-01-13 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59790 Lorenzo Pistone blaffablaffa at gmail dot com changed: What|Removed |Added CC

[Bug c++/53181] New: static_assert sees as non constant the comparison between a constexpr and a template argument

2012-05-01 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181 Bug #: 53181 Summary: static_assert sees as non constant the comparison between a constexpr and a template argument Classification: Unclassified Product: gcc Version: 4.6.1

[Bug c++/53009] New: pointer to static member function of template class is “invalid” as a template argument of another template class

2012-04-16 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53009 Bug #: 53009 Summary: pointer to static member function of template class is “invalid” as a template argument of another template class Classification: Unclassified

[Bug c++/53009] pointer to static member function of template class is “invalid” as a template argument of another template class

2012-04-16 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53009 --- Comment #1 from Lorenzo Pistone blaffablaffa at gmail dot com 2012-04-16 16:09:16 UTC --- Created attachment 27170 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27170 testcase

[Bug c++/53009] pointer to static member function of template class is “invalid” as a template argument of another template class

2012-04-16 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53009 --- Comment #2 from Lorenzo Pistone blaffablaffa at gmail dot com 2012-04-16 16:22:04 UTC --- I just tested, the problem happens only if the template arguments of function_proxy are function pointers. More trivial types (int is what I've tested

[Bug c++/52744] bad handling of member (function) pointers in template parameters

2012-04-03 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52744 --- Comment #6 from Lorenzo Pistone blaffablaffa at gmail dot com 2012-04-03 14:28:57 UTC --- Same problem with free function pointers. See free_functions.cpp

[Bug c++/52744] bad handling of member (function) pointers in template parameters

2012-04-03 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52744 --- Comment #7 from Lorenzo Pistone blaffablaffa at gmail dot com 2012-04-03 14:29:38 UTC --- Created attachment 27075 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27075 test case with free function pointers

[Bug c++/52744] New: bad handling of member (function) pointers in template parameters

2012-03-27 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52744 Bug #: 52744 Summary: bad handling of member (function) pointers in template parameters Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED

[Bug c++/52744] bad handling of member (function) pointers in template parameters

2012-03-27 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52744 --- Comment #1 from Lorenzo Pistone blaffablaffa at gmail dot com 2012-03-27 19:37:50 UTC --- Of course it's c++0x. Compile with -std=c++0x.

[Bug c++/52744] bad handling of member (function) pointers in template parameters

2012-03-27 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52744 --- Comment #3 from Lorenzo Pistone blaffablaffa at gmail dot com 2012-03-27 20:15:11 UTC --- I'm sorry but the bug reporting interface seemed to allow only one attachment.

[Bug c++/52744] bad handling of member (function) pointers in template parameters

2012-03-27 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52744 --- Comment #4 from Lorenzo Pistone blaffablaffa at gmail dot com 2012-03-27 20:37:22 UTC --- gcc version 4.4.5 (Debian 4.4.5-8) can build both the test cases.

[Bug c++/51936] New: template function not instantiated

2012-01-21 Thread blaffablaffa at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51936 Bug #: 51936 Summary: template function not instantiated Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3