aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-10-18gjavah.c (add_class_decl): Removed unused variables `tname', `tlen' and ↵Alexandre Petit-Bianco6-69/+152
`name_index'. 2000-10-18 Alexandre Petit-Bianco <apbianco@cygnus.com> * gjavah.c (add_class_decl): Removed unused variables `tname', `tlen' and `name_index'. * java-tree.h (BUILD_FILENAME_IDENTIFIER_NODE): New macro. * jcf-parse.c (jcf_parse_source): Use it and set EXPR_WFL_FILENAME in `wfl_operator' with value. (yyparse): Use BUILD_FILENAME_IDENTIFIER_NODE. (jcf_figure_file_type): Fixed identation. * lex.c (java_get_line_col): Use EOF. Tuned `^' placement. * parse.y (analyze_clinit_body): New function. (static_initializer:): Reset `current_static_block'. (java_parser_context_restore_global): Set EXPR_WFL_FIILENAME_NODE in `wfl_operator' with new value. (lookup_cl): Use EXPR_WFL_FILENAME. (maybe_yank_clinit): Handle bogus <clinit> bodies, call analyze_clinit_body. (build_outer_field_access): Access to this$<n> built from current_class, not its outer context. (build_access_to_thisn): Fixed leading comment. Tidied things up. (resolve_qualified_expression_name): Handle `T.this' and `T.this.f()'. (patch_method_invocation): Use `is_static_flag' when already initialized. (patch_newarray): Removed assignment in ternary operator. (http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00629.html) From-SVN: r36946
2000-10-18Makefile.am (exception): Change exception.cc to exception_support.cc.Benjamin Kosnik1-0/+403
2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * libsupc++/Makefile.am (exception): Change exception.cc to exception_support.cc. (CXXLINK): Remove bogus --tag CC. * libsupc++/Makefile.in: Regenerate. * libsupc++/exception.cc: Move to... * libsupc++/exception_support.cc: ...here. * src/Makefile.am: Remove bogus --tag CC. * src/Makefile.in: Regenerate. * include/bits/locale_facets.tcc (use_facet): Simplify. * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct use_facet declaration. Replace 'const ctype<T>' with ctype<T>. (use_facet<ctype<wchar_t> >): Same. * src/locale-inst.cc: Remove explicit instantiation. * src/locale.cc: Correct signature here too. (_Bad_use_facet::what()): Correct error string. * include/bits/localefwd.h: Correct comment. * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++. From-SVN: r36945
2000-10-18libio.h (_IO_USER_LOCK): Define.Chip Salzenberg2-0/+5
2000-10-18 Chip Salzenberg <chip@valinux.com> * libio/libio.h (_IO_USER_LOCK): Define. From-SVN: r36944
2000-10-18Makefile.am (exception): Change exception.cc to exception_support.cc.Benjamin Kosnik12-429/+49
2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * libsupc++/Makefile.am (exception): Change exception.cc to exception_support.cc. (CXXLINK): Remove bogus --tag CC. * libsupc++/Makefile.in: Regenerate. * libsupc++/exception.cc: Move to... * libsupc++/exception_support.cc: ...here. * src/Makefile.am: Remove bogus --tag CC. * src/Makefile.in: Regenerate. * include/bits/locale_facets.tcc (use_facet): Simplify. * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct use_facet declaration. Replace 'const ctype<T>' with ctype<T>. (use_facet<ctype<wchar_t> >): Same. * src/locale-inst.cc: Remove explicit instantiation. * src/locale.cc: Correct signature here too. (_Bad_use_facet::what()): Correct error string. * include/bits/localefwd.h: Correct comment. * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++. From-SVN: r36943
2000-10-18Adding new option -ftrapv.Chandrakala Chavva13-90/+461
From-SVN: r36942
2000-10-18t-netware: Bring in from the Red Hat tree.Geoff Keating7-271/+214
2000-10-18 Geoffrey Keating <geoffk@cygnus.com> David V. Henkel-Wallace <gumby@cygnus.com> * config/i386/t-netware: Bring in from the Red Hat tree. * config/i386/netware.h: Likewise. * config/netware.h: Likewise. * config/rs6000/netware.h: Delete. * configure.in: Add i[34567]86-*-netware. * configure: Hand-edit to match configure.in change. Co-Authored-By: David V. Henkel-Wallace <gumby@cygnus.com> From-SVN: r36941
2000-10-18c-common.h (flag_no_builtin): Declare.Mark Mitchell12-83/+135
* c-common.h (flag_no_builtin): Declare. (flag_no_nonansi_builtin): Likewise. (c_common_nodes_and_builtins): Change prototype. * c-common.c (flag_no_builtin): New variable. (flag_no_nonansi_builtin): Likewise. (c_common_nodes_and_builtins): Remove parameters. Adjust accordingly. * c-decl.c (flag_no_builtin): Remove. (flag_no_nonansi_builtin): Likewise. (init_decl_processing): Adjust call to c_common_nodes_and_builtins. * cp-tree.h (cp_tree_index): Add CPTI_FAKE_STD. (fake_std_node): New macro. * decl.c (in_std): Rename to ... (in_fake_std): ... this. (flag_no_builtin): Remove. (flag_no_nonansi_builtin): Likewise. (walk_namespaces_r): Use fake_std_node. (push_namespace): Use std_identifier. (pop_namespace): Use in_fake_std. (lookup_name_real): Use fake_std_node. (init_decl_processing): When -fhonor-std, create the `std' namespace. Don't create a dummy fake_std_node in that case. Adjust call to c_common_nodes_and_builtins. Use std_identifier. (builtin_function): Put builtins whose names don't begin with `_' in the std namespace. * decl2.c (flag_no_builtin): Remove. (flag_no_nonansi_builtin): Likewise. (set_decl_namespace): Use fake_std_node. (validate_nonmember_using_decl): Likewise. (do_using_directive): Likewise. (handle_class_head): Likewise. * dump.c (dequeue_and_dump): Likewise. * except.c (init_exception_processing): Use std_identifier. * init.c (build_member_call): Use fake_std_node. * rtti.c (init_rtti_processing): Use std_identifier. From-SVN: r36940
2000-10-18tm.texi (LIBGCC_SPEC): Synch with reality.Marc Espie2-2/+5
2000-10-18 Marc Espie <espie@openbsd.org> * tm.texi (LIBGCC_SPEC): Synch with reality. From-SVN: r36939
2000-10-18Rectify missing entry.Marc Espie1-0/+5
From-SVN: r36938
2000-10-18iostream.cc (ends): Release the acquired lock.Jakub Jelinek2-2/+17
* iostream.cc (ends): Release the acquired lock. (endl): Likewise. From-SVN: r36937
2000-10-18c-common.c (check_format_types): Check for writing through a NULL pointer ↵Joseph Myers5-1/+22
argument. * c-common.c (check_format_types): Check for writing through a NULL pointer argument. testsuite: * gcc.dg/c90-printf-1.c, gcc.dg/c90-scanf-1.c: Add tests for writing through null pointers; remove comment about testing unterminated strings. From-SVN: r36936
2000-10-18tm.texi (Exception Region Output): Document DWARF_CIE_DATA_ALIGNMENT.Hans-Peter Nilsson3-0/+32
* tm.texi (Exception Region Output): Document DWARF_CIE_DATA_ALIGNMENT. * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in #ifndef. [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of DWARF_CIE_DATA_ALIGNMENT. From-SVN: r36935
2000-10-18basic-block.h (struct loop): Delete fields pre_header_root and ↵Michael Hayes3-23/+44
pre_header_trace and replace with... * basic-block.h (struct loop): Delete fields pre_header_root and pre_header_trace and replace with pre_header_edges and num_pre_header_edges. * flow.c (flow_loop_dump): Dump pre_header_edges. (flow_loops_free): Free pre_header_edges. (flow_loop_pre_header_scan): Calculate pre_header_edges. From-SVN: r36934
2000-10-18contrib.texi: Update references to steering committee members and Jeff Law's ↵Gerald Pfeifer2-24/+34
entry. * contrib.texi: Update references to steering committee members and Jeff Law's entry. From-SVN: r36933
2000-10-18Daily bump.Jeff Law5-5/+5
From-SVN: r36932
2000-10-18c-common.c (CPLUSPLUS_STD_VER, [...]): Define.Joseph Myers2-36/+44
* c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define. (maybe_read_dollar_number, check_format_info_main): Use them for pedantic warning messages. From-SVN: r36931
2000-10-18h8300.c: Fix a comment typo.Kazu Hirata2-63/+93
2000-10-18 Kazu Hirata <kazu@hxi.com> * h8300.c: Fix a comment typo. (round_frame_size): New. (compute_saved_regs): Likewise. (push): Likewise. (pop): Likewise. (push_order): Remove. (pop_order): Likewise. (function_prologue): Rearrange code for readability. (function_epilogue): Likewise. From-SVN: r36930
2000-10-18c-common.c (check_format_info_main): Minor cleanup...Joseph Myers2-36/+37
* c-common.c (check_format_info_main): Minor cleanup: move variables into inner scopes; initialize declarations where appropriate; don't hardcode "scanf" name on warning for zero width. From-SVN: r36929
2000-10-18c-common.c (back_end_hook): New variable.Mark Mitchell9-17/+40
* c-common.c (back_end_hook): New variable. * c-common.h (back_end_hook): Declare it. * c-lang.c (finish_file): Use it. * emit-rtl.c (init_emit_once): Initialize the const_int_htab earlier. * cp-tree.h (back_end_hook): Remove declaration. * decl2.c (back_end_hook): Remove definition. * dump.c (dequeue_and_dump): Dump TREE_USED. From-SVN: r36928
2000-10-18i386.c (ix86_comparison_operator, [...]): Handle CCRCmode.Jan Hubicka4-67/+146
* i386.c (ix86_comparison_operator, put_condition_code, ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode. (ix86_expand_strlensi_unroll_1): Use CCRCmode. * i386.h (EXTRA_CC_MODES): Add CCRCmode. * i386.md (adddi and negdi splitter): Use CCRCmode. (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands (subsi3_carry): add '*' (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New. (cmp to add peep2): Use CCRCmode; swap operands. From-SVN: r36927
2000-10-18reorg.c: Fix formatting.Kazu Hirata2-94/+92
2000-10-18 Kazu Hirata <kazu@hxi.com> * reorg.c: Fix formatting. From-SVN: r36926
2000-10-18h8300.md: Remove an unnecessary sign_extend expander that is used when not ↵Kazu Hirata2-23/+11
optimizing. 2000-10-18 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.md: Remove an unnecessary sign_extend expander that is used when not optimizing. Output a tab after each assembly insns. From-SVN: r36925
2000-10-17* gcc.c-torture/execute/20001017-2.c: New test.Matthew Hiller2-0/+21
From-SVN: r36924
2000-10-17reload1.c (move2add_note_store): Check for simple auto-inc in destination.Joern Rennecke2-0/+19
* reload1.c (move2add_note_store): Check for simple auto-inc in destination. From-SVN: r36923
2000-10-17i386-aout.h: define INT_ASM_OP.Michael Chastain2-0/+6
2000-09-26 Michael Chastain <chastain@redhat.com> * config/i386/i386-aout.h: define INT_ASM_OP. From-SVN: r36922
2000-10-17* spew.c (snarf_defarg): Cast 2nd arg to obstack_blank to (int).Brad Lucier2-1/+5
From-SVN: r36921
2000-10-17* pa.c (print_operand): Handle case 'c' for .vtable_inheritAlan Modra2-0/+9
From-SVN: r36920
2000-10-17* testsuite/27_io/istream_seeks.cc: Fix spelling typo. * ↵Martin Buchholz3-6/+11
testsuite/27_io/ostream_seeks.cc: Similarly. From-SVN: r36919
2000-10-17* i370.md: Fix spelling typo.Martin Buchholz2-1/+5
From-SVN: r36918
2000-10-1820001018-1.c: New test.Joseph Myers3-0/+17
* gcc.c-torture/compile/20001018-1.c: New test. * gcc.c-torture/compile/20001018-1.x: Xfail. From-SVN: r36917
2000-10-17* ChangeLog: Remove CVS conflict marker, fix typos.Franz Sirl1-3/+2
From-SVN: r36916
2000-10-17except.c (free_eh_ranges): Don't free `whole_range.'Alexandre Petit-Bianco2-1/+6
2000-10-17 Alexandre Petit-Bianco <apbianco@cygnus.com> * except.c (free_eh_ranges): Don't free `whole_range.' (http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00557.html) From-SVN: r36915
2000-10-17function.c (locate_and_pad_parm): Don't align stack unconditionally.Franz Sirl7-49/+78
2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * function.c (locate_and_pad_parm): Don't align stack unconditionally. Fixes execute/20001017-1.c on pwerpc-linux-gnu. * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only. * rs6000/rs6000.c (rs6000_hash_constant): use X0INT to access a LABEL_REF. * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS, ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from here... * rs6000/aix.h: ...to here. * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style. From-SVN: r36914
2000-10-1720001017-1.c: New test.Franz Sirl2-0/+21
2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20001017-1.c: New test. From-SVN: r36913
2000-10-17alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.Jakub Jelinek3-35/+19
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed. * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make sure linker can relax even the delay slot mov %g1,%o7, fix output formating. From-SVN: r36912
2000-10-17h8300.md: Remove an unnecessary zero_extend expander that is used when not ↵Kazu Hirata2-20/+8
optimizing. 2000-10-17 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.md: Remove an unnecessary zero_extend expander that is used when not optimizing. Output a tab after each assembly insns. From-SVN: r36911
2000-10-17Added new option --target-help.Chandrakala Chavva3-5/+35
From-SVN: r36910
2000-10-17i386.md (testqi_1): Add missing operand prefix for operand 0.Graham Stott1-0/+6
* config/i386/i386.md (testqi_1): Add missing operand prefix for operand 0. * config/i386/i386-protos.h: Add missing prototype. From-SVN: r36909
2000-10-17* i386.md (testqi_1): Add missing operand prefix for operand 0.Graham Stott1-1/+1
From-SVN: r36908
2000-10-17* i386-protos.h: Add missing prototype.Graham Stott1-0/+1
From-SVN: r36907
2000-10-17unix.h (ASM_OUTPUT_MI_THUNK): Symbol _GLOBAL_OFFSET_TABLE should not have a ↵Diego Novillo2-1/+7
$ prefix when using -mintel-syntax. 2000-10-17 Diego Novillo <dnovillo@cygnus.com> * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol _GLOBAL_OFFSET_TABLE should not have a $ prefix when using -mintel-syntax. From-SVN: r36906
2000-10-17c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.Joseph Myers4-16/+45
* c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define. (format_types): Use it for printf. (maybe_read_dollar_number): Add parameter for the kind of format involved. Warn for multiple use for arguments if this is inappropriate for the kind of format involved. (check_format_info_main): Update calls to maybe_read_dollar_number. testsuite: * gcc.dg/format-xopen-1.c: Update comments; adjust for checking for multiple use of arguments with scanf formats; add tests for multiple use of arguments. From-SVN: r36905
2000-10-17inclhack.def (hpux_maxint): Also apply fix to values.h.J. David Anglin3-1/+8
* inclhack.def (hpux_maxint): Also apply fix to values.h. * fixincl.x: Rebuilt. From-SVN: r36904
2000-10-17genrecog.c (write_switch): Return the first condition that needs a label.Alexandre Oliva2-2/+17
* genrecog.c (write_switch): Return the first condition that needs a label. From-SVN: r36903
2000-10-17via Alexandre Oliva <aoliva@redhat.com>Benjamin Kosnik12-1125/+1103
2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com> via Alexandre Oliva <aoliva@redhat.com> * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments. * libsupc++/Makefile.in: Regenerate. * src/Makefile.am: Duplicate code. * src/Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out. * aclocal.m4: Regenerate. * configure.in: And here. * configure: Regenerate. * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable test for SECTION_LDFLAGS. From-SVN: r36902
2000-10-17Improved sequence point warningsBernd Schmidt8-141/+306
From-SVN: r36901
2000-10-17Shadow headers would work if libsupc++ was strict about namespaces.Benjamin Kosnik10-46/+62
2000-10-16 Benjamin Kosnik <bkoz@gnu.org> Shadow headers would work if libsupc++ was strict about namespaces. This only possible if g++ maps std::size_t -> size_t. (Hint hint.) * include/c_std/assert.h: Add guards. * include/c_std/bits/std_climits.h: Correct typo. * include/c_std/ctype.h: Remove #error. * libio/libioP.h: Break up extern "C" bits around includes. * libio/libio.h: Only include C headers, or else _C_legacy namespaces will be nested. * libio/libioP.h: Same here. From-SVN: r36900
2000-10-17Daily bump.Jeff Law5-5/+5
From-SVN: r36899
2000-10-17decl.c (WINT_TYPE): Define.Joseph Myers2-2/+18
* decl.c (WINT_TYPE): Define. (init_decl_processing): Create types unsigned_ptrdiff_type_node, c_size_type_node, signed_size_type_node and wint_type_node. From-SVN: r36898
2000-10-17c-common.h (warn_missing_format_attribute): New variable.Joseph Myers10-1/+113
* c-common.h (warn_missing_format_attribute): New variable. * c-decl.c (warn_missing_format_attribute): New variable. (c_decode_option): Decode -Wmissing-format-attribute and -Wno-missing-format-attribute. * c-common.c (check_function_format): If -Wmissing-format-attribute, give a warning where a vprintf or vscanf function is called by a function without its own printf or scanf attribute. * toplev.c (documented_lang_options): Add -Wmissing-format-attribute. * invoke.texi: Document -Wmissing-format-attribute. cp: * decl2.c (warn_missing_format_attribute): New variable. (lang_decode_option): Decode -Wmissing-format-attribute. testsuite: * gcc.dg/format-miss-1.c: New test. From-SVN: r36897