- 15 Jun, 1998 4 commits
-
-
Thu May 28 21:32:18 1998 Craig Burley <burley@gnu.org> Restore circa-0.5.22 capabilities of `g77' driver: * Make-lang.in (g77spec.o): Depend on f/version.h. (g77version.o): New rule to compile g77 version info. (g77$(exeext)): Depend on and link in g77version.o. * g77spec.c: Rewrite to be more like 0.5.22 version of g77.c, making filtering of command line smarter so mixed Fortran and C (etc.) can be compiled, verbose version info can be obtained, etc. * lang-specs.h (f77-version): New "language" to support "g77 -v" command under new gcc 2.8 regime. * lex.c (ffelex_file_fixed): If -fnull-version, just substitute a "source file" that prints out version info. * top.c, top.h: Support -fnull-version. * lang-specs.h: Use "%O" instead of OO macro to specify object extension. Remove old stringizing cruft. * Make-lang.in (g77.c, g77spec.o, g77.o, g77$(exeext), g77-cross$(exeext), f771, $(srcdir)/f/g77.info, $(srcdir)/f/g77.dvi, $(srcdir)/f/intdoc.texi, f77.install-common, f77.install-info, f77.install-man, f77.uninstall, $(G77STAGESTUFF), f77.stage1, f77.stage2, f77.stage3, f77.stage4, f77.distdir): Don't do anything unless user specified "f77" or "F77" in $LANGUAGES either during configuration or explicitly. For convenience of various tests and to work around lack of the assignment "LANGUAGES=$(BOOT_LANGUAGES)" in the "make stage1" command of "make bootstrap" in gcc, use a touch file named "lang-f77" to communicate whether this is the case. * Make-lang.in (F77_FLAGS_TO_PASS): Delete this macro, replace with minimal expansion of its former self in each of the two instances where it was used. * Makefile.in (HOST_CC): Delete this definition. * com.c (index, rindex): Delete these declarations. * proj.h: (isascii): Delete this. * Make-lang.in (f77.install-common): Warn if `f77-install-ok' flag-file exists, since it no longer triggers any activity. Rename libf2c.a and f2c.h to libg2c.a and g2c.h, normalize and simplify g77/libg2c build process: * Make-lang.in: Remove all support for overwriting /usr/bin/f77 etc., or whatever the actual names are via $(prefix) and $(local_prefix). (g++ overwrites /usr/bin/c++, but then it's often the only C++ compiler on the system; f77 often exists on systems that are installing g77.) (f77.realclean): Remove obsolete target. (g77.c, g77$(exeext)): Minor changes to look more like g++'s stuff. (f771): Now built with srcdir=gcc/f, not srcdir=gcc, to be more like g++ and such. (f/Makefile): Removed, as g++ doesn't need this rule. (f77.install-common): No longer install f77, etc. (f77.install-man): No longer install f77.1. (f77.uninstall): No longer uninstall f77, f77.1, etc. (f77.stage1, f77.stage2, f77.stage3, f77.stage4): Do work only if "f77" appears in $(LANGUAGES). (Note: gcc's Makefile.in's bootstrap target should set LANGUAGES=$(BOOT_LANGUAGES) when making the stage1 target.) * Makefile.in: Update vis-a-vis gcc/cp/Makefile.in. (none): Remove. (g77-only): Relocate. (all.indirect, f771, *.o): Now assumes current directory is this dir (gcc/f), not the parent directory. (TAGS): Remove "echo 'parse.y,0' >> TAGS ;" line. * config-lang.in: Delete commented-out code. Fix stagestuff definition. Add more stuff to diff_excludes definition. Don't create any directories. Set outputs to f/Makefile, to get variable substition to happen (what does that really do, anyway?!). * g77spec.c: Rename libf2c to libg2c. * com.h: Remove all of the gcc back-end decls, since egcs should have all of them correct. * com.c: Include "proj.h" before anything else, as that's how things are supposed to work. * ste.c: Ditto. * bad.c: Include "flags.j" here, since some diagnostics check flag_pedantic_errors. * Makefile.in (f/*.o): Rebuild dependencies via deps-kinda. * output.j: New source file. * Make-lang.in (F77_SRCS): Update accordingly. * Makefile.in (OUTPUT_H): Ditto. (deps-kinda): Ditto. * com.c: Include "output.j" here. * lex.c: Ditto. From-SVN: r20506
Craig Burley committed -
rs6000.c (output_prolog): Change locations and directions of saving and restoring arguments of main on... * config/rs6000/rs6000.c (output_prolog): Change locations and directions of saving and restoring arguments of main on the stack. From-SVN: r20505
Vladimir Makarov committed -
From-SVN: r20503
Jeffrey A Law committed -
From-SVN: r20502
Jeff Law committed
-
- 14 Jun, 1998 1 commit
-
-
From-SVN: r20501
Jeff Law committed
-
- 13 Jun, 1998 8 commits
-
-
class.c (alter_access): Accept a BINFO explaining how to get from the entity whose accessed is being... * class.c (alter_access): Accept a BINFO explaining how to get from the entity whose accessed is being altered to the type doing the altering. (handle_using_decl): New function containing code split out from ... (finish_struct_1): Here. From-SVN: r20500
Mark Mitchell committed -
* cp-tree.h (complete_type_or_else): Declare. * init.c (build_new_1, build_delete): Use it. * typeck.c (require_complete_type): Use complete_type, rather than expanding it inline. (complete_type_or_else): New function. (build_component_ref): Use it. (pointer_int_sum): Make sure the type pointed to is complete. (pointer_diff): Likewise. From-SVN: r20499
Mark Mitchell committed -
* pt.c (for_each_template_parm): Traverse the TYPE_CONTEXT for types. From-SVN: r20498
Mark Mitchell committed -
* search.c (get_matching_virtual): Note that member templates cannot override virtual functions. From-SVN: r20497
Mark Mitchell committed -
From-SVN: r20494
Jeff Law committed -
From-SVN: r20466
Richard Henderson committed -
* config/sparc/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Undefine before redefining it. From-SVN: r20454
Krister Walfridsson committed -
From-SVN: r20451
Jeff Law committed
-
- 12 Jun, 1998 9 commits
-
-
From-SVN: r20450
Doug Evans committed -
From-SVN: r20445
Doug Evans committed -
pt.c (check_explicit_specialization): If DECLARATOR turned into an error_mark_node from lookup_template_function... * pt.c (check_explicit_specialization): If DECLARATOR turned into an error_mark_node from lookup_template_function, return the same. (determine_specialization): Also make sure TEMPLATE_ID isn't an error_mark_node, before we try to read its operands. * decl.c (grokdeclarator): If we got an error_mark_node from check_explicit_specialization, just return it right back. From-SVN: r20444
Brendan Kehoe committed -
* mips.c (small_int): Mark parameter `mode' with ATTRIBUTE_UNUSED. (large_int): Likewise. (pc_or_label_operand): Likewise. (call_insn_operand): Likewise. (consttable_operand): Likewise. (m16_uimm3_b): Likewise. (m16_simm4_1): Likewise. (m16_nsimm4_1): Likewise. (m16_simm5_1): Likewise. (m16_nsimm5_1): Likewise. (m16_uimm5_4): Likewise. (m16_nuimm5_4): Likewise. (m16_simm8_1): Likewise. (m16_nsimm8_1): Likewise. (m16_uimm8_1): Likewise. (m16_nuimm8_1): Likewise. (m16_uimm8_m1_1): Likewise. (m16_uimm8_4): Likewise. (m16_nuimm8_4): Likewise. (m16_simm8_8): Likewise. (m16_nsimm8_8): Likewise. (m16_usym8_4): Likewise. (m16_usym5_4): Likewise. (mips_move_1word): Change type of variable `i' from int to size_t. (mips_move_2words): Likewise. (output_block_move): Mark parameter `libname' with ATTRIBUTE_UNUSED. (function_arg_advance): Use HOST_PTR_PRINTF to print an address. (function_arg): Likewise. (function_arg_partial_nregs): Mark parameter `named' with ATTRIBUTE_UNUSED. (override_options): Use ISDIGIT instead of isdigit. (mips_output_external): Mark parameter `file' with ATTRIBUTE_UNUSED. (final_prescan_insn): Likewise for parameters `opvec' and `noperands'. (save_restore_insns): Cast HOST_WIDE_INT arguments passed to function `fatal' to long before printing. Use HOST_WIDE_INT_PRINT_DEC in fprintf. Both changes done several times in this function. (function_prologue): Mark parameter `size' with ATTRIBUTE_UNUSED. (function_epilogue): Likewise for parameters `file' and `size'. Print an int with "%d" not "%ld". (mips_select_rtx_section): Mark parameter `x' with ATTRIBUTE_UNUSED. (mips_function_value): Likewise for parameter `func'. (function_arg_pass_by_reference): Likewise for parameters `cum' and `named'. (extend_operator): Likewise for parameter `mode' (highpart_shift_operator): Likewise. * mips.md (mul_acc_si): Remove unused variable `macc'. From-SVN: r20443
Kaveh R. Ghazi committed -
class.c (instantiate_type): Don't treat template-ids that don't specify any template arguments as... * class.c (instantiate_type): Don't treat template-ids that don't specify any template arguments as equivalent to ordinary identifiers. Use OFFSET_REF instead of SCOPE_REF to refer to pointer-to-members for member templates. Tidy slightly. * cp-tree.def (TEMPLATE_ID_EXPR): Revise documentation. * init.c (build_offset_ref): Handle template-ids like ordinary identifiers, for the most part, but store a TEMPLATE_ID_EXPR in the offset part of the OFFSET_REF. * typeck.c (build_unary_op): Change check for unknown types to look for OFFSET_REFs, not SCOPE_REFs. From-SVN: r20442
Mark Mitchell committed -
* fold-const.c (fold): Revert last change. It breaks constant expressions somehow. From-SVN: r20441
Richard Henderson committed -
* expr.c (do_jump, case EQ_EXPR, NE_EXPR): When comparing complex prevent operands from being evaluated twice. From-SVN: r20440
Andreas Schwab committed -
From-SVN: r20439
Jeff Law committed -
From-SVN: r20438
Jeffrey A Law committed
-
- 11 Jun, 1998 14 commits
-
-
8 * toplev.c (lang_options): Add -remap as a preprocessor option. From-SVN: r20437
Sergey Okhapkin committed -
� * toplev.c (lang_options): Add -remap as a preprocessor option. From-SVN: r20436
Sergey Okhapkin committed -
* pt.c (is_member_template_class): New function. (push_template_decl_real): Use it. From-SVN: r20435
Mark Mitchell committed -
i386.md (cmpsi_1, [...]): Remove code which set CC_REVERSED since reload should ensure that the operands... * i386.md (cmpsi_1, cmphi_1, cmpqi_1): Remove code which set CC_REVERSED since reload should ensure that the operands are already the correct type. From-SVN: r20434
John Wehle committed -
friend.c (do_friend): Add support for nested classes using member functions of the enclosing class as... 8 * friend.c (do_friend): Add support for nested classes using member functions of the enclosing class as friends. egcs bug From-SVN: r20433
Benjamin Kosnik committed -
friend.c (do_friend): Add support for nested classes using member functions of the enclosing class as... � * friend.c (do_friend): Add support for nested classes using member functions of the enclosing class as friends. egcs bug From-SVN: r20432
Benjamin Kosnik committed -
* except.c (expand_builtin_eh_stub): Call emit_move_insn rather than calling gen_rtx_SET. From-SVN: r20431
Jim Wilson committed -
* config/rs6000/x-aix43 (AR): Delete. (AR_FOR_TARGET_FLAGS): Add -X32_64 here. From-SVN: r20430
David Edelsohn committed -
From-SVN: r20429
David W. Schuler committed -
* mips.c (override_options): Replace word_mode with explicit TARGET_64BIT check. From-SVN: r20428
Jim Wilson committed -
For regmove if we could not improve code by changing the source to the destination, copy the source to the destination directly From-SVN: r20427
Michael Meissner committed -
Thu Jun 11 10:30:09 1998 Dave Brolley <brolley@cygnus.com> * toplev.c (lang_options): Add missing options (nostdinc, idirafter). From-SVN: r20426
Dave Brolley committed -
From-SVN: r20425
Jeff Law committed -
* call.c (convert_default_arg): Make global, not static. (convert_arg_for_ellipsis): Split out from ... (build_over_call): Here. * cp-tree.h (convert_default_arg); Declare. (convert_arg_to_ellipsis): Likewise. (do_member_init): Remove. * init.c (do_member_init): Remove; this code is dead. (expand_member_init): Remove much of this code; it is dead. * typeck.c (convert_arguments): Use convert_default_arg and convert_arg_for_ellipsis, rather than duplicating here. * call.c (convert_like): Don't fail silently if build_user_type_conversion fails. Always return error_mark_node for failure. From-SVN: r20424
Mark Mitchell committed
-
- 10 Jun, 1998 4 commits
-
-
* rtl.h (rtx_def): Improve documentation. (MEM_IN_STRUCT_P): Likewise. From-SVN: r20423
Mark Mitchell committed -
From-SVN: r20422
Graham Stott committed -
From-SVN: r20421
Graham Stott committed -
From-SVN: r20420
Jason Merrill committed
-