- 14 Mar, 2000 25 commits
-
-
From-SVN: r32542
Jeffrey A Law committed -
* c-parse.y, c-parse.c, c-parse.h: Regenerate. * objc/objc-parse.y, objc/objc-parse.c: Regenerate. From-SVN: r32541
Greg McGary committed -
* c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED. * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED. * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__, __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__, __unbounded, __unbounded__): New keywords. * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens. From-SVN: r32540
Greg McGary committed -
From-SVN: r32539
Tom Tromey committed -
From-SVN: r32538
Bernd Schmidt committed -
From-SVN: r32537
Tom Tromey committed -
From-SVN: r32536
Bernd Schmidt committed -
From-SVN: r32535
Nick Clifton committed -
* function.c (prepare_function_start): Correctly initialize cfun->stack_alignment_needed. From-SVN: r32534
Richard Earnshaw committed -
* cppfiles.c (find_include_file): Don't assume nshort is a substring of name. From-SVN: r32533
Zack Weinberg committed -
From-SVN: r32532
Jeffrey A Law committed -
From-SVN: r32531
Jeffrey A Law committed -
From-SVN: r32530
Jeffrey A Law committed -
From-SVN: r32529
Jeffrey A Law committed -
* configure.in (hppa configurations): Add pa32-regs.h to the list of tm files as appropriate. * configure: Rebuilt. * pa.c (compute_frame_size): Remove explicit knowledge about FP register numbering. (hppa_expand_prologue, hppa_expand_epilogue): Likewise. (fmpyaddoperands, fmpysuboperands): Likewise. * pa.h: Remove various definitions which depend on knowing how registers are numbered. * pa32-regs.h: New file with PA32 register numbering specific definitions. From-SVN: r32527
Jeffrey A Law committed -
* regmove.c (combine_stack_adjustments): New. (stack_memref_p, single_set_for_csa): New. (free_csa_memlist, record_one_stack_memref): New. (try_apply_stack_adjustment): New. (combine_stack_adjustments_for_block): New. * rtl.h (combine_stack_adjustments): Declare. * toplev.c (rest_of_compilation): Call it. * i386.md: Revert 2000-01-16 change. From-SVN: r32526
Richard Henderson committed -
From-SVN: r32525
Martin v. Löwis committed -
From-SVN: r32524
Nathan Sidwell committed -
From-SVN: r32523
Jeff Law committed -
* c-typeck.c (c_alignof): Error on incomplete types. * extend.texi (Alignment): Document this. From-SVN: r32522
Stan Shebs committed -
* except.c (expand_throw): Fix typo in _Jv_Sjlj_Throw. From-SVN: r32521
Jeff Sturm committed -
2000-03-13 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (resolve_package): Set `next' once a type name has been progressively discovered. (resolve_qualified_expression_name): Propagate resolution only if there are remaining qualifiers. Take into account `q' might have been cleared after re-qualification. * parse.y (patch_method_invocation): New local `resolved'. Section dealing with qualified expression rewritten to use resolve_field_access. From-SVN: r32520
Alexandre Petit-Bianco committed -
* cppfiles.c: Include mkdeps.h. (find_include_file, read_include_file): Remove _cpp_ prefix from name, make static. (_cpp_execute_include): New function, broken out of do_include. * cpplib.c: Don't include mkdeps.h. (struct directive): Remove type field. Reorder entries. The function takes only one argument. (struct if_stack): Make type field an int. (directive_table): Rename to dtable. Generate it, the prototypes of the directive handlers, and the enum for the directive numbers, from a template macro. (do_ifndef, do_include_next, do_import): New functions. (do_define, do_include, do_endif, do_ifdef, do_if, do_else, do_undef, do_line, do_elif, do_error, do_pragma, do_warning, do_ident, do_assert, do_unassert, do_sccs): Take only one argument. (do_sccs): Define always, but alter behavior based on SCCS_DIRECTIVE. (_cpp_handle_directive, consider_directive_while_skipping): Restructure for new directive table layout. (pass_thru_directive): Take a directive number, not a pointer to a struct directive. (parse_include): New function, broken out of do_include. (do_include, do_import, do_include_next): Use parse_include and _cpp_execute_include. (do_elif, do_else): Test for T_ELSE specifically when checking for #elif/#else after #else. (parse_ifdef): New function, broken out of do_ifdef. (validate_else): Expect a name arg without a leading #. (if_directive_name): Delete. (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call directive handlers with only one argument. * cpphash.h: Update prototypes. (enum node_type): Remove entries for directives. * Makefile.in: Update dependencies. From-SVN: r32519
Zack Weinberg committed -
* cpphash.c (dump_hash_helper): Only dump nodes of type T_MACRO. Emit a newline after each definition. From-SVN: r32518
Zack Weinberg committed -
From-SVN: r32517
Alexandre Petit-Bianco committed
-
- 13 Mar, 2000 15 commits
-
-
* gccbug.in: New file. * configure.in (all_outputs): Add gccbug. * Makefile.in (install-common): Install gccbug. (GCCBUG_INSTALL_NAME): New variable. * configure: Rebuilt. From-SVN: r32515
Martin v. Löwis committed -
* function.c (put_var_into_stack): Use type_for_mode to calculate part_type. Use MEM_SET_IN_STRUCT_P. * expr.c (store_field): Handle CONCAT. (store_constructor): Use fields_length. * tree.c (fields_length): New fn. * tree.h: Declare it. From-SVN: r32514
Jason Merrill committed -
* Makefile.in (LIBCPP_OBJS): Add cpplex.o. (cpplex.o): New target. * po/POTFILES.in: Add cpplex.c. * cpplex.c (_cpp_grow_token_buffer, null_cleanup, cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer, cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer, skip_block_comment, skip_line_comment, skip_comment, copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line, _cpp_parse_name, skip_string, parse_string, _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token, _cpp_get_directive_token, find_position, _cpp_read_and_prescan, _cpp_init_input_buffer): Move here. (maybe_macroexpand, _cpp_lex_token): New functions. * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark, parse_goto_mark): Delete. (_cpp_handle_eof): New function. (_cpp_handle_directive): Rename from handle_directive. (_cpp_output_line_command): Rename from output_line_command. (do_if, do_elif): Call _cpp_parse_expr directly. * cppfiles.c (_cpp_read_include_file): Don't call init_input_buffer here. * cpphash.c (quote_string): Move here, rename _cpp_quote_string. * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive here; pop the token_buffer and skip the rest of the line here. * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer here. * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P): Define here. (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK, CPP_GOTO_MARK): New macros. (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line, _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token, _cpp_read_and_prescan, _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_get_directive_token, _cpp_handle_directive, _cpp_handle_eof, _cpp_output_line_command): Prototype them here. * cpplib.h (enum cpp_token): Add CPP_MACRO. (CPP_RESERVE, get_directive_token, cpp_grow_buffer, quote_string, output_line_command): Remove. From-SVN: r32513
Zack Weinberg committed -
Mon Mar 13 11:36:51 2000 Hans Boehm <boehm@acm.org> * typeck.c (build_prim_array_type): Correctly set the high word too. From-SVN: r32512
Hans Boehm committed -
From-SVN: r32511
Bernd Schmidt committed -
* decl.c (grokfndecl): Set TREE_NOTHROW if TYPE_NOTHROW_P. * except.c (dtor_nothrow): New fn. (do_pop_exception): Use it. Take type parm. (push_eh_cleanup): Take type parm. (expand_start_catch_block): Pass it. (build_eh_type_type_ref): Accept null type. From-SVN: r32510
Jason Merrill committed -
Reported by Daniel Lauer <daniel@informatik.uni-bonn.de> From-SVN: r32509
Zack Weinberg committed -
* config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0. (movsi_zero_liveg0): Remove. (movsf_insn_novis_liveg0): Remove. (negsi2): Remove. (negsi2_not_liveg0): Rename to negsi2. (one_cmplsi2): Remove. (one_cmplsi2_not_liveg0): Rename to one_cmplsi2. (one_cmplsi2_liveg0): Remove. * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE, MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove. (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if. (PREDICATE_CODES): Remove zero_operand. * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE. (zero_operand): Remove. * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0, -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore options. (SUBTARGET_OVERRIDE_OPTIONS): Remove. * config/sparc/linux-aout.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE): Remove. * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE): Remove. * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE): Remove. * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE): Remove. * config/sparc/sparc.md (return_df_no_fpu): New pattern. From-SVN: r32508
Jakub Jelinek committed -
* cpplib.c (do_pragma_implementation): Fix off-by-one error truncating a string. Don't assume tokens are nul terminated. Problem noted by Andreas Jaeger <aj@suse.de> From-SVN: r32507
Zack Weinberg committed -
dwarf2out.c (add_name_and_src_coords_attributes): Only add DW_AT_MIPS_linkage_name for TREE_PUBLIC decls. * dwarf2out.c (add_name_and_src_coords_attributes): Only add DW_AT_MIPS_linkage_name for TREE_PUBLIC decls. (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline. From-SVN: r32506
Jason Merrill committed -
* stor-layout.c (new_record_layout_info): Fix typo inside ifdef STRUCTURE_SIZE_BOUNDARY. From-SVN: r32505
Richard Earnshaw committed -
From-SVN: r32504
Nathan Sidwell committed -
* tree.h (record_layout_info_s): New structure. (record_layout_info): New type. (new_record_layout_info): New function. (layout_field): Likewise. (finish_record_layout): Likewise. * stor-layout.c (layout_record): Remove. (new_record_layout_info): New function. (layout_field): New function, broken out from layout_record. (finalize_record_size): Likewise. (compute_record_mode): Likewise. (finalize_type_size): New function, broken out from layout_type. (finish_record_layout): Likewise. (layout_type): Use them. From-SVN: r32503
Mark Mitchell committed -
From-SVN: r32502
Jeff Law committed -
* cp-tree.h (revert_static_member_fn): Change prototype. * decl.c (grokfndecl): Adjust call to revert_static_member_fn. (grok_op_properties): Likewise. (start_function): Likewise. (revert_static_member_fn): Simplify. * pt.c (check_explicit_specialization): Adjust call to revert_static_member_fn. From-SVN: r32501
Mark Mitchell committed
-