https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79085

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 17:32:55 2018
New Revision: 262076

URL: https://gcc.gnu.org/viewcvs?rev=262076&root=gcc&view=rev
Log:
        Backported from mainline
        2018-03-15  Jakub Jelinek  <ja...@redhat.com>

        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

Reply via email to