aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-05-31Makefile.in (c-opts.o, [...]): Update dependencies.Neil Booth6-312/+745
* Makefile.in (c-opts.o, c-options.h): Update dependencies. * c-opts.c: Include c-options.h and c-options.c. (CL_C_ONLY, CL_OBJC_ONLY, CL_CXX_ONLY, CL_OBJCXX_ONLY): Rename CL_C, CL_OBJC, CL_CXX, CL_OBJCXX. (CL_ARG, CL_ALL, COMMAND_LINE_OPTIONS, struct cl_option, OPT, opt_comp): Remove. (missing_arg, c_common_init_options, c_common_decode_option, write_langs): Update for macro redefinitions and enumeration name changes. * c.opt, opts.sh: New files. * doc/passes.texi: Update. From-SVN: r67278
2003-05-31ffree-form-2.f: XFAIL removed, because fixed.Toon Moene2-1/+4
2003-05-31 Toon Moene <toon@moene.indiv.nluug.nl> * g77.dg/ffree-form-2.f: XFAIL removed, because fixed. From-SVN: r67277
2003-05-31re PR fortran/10843 (g77 -ffree-form rejects "GO TO".)Bud Davis2-1/+23
2003-05-31 Bud Davis <bdavis9659@comcast.net> PR fortran/10843 * sta.c (ffesta_second_): Parse GO TO correctly, even in free source format. From-SVN: r67276
2003-05-31Add missed chunk in last commit.Andreas Jaeger1-2/+1
From-SVN: r67275
2003-05-31function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE usage.Andreas Jaeger7-99/+32
* function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE usage. * doc/tm.texi (Trampolines): Remove ALLOCATE_TRAMPOLINE. * config/d30v/d30v.h: Remove traces of ALLOCATE_TRAMPOLINE. * system.h: Poison ALLOCATE_TRAMPOLINE. * doc/tm.texi (Misc): Remove HANDLE_PRAGMA. * system.h: Poison HANDLE_PRAGMA. In f/ * lex.c (ffelex_hash_): Remove HANDLE_PRAGMA and HANDLE_GENERIC_PRAGMA dependend code, remove #if 0 code. (pragma_getc): Removed. (pragma_ungetc): Removed. From-SVN: r67274
2003-05-31* MAINTAINERS: Add self as option-handling maintainer.Neil Booth2-0/+5
From-SVN: r67273
2003-05-31* doc/invoke.texi: Update dump file names.Kazu Hirata2-20/+24
From-SVN: r67272
2003-05-31c-format.c (format_length_info, [...]): De-const-ify structure members.Kaveh R. Ghazi2-37/+43
* c-format.c (format_length_info, format_char_info, format_flag_spec, format_flag_pair, format_kind_info): De-const-ify structure members. From-SVN: r67271
2003-05-31flags.h (flag_wrapv): New flag controlling overflow semantics.Roger Sayle15-2/+137
* flags.h (flag_wrapv): New flag controlling overflow semantics. * toplev.c (flag_wrapv): Declare the variable with default false. (lang_independent_options): New option "-fwrapv" to set the above. * fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2 as x, when signed arithmetic overflow wraps around. (fold): Optimize "-A - B" as "-B - A" if overflow wraps around. * loop.c (basic_induction_var): Ignore BIVs that rely on undefined overflow when flag_wrapv is true. * java/lang.c (java_init_options): Prescribe wrap-around two's complement arithmetic overflow by setting flag_wrapv. * doc/invoke.texi: Document new -fwrapv command line option. * doc/c-tree.texi: Mention that the overflow semantics of NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent upon both flag_wrapv and flag_trapv. * gcc.dg/fwrapv-1.c: New test case. * gcc.dg/fwrapv-2.c: New test case. * libjava.lang/Overflow.java: New test. * libjava.lang/Overflow.out: New file. From-SVN: r67270
2003-05-31decl.c (cp_binding_level::this_entity): Rename from this_class.Gabriel Dos Reis2-109/+150
* decl.c (cp_binding_level::this_entity): Rename from this_class. (cxx_scope_descriptor): New function. (cxx_scope_debug): Likewise. (push_binding_level): Use it. (pop_binding_level): Likewise. (suspend_binding_level): Likewise. (resume_binding_level): Likewise. (pushlevel_class): Adjust use of this_class. (pushtag): Likewise. (lookup_name_real): Likewise. (global_scope_name): New variable. (initialize_predefined_identifiers): Initialize it. (push_namespace): Use it. (make_cxx_scope): New function. (pushlevel): Use it. (pushlevel_class): Likewise. (push_binding_level): Simplify. Loose the last two arguments. (make_binding_level): Remove. (initial_push__namespace_scope): New function. (push_namespace): Use it. Simplify. (cxx_init_decl_processing): Likewise. (declare_namespace_level): Remove. From-SVN: r67269
2003-05-31re PR c++/10956 (ICE when specializing a template member function of a ↵Kriang Lerdsuwanakij4-2/+35
template class, in tsubst, at cp/pt.c:6459) PR c++/10956 * pt.c (instantiate_decl): Don't use full template arguments if we are dealing with specializations. * g++.dg/template/spec9.C: New test. From-SVN: r67268
2003-05-31install.texi (mips-sgi-irix5): Add missing HTML <hr> marker.Eric Botcazou2-0/+8
* doc/install.texi (mips-sgi-irix5): Add missing HTML <hr> marker. From-SVN: r67265
2003-05-31md.texi (Machine Constraints): Document missing SPARC constraints.Eric Botcazou2-0/+21
* doc/md.texi (Machine Constraints): Document missing SPARC constraints. From-SVN: r67263
2003-05-31md.texi (Automaton pipeline description): Use "type" instead of "cpu" as the ↵Eric Botcazou2-5/+10
attribute in the examples. * doc/md.texi (Automaton pipeline description): Use "type" instead of "cpu" as the attribute in the examples. From-SVN: r67261
2003-05-31com.c (ffecom_init_0): Define built-in functions for tan and atan.Roger Sayle3-2/+21
* com.c (ffecom_init_0): Define built-in functions for tan and atan. * com-rt.def: Use then to implement g77's tan and atan intrinsics. From-SVN: r67260
2003-05-31Daily bump.GCC Administrator2-2/+2
From-SVN: r67257
2003-05-30* system.h: Poison OBJC_PROLOGUE.Stan Shebs2-1/+6
From-SVN: r67255
2003-05-30emit-rtl.c (gen_complex_constant_part): New function for getting the ↵Roger Sayle2-0/+52
constant real or imaginary part of a complex constant. * emit-rtl.c (gen_complex_constant_part): New function for getting the constant real or imaginary part of a complex constant. (gen_realpart): Use it. (gen_imagpart): Likewise. From-SVN: r67252
2003-05-30invoke.texi: Fix typos.Kazu Hirata3-3/+8
* doc/invoke.texi: Fix typos. * doc/rtl.texi: Likewise. From-SVN: r67251
2003-05-30crti.asm: Use .h8300hn and .h8300sn for normal mode.Dhananjay Deshpande7-4/+46
* config/h8300/crti.asm: Use .h8300hn and .h8300sn for normal mode. * config/h8300/crtn.asm: Likewise. * config/h8300/lib1funcs.asm: Likewise. * config/h8300/h8300.c (asm_file_start): Likewise. * config/h8300/elf.h (LINK_SPEC): Use h8300hnelf and h8300snelf emulations for normal mode. * config/h8300/h8300.h (LINK_SPEC): Use h8300hn and h8300sn emulations for normal mode. From-SVN: r67250
2003-05-30filter: New file.Phil Edwards6-17/+66
2003-05-30 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/filter: New file. * docs/doxygen/filter.sed: New file. * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh. * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter. * docs/html/documentation.html: Fix links to doxygen pages. From-SVN: r67249
2003-05-30h8300.c (h8300_tiny_constant_address_p): Return true if TARGET_NORMAL_MODE.Dhananjay Deshpande2-2/+8
* config/h8300/h8300.c (h8300_tiny_constant_address_p): Return true if TARGET_NORMAL_MODE. From-SVN: r67248
2003-05-30cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when making a ↵Roger Sayle3-19/+50
substitution. * cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when making a substitution. (dead_libcall_p): If directly replacing a libcall with a constant value produces an invalid instruction, also try forcing the constant into the constant pool. * expr.c (emit_move_insn): Add a REG_EQUAL note when it is not obvious that the source is a constant. (compress_float_constant): Use set_unique_reg_note to place REG_EQUAL notes on instructions. From-SVN: r67247
2003-05-30mips.c (extern_list): Add GTY marker.Eric Christopher2-9/+19
2003-05-30 Eric Christopher <echristo@redhat.com> * config/mips/mips.c (extern_list): Add GTY marker. (extern_head): Separate out definition. Add marker. (mips_output_external): Use ggc_alloc for extern_list allocation. (mips_output_external_libcall): Ditto. From-SVN: r67245
2003-05-30install.texi: Ada-enabled bootstrap requires GNAT 3.14 or later.Florian Weimer2-1/+6
2003-05-30 Florian Weimer <fw@deneb.enyo.de> * doc/install.texi: Ada-enabled bootstrap requires GNAT 3.14 or later. From-SVN: r67244
2003-05-30vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warnings.Kaveh R. Ghazi2-7/+13
* vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warnings. (PRINT_OPERAND): Likewise. From-SVN: r67243
2003-05-30mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move -mdebug/-no-mdebug switches ...Rainer Orth2-1/+19
* config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move -mdebug/-no-mdebug switches ... (MDEBUG_ASM_SPEC): ... here. Use only with gas. (EXTRA_SPECS): Initialize mdebug_asm_spec. From-SVN: r67242
2003-05-30fstream.tcc (_M_convert_to_external): Don't check for __ilen > 0.Paolo Carlini2-1/+6
2003-05-30 Paolo Carlini <pcarlini@unitus.it> * include/bits/fstream.tcc (_M_convert_to_external): Don't check for __ilen > 0. From-SVN: r67240
2003-05-30Remove conflict marker.Matt Kraai1-1/+0
From-SVN: r67239
2003-05-30gthr-gnat.c: Remove #undef UNUSED.Matt Kraai3-10/+19
* gthr-gnat.c: Remove #undef UNUSED. (__gnat_default_lock, __gnat_default_unlock): Prototype. (__gnat_task_lock, __gnat_task_unlock): Make declarations prototypes. (__gnat_install_locks): Convert declaration to ISO C90, make parameter declarations prototypes, and remove blank line. * gthr-gnat.h (__gnat_install_locks): Make parameter declarations prototypes. From-SVN: r67238
2003-05-30Daily bump.GCC Administrator2-2/+2
From-SVN: r67236
2003-05-29* Makefile.in (unstrap): Remove stage_last after make unstage1.Jason Merrill2-1/+6
From-SVN: r67233
2003-05-29* mips-tfile.c (PAGE_SIZE): Increase page size to 32K.Roger Sayle2-5/+6
From-SVN: r67232
2003-05-29add commentJason Merrill1-0/+3
From-SVN: r67231
2003-05-29re PR bootstrap/10169 (Bootstrap fails on mainline with Tru64 5.1B)Roger Sayle6-17/+106
PR bootstrap/10169 * mips-tfile.c (main): Use getopt_long instead of getopt. Add new command line option --version to display version. Treat --verbose like -v to report a single line version. (options): New global variable for getopt_long. * mips-tdump.c (main): Use getopt_long instead of getopt. New command line options -v, --version and -verbose to display the program version number (to match mips-tfile's behavior). (options): New global variable for getopt_long. * gcov.c (options): Zero-terminate getopt_long array. * gcov-dump.c (options): Likewise. * Makefile.in (mips-tdump.o): Add dependency on version.h. Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu> From-SVN: r67230
2003-05-29Remove OBJC_PROLOGUE everywhere.Stan Shebs6-29/+9
* objc/objc-act.c (finish_objc): Remove use of OBJC_PROLOGUE. * config/avr/avr.h: Remove no-op ref to OBJC_PROLOGUE. * config/d30v/d30v.h: Similarly. * config/ip2k/ip2k.h: Similarly. * doc/tm.texi: Remove doc of OBJC_PROLOGUE. From-SVN: r67229
2003-05-29decl.c (ENABLE_SCOPE_CHECKING): Rename from DEBUG_BINDING_LEVELS.Gabriel Dos Reis2-77/+84
* decl.c (ENABLE_SCOPE_CHECKING): Rename from DEBUG_BINDING_LEVELS. (binding_depth): Unconditionally define. (is_class_level): Likewise. (indent): Likewise. Take an indenting parameter. (push_binding_level): Remove conditional definittion. (pop_binding_level): Likewise. (suspend_binding_level): Likewise. (resume_binding_level): Likewise. (pushlevel): Likewise. (pushlevel_class): Likewise. (poplevel_class): Likewise. (pop_everything): Likewise. From-SVN: r67226
2003-05-29builtins.c (cos_builtin, [...]): Delete.Roger Sayle2-53/+52
* builtins.c (cos_builtin, sin_builtin, sqrt_builtin): Delete. (builtin_record): Add an additional builtin_code field to record which GCC built-in corresponds to the Java function. (java_builtins): Add new entries for atan, atan2, exp, log, pow and tan. (max_builtin, min_builtin, abs_builtin): Perform constant folding on the resulting tree. (java_build_function_call_expr): Likewise, perform constant folding on the resulting tree. (initialize_builtins): The NULL creators are now allowed in the java_builtins table, which is now terminated by an entry with builtin_code == END_BUILTINS. (check_for_builtin): Likewise. If the matching creator is NULL, construct the call using java_build_function_call_expr directly with the decl for the corresponding builtin_code. From-SVN: r67225
2003-05-29c-semantics.c (genrtl_do_stmt_1): New function split out from...Roger Sayle4-9/+96
* c-semantics.c (genrtl_do_stmt_1): New function split out from... (gen_rtl_do_stmt): ... here. Call genrtl_do_stmt_1. (expand_unreachable_stmt): Expand unreachable while statements using genrtl_do_stmt_1. * gcc.dg/duff-4.c: New test case. From-SVN: r67224
2003-05-29[multiple changes]Paolo Carlini5-33/+112
2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de> PR libstdc++/10783 * include/bits/stl_iterator.h (class __normal_iterator): Don't inherit from iterator, add missing typedefs. 2003-05-29 Paolo Carlini <pcarlini@unitus.it> * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows. * testsuite/24_iterators/reverse_iterator/1.cc: New. * testsuite/24_iterators/reverse_iterator/2.cc: New. * testsuite/24_iterators/reverse_iterator/3.cc: New, from PR libstdc++/10783. From-SVN: r67223
2003-05-29name-lookup.h (global_scope_p): New macro.Gabriel Dos Reis3-35/+42
* name-lookup.h (global_scope_p): New macro. * decl.c (pop_binding_level): Use it. Don't refer directly to global_binding_level. (suspend_binding_level): Likewise. (global_bindings_p): Likewise. (print_other_binding_stack): Likewise. (print_binding_stack): Likewise. (maybe_push_to_top_level): Likewise. (pushdecl_namespace_level): Likewise. (cxx_init_decl_processing): Likewise. (start_decl): Likewise. (cp_finish_decl): Likewise. (start_function): Likewise. (global_binding_level): Remove. From-SVN: r67221
2003-05-29mips-protos.h (mips_output_load_label): Declare.Richard Sandiford4-7/+43
* config/mips/mips-protos.h (mips_output_load_label): Declare. * config/mips/mips.c (mips_output_load_label): New function. (mips_output_conditional_branch): Use it. * config/mips/mips.md (jump): And here. From-SVN: r67220
2003-05-29Remove myself as m32r/v850 maintainerMichael Meissner2-2/+5
From-SVN: r67219
2003-05-29Daily bump.GCC Administrator2-2/+2
From-SVN: r67217
2003-05-29xtensa-protos.h (smalloffset_double_mem_p): Delete.Bob Wilson5-181/+156
* config/xtensa/xtensa-protos.h (smalloffset_double_mem_p): Delete. (xtensa_split_operand_pair): New proto. * config/xtensa/xtensa.c (move_operand): Handle DFmode and DImode. (smalloffset_double_mem_p): Delete. (gen_float_relational, printx, print_operand, xtensa_va_arg): Fix whitespace. (xtensa_split_operand_pair): New. (xtensa_dbx_register_number): Fix formatting. * config/xtensa/xtensa.h (EXTRA_CONSTRAINT): Remove 'S' constraint. * config/xtensa/xtensa.md (movdi, movdf): Force constants to memory instead of splitting them into single-word moves. Remove unnecessary checks for reload_in_progress and reload_completed. (movdi_internal, movdf_internal): Change to post-reload split patterns. Add constraints to allow constant operands. (movsf_internal): Allow CONST_INT operands. From-SVN: r67215
2003-05-28Fix ChangeLog whitespace for last commit.Danny Smith1-2/+2
From-SVN: r67214
2003-05-28config.gcc (i[34567]86-*-mingw32*): Add host makefile fragment i386/x-mingw32.Danny Smith3-0/+12
* config.gcc (i[34567]86-*-mingw32*): Add host makefile fragment i386/x-mingw32. * config/i386/x-mingw32: New file. Make local_includedir relative to EXEC_PREFIX. From-SVN: r67213
2003-05-28mingw32.h (STANDARD_INCLUDE_DIR): Update.Aaron W. LaFramboise2-2/+12
2003-05-27 Aaron W. LaFramboise <awlaframboise@aol.com> * config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Update. (MD_STARTFILE_PREFIX): Define. From-SVN: r67212
2003-05-28cselib.c (cselib_invalidate_regno): Abort if hardreg have a VOIDmode.Denis Chertykov2-2/+12
* cselib.c (cselib_invalidate_regno): Abort if hardreg have a VOIDmode. * cselib.c (cselib_process_insn): Pass reg_raw_mode for hardreg in call of cselib_invalidate_regno. From-SVN: r67210
2003-05-28Makefile.tpl: Make maybe-check-gcc .PHONY.DJ Delorie3-2/+7
* Makefile.tpl: Make maybe-check-gcc .PHONY. * Makefile.in: Regenerate. From-SVN: r67209