aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-06-26980523-1.c: Add prototype for exit().Franz Sirl2-0/+5
2000-06-26 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.dg/980523-1.c: Add prototype for exit(). * gcc.dg/980827-1.c: Add prototype for exit() and abort(). From-SVN: r34722
2000-06-26Add MMX and SSE registers to i386 machine descriptionBernd Schmidt8-142/+408
From-SVN: r34721
2000-06-26ssa.c (struct rename_set_data): Change the name of field 'set_dest' to ↵Geoff Keating2-135/+203
'old_reg'. * ssa.c (struct rename_set_data): Change the name of field 'set_dest' to 'old_reg'. Add comments. (struct rename_context): Change the name of 'set_data' to 'new_renames'. Add new field 'done_renames'. (create_delayed_rename): New function. (apply_delayed_renames): New function. (rename_insn_1): Use the new functions. Handle CLOBBERS. Handle SUBREGs and similar by emitting a move. (new_registers_for_updates): Delete, functionality moved to apply_delayed_renames. (rename_block): Handle moves emitted by rename_insn_1 by putting them into a SEQUENCE with the original insn. Add sanity checks and comments. (rename_equivalent_regs_in_insn): Don't handle SUBREGs specially. (rename_equivalent_regs): Expand SEQUENCEs out to individual insns. From-SVN: r34720
2000-06-26dwarf2.h (enum dwarf_call_frame_info): Add DW_CFA_def_cfa_expression.Andrew Macleod6-749/+1162
* dwarf2.h (enum dwarf_call_frame_info): Add DW_CFA_def_cfa_expression. * dwarf2out.c (union dw_cfi_oprnd_struct): Add a pointer to a dw_loc_descr_struct entry. (struct cfa_loc): New structure to track a CFA location. (lookup_cfa): Take a cfa_loc parameter instead of a reg and an offset. (lookup_cfa_1): Take a cfa_loc parameter instead of a reg and an offset, plus handle DW_CFA_def_cfa_expression. (def_cfa_1): Use to be dwarf2out_def_cfa, only now it uses a cfa_loc record. (dwarf2out_def_cfa): Entry point maintained for compatability. (dwarf_cfi_name): Add DW_CFA_def_cfa_expression. (cfa_reg, cfa_offset): Replace with cfa_loc record 'cfa'. (cfa_store_reg, cfa_store_offset): Replace with cfa_loc 'cfa_store'. (initial_return_save, dwarf2out_stack_adjust): Use cfa.reg, not cfa_reg. (dwarf2out_frame_debug_expr): Use new cfa_loc records. Recognize rtl sequences for the new DW_CFA_def_cfa_expression record. (dwarf2out_frame_debug): Use new variables/fields.A (output_cfi): Handle DW_CFA_def_cfa_expression. (output_cfa_loc): New function to generate a CFI record for DW_CFA_def_cfa_expression. (get_cfa_from_loc_descr): New function to get a cfa_loc record from a dw_loc_descr sequeunce. (build_loc_descr): Build a dw_loc_descr from a cfa_loc record. (dwarf_stack_op_name, new_loc_descr, add_loc_descr, size_of_loc_descr, size_of_locs, output_loc_operands, output_loc_sequence): Move into unwind info section. * frame.h (frame_state): Add base_offset and indirect fields. * frame-dwarf2.c (decode_stack_op): New function to interpret a dw_loc_descr operation. (execute_cfa_insn): Add support for DW_CFA_def_cfa_expression. (struct frame_state): Add base offset and indirect fields. * libgcc2.c (next_stack_level): Support indirect loading for CFA. From-SVN: r34717
2000-06-2620000419-1.c, [...]: Use "target *-*-*", not "target native", in case we are ↵Zack Weinberg5-8/+12
cross-compiling. * gcc.dg/20000419-1.c, gcc.dg/cpp-mi.c, gcc.dg/cpp-tradwarn1.c, gcc.dg/cpp-unc.c: Use "target *-*-*", not "target native", in case we are cross-compiling. From-SVN: r34716
2000-06-26Makefile.in, [...]: Delete.Zack Weinberg25-324/+20
* g++.old-deja/Makefile.in, g++.old-deja/configure.in, g++.old-deja/g++.niklas/Makefile.in, g++.old-deja/g++.niklas/configure.in, g++.old-deja/g++.other/Makefile.in, g++.old-deja/g++.other/configure.in, gcc.c-torture/code_quality/Makefile.in, gcc.c-torture/code_quality/configure.in, gcc.c-torture/compat/Makefile.in, gcc.c-torture/compat/configure.in, gcc.c-torture/compile/Makefile.in, gcc.c-torture/compile/configure.in, gcc.c-torture/execute/Makefile.in, gcc.c-torture/execute/configure.in, gcc.c-torture/execute/ieee/Makefile.in, gcc.c-torture/execute/ieee/configure.in, gcc.c-torture/noncompile/Makefile.in, gcc.c-torture/noncompile/configure.in, gcc.c-torture/special/Makefile.in, gcc.c-torture/special/configure.in, gcc.c-torture/unsorted/Makefile.in, gcc.c-torture/unsorted/configure.in, gcc.misc-tests/Makefile.in, gcc.misc-tests/configure.in: Delete. From-SVN: r34714
2000-06-26[multiple changes]Richard Henderson7-21/+67
2000-06-26 Joseph S. Myers <jsm28@cam.ac.uk> * c-decl.c (grokdeclarator): Don't warn about `long long' in C99. Make warnings about implicit int be pedwarns in C99. Don't warn about duplicate type qualifiers in C99. (start_function): Make warning about implict int return type be a pedwarn in C99. * c-lex.c (yylex): Don't warn about `long long' in C99. * c-typeck.c (c_expand_return): In C99, always pedwarn about `return' with no value in function returning non-void. 2000-06-26 Richard Henderson <rth@cygnus.com> * c-typeck.c (pedwarn_c99): New. * diagnostic.c (verror, vwarning, vpedwarn): Export. * toplev.h: Prototype them. From-SVN: r34713
2000-06-26re GNATS gcj/268 (Internal compiler error in for-loop test condition)Tom Tromey3-212/+225
* parse.y (for_statement): Wrap expression in a WFL if it is a constant. For PR gcj/268. From-SVN: r34712
2000-06-26c-typeck.c (digest_init): Return error_mark_node node when TREE_TYPE (init) ↵J. David Anglin2-1/+8
== error_mark_node. 2000-06-26 J. David Anglin <dave@hiauly1.hia.nrc.ca> * c-typeck.c (digest_init): Return error_mark_node node when TREE_TYPE (init) == error_mark_node. From-SVN: r34711
2000-06-26* g++.old-deja/g++.other/ambig3.C: New test.Nathan Sidwell2-0/+38
From-SVN: r34710
2000-06-26search.c (hides): Remove.Nathan Sidwell2-38/+21
* search.c (hides): Remove. (is_subobject_of_p): Add most_derived parameter. Use CANONICAL_BINFO. (lookup_field_queue_p): Adjust. (lookup_field_r): Adjust. From-SVN: r34709
2000-06-26syntax1.C: New test.Nathan Sidwell5-0/+107
* g++.old-deja/g++.pt/syntax1.C: New test. * g++.old-deja/g++.pt/syntax2.C: New test. * g++.old-deja/g++.other/syntax3.C: New test. * g++.old-deja/g++.other/syntax4.C: New test. From-SVN: r34708
2000-06-26decl2.c (handle_class_head): Bash typedefs to the type's main decl.Nathan Sidwell2-1/+8
* decl2.c (handle_class_head): Bash typedefs to the type's main decl. From-SVN: r34707
2000-06-26Daily bump.Jeff Law2-2/+2
From-SVN: r34706
2000-06-26parse.y (do_resolve_class): Minor optimiztion in the package list search.Alexandre Petit-Bianco3-10/+21
2000-06-25 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (do_resolve_class): Minor optimiztion in the package list search. Removed unecessary test and return statement. (valid_ref_assignconv_cast_p): Order of arguments to enclosing_context_p fixed. From-SVN: r34705
2000-06-26aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no, test for msgfmt ↵Philipp Thomas3-34/+34
without path instead. 2000-06-26 Philipp Thomas <pthomas@suse.de> * aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no, test for msgfmt without path instead. * configure: Rebuilt. From-SVN: r34704
2000-06-26* gcc.dg/20000623-1.c: Prototype exit and abort.Zack Weinberg2-0/+7
From-SVN: r34703
2000-06-26cp-tree.h (genrtl_begin_stmt_expr): Rename to ...Mark Mitchell4-27/+37
* cp-tree.h (genrtl_begin_stmt_expr): Rename to ... (begin_global_stmt_expr): ... this. (genrtl_finish_stmt_expr): Rename to ... (finish_global_stmt_expr): ... this. * init.c (begin_init_stmts): Adjust calls. (finish_init_stmts): Likewise. * semantics.c (genrtl_begin_stmt_expr): Rename to ... (begin_global_stmt_expr): ... this. (genrtl_finish_stmt_expr): Rename to ... (finish_global_stmt_expr): ... this. From-SVN: r34702
2000-06-2520000625-1.c, [...]: New tests.Zack Weinberg10-21/+109
* gcc.dg/20000625-1.c, gcc.dg/20000625-2.c, gcc.dg/cpp-mi3.c: New tests. * gcc.dg/cpp-mi3.def: New file. * gcc.dg/cpp-as1.c: Also test that macro expansion does not occur inside assertions. * gcc.dg/cpp-as2.c: Make error regexps match either old or new lexer's error messages. * gcc.dg/cpp-mi.c: Use -H and examine the output, don't try to divine anything from the linemarkers. * gcc.dg/cpp-micc.h: Fix typo (declare int b, not int a); * gcc.dg/poison-1.c: Preprocess only; apply -fno-show-column. From-SVN: r34701
2000-06-25gengenrtl.c (special_rtx): Fix typo in comment.Theodore Papadopoulo4-3/+11
* gengenrtl.c (special_rtx): Fix typo in comment. * search.c (lookup_member): Fix typo in comment. From-SVN: r34700
2000-06-25* mklibgcc.in (LIB2FUNCS): Add missing space.Michael Hayes2-1/+5
From-SVN: r34699
2000-06-25expr.c (lookup_field): Print error and return error_mark_node if field ↵Tom Tromey2-2/+25
reference is ambiguous. * expr.c (lookup_field): Print error and return error_mark_node if field reference is ambiguous. From-SVN: r34698
2000-06-25parse.y (check_abstract_method_definitions): Also check if `other_method' is ↵Tom Tromey3-2/+11
abstract. * parse.y (check_abstract_method_definitions): Also check if `other_method' is abstract. From-SVN: r34697
2000-06-25Vector support: type node creation & debugging supportBernd Schmidt9-0/+129
From-SVN: r34696
2000-06-25re GNATS gcj/260 ("Klass.class" expression should cause Klass to be initialized)Tom Tromey3-4/+15
* parse.y (patch_incomplete_class_ref): Initialize the returned class. For PR gcj/260. From-SVN: r34695
2000-06-25Fix typos in comments.Kazu Hirata3-3/+8
From-SVN: r34694
2000-06-25Daily bump.Jeff Law2-2/+2
From-SVN: r34693
2000-06-25aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog compiler found.Philipp Thomas3-27/+62
* aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog compiler found. AM_GNU_GETTEXT: Don't set CATALOGS if create_catalogs=no. * configure: Rebuilt. From-SVN: r34692
2000-06-24vax.h (TARGET_SWITCHES): Provide descriptions.John David Anglin2-9/+13
2000-06-25 John David Anglin <dave.anglin@nrc.ca> * config/vax/vax.h (TARGET_SWITCHES): Provide descriptions. From-SVN: r34691
2000-06-24mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating libgcc.a.Herman A.J. ten Brugge2-0/+11
* mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating libgcc.a. From-SVN: r34690
2000-06-24add XFAILJason Merrill1-1/+1
From-SVN: r34689
2000-06-24fixedJason Merrill1-2/+2
From-SVN: r34688
2000-06-24collect2.c (resolve_lib_name): Move '/' check to more rational place.Jason Merrill3-7/+19
* collect2.c (resolve_lib_name): Move '/' check to more rational place. * ginclude/stddef.h (NULL): define for non-gnu C++ parsers as 0. From-SVN: r34687
2000-06-24decl.c (pushdecl): Don't set DECL_CONTEXT from current_namespace.Jason Merrill5-3284/+3326
* decl.c (pushdecl): Don't set DECL_CONTEXT from current_namespace. (push_namespace): Set DECL_CONTEXT for a new NAMESPACE_DECL. * parse.y (complex_direct_notype_declarator): Support global_scope. * Makefile.in: Adjust conflict count. From-SVN: r34686
2000-06-24newJason Merrill2-0/+40
From-SVN: r34685
2000-06-24remove XFAILJason Merrill1-1/+1
From-SVN: r34683
2000-06-24add missed CL entry:Jason Merrill1-0/+5
* toplev.c (compile_file): Always call timevar_print. * Makefile.in (calls.o): Depend on TIMEVAR_H. From-SVN: r34682
2000-06-24stmt.c (expand_decl_cleanup): Emit a dummy insn after ↵Jakub Jelinek2-0/+12
last_unconditional_cleanup. * stmt.c (expand_decl_cleanup): Emit a dummy insn after last_unconditional_cleanup. From-SVN: r34681
2000-06-24Vector conversions supportBernd Schmidt9-5/+93
From-SVN: r34680
2000-06-24avr-protos.h (avr_hard_regno_mode_ok): New prototype.Marek Michalkiewicz6-96/+201
* config/avr/avr-protos.h (avr_hard_regno_mode_ok): New prototype. * config/avr/avr.c (out_adj_frame_ptr, out_set_stack_ptr): New functions, common code moved from function_{prologue,epilogue} and extended to support the -mtiny-stack option. (function_prologue, function_epilogue): Use them. Use lo8/hi8 consistently for asm output readability. (avr_hard_regno_mode_ok): New function. * config/avr/avr.h (TARGET_SWITCHES): Fix typo. Add -mtiny-stack. (UNITS_PER_WORD): Define as 4 (not 1) when compiling libgcc2.c. (HARD_REGNO_MODE_OK): Call the avr_hard_regno_mode_ok function. * config/avr/avr.md (*mov_sp_r): Add support for -mtiny-stack. Write SPH before SPL. (*movqi): No need to disable interrupts for just one "out" in alternative 5. Change length attribute from 4 to 1. * config/avr/libgcc.S (__prologue_saves__, __epilogue_restores__): Write SPH before SPL. From-SVN: r34678
2000-06-24Vector support: rtx and mode definitionsBernd Schmidt5-3/+186
From-SVN: r34677
2000-06-24* cpp.texi: Clarify #pragma GCC namespace.Nathan Sidwell2-4/+13
From-SVN: r34676
2000-06-24Daily bump.Jeff Law2-2/+2
From-SVN: r34675
2000-06-24aclocal.m4 (AM_GNU_GETTEXT): If LINGUAS isn't set, build all catalogs ↵Philipp Thomas3-33/+47
specified in ALL_LINGUAS. 2000-06-24 Philipp Thomas <pthomas@suse.de> * aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build all catalogs specified in ALL_LINGUAS. * configure: Rebuilt. From-SVN: r34674
2000-06-23sparc.md (reload_outdi+1): Handle HOST_BITS_PER_WIDE_INT == 64 case correctly.Jakub Jelinek2-0/+28
* config/sparc/sparc.md (reload_outdi+1): Handle HOST_BITS_PER_WIDE_INT == 64 case correctly. (adddi3_insn_sp32+1, adddi3_insn_sp32+2, andsi3+2): Likewise. From-SVN: r34669
2000-06-23alias.c (fixed_scalar_and_varying_struct_p): Don't examine struct vs.Geoff Keating4-0/+29
* alias.c (fixed_scalar_and_varying_struct_p): Don't examine struct vs. scalar-ness when -fno-strict-aliasing. and a test case to test it, gcc.dg/20000623-1.c. From-SVN: r34668
2000-06-23cpplib.c (struct pragma_entry): New structure.Nathan Sidwell3-22/+90
* cpplib.c (struct pragma_entry): New structure. (pragma_dispatch): Pragma dispatcher. (top_pragmas, gcc_pragmas): New static variables. (do_pragma): Use pragma_dispatch. (do_pragma_gcc): New pragma handler. * cpp.texi: Update. From-SVN: r34663
2000-06-23calls.c (compute_argument_addresses): Force stack slots into alias set 0.Jakub Jelinek3-14/+36
* calls.c (compute_argument_addresses): Force stack slots into alias set 0. * expr.c (emit_push_insn): Force pushes into alias set 0. From-SVN: r34662
2000-06-23ia64.md (pred_rel_mutex): Only take one register.Richard Henderson3-6/+9
* config/ia64/ia64.md (pred_rel_mutex): Only take one register. * config/ia64/ia64.c (emit_predicate_relation_info): Adjust to match. From-SVN: r34661
2000-06-23Daily bump.Jeff Law2-2/+2
From-SVN: r34660