aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-11-09* g++.old-deja/g++.brendan/err-msg8.C: Adjust error line.Nathan Sidwell2-1/+3
From-SVN: r37343
2000-11-09mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from interpreting $out as ↵Alexandre Oliva3-2/+23
a macro assignment. * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from interpreting $out as a macro assignment. * Makefile.in (T_TARGET): New auxiliary macro and target. (all): Add a target right in the beginning, so that we don't build T_TARGET by default. From-SVN: r37342
2000-11-09i386.md (mmx_pinsrw): Output operands in correct order for -mintel-syntax.Graham Stott2-6/+11
* config/i386/i386.md (mmx_pinsrw): Output operands in correct order for -mintel-syntax. Remove comment now that the operand order has been checked. (mmx_pextrw): Likewise. (mmx_pshufw): Likewise. From-SVN: r37341
2000-11-09lex.c (do_identifier): Don't lookup_name for operators.Nathan Sidwell6-4/+31
gcp/ChangeLog: * lex.c (do_identifier): Don't lookup_name for operators. * parse.y (operator): Save looking_for_typename. (unoperator): Restore it. * spew.c (frob_opname): Use nth_token for lookahead. testsuite/ChangeLog: * g++.old-deja/g++.pt/operator1.C: New test. From-SVN: r37340
2000-11-09* gcc.dg/20001108-1.c: New test.Jakub Jelinek2-0/+34
From-SVN: r37339
2000-11-09builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.Jakub Jelinek9-130/+496
* builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max. (c_getstr): New function. (expand_builtin_strstr): Do nothing if -fcheck-memory-usage. If both arguments are constant string, optimize out. (expand_builtin_strchr, expand_builtin_strrchr): New functions. (expand_builtin_strpbrk): Use c_getstr, do nothing if -fcheck-memory-usage. (expand_builtin_fputs): Likewise. (expand_builtin_strcmp): Add MODE argument. Use even if !HAVE_cmpstrsi. Optimize the case when both arguments are constant strings. (expand_builtin): Adjust expand_builtin_strcmp caller. Call expand_builtin_strchr and expand_builtin_strrchr. * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr builtins. * builtins.def (BUILT_IN_STRRCHR): Add. * gcc.c-torture/execute/string-opt-1.c: Add test for strstr with both arguments constant strings. * gcc.c-torture/execute/string-opt-3.c: New test. * gcc.c-torture/execute/string-opt-4.c: New test. * gcc.c-torture/execute/string-opt-5.c: New test. From-SVN: r37338
2000-11-09* Remove overlooked conflict marker.Gerald Pfeifer1-1/+0
From-SVN: r37337
2000-11-09* fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.Gerald Pfeifer2-4/+9
From-SVN: r37336
2000-11-09Daily bump.Jeff Law2-2/+2
From-SVN: r37335
2000-11-09calls.c (expand_call, [...]): Use memcpy () instead of bcopy ().Joseph Myers18-220/+155
* calls.c (expand_call, emit_library_call_value_1), collect2.c (scan_prog_file), config/a29k/a29k.c (print_operand), config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy () instead of bcopy (). * real.h: Use memcmp () instead of bcmp (). * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c (split_branches), config/sparc/sparc.c (ultra_flush_pipeline, ultrasparc_sched_init, ultrasparc_sched_reorder), config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset () instead of bzero (). * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr () instead of rindex (). * configure.in: Don't check for bzero, bcmp, index or rindex. * configure, config.in: Regenerate. * system.h: Don't include declarations for bzero, bcmp, index or rindex. * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define bzero, bcmp, index or rindex. java: * parse.y (create_new_parser_context): Use memset () instead of bzero (). From-SVN: r37334
2000-11-09cygwin.h: Add -no-win32 switch.Christopher Faylor2-29/+66
* config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin include and library paths from -mcygwin case. Parameterize some declarations to avoid warnings. Use standard locations for include and lib dirs. From-SVN: r37333
2000-11-09Fix {u}mulsidi3adddi patterns in arm.md and add testcase to check that theNick Clifton4-29/+83
fix stays in place. From-SVN: r37331
2000-11-08flow.c (init_propagate_block_info): Protect the rtx stored in mem_set_list ↵Richard Henderson2-2/+30
from modification by find_auto_inc. * flow.c (init_propagate_block_info): Protect the rtx stored in mem_set_list from modification by find_auto_inc. (mark_set_1): Likewise. From-SVN: r37330
2000-11-08Move directive handling into the lexer itself.Neil Booth4-31/+50
* cpplex.c (_cpp_lex_token): Handle directives directly. In the case of a directive interrupting a function-like macro invocation, use extra_char since read_ahead is used to store the '#'. Return a CPP_EOF in this case. * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more. (cpp_get_token): Don't handle directives here. * cpplib.h: Remove CPP_DHASH token type. From-SVN: r37329
2000-11-08regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes formed ↵Jan Hubicka2-3/+15
using PRE_MODIFY too. * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes formed using PRE_MODIFY too. From-SVN: r37326
2000-11-08gjavah.c (process_file): Only include gcj/cni.h when generating CNI stubs.Tom Tromey2-1/+7
* gjavah.c (process_file): Only include gcj/cni.h when generating CNI stubs. From-SVN: r37325
2000-11-08c-tree.texi (VAR_DECL): Describe representation of GCC's extension for ↵Mark Mitchell2-0/+10
placing variables in particular... * c-tree.texi (VAR_DECL): Describe representation of GCC's extension for placing variables in particular registers. From-SVN: r37322
2000-11-08c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for unprototyped C ↵Mark Mitchell2-0/+9
functions with no parameters. * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for unprototyped C functions with no parameters. From-SVN: r37321
2000-11-08sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int before passing to fprintf.Jakub Jelinek2-2/+7
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int before passing to fprintf. From-SVN: r37320
2000-11-08decl.c (grok_op_properties): Always use coerce_new_type and coerce_delete_type.Nathan Sidwell5-85/+87
cp/ChangeLog * decl.c (grok_op_properties): Always use coerce_new_type and coerce_delete_type. * decl2.c (coerce_new_type): Use c_size_type_node. Preserve exception specification. Tidy up. (coerce_delete_type): Preserve exception specification. Tidy up. testsuite/ChangeLog * g++.old-deja/g++.other/crash36.C: New test. From-SVN: r37319
2000-11-08* g++.old-deja/g++.other/init16.C: New test.Jakub Jelinek2-0/+15
From-SVN: r37318
2000-11-08function.c (expand_function_start): Cast GET_MODE_SIZE to HOST_WIDE_INT ↵Jakub Jelinek2-1/+7
before negating it. * function.c (expand_function_start): Cast GET_MODE_SIZE to HOST_WIDE_INT before negating it. From-SVN: r37317
2000-11-08expr.c (expand_expr): Handle when op0 is RETURN_DECL passed in multiple ↵Jakub Jelinek2-2/+15
non-contiguous locations. * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL passed in multiple non-contiguous locations. From-SVN: r37316
2000-11-08* README.gnat: Remove file.Gerald Pfeifer2-435/+4
From-SVN: r37315
2000-11-08* g++.old-deja/g++.mike/p6610a.C: Update XFAIL.Loren J. Rittle2-1/+5
From-SVN: r37314
2000-11-08Daily bump.Jeff Law2-2/+2
From-SVN: r37313
2000-11-08mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts in-place.Alexandre Oliva2-9/+11
* mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts in-place. From-SVN: r37312
2000-11-07dwarfout.c (INSN_LABEL_FMT): Remove.Richard Henderson6-76/+14
* dwarfout.c (INSN_LABEL_FMT): Remove. (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL. (dwarfout_label): Remove. * dwarfout.h: Remove it's prototype. * dwarf2out.c (INSN_LABEL_FMT): Remove. (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL. (dwarf2out_label): Remove. * dwarf2out.h: Remove it's prototype. * final.c (final_scan_insn): Don't call dwarf[2]out_label. From-SVN: r37310
2000-11-07fde-glibc.c (find_fde_for_dso): Do a binary search on the unwind region section.Richard Henderson3-19/+39
* config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary search on the unwind region section. * config/ia64/ia64.md (movbi): Add r/r alternative. (cmovdi_internal_astep): Describe all combinations of register classes for sources & destinations; remove matching constraints. (cmovdi_internal): Likewise. From-SVN: r37309
2000-11-07* gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.Richard Henderson2-1/+5
From-SVN: r37308
2000-11-07c-lang.c (start_cdtor, [...]): New functions.Richard Henderson5-49/+76
* c-lang.c (start_cdtor, finish_cdtor): New functions. (finish_file): Use them in building constructor/destructor functions. * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Move ... * config/alpha/osf.h: ... here. * config/alpha/alpha-interix.h: Don't undef them. From-SVN: r37307
2000-11-08t-iris6 (FPBIT): New.Jeffrey Oldham2-0/+23
2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com> * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is included in libgcc.a. (DPBIT): Likewise. (dp-bit.c): Likewise. (fp-bit.c): Likewise. From-SVN: r37306
2000-11-07va-arg-15.x: Changed to mips*-sgi-irix6.*.Jeffrey Oldham4-6/+12
2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com> * gcc.c-torture/execute/va-arg-15.x: Changed to mips*-sgi-irix6.*. * gcc.c-torture/execute/va-arg-16.x: Likewise. * gcc.c-torture/execute/va-arg-17.x: Likewise. From-SVN: r37305
2000-11-07m88k.h (GLOBAL_ASM_OP): Add missing tab.Nick Clifton2-2/+7
* config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab. (INTERNAL_ASM_OP): Add missing tab. From-SVN: r37304
2000-11-07alias.c [...] (init_alias_analysis, [...]): Use memset () instead of bzero ().Joseph Myers45-121/+167
* alias.c (init_alias_analysis), calls.c (expand_call, emit_library_call_value_1), combine.c (init_reg_last_arrays), cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c (init_output_buffer, set_diagnostic_context), dwarf2out.c (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c (init_emit_once), fold-const.c (mul_double, div_and_round_double), function.c (assign_parms), gcse.c (compute_can_copy, alloc_gcse_mem, alloc_reg_set_mem, record_one_set, compute_hash_table, compute_set_hash_table, compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info, clear_units, schedule_block), integrate.c (initialize_for_inline, expand_inline_function), jump.c (thread_jumps), local-alloc.c (local_alloc), loop.c (combine_movables, count_loop_regs_set, load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree), regclass.c (init_reg_sets, init_reg_sets_1, regclass, record_reg_classes, allocate_reg_info), reload.c (get_secondary_mem, remove_address_replacements, find_reloads), reload1.c (reload, set_initial_label_offsets, finish_spills, reload_as_needed, choose_reload_regs_init, reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c (rename_registers), stmt.c (expand_end_case), unroll.c (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset () instead of bzero (). ch: * actions.c (check_missing_cases), typeck.c (build_chill_slice, build_chill_cast): Use memset () instead of bzero (). cp: * class.c (duplicate_tag_error, build_vtbl_initializer), decl.c (push_binding_level), error.c (cp_tree_printer), pt.c (process_partial_specialization, tsubst_template_arg_vector), search.c (lookup_member): Use memset () instead of bzero (). java: * expr.c (note_instructions), jcf-io.c (find_class), jcf-parse.c (init_outgoing_cpool), lex.c (java_init_lex): Use memset () instead of bzero (). From-SVN: r37303
2000-11-07oops, wrong ChangeLogDJ Delorie2-4/+4
From-SVN: r37302
2000-11-07* gcc.c-torture/execute/string-opt-1.c: New test.Kaveh R. Ghazi2-0/+42
From-SVN: r37301
2000-11-07va-arg-15.x: New file.Jeffrey Oldham4-0/+32
2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com> * gcc.c-torture/execute/va-arg-15.x: New file. Fails on mips-sgi-irix6.* because the MIPS ABI passes floating-point parameters in registers, and there is no way for a varargs function to know in which order the integer and floating-point parameters should be interleaved when they are placed on the stack. * gcc.c-torture/execute/va-arg-16.x: Likewise. * gcc.c-torture/execute/va-arg-17.x: Likewise. From-SVN: r37300
2000-11-07* cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.Neil Booth2-2/+7
From-SVN: r37299
2000-11-07* c-common.c (combine_strings): Only warn about long strings for C.Kaveh R. Ghazi2-1/+5
From-SVN: r37297
2000-11-07* combine.c (distribute_notes): Fix typo in last change.J"orn Rennecke2-1/+5
From-SVN: r37296
2000-11-07rs6000.md (movdi_internal32+1): Use operand_subreg_force rather than ↵Geoffrey Keating2-4/+14
gen_rtx_SUBREG. * config/rs6000/rs6000.md (movdi_internal32+1): Use operand_subreg_force rather than gen_rtx_SUBREG. (movdi_internal32+2): Likewise. From-SVN: r37295
2000-11-07Delete arm-linux-aout targetPhilip Blundell4-73/+6
From-SVN: r37294
2000-11-07ABOUT-GCC-NLS: Remove the patch for gettext as it has been accepted my the ↵Philipp Thomas2-132/+20
gettext maintainer. 2000-11-07 Philipp Thomas <pthomas@suse.de> * ABOUT-GCC-NLS: Remove the patch for gettext as it has been accepted my the gettext maintainer. From-SVN: r37293
2000-11-07* testsuite/gcc.dg/20000614-1.c: Add return so that test can pass.DJ Delorie2-0/+5
From-SVN: r37292
2000-11-07builtins.c (expand_builtin_strpbrk): New function.Kaveh R. Ghazi6-2/+171
* builtins.c (expand_builtin_strpbrk): New function. (expand_builtin): Handle BUILT_IN_STRPBRK. * builtins.def (BUILT_IN_STRPBRK): New entry. * c-common.c (c_common_nodes_and_builtins): Declare builtin strpbrk. testsuite: * gcc.c-torture/execute/string-opt-2.c: New test. From-SVN: r37291
2000-11-07decl.c (build_ptrmemfunc_type): Allow error_mark_node.Nathan Sidwell4-0/+29
cp: * decl.c (build_ptrmemfunc_type): Allow error_mark_node. testsuite: * g++.old-deja/g++.pt/crash60.C: New test. From-SVN: r37289
2000-11-07Daily bump.Jeff Law2-2/+2
From-SVN: r37288
2000-11-07freebsd.h: New file -- FreeBSD/alpha architecture file.David O'Brien6-92/+236
2000-11-07 David O'Brien <obrien@dragon.nuxi.com> * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file. * POTFILES.in: Add config/alpha/freebsd.h * configure.in: Add alpha*-freebsd support. * configure: Regenerate. Approved by: Richard Henderson <rth@cygnus.com> Message-ID: <20001106211421.E14418@cygnus.com> From-SVN: r37287
2000-11-07tree.c (build_common_tree_nodes_2): Make va_list_type_node be a copy of ↵Joseph Myers2-1/+6
ptr_type_node rather than ptr_type_node itself. * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a copy of ptr_type_node rather than ptr_type_node itself. From-SVN: r37286