summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
...
* * doc/invoke.texi: Remove a duplicate -dk.Kazu Hirata2003-06-222-3/+4
| | | | From-SVN: r68338
* * doc/invoke.texi: Update dump file names.Kazu Hirata2003-06-222-4/+8
| | | | From-SVN: r68336
* safe-ctype.h (HC_UNKNOWN, [...]): Rename to HOST_CHARSET_UNKNOWN...Zack Weinberg2003-06-223-7/+12
| | | | | | | | | | | | | | | | | | include: * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC): Rename to HOST_CHARSET_UNKNOWN, HOST_CHARSET_ASCII, HOST_CHARSET_EBCDIC respectively. libiberty: * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC. Add documentation in form expected by gather-docs. * hex.c: Use HOST_CHARSET, not hand-coded check of character set. * Makefile.in, functions.texi: Regenerate. gcc: * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC. From-SVN: r68335
* * doc/rtl.texi: Fix the @findex for pre_modify.Kazu Hirata2003-06-222-1/+5
| | | | From-SVN: r68333
* Convert to ISO C90.Andreas Jaeger2003-06-221-6/+6
| | | | From-SVN: r68332
* caller-save.c: Convert to ISO C90.Andreas Jaeger2003-06-2216-1175/+656
| | | | | | | | | | | | | | | | | | | * caller-save.c: Convert to ISO C90. * calls.c: Likewise. * cfg.c: Likewise. * cfganal.c: Likewise. * cfgbuild.c: Likewise. * cfgcleanup.c: Likewise. * cfghooks.c: Likewise. * cfglayout.c: Likewise. * cfglayout.h: Likewise. * cfgloop.c: Likewise. * cfgloop.h: Likewise. * cfgloopanal.c: Likewise. * cfgloopmainip.c: Likewise. * cfgrtl.c: Likewise. From-SVN: r68331
* arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting 64-bit ↵Richard Earnshaw2003-06-222-1/+6
| | | | | | | | | alignment. * arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting 64-bit alignment. From-SVN: r68330
* arm.md (all call_value patterns): Remove register constraints on value operand.Richard Earnshaw2003-06-222-10/+15
| | | | | | | * arm.md (all call_value patterns): Remove register constraints on value operand. From-SVN: r68329
* common.opt: More -f switches.Neil Booth2003-06-225-85/+525
| | | | | | | | | | | | * common.opt: More -f switches. * opts.c (common_handle_options): Handle them. * toplev.c (time_report): Make extern. (f_options): USe flag_dummy. (decode_f_option): No need to use f_options now. * toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp, flag_ssa_dce, time_report, flag_new_regalloc): Make extern. From-SVN: r68328
* c-lex.c: Convert to ISO C90.Andreas Jaeger2003-06-2211-940/+612
| | | | | | | | | | | | | | | | * c-lex.c: Convert to ISO C90. * c-objc-common.c: Likewise. * c-opts.c: Likewise. * c-pch.c: Likewise. * c-ppoutput.c: Likewise. * c-pragma.h: Likewise. * c-pretty-print.c: Likewise. * c-pretty-print.h: Likewise. * c-semantics.c: Likewise. * c-tree.h: Likewise. * c-typeck.c: Likewise. From-SVN: r68327
* * c-lang.c: Convert to ISO C90.Andreas Jaeger2003-06-222-19/+16
| | | | From-SVN: r68326
* opts.c (find_opt): Fix to always guarantee a find of a switch with joined ↵Neil Booth2003-06-224-68/+92
| | | | | | | | | | | parameter. * opts.c (find_opt): Fix to always guarantee a find of a switch with joined parameter. * opts.h (struct cl_option): New member back_chain. * opts.sh: Update to calculate and add back_chain member. From-SVN: r68324
* diagnostic.h (output_host_wide_integer): Declare.Gabriel Dos Reis2003-06-223-0/+36
| | | | | | | | | * diagnostic.h (output_host_wide_integer): Declare. * diagnostic.c (output_long_long_decicaml): New function. (output_host_wide_integer): Likewise. (output_format): Use them. Handle "%ll" and "%w". From-SVN: r68323
* * config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.Jason Thorpe2003-06-222-1/+5
| | | | From-SVN: r68322
* Daily bump.GCC Administrator2003-06-221-1/+1
| | | | From-SVN: r68320
* safe-ctype.h (HC_UNKNOWN, [...]): New #defines.Zack Weinberg2003-06-217-365/+288
| | | | | | | | | | | | | | | | | | include: * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET): New #defines. libiberty: * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET for charset determination. gcc: * aclocal.m4 (gcc_AC_C_CHARSET): Delete. * configure.in: Don't use gcc_AC_C_CHARSET. * configure, config.in: Regenerate. * config/i370/i370.c, config/i370/i370.h: Use (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII) instead of HOST_EBCDIC or !HOST_EBCDIC. Clarify comments a tad. From-SVN: r68317
* Makefile.in: Update.Neil Booth2003-06-219-88/+520
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Update. * common.opt: New switches. * opts.c: Include diagnostic.h. (common_handle_option): Handle new switches. * toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion, flag_if_conversion2, flag_delete_null_pointer_checks, flag_rerun_cse_after_loop): Make extern. (flag_dummy): New. (f_options): Update to use flag_dummy for moved options. (decode_f_option): Some switches moved to opts.c. * toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion, flag_if_conversion2, flag_delete_null_pointer_checks, flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops, flag_tracer, flag_thread_jumps, flag_unroll_loops, flag_unroll_all_loops, flag_unswitch_loops): New. f: * lang.opt: Add -fpreprocessed. * top.c (ffe_handle_option): Handle it. From-SVN: r68315
* re PR c++/10784 (Warning about choosing custom operator over copy ↵Gabriel Dos Reis2003-06-217-2/+19
| | | | | | | | | | | | | | | | | constructor cannot be turned off (and it's useless in the first place)) cp/ PR c++/10784 * call.c (joust): Warn about choosing conversion sequence only if -Wconversion. testsuite/ * g++.old-deja/g++.benjamin/16077.C: Add -Wconversion option. * g++.old-deja/g++.other/conv7.C: Likewise * g++.old-deja/g++.other/overcnv2.C: Likewise. * g++.old-deja/g++.other/overload14.C: Likewise. From-SVN: r68312
* PC c++/10864Gabriel Dos Reis2003-06-212-8/+19
| | | | | | | | | PC c++/10864 * call.c (op_error): Tidy. * error.c (dump_expr): Properly format 'T()' when T is an aggregate type. From-SVN: r68309
* Makefile.in: Update.Neil Booth2003-06-216-115/+143
| | | | | | | | | | | | | | | | | | | | | * Makefile.in: Update. * c-opts.c (c_common_handle_option): Don't return -1. * common.opt: New switches. * opts.c: Include rtl.h, ggc.h and output.h. (find_opt): Only stop searching when input switch compares less than the stored switch. Continue searching if greater. (handle_option): No need to handle negative return values. (common_handle_option): Handle new switches. (set_fast_math_flags, fast_math_flags_set_p): New. * toplev.c (set_fast_math_flags, fast_math_flags_set_p): Move to opts.c. (decode_f_option): Some switches moved to opts.c. (parse_options_and_default_flags): No need to cater for negative return values. f: * top.c (ffe_handle_option): No need to return -1 any more. From-SVN: r68307
* re PR c++/10915 (a not-useful non-avoidable warning: conversion to a ↵Gabriel Dos Reis2003-06-216-1/+23
| | | | | | | | | | | | | | | reference to the same type will never use a type conversion operator) testsuite/ * g++.old-deja/g++.jason/conversion5.C: Adjust option. * g++.old-deja/g++.bugs/900215_01.C: Likewise. cp/ PR c++/10915 * decl.c (grok_op_properties): Warn possible confusing conversion only if -Wconversion. From-SVN: r68303
* * i386.c (ix86_va_arg): Fix allocation of temporary slot.Jan Hubicka2003-06-212-2/+8
| | | | From-SVN: r68298
* h8300-protos.h: Add a prototype for same_cmp_preceding_p.Kazu Hirata2003-06-214-25/+86
| | | | | | | | | | | * config/h8300/h8300-protos.h: Add a prototype for same_cmp_preceding_p. * config/h8300/h8300.c (same_cmp_preceding): New. * config/h8300/h8300.md: Extend peephole2's that transform compare:SI into shorter sequences so that they can deal with signed comparisons. From-SVN: r68296
* contrib.texi (Contributors): Use Windows instead of Win32.Gerald Pfeifer2003-06-212-14/+20
| | | | | | | | | | | * doc/contrib.texi (Contributors): Use Windows instead of Win32. Update Andreas Jaeger's entry. Merge the two entries of Kaveh Ghazi, David Edelsohn, and Loren J. Rittle. From-SVN: r68293
* * mkconfig.sh: Add multiple inclusion guards to generated headers.Nathanael Nerode2003-06-212-0/+15
| | | | From-SVN: r68292
* Daily bump.GCC Administrator2003-06-211-1/+1
| | | | From-SVN: r68290
* c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.Neil Booth2003-06-208-208/+323
| | | | | | | | | | | | | | | | | * c-decl.c (store_parm_decls): Make saved_warn_shadow boolean. * common.opt: Add remaining -W options and -g. * diagnostic.c (warnings_are_errors): Remove. * flags.h: Make most warning flags boolean. * opts.c (common_handle_option): Handle remaining -W options, and -g. Move many warning flags from toplev.c, making them boolean. * toplev.c: Remove many warning flags. (decode_W_option): Remove. (decode_g_option): Make extern. Error on unknown switch. (lang_independent_W_options): Use warn_dummy. (independent_decode_option): Just handle -f switches now. * toplev.h (decode_g_option): New. From-SVN: r68287
* rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for vectors.Aldy Hernandez2003-06-201-2/+5
| | | | | | | | | | 2003-06-20 Aldy Hernandez <aldyh@redhat.com> PR/11092 * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for vectors. From-SVN: r68284
* rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for vectors.Aldy Hernandez2003-06-201-0/+6
| | | | | | | | | | | | 2003-06-20 Aldy Hernandez <aldyh@redhat.com> PR/11092 * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for vectors. [[Split portion of a mixed commit.]] From-SVN: r68283.2
* * opts.sh: Tweak awk script for portability.Kelley Cook2003-06-202-6/+6
| | | | From-SVN: r68282
* re PR c++/10888 (inlining failure for allocate in ~vector())Mark Mitchell2003-06-205-1/+33
| | | | | | | | | | | | PR c++/10888 * tree-inline.c (expand_call_inline): Do not warn about failing to inline functions declared in system headers. * doc/invoke.texi (-Winline): Expand on documentation. PR c++/10888 * g++.dg/warn/Winline-3.C: New test. From-SVN: r68281
* alpha.c (alpha_file_start): Disable file_start_file_directive for ELF and ↵Richard Henderson2003-06-202-0/+12
| | | | | | | | | not MDEBUG. * config/alpha/alpha.c (alpha_file_start): Disable file_start_file_directive for ELF and not MDEBUG. From-SVN: r68280
* * sh.h (ROUND_TYPE_ALIGN): Remove.J"orn Rennecke2003-06-202-8/+6
| | | | From-SVN: r68279
* target-supports.exp (check_alias_available): Make the test program ↵Mark Mitchell2003-06-202-1/+7
| | | | | | | | | acceptable to the Solaris assembler. * lib/target-supports.exp (check_alias_available): Make the test program acceptable to the Solaris assembler. From-SVN: r68277
* re PR c++/10749 (triple nested template classes in namespace need to qualify ns)Mark Mitchell2003-06-204-1/+30
| | | | | | | | | | | PR c++/10749 * parser.c (cp_parser_class_head): See through dependent names when parsing a class-head. PR c++/10749 * g++.dg/template/memclass2.C: New test. From-SVN: r68276
* hooks.c (hook_int_void_no_regs): Rename from hook_reg_class_void_no_regs; ↵Richard Henderson2003-06-207-18/+28
| | | | | | | | | | | | | | | change return type. * hooks.c (hook_int_void_no_regs): Rename from hook_reg_class_void_no_regs; change return type. * hooks.h: Update. * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Update. * target.h (branch_target_register_class): Change return type to int. Add documentation. * config/sh/sh.c (sh_target_reg_class): Change return type. * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise. From-SVN: r68275
* c-format.c: Change _Bool to bool reverting part of the last patch.Andreas Tobler2003-06-202-2/+7
| | | | | | | | | 2003-06-20 Andreas Tobler <toa@pop.agri.ch> * c-format.c: Change _Bool to bool reverting part of the last patch. From-SVN: r68273
* gcc-dg.exp (dg-xfail-if): Do not process conditional xfail data for ↵Mark Mitchell2003-06-203-3/+13
| | | | | | | | | | | | non-matching targets. * lib/gcc-dg.exp (dg-xfail-if): Do not process conditional xfail data for non-matching targets. * gcc.c-torture/compile/simd-5.c: Fix typo in conditional xfail. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r68272
* re PR c++/10845 (template member function (getting a nested template as ↵Mark Mitchell2003-06-204-1/+32
| | | | | | | | | | | | | parameter) cannot be called anymore if another unrelated template member function is defined.) PR c++/10845 * pt.c (try_class_unification): Correct handling of member class templates. * semantics.c (genrtl_finish_function): Adjust expand_function_end call. From-SVN: r68269
* som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to strip ↵John David Anglin2003-06-202-10/+19
| | | | | | | | | name encoding. * som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to strip name encoding. From-SVN: r68267
* re PR driver/9362 (solaris 'as' dies when fed .s and "-gstabs")Rainer Orth2003-06-203-6/+26
| | | | | | | | * configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns. * configure: Regenerate. Fixes PR driver/9362. From-SVN: r68266
* * config/alpha/alpha.c (alpha_file_start): Fix typo.Richard Kenner2003-06-202-1/+5
| | | | From-SVN: r68264
* mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg to ASM_OUTPUT_SOURCE_LINE.Rainer Orth2003-06-202-1/+6
| | | | | | | * config/mips/mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg to ASM_OUTPUT_SOURCE_LINE. From-SVN: r68262
* install.texi (Building): Correct and improve statement about parallel builds.Daniel Egger2003-06-202-6/+13
| | | | | | | | | * doc/install.texi (Building): Correct and improve statement about parallel builds. Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> From-SVN: r68257
* c-common.c: Change _Bool to bool reverting part of the last patch.Andreas Jaeger2003-06-202-28/+33
| | | | | | | * c-common.c: Change _Bool to bool reverting part of the last patch. From-SVN: r68256
* tree.h (expand_function_end): Remove all parameters.Nathan Sidwell2003-06-2018-30/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * tree.h (expand_function_end): Remove all parameters. * function.c (expand_function_end): Remove all parameters. Use input_location. Never expand_end_bindings. * c-decl.c (c_expand_body_1): Adjust expand_function_end call. * coverage.c (create_coverage): Likewise. * ada/utils.c (end_subprog_body): Adjust expand_function_end call. * cp/semantics.c (genrtl_finish_function): Adjust expand_function_end call. * f/com.c (finish_function): Adjust expand_function_end call. * java/class.c (push_class): Use a location_t to save place. (emit_register_classes): Set input_location. Adjust expand_function_end call. * java/resource.c (write_resource_constructor): Likewise. * java/decl.c (end_java_method): Adjust expand_function_end call. * java/parse.y (source_end_java_method): Likewise. * treelang/treetree.c (tree_code_create_function_wrapup): Adjust expand_function_end call. From-SVN: r68255
* (ARM Built-in Functions): New node.Nick Clifton2003-06-202-0/+164
| | | | | | | (ARM Built-in Functions): New node. Document ARM builtin functions for iWMMXt support. From-SVN: r68252
* install.texi (--with-gnu-as): Mention SPARC/Solaris and SPARC64/Solaris as ↵Eric Botcazou2003-06-202-7/+16
| | | | | | | | | | | | platforms where --with-gnu-as... * doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and SPARC64/Solaris as platforms where --with-gnu-as makes a difference. (--with-as): Add @anchor. (--with-gnu-ld): Fix typo. (--with-ld): Add @uref to --with-as. From-SVN: r68249
* tm.texi: Uniformly use @defmac for macros, rather than @table items.Zack Weinberg2003-06-202-1463/+1298
| | | | | | | * doc/tm.texi: Uniformly use @defmac for macros, rather than @table items. Minor formatting and editorial corrections. From-SVN: r68248
* re PR c++/10939 (ICE with templated code)Mark Mitchell2003-06-204-2/+34
| | | | | | | | | | | | PR c++/10939 * pt.c (tsubst_decl): Do not try to substitute into non-dependent functions. (value_dependent_expression_p): Correct logic for FUNCTION_DECLs. PR c++/10939 * g++.dg/template/func1.C: New test. From-SVN: r68244