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]

prototype fix for alpha/alpha.c


Although disabled, the call to expand_shift is still compiled. However, the
corresponding prototype
in expr.h is only activated if tree.h is included *before*.

Here's a patch

*** alpha/alpha.c-orig Thu Jul  2 17:48:01 1998
--- alpha/alpha.c Thu Jul  2 17:48:39 1998
*************** Boston, MA 02111-1307, USA.  */
*** 34,42 ****
  #include "flags.h"
  #include "recog.h"
  #include "reload.h"
  #include "expr.h"
  #include "obstack.h"
- #include "tree.h"
  #include "except.h"
  #include "function.h"
  #include "toplev.h"
--- 34,42 ----
  #include "flags.h"
  #include "recog.h"
  #include "reload.h"
+ #include "tree.h"
  #include "expr.h"
  #include "obstack.h"
  #include "except.h"
  #include "function.h"
  #include "toplev.h"

---
Klaus Kaempf   kkaempf@rmi.de
Jakobstr. 181
D-52064 Aachen   Yes, my email account changed.



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