- 29 Apr, 2002 4 commits
-
-
Merging code from dfa-branch: From-SVN: r52915
Vladimir Makarov committed -
* doc/install.texi (Testing): Provide additional information, and a stronger encouragement, for running the testsuites. From-SVN: r52910
Janis Johnson committed -
* doc/contrib.texi (Contributors): Add Paolo Carlini and Janis Johnson. Update Richard Henderson, Jakub Jelinek, and Mark Mitchell. Refer to Objective-C instead of ObjC, SPARC instead of sparc, and CPU instead of cpu. From-SVN: r52893
Gerald Pfeifer committed -
* toplev.c (flag_if_conversion, flag_if_conversion2): New static variables. (lang_independent_options): Add -fif-conversion, -fif-conversion2 (rest_of_compilation): Do if conversion only when asked for. (parse_options_and_default_flags): Set new variables to 1 for -O1 * invoke.texi (-fif-conversion, -fif-conversion2): Document. From-SVN: r52891
Jan Hubicka committed
-
- 26 Apr, 2002 1 commit
-
-
2002-04-25 Steve Christiansen <smc@us.ibm.com> * doc/md.texi (Machine Constraints): Add IA-64 constraints. From-SVN: r52774
Steve Christiansen committed
-
- 25 Apr, 2002 3 commits
-
-
From-SVN: r52769
Richard Henderson committed -
2002-04-24 Matt Hiller <hiller@redhat.com> * mips.c (mips_class_max_nregs, mips_register_move_cost): New functions. * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls of the corresponding functions. * mips-protos.h (mips_class_max_nregs, mips_register_move_cost): New prototypes. 2002-04-24 Matt Hiller <hiller@redhat.com> * config/mips/mips.h (mips_sw_reg_names): Declare as extern. (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro. (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor registers, adjust comment accordingly. (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS, reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES, DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries for coprocessor registers. (ADDITIONAL_REGISTER_NAMES): Include ALL_COP_ADDITIONAL_REGISTER_NAMES. (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM, COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM, COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM, COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P, COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros. (mips_char_to_class): Adjust comment to include coprocessor constraint letters. * config/mips/mips.c (coprocessor_operand, coprocessor2_operand): New functions. (mips_reg_names, mips_regno_to_class): Include coprocessor information. (mips_sw_reg_names): Ditto, make non-static. (mips_move_1word): Handle moves to and from coprocessor registers. (mips_move_2words): Handle moves to and from coprocessor registers. (mips_class_max_nregs, mips_register_move_cost): Handle coprocessor register classes. (override_options): Initialize mips_char_to_class and mips_hard_regno_mode_ok properly for coprocessor registers. * config/mips/mips.md (movdi_internal, movdi_internal2, movsi_internal1, movsi_internal2): Add constraint-sets for coprocessor registers. * testsuite/gcc.c-torture/mipscop-1.c: New testcase. * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target isn't mips. * testsuite/gcc.c-torture/mipscop-2.c: New testcase. * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target isn't mips. * testsuite/gcc.c-torture/mipscop-3.c: New testcase. * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target isn't mips. * testsuite/gcc.c-torture/mipscop-4.c: New testcase. * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target isn't mips. * doc/tm.texi: Document feature. From-SVN: r52765
Matt Hiller committed -
From-SVN: r52758
Steven Bosscher committed
-
- 23 Apr, 2002 1 commit
-
-
* doc/install.texi: Clarify which versions of alpha*-dec-osf* are obsoleted. From-SVN: r52691
Zack Weinberg committed
-
- 22 Apr, 2002 1 commit
-
-
* c-lex.c (lex_charconst): Call convert to get constant in proper type; don't just smash the type field. Fixes PR c/6300. * config.gcc: Add list of obsolete configurations. Disallow building these without --enable-obsolete. * doc/install.texi: Document --enable-obsolete and obsoletion policy. Mention obsoletion of individual targets in appropriate places. From-SVN: r52639
Zack Weinberg committed
-
- 20 Apr, 2002 1 commit
-
-
* doc/invoke.texi: Remove Chill references. * doc/gcc.texi: Update last modified date. From-SVN: r52561
Joseph Myers committed
-
- 19 Apr, 2002 2 commits
-
-
* doc/install.texi (Specific): Update status of Solaris 2.8. For PR libgcj/6158. From-SVN: r52532
Tom Tromey committed -
install.texi (Specific, [...]): Mention that binutils 2.11.2 and higher generate smaller binaries than Sun's... * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that binutils 2.11.2 and higher generate smaller binaries than Sun's native tools. Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> From-SVN: r52526
Dan Nicolaescu committed
-
- 18 Apr, 2002 1 commit
-
-
* doc/install.texi (Downloading the source): Do not mention Chill any longer, but mention Ada. (Configuration): Do not mention Chill any longer. From-SVN: r52482
Gerald Pfeifer committed
-
- 17 Apr, 2002 1 commit
-
-
2002-04-16 Andrew Haley <aph@cambridge.redhat.com> * doc/install.texi (Building): libgcj requires GNU make. From-SVN: r52414
Andrew Haley committed
-
- 16 Apr, 2002 1 commit
-
-
* config.gcc (sparcv9-solaris): Configure for 64-bit default. Adjust tm_file order to get TARGET_DEFAULT set properly. (sparc-solaris): Configure 2.[78] for 64-bit multilibs. * doc/install.texi (sparc-solaris): Update. From-SVN: r52373
Richard Henderson committed
-
- 15 Apr, 2002 2 commits
-
-
* doc/install.texi (Installing GCC: Configuration): Clarify the only supported ways to configure gcc. From-SVN: r52335
Loren J. Rittle committed -
* MAINTAINERS: Remove chill maintainers. * Makefile.in (CHILLFLAGS): Remove. (CHILL_LIB): Remove. (TARGET_CONFIGDIRS): Remove libchill. (CHILL_FOR_TARGET): Remove. (BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or CHILL_LIB. (CONFIGURE_TARGET_MODULES): Remove configure-target-libchill. (CHECK_TARGET_MODULES): Likewise. (INSTALL_TARGET_MODULES): Likewise. (CLEAN_TARGET_MODULES): Likewise. (configure-target-libchill): Remove. (all-target-libchill): Remove. * configure.in (target_libs): Remove target-libchill. Do not compute CHILL_FOR_TARGET. * libchill: Remove directory. Remove Chill front end. * gcc.c (default_compilers): Remove Chill entries. * ch: Remove directory. * doc/frontends.texi: Remove information about Chill. * doc/sourcebuild.texi: Likewise. * doc/standards.texi: Likewise. * testsuite/lib/chill.exp: Remove. * g77.texi: Remove Chill reference. * gcc_release (build_tarfiles): Do not build Chill tarfiles. (CHILL_DIRS): Remove. From-SVN: r52327
Mark Mitchell committed
-
- 12 Apr, 2002 1 commit
-
-
* config.gcc (sparcv9-*-solaris2): Default to 32-bit code. (sparc*-*-solaris): Clean up header files. * configure.in (AS_SPARC64_FLAG): Error out if can't find it and plan on generating 64-bit code. * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2. * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code. * config/sparc/sol2-sld-64.h: Rename ... * config/sparc/sol2-bi.h: ... here. Remove the bits that checked for AS_SPARC64_FLAG not defined. * config/sparc/sol2-gld-bi.h: New. * config/sparc/sol2-sld.h: Remove. * config/sparc/sol26-sld.h: New. * config/sparc/sol2.h: Tidy comments. * doc/install.texi: Document sparc-solaris configury changes. From-SVN: r52251
Richard Henderson committed
-
- 11 Apr, 2002 1 commit
-
-
* doc/extend.texi: Remove old claim that typedefs cannot have an alignment attribute. From-SVN: r52180
Richard Sandiford committed
-
- 08 Apr, 2002 2 commits
-
-
2002-04-08 David S. Miller <davem@redhat.com> PR target/6082 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW Make init_priority work on Sparc when using GNU ld. * config/sparc/linux.h, config/sparc/linux64.h, config/sparc/netbsd-elf.h, config/sparc/freebsd.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine. * config/sparc/sol2-gld.h: New file to do the same. * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add sparc/sol2-gld.h to tm_file. PR optimization/4328 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'. * doc/md.texi: Document it. * config/sparc/sparc.md (movdi_insn_sp64_novis, movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis, movdf_insn_v9only_vis, movdf_insn_sp64_novis, movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers. * config/sparc/sparc.c (mem_min_alignment): Fix comment. From-SVN: r52031
David S. Miller committed -
contrib.texi (Contributors): Add John David Anglin and Loren J. Rittle (the latter also to Testers). * doc/contrib.texi (Contributors): Add John David Anglin and Loren J. Rittle (the latter also to Testers). Update David O'Brien's entry. * doc/contrib.texi (Contributors): Add David O'Brien. From-SVN: r52024
Gerald Pfeifer committed
-
- 07 Apr, 2002 1 commit
-
-
* cppinit.c (cpp_create_reader): Initialize discard_comments_in_macro_exp. (COMMAND_LINE_OPTIONS): Add "-CC" option. (cpp_handle_option): Handle "-CC" option. * cpplex.c (save_comment): If saving a C++ comment in a directive, convert it to a C comment. (_cpp_lex_direct): Pass second comment start character to save_comment to indicate comment type. * cpplib.c (_cpp_handle_directive): If processing a "#define" directive and discard_comments_in_macro_exp is false, re-enable saving of comments. (lex_macro_node): If discard_comments_in_macro_exp is false, discard any comments before the macro identifier. * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp member. * cppmacro.c (cpp_get_token): If expanding a macro while processing a directive, discard any comments we might encounter. (parse_params): If discard_comments_in_macro_exp is false, ignore comments in the macro parameter list. * gcc.c (cpp_unique_options): Add "-CC" option. (option_map): Map "--comments-in-macros" to "-CC". * doc/cppopts.texi: Document "-CC" option. * f/lang-specs.h: Add "-CC" option. * testsuite/gcc.dg/cpp/maccom1.c: New test. * testsuite/gcc.dg/cpp/maccom2.c: New test. * testsuite/gcc.dg/cpp/maccom3.c: New test. * testsuite/gcc.dg/cpp/maccom4.c: New test. * testsuite/gcc.dg/cpp/maccom5.c: New test. * testsuite/gcc.dg/cpp/maccom6.c: New test. From-SVN: r51975
Jason Thorpe committed
-
- 06 Apr, 2002 1 commit
-
-
From-SVN: r51936
Richard Henderson committed
-
- 04 Apr, 2002 1 commit
-
-
gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c library sequence passed to the linker. 2002-04-03 David S. Miller <davem@redhat.com> * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c library sequence passed to the linker. (LINK_COMMAND_SPEC): Use it. * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as a macro a target can use to avoid overriding LINK_COMMAND_SPEC. * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define. From-SVN: r51834
David S. Miller committed
-
- 03 Apr, 2002 1 commit
-
-
From-SVN: r51768
Richard Henderson committed
-
- 31 Mar, 2002 1 commit
-
-
* config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE. (sparc_emitting_epilogue): New. (leaf_label, output_return, sparc_return_peephole_ok): Remove. * config/sparc/sparc-protos.h: Update. * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove. (TARGET_SWITCHES): Update. * config/sparc/sparc.md (return): Remove. (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE. * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h, config/sparc/liteelf.h, config/sparc/netbsd-elf.h, config/sparc/sol2-sld-64.h, config/sparc/sol2.h, config/sparc/sp64-aout.h, config/sparc/sp64-elf.h, config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h, config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT): Remove MASK_EPILOGUE. * doc/invoke.texi: Update. From-SVN: r51626
Richard Henderson committed
-
- 29 Mar, 2002 2 commits
-
-
* config/i386/i386.c (x86_arch_always_fancy_math_387): New. (override_options): Disable NO_FANCY_MATH_387 if the arch allows. * config/i386/i386.h (x86_arch_always_fancy_math_387): New. * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix conditional. * docs/invoke.texi: Update -mno-fancy-math-387 docs. From-SVN: r51584
Richard Henderson committed -
* config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so. * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it. No functional change except ... * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file. * doc/install.texi (*-*-freebsd*): Document port configuration. From-SVN: r51574
Loren J. Rittle committed
-
- 28 Mar, 2002 1 commit
-
-
* doc/invoke.texi (Warning Options): Refer to C++ Dialect Options and Objective-C Dialect Options. From-SVN: r51526
Gerald Pfeifer committed
-
- 27 Mar, 2002 1 commit
-
-
* configure.in (alpha*-dec-osf*): Enable libgcj. gcc: * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj any more. From-SVN: r51483
Rainer Orth committed
-
- 26 Mar, 2002 3 commits
-
-
Fix PR c/5044. From-SVN: r51386
Andrew Cagney committed -
From-SVN: r51384
Loren J. Rittle committed -
* doc/cpp.texi: Exclude entire Top node from printed manual. Move option index after directive index. Insert page breaks before GFDL and concept index. Index environment variables with command line options. * doc/cppenv.texi: Use @vtable for environment variable list. Add paragraph explaining semantics of empty elements in path variables. Exclude a cross-reference to Fishkill from the manpage. Remove an unnecessary cross-reference of the entry right above the referer. Don't use @anchor in text that goes into manpage. * doc/cppopts.texi: Cross-reference the environment variables section, not the specific environment variable, for consistency. From-SVN: r51365
Zack Weinberg committed
-
- 25 Mar, 2002 1 commit
-
-
* toplev.c: Don't include setjmp.h. Kill float_handler_set, float_handled, float_handler, float_signal, set_float_handler, and do_float_handler. Set handler for SIGFPE to crash_signal. * toplev.h: Don't prototype do_float_handler. * c-lex.c: Fold parse_float into lex_number. Make warning about portability of hex float constants more informative, and don't issue it on top of a syntax error. * fold-const.c: Fold const_binop_1 and fold_convert_1 into their callers. * real.h: Define REAL_VALUE_ABS here... * simplify-rtx.c: ... not here. Fold check_fold_consts, simplify_unary_real, simplify_binary_real, and simplify_binary_is2orm1 into their callers. * tree.c: Fold build_real_from_int_cst_1 into caller. * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE. * tsystem.h: Include float.h here... * libgcc2.c: ... not here. java: * lex.c: Change java_perform_atof to take normal parameters instead of a pointer to a parameter block. Call it directly from java_lex. testsuite: * gcc.dg/c90-hexfloat-1.c: Adjust error regexps. From-SVN: r51336
Zack Weinberg committed
-
- 23 Mar, 2002 2 commits
-
-
2002-03-23 Andrew Cagney <ac131313@redhat.com> * doc/invoke.texi (Option Summary): Mention -Wswitch-default. (Warning Options): Document -Wswitch-default. * toplev.c (W_options): Add -Wswitch-default. Update comment on -Wswitch. (warn_switch_default): Define variable. (warn_switch): Update comment. * flags.h (warn_switch_default): Declare variable. (warn_switch): Update comment. * stmt.c (expand_end_case): Check for and, when warn_switch_no_default, warn of a missing default case. Index: f/ChangeLog Sat Mar 23 11:18:17 2002 Andrew Cagney <ac131313@redhat.com> * invoke.texi (Warning Options): Mention -Wswitch-default. Index: testsuite/ChangeLog 2002-03-23 Andrew Cagney <ac131313@redhat.com> * gcc.dg/Wswitch-default.c: New test. From-SVN: r51238
Andrew Cagney committed -
* real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE. Always make REAL_VALUE_TYPE a struct containing an array of HOST_WIDE_INT, not a double. Tidy up the code deciding how big it is. Don't declare or use union real_extract. * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1, decode_rtx_const, output_constant_pool), config/a29k/a29k.c (print_operand), config/arm/arm.c (output_move_double), config/arm/arm.md (consttable_4, consttable_8), config/romp/romp.c (output_fpops), config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c (xtensa_output_literal): Don't use union real_extract. * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c (sfmode_constant_to_ulong), config/ns32k/merlin.h (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand), config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h (PRINT_OPERAND): Don't use local version of union real_extract. * config/convex/convex.c (check_float_value), config/vax/vax.c (vax_float_literal), config/m88k/m88k.md (divdf3), config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2), config/pdp11/pdp11.c (output_move_quad): Don't do host arithmetic on target floating point quantities. * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT. * fold-const.c (fold), simplify-rtx.c (simplify_binary_real): Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY. * real.c (earith): Test INFINITY rather than REAL_INFINITY; NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef INFINITY. * print-rtl.c (print_rtx): Disable code which needs floating-point emulator. * libgcc2.c: Include float.h and use DBL_MANT_DIG, FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than depending on HOST_FLOAT_FORMAT to be defined properly. * ch/grant.c, cp/error.c: Always use REAL_VALUE_TO_DECIMAL; don't test REAL_IS_NOT_DOUBLE. * config/1750a/1750a.c (get_double, float_label): Delete. (print_operand): Delete huge commented-out chunk. Use REAL_VALUE_TO_DECIMAL. * config/1750a/1750a-protos.h: Delete prototypes of deleted functions. * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to IEEE_FLOAT_FORMAT. * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]): Use REAL_VALUE_TO_DECIMAL as ELF version does. * config/m88k/m88k.c (real_power_of_2_operand, legitimize_operand): Take the REAL_VALUE_TYPE and/or union real_extract out of the union; run the input through REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords from that into the union. * config/pdp11/pdp11.c (output_move_double): Rearrange parentheses to make automatic indenter happy. * doc/tm.texi (Cross-compilation): Rename node to "Floating Point" and rewrite to describe current situation. Also adjust documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to match code. * doc/rtl.texi: Adjust cross reference. From-SVN: r51210
Zack Weinberg committed
-
- 22 Mar, 2002 3 commits
-
-
* c-pragma.c (maybe_apply_renaming_pragma): New. (handle_pragma_redefine_extname, pending_redefine_extname): New. (handle_pragma_extern_prefix, pragma_extern_prefix): New. (init_pragma): Register them. * c-pragma.h (maybe_apply_renaming_pragma): Declare. * c-decl.c (finish_decl): Call it. * cp/decl.c (cp_finish_decl): Likewise. * doc/extend.texi: Document the new pragmas. * config/alpha/osf.h (CPP_SUBTARGET_SPEC): Add __EXTERN_PREFIX. (HANDLE_PRAGMA_EXTERN_PREFIX): New. * config/i386/sol2.h (CPP_PREDEFINES): Add __PRAGMA_REDEFINE_EXTNAME. (HANDLE_PRAGMA_REDEFINE_EXTNAME): New. * config/sparc/sol2.h: Likewise. * g++.dg/other/pragma-re-1.C: New. * g++.dg/other/pragma-ep-1.C: New. * gcc.dg/pragma-re-1.c, gcc.dg/pragma-re-2.c: New. * gcc.dg/pragma-ep-1.c, gcc.dg/pragma-ep-2.c: New. * gcc.dg/pragma-ep-3.c: New. From-SVN: r51200
Richard Henderson committed -
* cpphash.h (struct cpp_reader): Remove mls_line and mls_col. * cpplex.c (unterminated): Delete. (parse_string): No string literal may extend over multiple lines. Suppress the error when preprocessing assembly. * cppmain.c (scan_translation_unit): Strings are single-line. * doc/cpp.texi: Update to match. * testsuite/gcc.dg/cpp/multiline.c: Update to match. From-SVN: r51195
Neil Booth committed -
2002-03-22 Phil Edwards <pme@gcc.gnu.org> * cpplib.h (struct cpp_options): New member, warn_endif_labels. * cppinit.c (cpp_create_reader): On by default. (cpp_handle_option): Handle -W[no-]endif-labels. (cpp_post_options): Also enable if -pedantic. * cpplib.c (do_else): Use it. (do_endif): Likewise. * doc/cppopts.texi: Document new option. * doc/invoke.texi: Document new option. From-SVN: r51190
Phil Edwards committed
-