This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix -minline-all-stringops wrt memcmp


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;
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]