Fix -minline-all-stringops wrt memcmp
Jan Hubicka
jh@suse.cz
Mon Dec 8 10:25:00 GMT 2003
Hi,
this causes some of -Os compiled low level stuff to link.
Commited as obivous.
2003-12-08 Jan Hubicka <jh@suse.cz>
* i386.md (cmpstr expander): Obey TARGET_INLINE_ALL_STRINGOPS
Index: config/i386/i386.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v
retrieving revision 1.401.2.41
diff -c -3 -p -r1.401.2.41 i386.md
*** config/i386/i386.md 24 Nov 2003 00:26:02 -0000 1.401.2.41
--- config/i386/i386.md 8 Dec 2003 10:16:56 -0000
***************
*** 16249,16255 ****
(match_operand:BLK 2 "general_operand" "")))
(use (match_operand 3 "general_operand" ""))
(use (match_operand 4 "immediate_operand" ""))]
! "! optimize_size"
{
rtx addr1, addr2, out, outlow, count, countreg, align;
--- 16249,16255 ----
(match_operand:BLK 2 "general_operand" "")))
(use (match_operand 3 "general_operand" ""))
(use (match_operand 4 "immediate_operand" ""))]
! "! optimize_size || TARGET_INLINE_ALL_STRINGOPS"
{
rtx addr1, addr2, out, outlow, count, countreg, align;
More information about the Gcc-patches
mailing list