[Bug c++/91563] [9 regression] wrong code

2019-08-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91563 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug c++/91563] [9 regression] wrong code

2019-08-27 Thread guillaume at morinfr dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91563 --- Comment #5 from Guillaume Morin --- Jakub mentioned that r273135 fixed the abort() in the trunk. I noticed that this revision had already been backported to the gcc-9 branch as r274532. So I built the gcc-9 branch and I can confirm that it do

[Bug c++/91563] [9 regression] wrong code

2019-08-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91563 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIR

[Bug c++/91563] [9 regression] wrong code

2019-08-27 Thread guillaume at morinfr dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91563 --- Comment #3 from Guillaume Morin --- Jonathan, Are you sure? I modified the code to print std::is_trivially_copyable::value and it does print "1". Am I missing something obvious?

[Bug c++/91563] [9 regression] wrong code

2019-08-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91563 --- Comment #2 from Jakub Jelinek --- Just a note from bisection, stopped aborting on trunk with r273135, and started to abort in r260318.

[Bug c++/91563] [9 regression] wrong code

2019-08-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91563 --- Comment #1 from Jonathan Wakely --- The program's behaviour is undefined, because memset can't be used for writing to non-trivially copyable types.