This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

PATCH: disable inlines string2.h for BPs


String inlines bloat the BP build, and make bounds violations
harder to debug.

OK?

2000-06-21  Greg McGary  <greg@mcgary.org>

	* string/bits/string2.h: Don't use inlines with bounded pointers.

Index: string/bits/string2.h
===================================================================
RCS file: /cvs/glibc/libc/string/bits/string2.h,v
retrieving revision 1.50
diff -u -p -r1.50 string2.h
--- string2.h	2000/05/04 00:55:30	1.50
+++ string2.h	2000/06/19 19:18:04
@@ -22,7 +22,7 @@
 # error "Never use <bits/string2.h> directly; include <string.h> instead."
 #endif
 
-#ifndef __NO_STRING_INLINES
+#if !defined (__NO_STRING_INLINES) && !__BOUNDED_POINTERS__
 
 /* Unlike the definitions in the header <bits/string.h> the
    definitions contained here are not optimized down to assembler

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