[Bug tree-optimization/81977] [5/6 Regression] Issue with inline memcpy with optimizations enabled

2017-08-30 Thread vvarada at codeaurora dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81977 --- Comment #6 from vvarada at codeaurora dot org --- Thank you, Richard.

[Bug c++/81977] Possible issue with inline memcpy with packed structures

2017-08-24 Thread vvarada at codeaurora dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81977 --- Comment #1 from vvarada at codeaurora dot org --- FYI: The issue shows up on previous versions of GCC compiler as well, as early as 4.9.2 (have not tried earlier versions). Also if the "buffer" in main is declared as a static uin

[Bug c++/81977] New: Possible issue with inline memcpy with packed structures

2017-08-24 Thread vvarada at codeaurora dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vvarada at codeaurora dot org Target Milestone: --- g++ -DOUTER bug.cc -Wall -Wextra -fno-strict-aliasing -fwrapv The following source yields different results when building with and without