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)
        * 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

index e604d18762560f247d2867a16bc72e778bb65d54..f4a799d6f830646deb9dbbfb2d188de2184acd18 100644 (file)
@@ -6,8 +6,6 @@
 // Subject: elide-constructors (aka return value optimization)
 // Date: Wed, 10 Nov 93 14:43:54 CST
 
-// execution test - XFAIL *-*-*
-
 #include <stdio.h>
 #include <stdlib.h>