[Bug middle-end/27095] [4.1 Regression] O2 produces duplicate code
amodra at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 18 12:34:00 GMT 2006
------- Comment #7 from amodra at gcc dot gnu dot org 2006-04-18 12:34 -------
Subject: Bug 27095
Author: amodra
Date: Tue Apr 18 12:34:07 2006
New Revision: 113030
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113030
Log:
PR middle-end/27095
* builtins.c: (expand_builtin_memset): Stabilize args before expansion
and emit libcall here in case the builtin fails.
(expand_builtin_strcmp): Always emit the libcall here on failure.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/builtins.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27095
More information about the Gcc-bugs
mailing list