1. 14 Aug, 2003 4 commits
  2. 13 Aug, 2003 11 commits
  3. 12 Aug, 2003 24 commits
    • kcook's avatar
      2003-08-08 Kelley Cook <kelleycook@wideopenwest.com> · 8fea036f
      kcook authored
      	* configure.in (make_compare_target): Move test to ...
      	* aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here.
      	* configure: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70392 138bc75d-0d04-0410-961f-82ee72b054a4
      8fea036f
    • mmitchel's avatar
      PR c++/11703 · 8172be22
      mmitchel authored
      	* call.c (type_passed_as): Use TYPE_SIZE, not TYPE_PRECISION to
      	determine whether or not to promote types.
      	(convert_for_arg_passing): Likewise.
      	* decl2.c (cp_build_parm_decl): Do not set DECL_ARG_TYPE in
      	templates.
      	* pt.c (tsubst_decl): Do not expect it to be set.
      
      	PR c++/9512
      	PR c++/10923
      	* cp-tree.h (check_elaborated_type_specifier): Declare.
      	(handle_class_head): Remove.
      	(note_got_semicolon): Likewise.
      	(note_list_got_semicolon): Likewise.
      	(finish_class_definition): Likewise.
      	* decl.c (check_elaborated_type_specifier): Make it public.
      	Robustify.
      	(handle_class_head): Remove.
      	* parser.c (cp_parser_elaborated_type_specifier): Use
      	check_elaborated_type_specifier.
      	(cp_parser_class_specifier): Do not call finish_class_definition.
      	(cp_parser_class_head): Or handle_class_head.  Check for
      	over-qualified names.
      	* semantics.c (finish_class_definition): Remove.
      
      	* parser.c (cp_parser_check_for_definition_in_return_type): New
      	function.
      	(cp_parser_simple_declaration): Adjust call to
      	cp_parser_init_declarator.
      	(cp_parser_decl_specifier_seq): Change type of
      	declares_class_or_enum parameter.
      	(cp_parser_explicit_instantiation): Adjust accordingly.
      	(cp_parser_type_specifier): Change type of
      	declares_class_or_enum parameter.
      	(cp_parser_init_declarator): Add declares_class_or_enum
      	parameter.
      	(cp_parser_parameter_declaration): Adjust call to
      	cp_parser_decl_specifier_seq.
      	(cp_parser_function_definition): Likewise.
      	(cp_parser_member_declaration): Likewise.
      	(cp_parser_single_declaration): Likewise.
      
      	* cp-tree.h (lang_type_class): Remove has_call_overloaded,
      	has_array_ref_overloaded, has_arrow_overloaded, and got_semicolon.
      	(TYPE_OVERLOADS_CALL_EXPR): Remove.
      	(TYPE_OVERLOADS_ARRAY_REF): Likewise.
      	(TYPE_OVERLOADS_ARROW): Likewise.
      	(CLASSTYPE_GOT_SEMICOLON): Likewise.
      	* class.c (check_bases): Do not set them.
      	(finish_struct_1): Likewise.
      	* decl.c (cp_finish_decl): Do not set CLASSTYPE_GOT_SEMICOLON.
      	(build_ptrmemfunc_type): Likewise.
      	(grok_op_properties): Do not set TYPE_OVERLOADS_*.
      	(start_function): Do not check CLASSTYPE_GOT_SEMICOLON.
      	* decl2.c (grokfield): Do not set CLASSTYPE_GOT_SEMICOLON.
      	* lex.c (note_got_semicolon): Remove.
      	(note_list_got_semicolon): Likewise.
      	* parser.c (cp_parser_simple_declaration): Do not call
      	note_list_got_semicolon.
      	* pt.c (list_eq): Remove.
      	(lookup_template_class): Do not set CLASSTYPE_GOT_SEMICOLON.
      	(instantiate_class_template): Do not set TYPE_OVERLOADS*.
      	(instantiate_class_template): Do not set CLASSTYPE_GOT_SEMICOLON.
      	* ptree.c (cxx_print_type): Do not print them.
      	* semantics.c (finish_member_class_template): Do not call
      	note_list_got_semicolon.
      
      	* g++.dg/parse/ret-type2.C: New test.
      
      	PR c++/11703
      	* g++.dg/init/new8.C: New test.
      
      	PR c++/10923
      	* g++.dg/parse/typedef5.C: New test.
      
      	PR c++/9512
      	* g++.dg/parse/qualified2.C: New test.
      	* g++.old-deja/g++.other/decl5.C: Mark one more instance of
      	invalid code.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70391 138bc75d-0d04-0410-961f-82ee72b054a4
      8172be22
    • tromey's avatar
      * gij.cc (main): Handle -? and -X. · b87220f6
      tromey authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70390 138bc75d-0d04-0410-961f-82ee72b054a4
      b87220f6
    • rsandifo's avatar
      * config/mips/iris6.h: Convert to C90 prototypes. · f05dc279
      rsandifo authored
      	* config/mips/irix6-libc-compat.c: Likewise.
      	* config/mips/mips-protos.h: Likewise.
      	* config/mips/mips.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70389 138bc75d-0d04-0410-961f-82ee72b054a4
      f05dc279
    • tromey's avatar
      * parse.y (java_check_regular_methods): Typo fixes. Call · af74ab68
      tromey authored
      	check_interface_throws_clauses.  Use
      	check_concrete_throws_clauses.
      	(check_interface_throws_clauses): New function.
      	(check_concrete_throws_clauses): New function.
      	(hack_is_accessible_p): New function.
      	(find_most_specific_methods_list): Added FIXME.
      	* typeck.c (lookup_do): Use `flags' argument to decide what to
      	do.  Reimplemented.
      	(lookup_argument_method_generic): New function.
      	(lookup_argument_method2): Removed.
      	* jcf.h (ACC_INVISIBLE): New define.
      	* jcf-write.c (generate_classfile): Skip invisible methods.
      	* class.c (add_miranda_methods): New function.
      	(layout_class_methods): Use it.
      	(get_access_flags_from_decl): Use ACC_INVISIBLE.
      	* java-tree.h (METHOD_INVISIBLE): New define.
      	(lang_decl_func) [invisible]: New field.
      	(lookup_argument_method_generic): Declare.
      	(SEARCH_INTERFACE): New define.
      	(SEARCH_SUPER): Likewise.
      	(SEARCH_ONLY_INTERFACE): Likewise.
      	(SEARCH_VISIBLE): Likewise.
      	(lookup_argument_method2): Removed declaration.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70388 138bc75d-0d04-0410-961f-82ee72b054a4
      af74ab68
    • tromey's avatar
      * libjava.jacks/jacks.xfail: Updated to account for new passes. · e50c12fc
      tromey authored
      	* libjava.compile/abstr.xfail: Now can compile from bytecode.
      	* libjava.compile/PR5641.xfail: Now can compile from bytecode.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70387 138bc75d-0d04-0410-961f-82ee72b054a4
      e50c12fc
    • fitzsim's avatar
      2003-08-10 Jeroen Frijters <jeroen@frijters.net> · 3b552f81
      fitzsim authored
      	* java/awt/Container.java
      	(getPreferredSize): Call preferredSize.
      	(preferredSize): Moved body of getPreferredSize here.
      	(getMinimumSize): Call minimumSize.
      	(minimumSize): Moved body of getMinimumSize here.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70386 138bc75d-0d04-0410-961f-82ee72b054a4
      3b552f81
    • tromey's avatar
      * libjava.mauve/mauve.exp (test_mauve_sim): Don't find · 7af7da2f
      tromey authored
      	DejaGNUTestHarness in gnu/testlet.
      	(test_mauve): Use correct object extension.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70381 138bc75d-0d04-0410-961f-82ee72b054a4
      7af7da2f
    • tromey's avatar
      * lib/libjava.exp (libjava_find_lib): Search for .so file first. · 09d9700a
      tromey authored
      	(libjava_arguments): Don't add libraries to link line explictly.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70379 138bc75d-0d04-0410-961f-82ee72b054a4
      09d9700a
    • aldyh's avatar
      2003-08-11 Aldy Hernandez <aldyh@redhat.com> · 77ff9859
      aldyh authored
              * cp/call.c (standard_conversion): Opaque pointers interconvert.
      
              * testsuite/g++.dg/other/opaque-3.C: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70371 138bc75d-0d04-0410-961f-82ee72b054a4
      77ff9859
    • redi's avatar
      2003-08-11 John Levon <levon@movementarian.org> · 9f815d0e
      redi authored
      	* docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
      	remaining places for the name change from GLIBCPP_FORCE_NEW
      	to GLIBCXX_FORCE_NEW
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70363 138bc75d-0d04-0410-961f-82ee72b054a4
      9f815d0e
    • neroden's avatar
      fixinc/inclhack.def (svr4_krnl): Rename from svr4_kernel. Enable · 4037751e
      neroden authored
      	for selected machines.  Comment heavily.
      	fixinc/fixincl.x: Rebuild.
      	fixinc/tests/base/fs/rfs/rf_cache.h: New file.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70362 138bc75d-0d04-0410-961f-82ee72b054a4
      4037751e
    • neroden's avatar
      * cp-demangle.c: Clarify what package(s) this is part of. · 484e4040
      neroden authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70361 138bc75d-0d04-0410-961f-82ee72b054a4
      484e4040
    • rsandifo's avatar
      * config/mips/mips.h: Tweak various comments. · 933d6ec0
      rsandifo authored
      	* config/mips/mips.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70360 138bc75d-0d04-0410-961f-82ee72b054a4
      933d6ec0
    • wilson's avatar
      PR optimization/11319 · 1c5cb56c
      wilson authored
      PR target/10021
      * alias.c (find_base_value, case REG): Return 0 not src if no base
      found.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70359 138bc75d-0d04-0410-961f-82ee72b054a4
      1c5cb56c
    • bkoz's avatar
      · 5a73ac23
      bkoz authored
      2003-08-11  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/basic_ios.h: Remove *_iter typedefs, change num*
      	typedefs to num_*.
      	* include/bits/basic_ios.tcc: Same.
      	* include/bits/istream.tcc: Same.
      	* include/bits/locale_facets.h: Same.
      	* include/bits/ostream.tcc: Same.
      	* include/std/std_istream.h: Same.
      	* include/std/std_ostream.h: Same.
      	* testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
      
      	* include/ext/rope: Remove build warning.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70357 138bc75d-0d04-0410-961f-82ee72b054a4
      5a73ac23
    • ghazi's avatar
      * gcse.c (gmalloc): Fix last change. · a41493eb
      ghazi authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70352 138bc75d-0d04-0410-961f-82ee72b054a4
      a41493eb
    • sayle's avatar
      · fabd534f
      sayle authored
      	* simplify-rtx.c (simplify_binary_operation): Replace calls to
      	gen_rtx_NEG and gen_rtx_NOT with calls to simplify_gen_unary,
      	and calls to gen_rtx_PLUS, gen_rtx_MULT, gen_rtx_LSHIFTRT,
      	gen_rtx_ASHIFT and gen_rtx_AND with calls to simplify_gen_binary.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70350 138bc75d-0d04-0410-961f-82ee72b054a4
      fabd534f
    • sayle's avatar
      · 71d5a758
      sayle authored
      	* expr.c (expand_expr): If an ABS_EXPR has a complex type, abort.
      	* c-typeck.c (build_unary_op): COMPLEX_TYPE is not a valid
      	typecode for an ABS_EXPR.
      
      	* doc/c-tree.texi: Document ABS_EXPR.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70349 138bc75d-0d04-0410-961f-82ee72b054a4
      71d5a758
    • sayle's avatar
      · c9192f9a
      sayle authored
      	* fold-const.c (fold): Optimize any associative floating point
      	operator with -funsafe-math-optimizations, not just MULT_EXPR.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70348 138bc75d-0d04-0410-961f-82ee72b054a4
      c9192f9a
    • kkojima's avatar
      * config/sh/lib1funcs.asm (__udivdi3): Add .type and .size · 619f47f5
      kkojima authored
      	information in SHmedia case too.
      	(__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate):
      	Likewise.
      	(__set_fpscr): Use an access via GOT for PIC case.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70347 138bc75d-0d04-0410-961f-82ee72b054a4
      619f47f5
    • kcook's avatar
      * configure.in (intermodule): Make switch test more portable. · 9285d7bb
      kcook authored
      * configure: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70346 138bc75d-0d04-0410-961f-82ee72b054a4
      9285d7bb
    • kcook's avatar
      * Makefile.in (cleanstrap): Pass BOOT_CFLAGS to bootstrap. · 340cf541
      kcook authored
      (restrap): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70345 138bc75d-0d04-0410-961f-82ee72b054a4
      340cf541
    • gccadmin's avatar
      Daily bump. · 6aa464af
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70343 138bc75d-0d04-0410-961f-82ee72b054a4
      6aa464af
  4. 11 Aug, 2003 1 commit