typeck.c (check_return_expr): Check DECL_ALIGN instead of DECL_USER_ALIGN.
authorJason Merrill <jason@gcc.gnu.org>
Fri, 6 Jul 2001 01:13:55 +0000 (21:13 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 6 Jul 2001 01:13:55 +0000 (21:13 -0400)
commit1e4ce346c565ed6ca6606d6267f6c48c3fdadad1
tree0e35d974077bc9058083bc934f6c2785dd895663
parenta2497896a81a7ac81851fc98a955f70b1f48a4a4
typeck.c (check_return_expr): Check DECL_ALIGN instead of DECL_USER_ALIGN.

        * typeck.c (check_return_expr): Check DECL_ALIGN instead of
        DECL_USER_ALIGN.  Check flag_elide_constructors instead of
        optimize.
        * semantics.c (cp_expand_stmt): Don't destroy the named return value.

From-SVN: r43797
gcc/testsuite/g++.old-deja/g++.law/temps4.C