C++ new and aliasing

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Tue Apr 28 01:54:00 GMT 1998


Here is another bug fix for expand_call: __builtin_vec_new has 17
characters.


1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* calls.c (expand_call): Bump the length limit on the specially
	recognized function names to 17.

--- egcs-2.91.25/gcc/calls.c.~1~	Thu Apr 16 00:53:17 1998
+++ egcs-2.91.25/gcc/calls.c	Mon Apr 27 21:30:17 1998
@@ -854,7 +854,7 @@
   is_longjmp = 0;
   is_malloc = 0;
 
-  if (name != 0 && IDENTIFIER_LENGTH (DECL_NAME (fndecl)) <= 15
+  if (name != 0 && IDENTIFIER_LENGTH (DECL_NAME (fndecl)) <= 17
       /* Exclude functions not at the file scope, or not `extern',
 	 since they are not the magic functions we would otherwise
 	 think they are.  */

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org



More information about the Gcc mailing list