[Bug c++/70796] [DR 1030] Initialization order with braced-init-lists still broken

2016-04-26 Thread lefticus at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70796 Jason Turner changed: What|Removed |Added CC||lefticus at gmail dot com --- Comment #1

[Bug c++/70792] Incorrect sequence point warning with uniform initializer syntax

2016-04-25 Thread lefticus at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70792 --- Comment #2 from Jason Turner --- Follow up, this is a better test case that does not pass by && struct MyType { MyType(int i, int j, int k, int l) : sum(i + j + k + l) { } int sum; }; int main() { int i = 0; std::cout <<

[Bug c++/70792] Incorrect sequence point warning with uniform initializer syntax

2016-04-25 Thread lefticus at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70792 --- Comment #1 from Jason Turner --- Note: I tested this code further and the compiler seems to be generating incorrect code based on this standard, not just warning incorrectly.

[Bug c++/70792] New: Incorrect sequence point warning with uniform initializer syntax

2016-04-25 Thread lefticus at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lefticus at gmail dot com Target Milestone: --- The following code: #include struct Do_Call { template Do_Call(const Func &f, T && ... t) { f(std::forward(t)...);