[Bug c++/79184] New: -Wint-in-bool-context triggered erroneously in template parameter

2017-01-22 Thread jagerman at jagerman dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jagerman at jagerman dot com Target Milestone: --- When compiling the following with -Wint-in-bool-context under a recent snapshot of g++-7: template void f(int) {} template void f

[Bug c++/80334] New: Segfault when taking address of copy of unaligned struct

2017-04-05 Thread jagerman at jagerman dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jagerman at jagerman dot com Target Milestone: --- I am getting a segfault with g++ 7 when trying to copy an unaligned struct into an aligned variable when the struct contains a member with

[Bug tree-optimization/80334] [5/6 Regression] Segfault when taking address of copy of unaligned struct

2017-04-06 Thread jagerman at jagerman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80334 --- Comment #6 from Jason Rhinelander --- Confirming that this solves the original (unsimplified) issue for me with current trunk.