- 24 Dec, 1997 5 commits
-
-
From-SVN: r17230
Jeffrey A Law committed -
abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT, and define __LONG_MAX__ appropriately. * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT, and define __LONG_MAX__ appropriately. Add support for -mabi=X, -mlong64, and -mgp{32,64} options. * mips.c (mips_abi): Change type to int. * mips.h (enum mips_abi_type): Delete. (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants. (mips_abi): Change type to int. From-SVN: r17229
Jim Wilson committed -
* flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check; optimization is now always enabled. * calls.c (expand_call): Recognize C++ operator new as malloc-like function. * alias.c (memrefs_conflict_p): Eliminate tests now done by base_alias_check. (*_dependence): Call canon_rtx before base_alias_check. (init_alias_once): New function to precompute set of registers which can hold Pmode function arguments. * rtl.h: Declare init_alias_once. * toplev.c (compile_file): Call init_alias_once. From-SVN: r17227
John Carr committed -
* flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check; optimization is now always enabled. * calls.c (expand_call): Recognize C++ operator new as malloc-like function. * alias.c (memrefs_conflict_p): Eliminate tests now done by base_alias_check. (*_dependence): Call canon_rtx before base_alias_check. (init_alias_once): New function to precompute set of registers which can hold Pmode function arguments. * rtl.h: Declare init_alias_once. * toplev.c (compile_file): Call init_alias_once. From-SVN: r17226
John Carr committed -
* tree.c (restore_tree_status): Do not dereference a null pointer. Brought over from devo. SHould fix 921215-1.c compilation failures. From-SVN: r17225
Jeffrey A Law committed
-
- 23 Dec, 1997 6 commits
-
-
* genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to RLIMIT_STACK. This maintains consistency with the recent, similar patch to cccp.c and toplev.c. From-SVN: r17218
Paul Eggert committed -
From-SVN: r17217
Jeffrey A Law committed -
genattrtab.c (expand_units): For large nr opclasses, expand function_units_used with ORX to prevent blowups. * genattrtab.c (expand_units): For large nr opclasses, expand function_units_used with ORX to prevent blowups. Tag with FFS. (num_unit_opclasses): New variable. (gen_unit): Update it. (enum operator): Add ORX_OP. (operate_exp): Treat ORX as or, except don't expand across an if. Reuse number rtx's after operating on them. (check_attr_value): Accept IOR, AND, & FFS. (write_test_expr): Transmute `in_comparison' to `flags'. Allow for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE. (write_expr_attr_cache, write_toplevel_expr): New functions. (write_attr_get): Handle FFS-tagged expressions. (make_canonical): Don't expand const attributes. (convert_const_symbol_ref): Dike out. (evaluate_eq_attr): Handle SYMBOL_REF. (main): Don't emit get_attr_foo for const attributes. * alpha.c (override_options): Reinstate PROCESSOR_EV6. (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests. * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly. * alpha.md: Redo all of the scheduling, adding EV6 support, and combining function units where possible. (attr "type"): Split loads, stores, cmov into int/fp. Combine multiplies and divides. Add EV6 sqrt, ftoi, itof. (attr "opsize"): New attribute. (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns. (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX to control register allocation. (movsi2-1, movdi2-1): Likewise. From-SVN: r17212
Richard Henderson committed -
* alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC, MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC): Move OSF/1 specific defines out. * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS): Move Linux specific defines out. (LINK_SPEC): Genericize. (ASM_FILE_START): Emit .arch if using more than the base insn set. (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version. (SDB_DEBUGGING_INFO): Remove; gas can't handle it. (HANDLE_SYSV_PRAGMA): Define. * alpha/osf.h: New file. * alpha/linux.h: Split. Retain file-format independant defines. Import Linux bits from elf.h. (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES (FUNCTION_PROFILER): _mcount takes its address in $28. (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef. * alpha/linux-ecoff.h: New file. * alpha/linux-elf.h: New file. * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h. * alpha/win-nt.h (TARGET_DEFAULT): Define. * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]: Add new headers as appropriate. * configure.in (alpha*): Enable Haifa by default. (*-*-winnt3*): Change to winnt*, since we're not v3 specific. * configure: Rebuild. From-SVN: r17211
Richard Henderson committed -
* Makefile.in (clean): Remove the stages with their objects here ... (distclean): ... instead of here. From-SVN: r17210
Richard Henderson committed -
From-SVN: r17202
Benjamin Kosnik committed
-
- 22 Dec, 1997 7 commits
-
-
From-SVN: r17188
Jeff Law committed -
* call.c (add_builtin_candidate): Add default case in enumeration switch. (build_new_op): Likewise. (convert_like): Likewise. * cvt.c (build_expr_type_conversion): Likewise. * tree.c (real_lvalue_p): Likewise. (lvalue_p): Likewise. (cp_tree_equal): Likewise. * typeck.c (comptypes): Likewise. (build_component_ref): Likewise. (build_function_call_real): Likewise. (build_binary_op_nodefault): Likewise. (build_unary_op): Likewise. (build_modify_expr): Likewise. * typeck2.c (initializer_constant_valid_p): Likewise. From-SVN: r17187
Kaveh R. Ghazi committed -
* cse.c (rtx_cost): Add default case in enumeration switch. * fix-header.c (recognized_macro): Likewise. (recognized_extern): Likewise. (write_rbrac): Likewise. * objc/objc-act.c (encode_aggregate): Likewise. (gen_declarator): Likewise. (gen_declspecs): Likewise. From-SVN: r17186
Kaveh R. Ghazi committed -
haifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill more regs after sched than were... * haifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill more regs after sched than were killed before sched. * sched.c (create_reg_dead_note): Similarly. From-SVN: r17183
Jeff Law committed -
haifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill more regs after sched than were... * haifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill more regs after sched than were killed before sched. * sched.c (create_reg_dead_note): Similarly. [[Split portion of a mixed commit.]] From-SVN: r17182.2
Jeff Law committed -
From-SVN: r17180
Jeff Law committed -
From-SVN: r17179
Richard Henderson committed
-
- 21 Dec, 1997 12 commits
-
-
From-SVN: r17178
Jeff Law committed -
* i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything about system headers. (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32 and also to resolve symbols in prefix.c. * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict between gansidecl.h and newlib's _ansi.h when building libgcc2.a, when the definitions in auto-config.h is not visible. (HAVE_BZERO): Likewise. (HAVE_BCMP): Likewise. (HAVE_RINDEX): Likewise. (HAVE_INDEX): Likewise. From-SVN: r17177
Mumit Khan committed -
From-SVN: r17176
Jeff Law committed -
* pa.c (emit_move_sequence): Handle a function label source operand. From-SVN: r17174
Jeffrey A Law committed -
d * configure.in (host_makefile_frag, target_makefile_frag): Handle multiple config files. (alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and alpha-*-*. From-SVN: r17170
H.J. Lu committed -
F * configure.in (host_makefile_frag, target_makefile_frag): Handle multiple config files. (alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and alpha-*-*. From-SVN: r17169
H.J. Lu committed -
c-pragma.c (handle_pragma_token): Generate warning messages about unknown pragmas if warn_unknown_pragmas is set. * c-pragma.c (handle_pragma_token): Generate warning messages about unknown pragmas if warn_unknown_pragmas is set. * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command line option to set variable: warn_unknown_pragmas. From-SVN: r17168
Nick Clifton committed -
From-SVN: r17167
Nick Clifton committed -
* m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the definition. (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'. From-SVN: r17166
Manfred Hollstein committed -
L * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define. (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to generate more fine grained floating point emulation libraries. * config/fp-bit.c: Add protecting #ifdef to all functions so that they can be compiled separately. If !FINE_GRAINED_LIBRARIES, then compile all suitable functions. (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two underscores to avoid namespace pollution. * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c (FPBIT): Define. * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c (FPBIT): Define. (DPBIT): Define. From-SVN: r17165
Jeff Law committed -
e * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define. (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to generate more fine grained floating point emulation libraries. * config/fp-bit.c: Add protecting #ifdef to all functions so that they can be compiled separately. If !FINE_GRAINED_LIBRARIES, then compile all suitable functions. (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two underscores to avoid namespace pollution. * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c (FPBIT): Define. * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c (FPBIT): Define. (DPBIT): Define. From-SVN: r17164
Jeff Law committed -
* Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define. (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to generate more fine grained floating point emulation libraries. * config/fp-bit.c: Add protecting #ifdef to all functions so that they can be compiled separately. If !FINE_GRAINED_LIBRARIES, then compile all suitable functions. (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two underscores to avoid namespace pollution. * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c (FPBIT): Define. * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c (FPBIT): Define. (DPBIT): Define. From-SVN: r17163
Jeffrey A Law committed
-
- 20 Dec, 1997 1 commit
-
-
* bitmap.c (bitmap_clear): Ensure `inline' is at the beginning of the declaration. * c-decl.c (finish_decl): Use parentheses around && within ||. * rtl.c: Include stdlib.h. (read_skip_spaces): Add parentheses around assignments used as truth values. (read_rtx): Initialize list_rtx. * cppexp.c (parse_number): Use || when operands are truth values. * alias.c (find_base_value): Add default case. (memrefs_conflict): Likewise. * combine.c (sets_function_arg_p): Likewise. * genemit.c (gen_exp): Likewise. * local-alloc.c (contains_replace_regs): Likewise. * rtlanal.c (jmp_uses_reg_or_mem): Likewise. * fold-const.c (fold_convert): Use "&&" for truth values. (fold): Add default case. * sdbout.c (sdbout_field_types): Fix typo in declaration. (sdbout_one_type): Add default case. * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS. (some_operand): Add default case. (input_operand): Likewise. (signed_comparison_operator): Likewise. (divmod_operator): Likewise. (alpha_set_memflags_1): Likewise. * reload1.c (reload_cse_simplify_operands): Ensure function always returns a value. * scan-decls.c (scan_decls): Likewise. * c-lex.c (skip_white_space): Fix typo in declaraion. * c-typeck.c (comp_target_types): Add parentheses around assignment used as truth value. (print_spelling): Likewise. (constructor_implicit, constructor_result): Remove unused variables. * collect2.c (scan_library): Protect prototype with #ifdef SCAN_LIBRARIES. * emit-rtl.c (find_line_note): Fix typo in declaration. * final.c (asm_insn_count): Protect prototype with #ifdef HAVE_ATTR_length. * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC. (try_pre_increment_1, try_pre_increment): Likewise. * regclass.c (auto_inc_dec_reg_p): Protect prototype with #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit. * gcov-io.h (__store_long, __write_long, __read_long): Fix unsigned/signed comparisons. * gcov.c (read_files): Remove unused "first_type" variable. (scan _for_source_files): Initialize s_ptr. (function_summary): Eliminate "%lf" formatting, use %ld for longs. (output_data): Initialize branch_probs and last_line_num. Eliminate "%lf" formatting, use "%ld" for longs. Co-Authored-By: Jeffrey A Law <law@cygnus.com> From-SVN: r17158
Kaveh R. Ghazi committed
-
- 19 Dec, 1997 5 commits
-
-
From-SVN: r17157
Ian Lance Taylor committed -
From-SVN: r17156
Jeff Law committed -
* expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression. * stmt.c (expand_end_case): Likewise. * alpha.h (CASE_VECTOR_PC_RELATIVE): Update. * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise. * rs6000.h, sh.h, tahoe.h, v850.h vax.h z8k.h: Likewise. From-SVN: r17155
Ian Lance Taylor committed -
From-SVN: r17154
Jeff Law committed -
From-SVN: r17144
Jason Merrill committed
-
- 18 Dec, 1997 4 commits
-
-
* objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in the build directory. (libobjc.a): Update dependency list. (libobjc.dll): Likewise. Use libobjc_entry.o from the build directory. (objc/sendmsg.o): Add -Iobjc to find runtime-info.h. (objc.mostlyclean): Remove runtime-info.h. From-SVN: r17143
Andreas Schwab committed -
* tree.c (build_range_type): Allow creation of ranges with no maximum. * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE. * dwarf2out.c (add_subscript_info): Likewise. * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise. * sdbout.c (plain_type_1): Likewise. * stmt.c (pushcase_range, all_cases_count, node_has_high_bound): Likewise. * fold-const.c (int_const_binop, fold_convert, make_range, fold): Likewise. From-SVN: r17142
Richard Henderson committed -
From-SVN: r17141
Richard Henderson committed -
From-SVN: r17140
Jeff Law committed
-