summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * cpperror.c (print_file_and_line): Don't display line numberneil2000-11-172-6/+11
| | | | | | | if 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37523 138bc75d-0d04-0410-961f-82ee72b054a4
* * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Addzack2000-11-1726-299/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | digit_vector and digit_string. * stringpool.c (digit_vector): New. (ggc_alloc_string): Use digit_string. * stmt.c (digit_strings): Delete. (init_stmt): Do not initialize digit_strings. (expand_asm_operands): Use ggc.h's digit_string macro. * toplev.c (mark_file_stack): Delete. (compile_file): Don't call init_tree_codes. (main): No need to make the file stack a GC root. * tree.c (init_tree_codes): Delete. * tree.h (init_tree_codes): Delete. * c-lex.c: Don't include ggc.h. (mark_splay_tree_node, mark_splay_tree): Delete. (init_c_lex): No need to ggc_strdup string constant. Don't add file_info_tree to GGC roots. (cb_enter_file, cb_rename_file): No need to ggc_strdup ip->nominal_fname. * Makefile.in (c-lex.o): No longer depends on $(GGC_H). * dbxout.c (dbxout_init), dwarf2out.c (dwarf2out_line), ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees), varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once), xcoffout.c (xcoffout_source_file), i386.c (load_pic_register): Delete call(s) to ggc_add_string_root and/or ggc_mark_string. * except.c (create_rethrow_ref), profile.c (init_edge_profiler), toplev.c (compile_file), varasm.c (named_section, assemble_static_space, assemble_trampoline_template, output_constant_def, force_const_mem), i386.c (load_pic_register), ia64.c (ia64_encode_section_info), rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference, rs6000_emit_prologue, rs6000_emit_epilogue), rs6000.md (load_toc_aix_si, load_toc_aix_di): Change ggc_alloc_string (var, -1) to ggc_strdup (var). * profile.c (output_func_start_profiler), tree.c (make_node), i386.c (load_pic_register): No need to ggc_strdup string constant. cp: * lex.c (mark_impl_file_chain): Delete. (init_parse): Remove call to ggc_add_string_root. No need to ggc_strdup a string constant. Do not add impl_file_chain to GC roots. (handle_pragma_implementation): No need to ggc_strdup main_filename. f: * lex.c (ffelex_hash_): Change ggc_alloc_string (var, -1) to ggc_strdup (var). java: * parse.y (goal): Remove call to ggc_add_string_root. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37522 138bc75d-0d04-0410-961f-82ee72b054a4
* New test - regression of ICEzack2000-11-171-0/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37521 138bc75d-0d04-0410-961f-82ee72b054a4
* fix thinko in last changenathan2000-11-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37520 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (config.status): Depend on config.gcc.hp2000-11-175-6874/+3674
| | | | | | | | | | | * configure.in <for machine in $build $host $target>: Move contents of loop into config.gcc, removing autoconf quoting. Fix changequote bug for alpha*-*-vxworks*. * configure: Regenerate. * config.gcc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37519 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2000-11-174-0/+51
| | | | | | | | | | * pt.c (tsubst_expr, DECL_STMT): Instantiate decl's type. testsuite: * g++.old-deja/g++.pt/instantiate8.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37518 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2000-11-177-219/+144
| | | | | | | | | | | | | | | | | | * cp-tree.h (PARMLIST_ELLIPSIS_P): New macro. * decl.c (grokdeclarator): Don't reject void parms here. (require_complete_types_for_parms): Simplify, use complete_type_or_else. (grokparms): Remove bitrot. Remove funcdef parm. Deal with ellipsis parm lists here. * semantics.c (finish_parmlist): Don't append void_list_node here. Set PARMLIST_ELLIPSIS_P. testsuite: * g++.old-deja/g++.other/incomplete.C: Add more tests. * g++.old-deja/g++.pt/crash9.C: Mark new expected error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37517 138bc75d-0d04-0410-961f-82ee72b054a4
* * typeck2.c (incomplete_type_error): Reorganise to avoidnathan2000-11-172-6/+16
| | | | | | | excessive diagnostics. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37516 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law2000-11-175-5/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37515 138bc75d-0d04-0410-961f-82ee72b054a4
* * stringpool.c: New file.zack2000-11-1737-334/+643
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete. (ggc_alloc_string): Now in stringpool.o. * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string. * ggc.h: Delete prototype of ggc_add_string_root. #define ggc_add_string_root and ggc_mark_string to nothing. Prototype init_stringpool and stringpool_statistics. (ggc_alloc_string): Returns a const char *. * tree.c (hash_table, do_identifier_warnings): Delete. (init_obstacks): Don't initialize the identifier hash table. (get_identifier, maybe_get_identifier, start_identifier_warnings, set_identifier_size): Now in stringpool.c. * tree.h (struct tree_string): Constify pointer field. (approx_sqrt): Prototype. * Makefile.in (stringpool.o): Add rule, mention in OBJS. * toplev.c (approx_sqrt): New function. (compile_file): Call stringpool_statistics if mem_report is on. (main): Call init_stringpool. * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c (process_directive), c-typeck.c (constructor_asmspec, struct initializer_stack, start_init), except.c (create_rethrow_ref), stmt.c (digit_strings), toplev.c (decode_f_option), tree.c (built_in_filename), varasm,c (in_named_name, assemble_static_space, struct constant_descriptor, struct deferred_string, struct pool_constant, force_const_mem), i386.c (pic_label_name, global_offset_table_name), rs6000.c (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *. * c-common.c (combine_strings): Combine strings in scratch buffer, then pass to build_string. * optabs.c (init_libfuncs), profile.c (init_edge_profiler, output_func_start_profiler), stmt.c (init_stmt), alpha.c (alpha_need_linkage), arm.c (arm_encode_call_attribute), i386.c (load_pic_register), ia64.c (ia64_encode_section_info), rs6000.c (rs6000_encode_section_info): Create string in scratch buffer, then pass to ggc_alloc_string. * stmt.c (expand_asm_operands): If we must adjust the constraint strings, do so by creating a new one, not by modifying the old one in place. Constify some char *s. * config/pa/pa.c (hppa_encode_label): Drop unnecessary second argument. Create string in scratch buffer, then pass to ggc_alloc_string. * config/pa/pa-protos.h: Update prototype. * config/pa/elf.h, config/pa/pa.h, config/pa/som.h: hppa_encode_label takes only one argument. * c-parse.in (if_prefix): Find the filename and line number at $-2 and $-1 respectively. * diagnostic.c (error_recursion): Add missing newline, use fputs, translate string. cp: * lex.c (struct impl_files, internal_filename): Constify a char *. java: * jcf-parse.c (get_constant), parse.y (do_merge_string_cste): Create string in scratch buffer, then pass to build_string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37514 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/locale_facets.tcc (num_get<_CharT,gdr2000-11-172-1/+7
| | | | | | | _InIter>::do_get(...)): Add missing typename keyword. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37513 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PushbackReader.java: Merged with Classpath.tromey2000-11-177-811/+1790
| | | | | | | | | | | | | | | | | | * java/util/Arrays.java: Updated from Classpath. * scripts/blocks.pl: New file. * java/lang/Character.java (Subset): New class. (UnicodeBlock): New class. * java/lang/Math.java (toDegrees, toRadians): New methods. * java/lang/Float.java: Implement Comparable. (compareTo): New methods. * java/lang/Double.java: Implement Comparable. (compareTo): New methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37512 138bc75d-0d04-0410-961f-82ee72b054a4
* * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, notghazi2000-11-178-26/+27
| | | | | | | | | | | | | | | | | | malloc/realloc. * cpplib.c (glue_header_name): Likewise. * fixincl.c (run_compiles, start_fixer): Likewise. * fixlib.c (load_file_data): Likewise. * mkdeps.c (munge): Likewise. f: * malloc.c (malloc_init): Call xmalloc, not malloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37511 138bc75d-0d04-0410-961f-82ee72b054a4
* * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Removehp2000-11-172-1/+6
| | | | | | | trailing ';'. Fix formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37510 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Makemmitchel2000-11-1711-1350/+1145
| | | | | | | | | | | | | | | | | | | --enable-cstdio=stdio the default. Disable wide character support in that event. * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after (GLIBCPP_ENABLE_CSTDIO). * config/c_io_stdio.h: Don't include <libio.h>, don't define __c_wfile_type. * aclocal.m4: Regenerated. * configure: Likewise. * Makefile.in: Likewise. * libio/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * src/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37509 138bc75d-0d04-0410-961f-82ee72b054a4
* * mangle.c (write_special_name_constructor): Don't generatemmitchel2000-11-162-6/+29
| | | | | | | | | assembler junk when confronted with an old-style constructor. (write_special_name_destructor): Likewise. (mangle_decl_string): Do it here instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37508 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix ia64 mask bit conflict from parallel development.wilson2000-11-162-2/+5
| | | | | | | | * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR): Shift masks left by one to avoid conflict. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37507 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/beans/PropertyChangeSupport.java (propertyListeners): Madewarrenl2000-11-164-21/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | transient. (listeners): Made transient. (source): Renamed from 'bean'. (children): New field for serialization. (propertyChangeSupportSerializedDataVersion): Ditto. (serialVersionUID): Ditto. (writeObject): New serialization method. (readObject): New serialization method. * java/beans/VetoableChangeSupport.java (propertyListeners): Made transient. (listeners): Made transient. (source): Renamed from 'bean'. (children): New field for serialization. (vetoableChangeSupportSerializedDataVersion): Ditto. (serialVersionUID): Ditto. (writeObject): New serialization method. (readObject): New serialization method. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Fixed assert to allow constructor to have a return type (i.e. the class that the constructor constructs). Serialization mods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37506 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix ia64 C++ gprel link errors.wilson2000-11-162-1/+10
| | | | | | | | * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with DECL_EXTERNAL set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37505 138bc75d-0d04-0410-961f-82ee72b054a4
* Add a couple of new test cases for nested function support.nickc2000-11-163-0/+114
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37504 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix nested function support for the ARMnickc2000-11-163-8/+97
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37503 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/c_io_stdio.h: Include stddef.h.gerald2000-11-162-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37502 138bc75d-0d04-0410-961f-82ee72b054a4
* New testcasebernds2000-11-162-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37501 138bc75d-0d04-0410-961f-82ee72b054a4
* oops, forgot a constdj2000-11-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37500 138bc75d-0d04-0410-961f-82ee72b054a4
* * rtl.c (read_rtx): Provide suitable names for unnameddj2000-11-162-0/+29
| | | | | | | | define_insn and define_insn_and_split patterns, based on file and line numbers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37499 138bc75d-0d04-0410-961f-82ee72b054a4
* * call.c (op_error): Make error messages clearer.nathan2000-11-162-6/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37498 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-15 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>sirl2000-11-162-0/+32
| | | | | | | * gcc.c-torture/execute/20001115-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37497 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/c_io_stdio.h (streamsize): Make it a typedef formmitchel2000-11-162-2/+6
| | | | | | | | ptrdiff_t. (wstreamsize): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37496 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/c_io_stdio.h: Include libio.h.mmitchel2000-11-162-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37495 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED forhp2000-11-162-3/+8
| | | | | | | | parameter `option'. Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37494 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law2000-11-165-5/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37493 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.old-deja/g++.abi/arraynew.C: Use `std' where necessary.mmitchel2000-11-165-14/+21
| | | | | | | | | * g++.old-deja/g++.abi/cxa_vec.C: Likewise. * g++.old-deja/g++.abi/ptrflags.C: Likewise. * g++.old-deja/g++.abi/vmihint.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37492 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.mmitchel2000-11-1611-1096/+1354
| | | | | | | | | | | | | | * src/Makefile.am (libstdc___la_LIBADD): Use it. * aclocal.m4: Regenerated. * configure: Likewise. * Makefile.in: Likewise. * libio/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * src/Makfile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37491 138bc75d-0d04-0410-961f-82ee72b054a4
* * mkcheckin.in: Move check for bash version 2 later in the file.mmitchel2000-11-164-13/+23
| | | | | | | | | | | | * include/bits/basic_string.h (basic_string::_Rep::_S_max_size): Make it const. (basic_string::_Rep::_S_terminal): Likewise. * include/bits/string.tcc (basic_string::_Rep::_S_max_size): Likewise. (basic_string::_Rep::_S_terminal): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37490 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.cgerald2000-11-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37489 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>pme2000-11-152-0/+14
| | | | | | | * mkcheck.in: Add function size_command() for irix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37488 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplib.c (start_directive, end_directive): New functions.neil2000-11-154-59/+92
| | | | | | | | | | | | | (_cpp_handle_directive, run_directive): Use them. (_cpp_handle_directive): Don't -Wtraditional on indented null directives. (_cpp_push_buffer): Don't re-clear was_skipping. * cpplib.h (struct cpp_reader): New member la_saved. * cppmacro.c (cpp_get_token): Don't interpret _Pragma in directives. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37487 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/cpp/_Pragma1.c: Update.neil2000-11-153-9/+25
| | | | | | | * gcc.dg/cpp/_Pragma2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37486 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (wrapup_global_declarations): Don't write outmmitchel2000-11-154-14/+14
| | | | | | | | | | artificial static variables that aren't needed. * decl.c (wrapup_globals_for_namespace): Don't mark things TREE_ASM_WRITTEN when they're not. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37485 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-15 Toon Moene <toon@moene.indiv.nluug.nl>toon2000-11-154-7/+85
| | | | | | | | | | * libI77/configure.in: See if `mkstemp' is available. * libI77/configure: Regenerate. * libI77/open.c: Use `mkstemp' to create scratch file atomically. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37484 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannotgerald2000-11-152-8/+13
| | | | | | | be used in GCC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37483 138bc75d-0d04-0410-961f-82ee72b054a4
* Workaround for Itanium A/B step erratabernds2000-11-153-8/+159
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37482 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list ofjason2000-11-153-0/+10
| | | | | | | | machines for which fixincludes is not needed. * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37481 138bc75d-0d04-0410-961f-82ee72b054a4
* * diagnostic.c (finish_abort): New fn.jason2000-11-156-23/+51
| | | | | | | | | | | | (fancy_abort, error_recursion): Use it. * toplev.c (crash_signal): Likewise. * diagnostic.h: Declare it. * typeck2.c (friendly_abort): Uncount the error before handing off to fancy_abort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37480 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-13 Andrew Haley <aph@redhat.com>aph2000-11-154-3/+30
| | | | | | | | | | | * tree.c (build_type_no_quals): New function. * tree.h (build_type_no_quals): Declare. * c-common.c (c_get_alias_set): When considering type compatibility for pointer types, ignore cv-qualifiers anywhere in a pointer chain. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37479 138bc75d-0d04-0410-961f-82ee72b054a4
* cp/nathan2000-11-154-1/+26
| | | | | | | | | * typeck.c (lookup_anon_field): Cope with qv qualifiers. testsuite/ * g++.old-deja/g++.other/anon5.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37478 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct style of last entryhp2000-11-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37477 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct date and style of last entryhp2000-11-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37476 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus_dem.c: Add gnat demangler. Add java to demangle stylehp2000-11-152-0/+153
| | | | | | | list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37475 138bc75d-0d04-0410-961f-82ee72b054a4
* * demangle.h: Add gnat and java demangle styles.hp2000-11-152-2/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37474 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud