[Bug lto/63333] lto, 1to1 segmentation fault

2014-09-26 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 --- Comment #5 from Avi Kivity --- Richard, may I send you the test case privately?

[Bug libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms

2015-06-03 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 --- Comment #14 from Avi Kivity --- Please consider backporting this to 5.2.

[Bug c++/66601] New: RFE: improve diagnostics for failure to deduce template parameter pack that is not in the last position in the parameter list

2015-06-19 Thread a...@cloudius-systems.com
Version: 5.1.1 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: a...@cloudius-systems.com Target Milestone: --- Given the source template void f(X... x, Y y

[Bug sanitizer/67258] "invalid vptr" false positive from ubsan for virtual inheritance

2015-09-01 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67258 Avi Kivity changed: What|Removed |Added CC||a...@cloudius-systems.com --- Comment #1

[Bug middle-end/77295] New: missed optimisation when copying/moving union members

2016-08-18 Thread a...@cloudius-systems.com
Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: a...@cloudius-systems.com Target Milestone: --- Discriminated unions of class types are becoming popular; for example std::variant<...> or std::future. gcc doesn't optimize copies or moved of di

[Bug middle-end/77295] missed optimisation when copying/moving union members

2016-08-19 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77295 --- Comment #2 from Avi Kivity --- Typically, the code is a template: template struct discriminated_union { unsigned which; union { T v1; U v2; }; }; If either T or U have non-trivial copy/move constructors, then y

[Bug middle-end/77295] missed optimisation when copying/moving union members

2016-08-19 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77295 --- Comment #3 from Avi Kivity --- If x->which is known then of course just that branch should be followed, and the others eliminated. I'm talking about the case where it isn't known (very common in my code).

<    1   2