- 10 Mar, 2000 2 commits
-
-
* config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case. (MD_STARTFILE_PREFIX_1): New macro. From-SVN: r32460
Jeffrey A Law committed -
* hashtab.h (struct htab): Add del_f. (htab_del): New type. (htab_create): Add fourth argument. * hashtab.c (htab_create): Set del_f. (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot): Use it. From-SVN: r32459
Zack Weinberg committed
-
- 09 Mar, 2000 20 commits
-
-
From-SVN: r32458
Zack Weinberg committed -
From-SVN: r32457
Bryce McKinlay committed -
From-SVN: r32456
Bryce McKinlay committed -
* config/ia64/ia64.c: Include system.h. From-SVN: r32455
Robert Lipe committed -
* except.c (nothrow_function_p): If -fno-exceptions, just return. (init_eh_nesting_info): Likewise. From-SVN: r32454
Jason Merrill committed -
* tree.h (struct tree_common): Rename raises_flag to nothrow_flag. (TREE_NOTHROW): Rename from TREE_RAISES. * toplev.c (rest_of_compilation): Set it. * print-tree.c (print_node): Adjust. * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES. (stabilize_reference_1, get_unwidened, get_narrower): Likewise. * calls.c (emit_call_1): Add 'nothrow' parm. Add REG_EH_REGION note as appropriate. (libfunc_nothrow): New fn. (emit_library_call, emit_library_call_value): Use it. (expand_call): Check TREE_NOTHROW. cp: * call.c (build_call): Set TREE_NOTHROW on the CALL_EXPR as appropriate. * decl.c (define_function): Set TREE_NOTHROW on the FUNCTION_DECL. * except.c (call_eh_info, alloc_eh_object, expand_throw): Set TREE_NOTHROW or TREE_THIS_VOLATILE on the function as appropriate. * rtti.c (build_runtime_decl, get_tinfo_decl, build_dynamic_cast_1, expand_si_desc, expand_class_desc, expand_ptr_desc, expand_attr_desc, expand_generic_desc): Likewise. From-SVN: r32453
Jason Merrill committed -
* varasm.c (make_decl_rtl): Skip initial '*' when setting DECL_ASSEMBLER_NAME. From-SVN: r32452
Jason Merrill committed -
* config/mips/linux.h (NO_IMPLICIT_EXTERN_C): Define. (TARGET_MEM_FUNCTIONS): Define. From-SVN: r32451
Andreas Jaeger committed -
From-SVN: r32450
Jason Merrill committed -
* except.c (can_throw): See through a SEQUENCE. (nothrow_function_p): New fn. * except.h: Declare it. * function.c (current_function_nothrow): New var. (prepare_function_start): Initialize it. * output.h: Declare it. * toplev.c (rest_of_compilation): Set it. * dwarf2out.c (dwarf2out_begin_prologue): Use it. From-SVN: r32449
Jason Merrill committed -
* cpphash.c (collect_formal_parameters): strncmp returns 0 for match. (cpp_compare_defs): Count the nul separator when advancing over argument names. From-SVN: r32448
Zack Weinberg committed -
From-SVN: r32447
Bernd Schmidt committed -
From-SVN: r32446
Bernd Schmidt committed -
2000-03-09 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/natClassLoader.cc (_Jv_FindArrayClass): Call _Jv_PrepareConstantTimeTables. * java/lang/natClass.cc (_Jv_PrepareConstantTimeTables): Array classes should have an IDT, so don't return if klass is an array class. From-SVN: r32445
Bryce McKinlay committed -
From-SVN: r32444
Jeff Law committed -
* java/lang/reflect/natArray.cc (newInstance): Don't allow array of `void' to be created. From-SVN: r32443
Tom Tromey committed -
2000-03-08 Bryce McKinlay <bryce@albatross.co.nz> * config.guess, config.sub: Update from the gcc tree. Fix for PR libgcj/168. From-SVN: r32442
Bryce McKinlay committed -
From-SVN: r32441
Warren Levy committed -
* libgcc2.h: New file. * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h. From-SVN: r32440
Kaveh R. Ghazi committed -
From-SVN: r32438
Jim Wilson committed
-
- 08 Mar, 2000 18 commits
-
-
* hashtab.c: Remove debugging variables (all_searches, all_collisions, all_expansions). Delete all_hash_table_collisions. (create_hash_table, delete_hash_table, empty_hash_table, find_hash_table_entry, remove_element_from_hash_table_entry, clear_hash_table_slot, traverse_hash_table, hash_table_size, hash_table_elements_number, hash_table_collisions): Rename to: htab_create, htab_delete, htab_empty, htab_find_slot, htab_remove_elt, htab_clear_slot, htab_traverse, htab_size, htab_elements, htab_collisions. (htab_find): New function, handles common case where you don't plan to add or delete an entry. (htab_expand): Don't create a whole new table, just a new entry vector. (htab_find_slot): Simplify logic. * hashtab.h (hash_table_t): Rename to htab_t. (struct hash_table): Rename to struct htab. Shorten element names. Reorder elements by size. (htab_hash, htab_eq, htab_trav): New typedefs for the callback function pointers. (hash_table_entry_t): Discard; just use void * for element type. From-SVN: r32437
Zack Weinberg committed -
From-SVN: r32436
Zack Weinberg committed -
* Makefile.in (LIBCPP_DEPS): New macro. (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use it to declare deps. * cpperror.c: Include cpphash.h. * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS dingleberry. (lex): Don't use CPP_WARN_UNDEF. (_cpp_parse_expr): Return an int, the truth value. * cppfiles.c: Include cpphash.h. (_cpp_merge_include_chains): Move to cppinit.c and make static. * cppinit.c (include_defaults_array): Disentangle. (cpp_cleanup): Don't free the if stack here. (cpp_finish): Pop off all buffers, not just one. * cpplib.c (eval_if_expr): Return int. (do_xifdef): Rename do_ifdef. (handle_directive): Don't use CPP_PREPROCESSED. (cpp_get_token): Don't use CPP_C89. * fix-header.c: Don't use CPP_OPTIONS. * cpplib.h: Move U_CHAR, enum node_type, struct file_name_list, struct ihash, is_idchar, is_idstart, is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK, CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC, CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q, CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER, CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes of _cpp_simplify_pathname, _cpp_find_include_file, _cpp_read_include_file, and _cpp_parse_expr to cpphash.h. Move struct if_stack to cpplib.c. Move struct cpp_pending to cppinit.c. Change all uses of U_CHAR to be unsigned char instead. Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED. From-SVN: r32435
Zack Weinberg committed -
* dwarf2out.c (dw_fde_struct): Add 'nothrow'. (dwarf2out_begin_prologue): Set it. (output_call_frame_info): Don't emit EH unwind info for leaves. From-SVN: r32434
Jason Merrill committed -
* lib/g++.exp (g++_init): Don't put { } around -fmessage-length=0. (g++_target_compile): Put test-specific options last. From-SVN: r32433
Jason Merrill committed -
* flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow can occur outside of an EH region. * except.c: Correct comments about rethrow behavior. (rethrow_symbol_map): Do nothing if !flag_new_exceptions. * flow.c (make_edges): Always call make_eh_edge for calls. From-SVN: r32432
Jason Merrill committed -
cpp-redef-2.c: New. From-SVN: r32431
Zack Weinberg committed -
* cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete. (struct cpp_buffer): Remove fname and underflow fields. (struct cpp_reader): Remove get_token field. (struct include_hash): Rename to struct ihash. Add typedef to IHASH. (struct if_stack): Remove fname field. (IF_STACK_FRAME): Rename to IF_STACK. * cpperror.c (print_containing_files): Trust that there are no macro buffers below the top file buffer. * cppfiles.c: Replace all references to 'struct include_hash' with 'IHASH'. Rename initialize_input_buffer to init_input_buffer. Don't set or reference cpp_buffer->fname, use buffer->ihash->name instead. * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL not CPP_NULL_BUFFER. * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not IF_STACK_FRAME, IHASH not struct include_hash. * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not struct include_hash, NULL not CPP_NULL_BUFFER. Remove all references to cpp_buffer->fname (delete entirely, or use ->ihash->name instead) and IF_STACK->fname. (cpp_push_buffer): Don't set new->underflow. (do_include): Use cpp_file_buffer. * cpphash.c (collect_formal_parameters): Remove duplicate increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is used as a macro argument name. Don't append "..." to namebuf for varargs macros. After we're done scanning, go through namebuf and make it NUL separated, not comma separated. (_cpp_compare_defs): Remove register tag from variables. Expect defn->argnames to be NUL separated. (_cpp_dump_definition): Expect defn->argnames to be NUL separated and in forward order. * cpphash.h: Update documentation of argnames field. From-SVN: r32430
Zack Weinberg committed -
* builtins.c (expand_builtin_strlen): Be prepared for strlensi to fail. Don't pre-expand the source operand. From-SVN: r32429
Richard Henderson committed -
From-SVN: r32428
Richard Henderson committed -
From-SVN: r32427
Nathan Sidwell committed -
From-SVN: r32426
Nathan Sidwell committed -
From-SVN: r32425
Nathan Sidwell committed -
* decl.c (grok_op_properties): Merge conversion to void warning with other silly op warnings. From-SVN: r32424
Nathan Sidwell committed -
* expr.c (expand_expr, case ARRAY_REF): Still check for missing CONSTRUCTOR element. From-SVN: r32423
Jason Merrill committed -
* typeck2.c (process_init_constructor): Set TREE_PURPOSE of array CONSTRUCTOR elements. Don't use expr_tree_cons. From-SVN: r32422
Jason Merrill committed -
* config/mips/mips.c (mips_expand_prologue): If the last named argument is the vararg marker "va_list", treat it as an unnamed argument. From-SVN: r32421
Gavin Romig-Koch committed -
* dbxout.c (dbxout_parms): When correcting for promoted big-endian parameters, use the mode of the DECL_RTL rather than UNITS_PER_WORD. From-SVN: r32420
Clinton Popetz committed
-