[Bug middle-end/15054] [3.3/3.4 Regression] Bad code due to overlapping stack temporaries
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 17 06:52:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-05-16 20:27 -------
Subject: Bug 15054
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: gdr@gcc.gnu.org 2004-05-16 20:27:22
Modified files:
gcc : ChangeLog expr.c function.c
Added files:
gcc/testsuite/g++.dg/opt: pr15054.C
Log message:
Backport from mainline
2004-05-01 Ulrich Weigand <uweigand@de.ibm.com>
PR middle-end/15054
* expr.c (expand_expr_real): Do not call preserve_temp_slots
on a TARGET_EXPR temp.
* function.c (assign_stack_temp_for_type): Set 'keep' flag for
TARGET_EXPR temp slots.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.979&r2=1.16114.2.980
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.498.2.30&r2=1.498.2.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.389.2.15&r2=1.389.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/pr15054.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.8.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15054
More information about the Gcc-bugs
mailing list