- 24 Sep, 2000 5 commits
-
-
* expr.c (store_field): If BITSIZE is negative, use size of type. (expand_expr, case COMPONENT_EXPR): Likewise. From-SVN: r36588
Richard Kenner committed -
* cpplex.c: Update TODO comment. * cpplib.c (do_error, do_warning): Merge common code of do_error and do_warning into do_diagnostic. Use it. (do_diagnostic): New function. * cpplib.h: Fix comment typo. From-SVN: r36587
Neil Booth committed -
c-common.c (check_format_info): Warn for a wide character string used as a non-wide format argument. * c-common.c (check_format_info): Warn for a wide character string used as a non-wide format argument. testsuite: * gcc.dg/c90-printf-1.c: Add test for wide string format. From-SVN: r36586
Joseph Myers committed -
* builtins.def (BUILT_IN_LLABS): Add. * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS. * c-common.c (c_common_nodes_builtins): Create builtin functions __builtin_llabs, and plain llabs unless no_nonansi_builtins outside of C99 mode. (expand_tree_builtin): Handle BUILT_IN_LLABS. From-SVN: r36585
Joseph Myers committed -
From-SVN: r36584
Jeff Law committed
-
- 23 Sep, 2000 7 commits
-
-
* cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q, CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete. * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist, _cpp_free_toklist): No need to worry about extra dummy token at the start of token lists any more. (trigraph_ok): Only warn outside comments. (skip_block_comment): Set and clear lexing_comment. (skip_line_comment): Take a cpp_reader not cpp_buffer. Set and clear lexing_comment. (parse_number): Handle leading '.' indicated by pfile->seen_dot. (check_long_token): Delete. (lex_percent, lex_dot): New subroutines of lex_token to handle lexing of '.' and '%' without lookback. (lex_token): Use lex_dot and lex_percent. (lex_line): Don't check for LIST_OFFSET. (_cpp_init_input_buffer): Update for new _cpp_init_toklist. * cpplib.c (_cpp_parse_assertion): Similarly. (cpp_push_buffer): Initialize extra_char. * cpplib.h (LIST_OFFSET): Delete. (struct cpp_buffer): New member extra_char. (struct lexer_state): New members lexing_comment and seen_dot. From-SVN: r36582
Neil Booth committed -
* Make-lang.in (JAVA_SRCS): Include java-tree.h. * Makefile.in (parse.o): Depend on ggc.h. (class.o): Likewise. (constants.o): Likewise. (decl.o): Likewise. (expr.o): Likewise. (jcf-parse.o): Likewise. (jcf-write.o): Likewise. (mangle.o): Likewise. * class.c: Include ggc.h. (build_static_field_ref): Register GC roots. (layout_class): Likewise. (init_class_processing): Likewise. * constants.c: Include ggc.h. (current_constant_pool_data_ref): Remove. (tag_nodes): Move it to ... (get_tag_node): ... here. Register GC roots. * decl.c: Include ggc.h. Remove many global tree definitions. (throw_node): Define. (java_global_trees): Likewise. (predef_filenames): Make the size a constant. (init_decl_processing): Adjust accordingly. (init_decl_processing): Call init_jcf_parse. Register GC roots. * expr.c: Include ggc.h. (init_expr_processing): Register GC roots. (build_invokeinterface): Likewise. * java-tree.h: Replace extern tree declarations with macros. (java_global_trees): New variable. (java_tree_index): New enumeration. (init_jcf_parse): Declare. * jcf-parse.c: Include ggc.h. (current_class): Remove declaration. (main_class): Likewise. (all_class_list): Likewise. (predefined_filename_p): Adjust for constant size of predef_filenames. (init_jcf_parse): New function. * jcf-write.c: Include ggc.h. (generate_classfile): Register GC roots. (append_synthetic_attribute): Likewise. (append_innerclass_attribute_entry): Likewise. * lang.c: Include ggc.h. (lang_print_error): Register GC roots. * parse.h (struct parser_ctxt): Rename fields to avoid conflicts with macros. * parse.y: Include ggc.h. (wfl_operator): Remove. (goal): Register GC roots. (java_pop_parser_context): Adjust for new field names. (java_parser_context_save_global): Likewse. (java_parser_context_restore_global): Likewise. (java_parser_context_suspend): Likewise. (java_parser_context_resume): Likewise. (verify_constructor_circularity): Register GC roots. (lookup_cl): Likewise. (java_reorder_fields): Likewise. (build_current_this): Likewise. (class_in_current_package): Likewise. (argument_types_convertible): Likewise. (patch_cast): Rename wfl_op parameter to avoid macro conflicts. From-SVN: r36581
Mark Mitchell committed -
2000-09-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * stdstreams.cc: Include <libio.h>, not "libio.h". * iolibio.h: Likewise. (_IO_pos_BAD): Use _IO_off_t instead of _IO_fpos_t. * libio.h (_IO_USER_LOCK): Define. From-SVN: r36580
Franz Sirl committed -
* config/rs6000/x-aix41 (CLIB): Define here. * config/rs6000/t-aix43: Not here. * config/rs6000/t-aix41: Or here. Remove. * configure.in: Don't use it. From-SVN: r36579
Jason Merrill committed -
From-SVN: r36578
Jason Merrill committed -
* gcc.dg/cpp/20000510-1.S: Rename assembler.S. Add test that we continue to preprocess after an unknown directive. * gcc.dg/cpp/tr-str.c: Run-time test for traditional stringification. From-SVN: r36577
Neil Booth committed -
From-SVN: r36575
Jeff Law committed
-
- 22 Sep, 2000 7 commits
-
-
From-SVN: r36574
Jason Merrill committed -
From-SVN: r36573
Jason Merrill committed -
* configure.in: Fix checks for assembler features when using a one-tree assembler that has not yet been built. Fix --disable-threads. From-SVN: r36572
Jason Merrill committed -
* stmt.c (expand_asm_operands): Allow # in constraints. In gcc/testsuite/ChangeLog: * gcc.c-torture/compile/20000922-1.c: New file. From-SVN: r36571
Geoff Keating committed -
* c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace. * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for function-local names. From-SVN: r36570
Jason Merrill committed -
From-SVN: r36569
Jeff Law committed -
* toplev.c (warn_disabled_optimization): Declare new warning flag. * flags.h (warn_disabled_optimization): Add it here. * gcse.c (gcse_main): Add warning when disabled. * invoke.texi: Document -Wdisabled-optimization Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r36568
Brad Lucier committed
-
- 21 Sep, 2000 12 commits
-
-
From-SVN: r36567
Jason Merrill committed -
From-SVN: r36566
Jason Merrill committed -
* dwarf2out.c (add_const_value_attribute): Multiply by length, not 4. * dwarf2out.c (tree_add_const_value_attribute): New fn. (gen_variable_die): Call it for non-definitions. * dwarf2out.c (die_struct): Add die_mark field. (mark_dies, unmark_dies): New fns. (clear_die_sizes): Remove. (print_die): Check die_symbol rather than die_offset. (build_abbrev_table, output_pubnames, output_aranges): Check die_mark rather than die_offset. (output_comp_unit): Move calc_die_sizes after build_abbrev_table. Call mark_dies. From-SVN: r36565
Jason Merrill committed -
* cppfiles.c (lookup_include_file): Rename to open_file. Always create a splay tree value, even on syscall failures. Negative entries indicated by fd == -2. Re-open files closed in the meantime. (_cpp_fake_include): Create a negative splay tree entry. (find_include_file, cpp_read_file): Update for function name change. * gcc.gd/cpp/mi4.c: Testcase. From-SVN: r36564
Neil Booth committed -
From-SVN: r36563
Nick Clifton committed -
From-SVN: r36562
Nick Clifton committed -
From-SVN: r36561
Nick Clifton committed -
From-SVN: r36560
Jeff Law committed -
From-SVN: r36559
Andreas Jaeger committed -
2000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca> * configure.in: Correct test of gcc_cv_glibc. * configure: Rebuilt. * config.in: Rebuilt. From-SVN: r36558
J. David Anglin committed -
* errfn.c: Move declaration of cp_printer and cp_printers to ... * cp-tree.h: ... here. * error.c: Remove declaration of cp_printer. From-SVN: r36557
Andreas Jaeger committed -
* builtins.c (expand_builtin_fputs): Also expand when length!=1. (expand_builtin): Handle BUILT_IN_FWRITE. * builtins.def (BUILT_IN_FWRITE): New entry. * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite. From-SVN: r36556
Kaveh R. Ghazi committed
-
- 20 Sep, 2000 8 commits
-
-
* gcc.c (modify_target): New variable and struct. (process_command): Handle MODIFY_TARGET_NAME. * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro. * config/pa/pa.h (MODIFY_TARGET_NAME): New macro. From-SVN: r36555
Richard Kenner committed -
* c-decl.c (finish_decl): Add else's to avoid referencing TYPE_DOMAIN of an ERROR_MARK. From-SVN: r36554
Richard Kenner committed -
From-SVN: r36553
Mark Mitchell committed -
* config/avr/avr.c (adjust_insn_length): Adjust lengths of `reload_in*' insns. * config/avr/avr.md (neghi2): Add alternative for input and output operands in different registers, as in negsi2. (*negsi2): Remove '*' from the name. Use "movw" if available. From-SVN: r36552
Denis Chertykov committed -
* except.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP-default and users. From-SVN: r36551
Hans-Peter Nilsson committed -
2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * src/localename.cc (locale::_Imp) : Remove typedefs. * bits/localefwd.h (locale::locale(const locale& __other, _Facet* __f): Consistency check,, call _Imp ctor with refererence argument of 1. * bits/localefwd.h: Change _S_num_categories to _S_categories_num. Add new data member, _S_facets_num, which is the number of standard facets. From-SVN: r36550
Benjamin Kosnik committed -
From-SVN: r36549
Jeff Law committed -
* config/ia64/crtbegin.asm (__dso_handle): Delete use of HAVE_GAS_HIDDEN macro. From-SVN: r36548
Jim Wilson committed
-
- 19 Sep, 2000 1 commit
-
-
2000-09-19 Phil Edwards <pme@sources.redhat.com> * docs/21_strings/howto.html: Fix editor lossage from last commit. From-SVN: r36547
Phil Edwards committed
-