[Bug c++/81169] [8 Regression] gcc 8.0dev -Wclass-memaccess illegitimate warning related to volatile

2017-06-27 Thread dudul04 at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81169 --- Comment #5 from Even Rouault --- Thanks. Fix confirmed.

[Bug c++/81169] New: gcc 8.0dev -Wclass-memaccess illegitimate warning related to volatile

2017-06-22 Thread dudul04 at yahoo dot fr
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dudul04 at yahoo dot fr Target Milestone: --- With GCC r249467, the following snippet {{{ #include struct mystruct { double x; }; void zero(volatile mystruct* x, int n

[Bug c++/81119] New: gcc 8.0 regression: -Wshadow warns on "typedef struct foo foo;"

2017-06-17 Thread dudul04 at yahoo dot fr
ty: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dudul04 at yahoo dot fr Target Milestone: --- Given foo.cpp: typedef struct x x; $ ~/install-gcc-git/bin/g++ -Wshadow foo.cpp -c foo.cpp:1:18: warning: 'typedef struct