David S. Miller
7bcac048fd
varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where necessary.
...
* varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
necessary.
(const_hash): Hash val is unsigned long.
(SYMHASH): Likewise.
* tree.c (TYPE_HASH): Type of hash val is unsigned long.
* print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
char pointer, not HOST_WIDE_INT.
(print_node): Likewise. Also hash is unsigned long not
HOST_WIDE_INT.
* cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
From-SVN: r17403
1998-01-17 15:50:40 -07:00
David S. Miller
c9ec4f99bc
explow.c (optimize_save_area_alloca): New function for targets where SETJMP_VIA_SAVE_AREA is true.
...
* explow.c (optimize_save_area_alloca): New function for targets
where SETJMP_VIA_SAVE_AREA is true.
(allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
compute the amount of stack space needed should we find later that
setjmp is never called by this function, stuff rtl for this inside
a REG_NOTE of the final SET of stack_pointer_rtx.
* toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
current_function_calls_alloca, call optimize_save_area_alloca.
CVS ----------------------------------------------------------------------
From-SVN: r17402
1998-01-17 15:39:10 -07:00
John Wehle
ca097615db
i386.md: Remove redundant integer push patterns.
...
* i386.md: Remove redundant integer push patterns.
Don't bother checking for TARGET_PUSH_MEMORY when
pushing constants or registers.
From-SVN: r17401
1998-01-17 15:20:32 -07:00
Jeffrey A Law
4399e7a324
* rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
...
From-SVN: r17400
1998-01-17 15:00:51 -07:00
Jeffrey A Law
72ec635f5a
loop.c (find_and_verify_loops): When attempting to move insns from inside the loop outside the loop...
...
* loop.c (find_and_verify_loops): When attempting to move insns from
inside the loop outside the loop, create a BARRIER if no suitable
one was found.
From-SVN: r17399
1998-01-17 14:50:05 -07:00
Mumit Khan
d9a3317a68
configure.in (sys/param.h,sys/times.h): Check.
...
* libU77/configure.in (sys/param.h,sys/times.h): Check.
(times,alarm): Likewise.
* libU77/config.h.in (HAVE_SYS_PARAM_H, HAVE_SYS_TIMES_H,
HAVE_ALARM, HAVE_TIMES): New defs.
* libU77/alarm_.c: Conditionalize for target platform. Set errno
to ENOSYS if target libc doesn't have the function.
* libU77/dtime_.c: Likewise.
* libU77/etime_.c: Likewise.
* libU77/sys_clock_.c: Likewise.
From-SVN: r17398
1998-01-17 14:39:07 -07:00
Mumit Khan
4dfa69619a
configure.in (NON_UNIX_STDIO): Define if MINGW32.
...
* configure.in (NON_UNIX_STDIO): Define if MINGW32.
(NON_ANSI_RW_MODE): Do not define for CYGWIN32 or MINGW32.
* libI77/rawio.h: Don't providing conflicting declarations for
read() and write(). MINGW32 header files use "const" quals.
* libF77/s_paus.c: _WIN32 does not have pause().
From-SVN: r17397
1998-01-17 14:37:48 -07:00
Mumit Khan
a3105a8956
pexecute.c (pexecute): New function for mingw32.
...
* pexecute.c (pexecute): New function for mingw32. Supports pipes.
(pwait): New function for mingw32.
* gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
pipe support is broken for now.
Co-Authored-By: J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
From-SVN: r17396
1998-01-17 14:33:56 -07:00
Mumit Khan
77aff45955
Add mingw32 support.
...
* pexecute.c (pexecute): New function for mingw32. Supports pipes.
(pwait): New function for mingw32.
* config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
* config/mt-mingw32: New file.
* xmalloc.c (first_break): Not used for mingw32.
(xmalloc_set_program_name): Don't use sbrk on mingw32.
(xmalloc): Likewise.
(xrealloc): Likewise.
Co-Authored-By: J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
From-SVN: r17395
1998-01-17 14:30:39 -07:00
Jeffrey A Law
84f79fea91
* choose-temp.c: Sync with gcc.
...
From-SVN: r17394
1998-01-17 14:23:29 -07:00
Lee Iverson
51549d7665
reorg.c: #include "expr.h" for rtx prototypes.
...
* reorg.c: #include "expr.h" for rtx prototypes.
* Makefile.in (reorg.o): Depend on expr.h.
From-SVN: r17393
1998-01-17 13:37:23 -07:00
Pieter Nagel
3bf810d837
Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make invocations.
...
8
* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
local_prefix to sub-make invocations.
From-SVN: r17392
1998-01-17 13:29:12 -07:00
Pieter Nagel
b24a815bdf
Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make invocations.
...
d
* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
local_prefix to sub-make invocations.
From-SVN: r17391
1998-01-17 13:28:35 -07:00
Pieter Nagel
803462a79f
Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make invocations.
...
Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
local_prefix to sub-make invocations.
From-SVN: r17390
1998-01-17 13:28:11 -07:00
David T. McWherter
1e7b997ad1
* objc-parse.c: Recognize protocol qualifiers in class definitions.
...
From-SVN: r17389
1998-01-17 13:23:59 -07:00
Jeff Law
1be6e437f0
jump.c (jump_optimize): Remove Dec 17, 1997 chance in favor of an equivalent change from gcc-2.8.
...
* jump.c (jump_optimize): Remove Dec 17, 1997 chance in
favor of an equivalent change from gcc-2.8.
From-SVN: r17388
1998-01-17 13:20:09 -07:00
Jeffrey A Law
340fb41f69
* i386/x-sco5 (CC): Remove trailing whitespace.
...
From-SVN: r17387
1998-01-17 13:15:48 -07:00
Kaveh R. Ghazi
982255c878
gengenrtl.c (type_from_format): De-ANSIfy function signature.
...
* gengenrtl.c (type_from_format): De-ANSIfy function signature.
(accessor_from_format): Likewise.
(xmalloc): New function for use when linking with alloca.o.
From-SVN: r17386
1998-01-17 13:09:09 -07:00
H.J. Lu
520ab477c8
configure.in: Check makefile fragments in the source directory.
...
* configure.in: Check makefile fragments in the source
directory.
From-SVN: r17385
1998-01-17 13:04:38 -07:00
Bruno Haible
db8abea377
* frame.c (find_fde): Correct FDE's upper bound.
...
From-SVN: r17382
1998-01-16 18:56:07 -05:00
Bruno Haible
224c649b80
* error.c (dump_decl): For enum tags, output the tag, not its value.
...
From-SVN: r17381
1998-01-16 18:55:44 -05:00
Richard Henderson
5d483f6374
* gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
...
From-SVN: r17380
1998-01-16 08:21:54 -08:00
Jeff Law
ceb832060c
calls.c (expand_call): Move #ifdef code out of macro argument lists.
...
`
* calls.c (expand_call): Move #ifdef code out of macro argument
lists.
(emit_library_call, emit_library_call_value): Likewise.
From-SVN: r17379
1998-01-16 02:16:10 -07:00
Jeff Law
9a960e6b5b
calls.c (expand_call): Move #ifdef code out of macro argument lists.
...
d
* calls.c (expand_call): Move #ifdef code out of macro argument
lists.
(emit_library_call, emit_library_call_value): Likewise.
From-SVN: r17378
1998-01-16 02:16:09 -07:00
Brendan Kehoe
3aa9d5b6fa
tweak comment
...
From-SVN: r17377
1998-01-16 03:59:59 -05:00
Manfred Hollstein
eb2c3b995c
* config.shared (FLAGS_TO_PASS): Add SHELL.
...
From-SVN: r17376
1998-01-15 16:46:28 -07:00
Jeffrey A Law
a4b1834644
* rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
...
From-SVN: r17375
1998-01-15 16:44:54 -07:00
Jeff Law
57718ce6d3
Minor tweaks & updates.
...
From-SVN: r17374
1998-01-15 16:42:59 -07:00
Alexandre Oliva
4bcdb76dd5
configure.in: check whether host and target makefile fragments exist before adding them to...
...
* configure.in: check whether host and target makefile
fragments exist before adding them to *_makefile_frag
From-SVN: r17373
1998-01-15 16:39:59 -07:00
Jeff Law
850037bb7d
Work around VxWorks bogus problems.
...
From-SVN: r17372
1998-01-15 16:38:58 -07:00
Jeff Law
f3e6c2d559
Initial revision
...
From-SVN: r17365
1998-01-14 20:36:46 -07:00
Jeffrey A Law
a252996a00
Bump for snapshot.
...
From-SVN: r17358
1998-01-14 17:01:51 -07:00
Richard Henderson
38a448ca5d
alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO...
...
* alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
* caller-save.c, calls.c, combine.c, cse.c: Likewise.
* dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
* final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
* halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
* profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
* reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
* unroll.c, varasm.c: Likewise.
* config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
From-SVN: r17357
1998-01-14 15:10:50 -08:00
Jeff Law
ace62b4972
Fix minor lossage brought over in gcc-2.8.0 merge.
...
From-SVN: r17356
1998-01-14 14:44:01 -07:00
Jeff Law
c85f7c16ad
Bring in final gcc-2.8.0 changes.
...
From-SVN: r17355
1998-01-14 13:57:58 -07:00
Gavin Koch
60db002df5
* mips.h: Fix some type-o's from a previous change.
...
From-SVN: r17353
1998-01-14 11:34:35 -07:00
Jeffrey A Law
a8decb2c2b
loop.c (check_dbra_loop): Make sure initial value is a CONST_INT before trying to normalize it.
...
* loop.c (check_dbra_loop): Make sure initial value is a
CONST_INT before trying to normalize it.
From-SVN: r17352
1998-01-13 17:24:33 -07:00
Robert Lipe
0e2b736c80
* sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
...
From-SVN: r17351
1998-01-13 15:27:40 -07:00
Herman ten Brugge
a3aa3d8c2c
* cppexp.c: Include gansidecl.h
...
From-SVN: r17350
1998-01-13 14:45:28 -07:00
Ian Lance Taylor
8b496c8d2e
svr4.h (LINK_SPEC): Never specify -h.
...
* svr4.h (LINK_SPEC): Never specify -h.
* ptx4.h (LINK_SPEC): Likewise.
* rs6000/sysv4.h (LINK_SPEC): Likewise.
* sparc/sol2.h (LINK_SPEC): Likewise.
From-SVN: r17349
1998-01-13 14:43:41 -07:00
Jeff Law
a4fc4b2d12
Update copyrights.
...
From-SVN: r17348
1998-01-13 14:42:33 -07:00
Richard Henderson
8d47dfc57f
* c-typeck.c (comptypes): Exit early on NULL input.
...
From-SVN: r17347
1998-01-13 14:40:27 -07:00
Richard Henderson
c995fea195
haifa-sched.c (schedule_insns): Correctly remove inter-block dependencies after reload.
...
* haifa-sched.c (schedule_insns): Correctly remove inter-block
dependencies after reload.
From-SVN: r17346
1998-01-13 14:38:31 -07:00
Franz Sirl
88ea0ad1b2
* rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
...
From-SVN: r17345
1998-01-13 14:21:05 -07:00
Jeff Law
f5e869593a
* alpha/vms.h (DIR_SEPARATOR): define
...
From-SVN: r17344
1998-01-13 14:13:28 -07:00
Bruno Haible
6c32c807c3
Makefile.in (stamp-proto): Remove.
...
* Makefile.in (stamp-proto): Remove.
(protoize.o, unprotoize.o): Straightforward compile.
* unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
From-SVN: r17343
1998-01-13 14:10:35 -07:00
Jeffrey A Law
69956def9a
* lang-options.h: Add missing options.
...
From-SVN: r17342
1998-01-13 14:06:08 -07:00
Lee Iverson
0d3e11a596
config-ml.in (multi-do): LDFLAGS must include multilib designator.
...
* config-ml.in (multi-do): LDFLAGS must include multilib
designator.
From-SVN: r17341
1998-01-13 14:01:03 -07:00
Mumit Khan
93006f8c2d
cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip off the trailing @[NUM] added by ENCODE_SECTION_INFO.
...
* i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
off the trailing @[NUM] added by ENCODE_SECTION_INFO.
Also update copyright forgotten in last change.
From-SVN: r17340
1998-01-13 13:58:47 -07:00
Jeffrey A Law
e4c4f8df43
netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
...
* arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
* i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
* sparc/netbsd.h, vax/netbsd.h: Likewise.
From-SVN: r17339
1998-01-13 13:54:16 -07:00