[Bug c++/79085] [6/7 Regression] ICE with placement new to unaligned location

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79085

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #14 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+.

[Bug c++/79085] [6/7 Regression] ICE with placement new to unaligned location

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79085

--- Comment #13 from Jakub Jelinek  ---
Author: jakub
Date: Mon Jun 25 17:32:55 2018
New Revision: 262076

URL: https://gcc.gnu.org/viewcvs?rev=262076=gcc=rev
Log:
Backported from mainline
2018-03-15  Jakub Jelinek  

PR c++/79085
* calls.c (expand_call): For TREE_ADDRESSABLE rettype ignore alignment
check and use address of target always.

* g++.dg/opt/pr79085.C: New test.

Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/opt/pr79085.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/calls.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog

[Bug c++/79085] [6/7 Regression] ICE with placement new to unaligned location

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79085

--- Comment #12 from Jakub Jelinek  ---
Author: jakub
Date: Fri Jun 22 20:43:53 2018
New Revision: 261925

URL: https://gcc.gnu.org/viewcvs?rev=261925=gcc=rev
Log:
Backported from mainline
2018-03-15  Jakub Jelinek  

PR c++/79085
* calls.c (expand_call): For TREE_ADDRESSABLE rettype ignore alignment
check and use address of target always.

* g++.dg/opt/pr79085.C: New test.

Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/opt/pr79085.C
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/calls.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

[Bug c++/79085] [6/7 Regression] ICE with placement new to unaligned location

2018-03-29 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79085

--- Comment #11 from Thomas Preud'homme  ---
(In reply to Jakub Jelinek from comment #10)
> Fixed for 8.1+ so far.

Hi Jakub,

Are you planning to do a backport?

Best regards.

[Bug c++/79085] [6/7 Regression] ICE with placement new to unaligned location

2018-03-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79085

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[6/7/8 Regression] ICE with |[6/7 Regression] ICE with
   |placement new to unaligned  |placement new to unaligned
   |location|location

--- Comment #10 from Jakub Jelinek  ---
Fixed for 8.1+ so far.