Commit 1e4ce346 by Jason Merrill

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
parent a2497896
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
// Subject: elide-constructors (aka return value optimization) // Subject: elide-constructors (aka return value optimization)
// Date: Wed, 10 Nov 93 14:43:54 CST // Date: Wed, 10 Nov 93 14:43:54 CST
// execution test - XFAIL *-*-*
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment