aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-08-19lexstrng.c: Don't include string.h.Zack Weinberg3-4/+6
* gcc.dg/cpp/lexstrng.c: Don't include string.h. * gcc.dg/cpp/paste2.c: Don't include string.h. Prototype strcmp. From-SVN: r35801
2000-08-19toplev.c (independent_decode_option): Always process -g.Zack Weinberg2-17/+11
* toplev.c (independent_decode_option): Always process -g. Remove third argument, now unused. Adjust caller to match. From-SVN: r35800
2000-08-18combine.c (make_compound_operation): Break after creating the extraction.Richard Henderson2-0/+6
* combine.c (make_compound_operation): Break after creating the extraction. From-SVN: r35799
2000-08-18cpplib.c (cpp_register_pragma_space): Just return if the namespace is ↵Zack Weinberg2-4/+8
already registered. * cpplib.c (cpp_register_pragma_space): Just return if the namespace is already registered. From-SVN: r35798
2000-08-18Only allow allow rotations by a constant amount.Ray Essick2-8/+23
Do not generate ROTL instruction. From-SVN: r35797
2000-08-18stor-layout.c (compute_record_type): Don't use mode of single field as mode ↵Richard Kenner2-4/+8
of record if not integer mode of same type. * stor-layout.c (compute_record_type): Don't use mode of single field as mode of record if not integer mode of same type. From-SVN: r35796
2000-08-18* gcc.c-torture/compile/20000818-1.c: New test.Richard Kenner1-0/+4
From-SVN: r35795
2000-08-18New testRichard Kenner1-0/+6
From-SVN: r35794
2000-08-18elf.h: Do not include sh/sh.h.Alexandre Oliva6-103/+116
* config/sh/elf.h: Do not include sh/sh.h. * config/sh/rtems.h: Likewise. * config/sh/rtemself.h: Do not include sh/elf.h. * configure.in: Get them included with `tm_file's. * configure: Rebuilt. From-SVN: r35793
2000-08-18sh.md (fpu_switch0, [...]): Simplify.Alexandre Oliva3-32/+17
* config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify. * config/sh/sh.c (fpscr_set_from_mem): Use them. From-SVN: r35792
2000-08-18regmove.c (perhaps_ends_bb_p): New function.Richard Kenner2-115/+76
* regmove.c (perhaps_ends_bb_p): New function. (optimize_reg_copy_1, optimize_reg_copy_2): Call it. (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise. (fixup_match_1): Likewise. (fixup_match_1, combine_stack_adjustments_for_block): Add casts to avoid signed/unsigned warnings. From-SVN: r35791
2000-08-18function.c (fixup_var_refs_1, case MEM): Update CODE after updating X.Richard Kenner2-0/+6
* function.c (fixup_var_refs_1, case MEM): Update CODE after updating X. From-SVN: r35790
2000-08-18cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.Neil Booth6-56/+69
* cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS. (_cpp_trigraph_map): Declaration moved from cpplex.c * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1 instead of 256. Use consistent test for designated initializers. (cpp_init): Initialize trigraph_map. (initialize_standard_includes, parse_option): Use memcmp instead of strncmp. * cpplex.c (init_trigraph_map): Remove. (trigraph_ok, trigraph_replace, lex_line): Refer to _cpp_trigraph_map. * cpplib.c (str_match, WARNING, ERROR, ICE): Delete. (do_unassert): Remove unused "next" local. * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype. From-SVN: r35789
2000-08-1820000818-1.c: New test.Manfred Hollstein2-0/+64
2000-08-18 Manfred Hollstein <manfredh@redhat.com> * gcc.c-torture/execute/20000818-1.c: New test. From-SVN: r35788
2000-08-18valarray_meta.h: Fix typos...Benjamin Kosnik2-3/+7
2000-08-18 Benjamin Kosnik <bkoz@gnu.org> * bits/valarray_meta.h: Fix typos... From-SVN: r35787
2000-08-18* gcc.dg/format-va-1.c: New test.Joseph Myers2-0/+17
From-SVN: r35786
2000-08-18valarray_meta.h (_Expr<>::shift, [...]): Implement.Gabriel Dos Reis2-4/+28
* bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift, _Expr<>::apply): Implement. From-SVN: r35785
2000-08-18decl.c (member_function_or_else): Use cp_error ...Nathan Sidwell3-11/+18
* decl.c (member_function_or_else): Use cp_error ... %T. (grokdeclarator): Likewise. (start_method): Likewise. * friend.c (make_friend_class): Use cp_pedwarn ... %T. From-SVN: r35784
2000-08-18valarray_meta.h (_Expr<>::min, [...]): Implement.Gabriel Dos Reis3-22/+52
* bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement. * bits/valarray_array.h (__valarray_min, __valarray_max): New function. From-SVN: r35783
2000-08-18editbuf.h (edit_streambuf): Fix syntax error in friend-declaration.Gabriel Dos Reis2-1/+6
* editbuf.h (edit_streambuf): Fix syntax error in friend-declaration. From-SVN: r35782
2000-08-18From Emmanuel Marty <emarty@suntech.fr>Emmanuel Marty2-0/+6
* arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return insn. From-SVN: r35781
2000-08-18* g++.old-deja/g++.other/typedef8.C: New test.Nathan Sidwell2-0/+30
From-SVN: r35780
2000-08-18decl2.c (grokfield): Set CLASSTYPE_GOT_SEMICOLON on class TYPE_DECLs.Nathan Sidwell2-0/+8
* decl2.c (grokfield): Set CLASSTYPE_GOT_SEMICOLON on class TYPE_DECLs. From-SVN: r35779
2000-08-1813478.C: Mark candidate.Nathan Sidwell7-4/+88
* g++.old-deja/g++.benjamin/13478.C: Mark candidate. * g++.old-deja/g++.mike/net36.C: Mark candidate. * g++.old-deja/g++.robertl/eb131.C: Mark candidate. * g++.old-deja/g++.oliva/overload1.C: Remove XFAIL. * g++.old-deja/g++.other/ptrmem7.C: New test. * g++.old-deja/g++.pt/ptrmem10.C: New test. From-SVN: r35778
2000-08-18cp-tree.h (PTRMEM_OK_P): New macro.Nathan Sidwell6-82/+105
* cp-tree.h (PTRMEM_OK_P): New macro. (itf_ptrmem_ok): New enumeration value. * class.c (resolve_address_of_overloaded_function): Add PTRMEM argument. Diagnose implicit pointer to member. (instantiate_type): Don't diagnose implicit pointer to member here. Pass itf_ptrmem_ok if ok. Adjust calls to resolve_address_of_overloaded_function. * init.c (build_offset_ref): Set PTRMEM_OK_P. (resolve_offset_ref): Don't diagnose implicit pointer to member here. * semantics.c (finish_parenthesized_expr): Clear OFFSET_REFs here. * typeck.c (build_x_unary_op): Calculate PTRMEM_OK_P. (build_unary_op): Deal with single non-static member in microsoft-land. From-SVN: r35777
2000-08-18* g++.old-deja/g++.pt/typename27.C: New test.Nathan Sidwell2-0/+25
From-SVN: r35776
2000-08-18* decl2.c (arg_assoc_type): Cope with TYPENAME_TYPE.Nathan Sidwell2-0/+6
From-SVN: r35775
2000-08-18cp-tree.h (enum_name_string): Remove prototype.Nathan Sidwell4-156/+51
* cp-tree.h (enum_name_string): Remove prototype. (report_case_error): Remove prototype. * cp/typeck2.c (enum_name_string): Remove. (report_case_error): Remove. * error.c (dump_expr): Deal with enum values directly. Correctly negate integer constant. From-SVN: r35774
2000-08-18Daily bump.Jeff Law5-5/+5
From-SVN: r35773
2000-08-17ia64.c (spill_restore_mem): Handle emitting the first insn in a sequence.Richard Henderson2-2/+13
* config/ia64/ia64.c (spill_restore_mem): Handle emitting the first insn in a sequence. From-SVN: r35772
2000-08-18alias.c (true_dependence, [...]): A read involving a label_ref or the ↵John Wehle3-5/+32
constant pool doesn't create a dependency. * alias.c (true_dependence, write_dependence_p): A read involving a label_ref or the constant pool doesn't create a dependency. * rtl.h (unchanging): Improve documentation. From-SVN: r35771
2000-08-17* cse.c (insert_regs): Remove unused `regno'.Rodney Brown2-2/+4
From-SVN: r35770
2000-08-17natClass.cc (finit_name): Initialized with `finit$'.Alexandre Petit-Bianco2-4/+21
2000-08-15 Alexandre Petit-Bianco <apbianco@cygnus.com> * java/lang/natClass.cc (finit_name): Initialized with `finit$'. (finit_leg_name): New global. (java::lang::Class::getDeclaredMethods): Test for `finit$' or `$finit$'. This is a backward compatibility hack. (java::lang::Class::_getMethods): Likewise. (http://sources.redhat.com/ml/java-discuss/2000-08/msg00031.html See also the matching compiler patch: http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00664.html) From-SVN: r35769
2000-08-17decl.c (finit_leg_identifier_node): New global.Alexandre Petit-Bianco4-5/+30
2000-08-15 Alexandre Petit-Bianco <apbianco@cygnus.com> * decl.c (finit_leg_identifier_node): New global. (init_decl_processing): Use `finit$' to initialize finit_identifier_node. Use `$finit$' to initialize finit_leg_identifier_node. * expr.c (expand_java_field_op): Use ID_FINIT_P. * java-tree.h (finit_identifier_node): Changed attached comment. (finit_leg_identifier_node): New declaration. (ID_FINIT_P): Take finit_identifier_node and finit_leg_identifier_node into account. This is a backward compatibility hack. (http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00664.html See also the matching Java run-time patch: http://sources.redhat.com/ml/java-discuss/2000-08/msg00031.html) From-SVN: r35768
2000-08-17localefwd.h (std::locale): Use explicit `class' specified when declaring ↵Mark Mitchell3-2/+8
friends. * bits/localefwd.h (std::locale): Use explicit `class' specified when declaring friends. * bits/std_fstream.h (std::basic_filebuf): Likewise. From-SVN: r35767
2000-08-17cppinit.c (merge_include_chains): Use remove_dup_dir, remove_dup_dirs.Neil Booth2-89/+76
* (cppinit.c) merge_include_chains: Use remove_dup_dir, remove_dup_dirs. If qtail == brack, remove brack not qtail. (remove_dup_dir, remove_dup_dirs): New functions. From-SVN: r35766
2000-08-17cppinit.c (cpp_cleanup): Free include dir chains.Neil Booth4-9/+30
* cppinit.c (cpp_cleanup): Free include dir chains. * cpplib.c (do_undef): Let _cpp_free_definition make the node void. (do_unassert): Free the assert with _cpp_free_definition. * cppmacro.c (_cpp_free_definition): Free memory allocated for assertions. Make the node a T_VOID node. From-SVN: r35765
2000-08-17cppinit.c (path_include, [...]): Remove 2nd parameter (struct cpp_pending *).Neil Booth2-40/+33
* cppinit.c (path_include, append_include_chain): Remove 2nd parameter (struct cpp_pending *). (path_include, initialize_standard_includes, cpp_handle_option): Update callers appropriately. (cpp_handle_option): Use pend. From-SVN: r35764
2000-08-17cppinit.c (sort_options): Remove, put functionality in cpp_init.Neil Booth4-25/+27
* cppinit.c (sort_options): Remove, put functionality in cpp_init. (cpp_init): New. (initialize_builtins): Free memory. (cpp_start_read): Move init_IStable to cpp_init. * cpplib.h (cpp_init): New prototype. * cppmain.c (main): Call cpp_init. From-SVN: r35763
2000-08-17rtlanal.c (rtx_unstable_p): Use CONSTANT_P.John Wehle2-5/+30
* rtlanal.c (rtx_unstable_p): Use CONSTANT_P. (rtx_unstable_p, rtx_varies_p): Process vectors. From-SVN: r35762
2000-08-17cxxabi.h (__cxa_vec_new2, [...]): Declare.Nathan Sidwell3-7/+135
* inc/cxxabi.h (__cxa_vec_new2, __cxa_vec_new3): Declare. (__cxa_vec_delete2, __cxa_vec_delete3): Declare. * vec.cc (__cxa_vec_new2, __cxa_vec_new3): Implement. (__cxa_vec_delete2, __cxa_vec_delete3): Implement. (__cxa_vec_new): Use __cxa_vec_new2. (__cxa_vec_delete): Use __cxa_vec_delete2. From-SVN: r35761
2000-08-17vec.cc (__cxa_vec_new): Set "C" linkage.Nathan Sidwell3-10/+23
* vec.cc (__cxa_vec_new): Set "C" linkage. (__cxa_vec_ctor): Likewise. (__cxa_vec_cctor): Likewise. (__cxa_vec_dtor): Likewise. (__cxa_vec_delete): Likewise. * inc/cxxabi.h (__cxa_vec_new): Set "C" linkage. (__cxa_vec_ctor): Likewise. (__cxa_vec_cctor): Likewise. (__cxa_vec_dtor): Likewise. (__cxa_vec_delete): Likewise. From-SVN: r35760
2000-08-17cvt.c (cp_convert_to_pointer): Pass itf_complain, not itf_no_attributes.Nathan Sidwell2-1/+4
* cvt.c (cp_convert_to_pointer): Pass itf_complain, not itf_no_attributes. From-SVN: r35759
2000-08-17class.c (instantiate_type): Reinstate local variable deleted in previous change.Nathan Sidwell2-1/+7
* class.c (instantiate_type): Reinstate local variable deleted in previous change. From-SVN: r35758
2000-08-17cp-tree.h (instantiate_type_flags): New enumeration.Nathan Sidwell7-26/+48
* cp-tree.h (instantiate_type_flags): New enumeration. (instantiate_type): Change parameter. * class.c (instantiate_type): Adjust prototype. Adjust. * call.c (standard_conversion): Adjust instantiate_type call. (reference_binding): Likewise. (build_op_delete_call): Likewise. (convert_like_real): Likewise. * cvt.c (cp_convert_to_pointer): Likewise. (convert_to_reference): Likewise. * pt.c (convert_nontype_argument): Likewise. * typeck.c (build_binary_op): Likewise. (build_ptrmemfunc): Likewise. (convert_for_assignment): Likewise. From-SVN: r35757
2000-08-17fix the fibs in previous entryNathan Sidwell1-2/+3
From-SVN: r35756
2000-08-17cp-tree.h (CPTR_AGGR_TAG): New global tree node.Nathan Sidwell6-11/+47
* cp-tree.h (CPTR_AGGR_TAG): New global tree node. (current_aggr): Define. * decl.c (grokdeclarator): Make sure a friend class is an elaborated type specifier. * parse.y (current_aggr): Remove static definition. (cp_parse_init): Adjust. (structsp): Clear and restore current_aggr. (component_decl_list): Clear current_aggr. * error.c (dump_type, case TYPENAME_TYPE): Don't emit the aggregate tag on the typename's context. * pt.c (tsubst_friend_class): Return NULL, if parms becomes NULL. (instantiate_class_template): Ignore NULL friend types. From-SVN: r35755
2000-08-17crash44.C: Remove XFAIL.Nathan Sidwell5-5/+40
* g++.old-deja/g++.pt/crash44.C: Remove XFAIL. Add ERROR. * g++.old-deja/g++.pt/friend38.C: Remove XFAIL. Add extra test. * g++.old-deja/g++.pt/friend45.C: New test. * g++.old-deja/g++.other/friend8.C: New test. From-SVN: r35754
2000-08-17Daily bump.Jeff Law5-5/+5
From-SVN: r35753
2000-08-16lib1funcs.asm (GLOBAL): Define.Niibe Yutaka2-139/+148
* config/sh/lib1funcs.asm (GLOBAL): Define. Use for all references to GLOBAL symbols. Use LOCAL where appropriate. From-SVN: r35752