- 02 Mar, 2000 3 commits
-
-
c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink reference the language-equivalent of sizetype. * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink reference the language-equivalent of sizetype. * c-typeck.c (comptypes): Treat sizetype like its language equivalent. * fold-const.c (size_binop, size_diffop): Put back checks. * gcse.c (dump_hash_table): Fix minor error in last change. * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype. Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of all sizetypes. * cp/typeck.c (comptypes): Treat sizetype like its language equivalent. From-SVN: r32291
Richard Kenner committed -
with inhibit_defer_pop set. From-SVN: r32290
Jan Hubicka committed -
From-SVN: r32289
Jeff Law committed
-
- 01 Mar, 2000 18 commits
-
-
From-SVN: r32288
Chandra Chavva committed -
* stor-layout.c (layout_decl): Allow front-ends to explicitly set the DECL_SIZE for a FIELD_DECL. From-SVN: r32287
Mark Mitchell committed -
From-SVN: r32286
Jason Merrill committed -
From-SVN: r32285
Cor Veenman committed -
From-SVN: r32284
Bruce Korb committed -
* cpphash.c (collect_expansion): Trim trailing white space from macro definitions, but don't go past the last insertion point. * gcc.dg/cpp-redef.c: New test. From-SVN: r32283
Zack Weinberg committed -
From-SVN: r32282
Bernd Schmidt committed -
From-SVN: r32280
Jan Hubicka committed -
From-SVN: r32279
Jason Merrill committed -
From-SVN: r32278
Jeff Law committed -
From-SVN: r32277
Jason Merrill committed -
From-SVN: r32276
Mark Mitchell committed -
* search.c (protected_accessible_p): Use context_for_name_lookup. * typeck.c (expand_ptrmemfunc_cst): Fix thinko. From-SVN: r32275
Jason Merrill committed -
* cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New token types. (struct cpp_reader): Add parsing_if_directive and parsing_define_directive flags. (struct cpp_options): Remove output_conditionals flag. (check_macro_name): Delete prototype. * cpphash.h (struct macrodef): Delete. (struct reflist): Separate from struct definition. (struct definition): Remove unused fields. Add column number. (create_definition): Returns a DEFINITION *. Takes a cpp_reader * and an int. * cpphash.c (SKIP_WHITE_SPACE): Delete. (PEEKC): Copy defn from cpplib.c. (rest_extension, REST_EXTENSION_LENGTH): Delete. (struct arg): New. (struct arglist): Simplify. (collect_expansion): Rewrite. Get tokens by calling cpp_get_token. Add more error checking. (collect_formal_parameters): New function, broken out of create_definition and reworked to use get_directive_token. (create_definition): All real work is now in collect_expansion and collect_formal_parameters. do_define handles finding the macro name. Return a DEFINITION, not a MACRODEF. (macroexpand): Replace bcopy with memcpy throughout. Replace character-at-a-time copy loop with memcpy and pointer increments. (compare-defs): d1->argnames / d2->argnames might be null. * cpplib.c (copy_rest_of_line): Delete function. (skip_rest_of_line): Do all the work ourselves. (skip_string): New function. (parse_string): Use skip_string. (get_macro_name): New function. (check_macro_name): Delete. (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q. (cpp_skip_hspace): Use CPP_BUMP_LINE. (handle_directive): ICE if we're called on a macro buffer. (do_define): Determine macro name and type (funlike/objlike) here. Expunge all uses of MACRODEF. (cpp_push_buffer): Set line_base to NULL. (do_undef, read_line_number): Don't worry about getting a POP token. (eval_if_expression): Set/reset parsing_if_directive around cpp_parse_expr. Don't clear only_seen_white. (skip_if_group): Remove output_conditionals logic. Use skip_rest_of_line. (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE tokens under appropriate conditions. (cpp_unassert): Call do_unassert not do_assert. Oops. * cppexp.c (parse_defined): New function, break out of cpp_lex. (cpp_lex): We now get CPP_ASSERTION tokens and can check them ourselves, with cpp_defined. * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput. * gcc.dg/20000209-2.c: Turn off -pedantic-errors. * gcc.dg/strpaste-2.c: New. From-SVN: r32274
Zack Weinberg committed -
* fold-const.c (size_binop): Don't asert inputs are the same and have TYPE_IS_SIZETYPE set. (size_diffop): Likewise. From-SVN: r32273
Mark Mitchell committed -
From-SVN: r32272
Jason Merrill committed -
* dwarfout.c (output_block): Output abstract blocks even if they don't have TREE_ASM_WRITTEN set. From-SVN: r32271
Jason Merrill committed -
From-SVN: r32270
Jason Merrill committed
-
- 29 Feb, 2000 18 commits
-
-
From-SVN: r32269
Martin v. Löwis committed -
* c-decl.c (current_function_decl): Move to toplev.c. (init_decl_processing): Don't add current_function_decl as a ggc root here. * dbxout.c (dbxout_symbol): Change return type to int. (dbxout_symbol_location, dbxout_syms): Likewise. (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without any locals. Use current_function_func_begin_label if set. * dbxout.h (dbxout_symbol, dbxout_syms): Change return type. * dwarf2out.c (dwarf2out_begin_prologue): Set current_function_func_begin_label. * final.c (final_start_function): Reset it. * toplev.c (current_function_decl): Define it here. (current_function_func_begin_label): New variable. (main): Add both as ggc roots. * tree.h (current_function_func_begin_label): Declare. * ch/decl.c (current_function_decl): Move to toplev.c. * cp/decl.c (current_function_decl): Move to toplev.c. * f/com.c (current_function_decl): Move to toplev.c. * java/decl.c (current_function_decl): Move to toplev.c. From-SVN: r32268
Martin v. Löwis committed -
* calls.c (emit_library_call): Do not abort if FUNCTION_ARG returns a PARALLEL. Use emit_group_load and use_group_regs as needed. (emit_library_call_value): Similarly. From-SVN: r32267
Jeffrey A Law committed -
* pa/t-pa: Use quadlib.c instead of quadlib.asm. * pa/quadlib.asm: Remove. * pa/quadlib.c: New file. From-SVN: r32265
Jeffrey A Law committed -
* gcse.c: Cleanups throughout: mostly white-space, but also some minor rearrangement of code. From-SVN: r32264
Richard Kenner committed -
* configure.in (hpux10, hpux11, PA32 mode): Use i128 float format. * configure: Rebuilt. From-SVN: r32263
Jeffrey A Law committed -
From-SVN: r32260
Philip Blundell committed -
From-SVN: r32258
Tom Tromey committed -
2000-02-28 Mo DeJong <mdejong@cygnus.com> * java/util/zip/ZipOutputStream.java(closeEntry) : Fixed error caused by the incorrect casting of a long to an int. From-SVN: r32257
Mo DeJong committed -
2000-02-28 Mo DeJong <mdejong@cygnus.com> * java/util/zip/ZipOutputStream.java(write_entry) : Fixed SIGSEV caused by use of the wrong instance variable. From-SVN: r32256
Mo DeJong committed -
From-SVN: r32254
Nathan Sidwell committed -
* pt.c (fn_type_unification): Unify return type, whenever provided. (get_bindings_real): Only pass return type when necessary. Remove explicit return type check. * class.c (resolve_address_of_overloaded_function): Pass desired return type to fn_type_unification. From-SVN: r32253
Nathan Sidwell committed -
From-SVN: r32252
Jeff Law committed -
* dwarf2out.c (gen_block_die): Output abstract blocks even if they don't have TREE_ASM_WRITTEN set. From-SVN: r32251
Jason Merrill committed -
2000-02-28 Mo DeJong <mdejong@cygnus.com> * libjava.compile/static_inner.java: New file. From-SVN: r32250
Mo DeJong committed -
* builtins.c (built_in_class_names, built_in_names): New variables. * c-decl.c (finish_struct): Set specified size in DECL_SIZE. * expr.c (expand_expr, case COMPONENT_REF): Get field size from DECL_SIZE, not DECL_FIELD_SIZE. * print-tree.c (print_node): Remove code that prints extra blank lines in some cases. Properly handle inline and builtin function cases. * stor-layout.c (layout_decl): Get specified size from DEC_SIZE. * tree.h (built_in_class_named, built_in_names): New declarations. (union tree_decl): Rename internal unions to u1 and u2 and change some of their components. Add new field built_in_class. (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE): Reflect above changes. (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise. (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted. * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE. (encode_field_decl): Likewise; also remove obsolete test for bitfield. * ch/ch-tree.h (DECL_ACTION_NESTING_LEVEL): Use new tree union name. * ch/decl.c (finish_struct): Don't clear DECL_FIELD_SIZE. * ch/typeck.c (make_chill_struct_type): Likewise. (apply_decl_field_layout): General cleanup. Set DECL_SIZE instead of DECL_FIELD_SIZE. * cp/class.c (build_vtbl_or_vbase_field, check_methods): Don't clear DECL_FIELD_SIZE. (check_bitfield_decl, check_field_decls): Set DECL_SIZE, not DECL_FIELD_SIZE. * cp/rtti.c (expand_class_desc): Likewise. * cp/cp-tree.h (DECL_INIT_PRIORITY): Use underlying union name. (THUNK_VCALL_OFFSET): Likewise. (THUNK_DELTA): Reflect changes in ../tree.h. * java/java-tree.h (LABEL_PC): Relect name changes in ../tree.h. (DECL_BIT_INDEX): Use underlying representation. * java/parse.h (DECL_INHERITED_SOURCE_LINE): Likewise. From-SVN: r32249
Richard Kenner committed -
long_calls, no_long_calls. From-SVN: r32248
Dmitri Makarov committed -
permissable. From-SVN: r32245
Nick Clifton committed
-
- 28 Feb, 2000 1 commit
-
-
From-SVN: r32244
J"orn Rennecke committed
-