This is the mail archive of the 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]

[PATCH]: fix hpux fputc_unlocked problem on main

In my original patch to fix PR 9986, I missed the fact that the
trunk uses implicit_built_in_decls instead of built_in_decls in
performing optimizations using fputc_unlocked.

Tested on hppa1.1-hp-hpux10.20 on trunk.  Installed to trunk.

J. David Anglin                        
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2003-06-05  John David Anglin  <>

	PR middle-end/9986
	* pa.c (pa_init_builtins): Also set implicit_built_in_decls for

Index: config/pa/pa.c
RCS file: /cvs/gcc/gcc/gcc/config/pa/pa.c,v
retrieving revision
diff -u -3 -p -r1.188.2.11 pa.c
--- config/pa/pa.c	16 Apr 2003 17:33:39 -0000
+++ config/pa/pa.c	5 Jun 2003 16:29:04 -0000
@@ -334,6 +334,7 @@ pa_init_builtins ()
   built_in_decls[(int) BUILT_IN_FPUTC_UNLOCKED] = NULL_TREE;
+  implicit_built_in_decls[(int) BUILT_IN_FPUTC_UNLOCKED] = NULL_TREE;

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