- 23 Jul, 2002 23 commits
-
-
* cppexp.c (parse_defined): Mark macro used. * cpphash.h (struct cpp_macro): New member "used". (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New. (struct cpp_reader): New member. * cppinit.c (cpp_finish_options): Set first_unused_line. (cpp_finish): Warn of unused macros if requested. (OPT_TABLE): New switches. (cpp_handle_option): Handle them. * cpplib.c (do_undef): Warn if macro unused. (do_ifdef, do_ifndef): Mark macro used. * cpplib.h (struct cpp_options): New member. * cppmacro.c (_cpp_warn_if_unused_macro): New. (enter_macro_context): Mark macro used. (_cpp_create_definition): Mark macro unused; warn if unused when redefined. * cpptrad.c (scan_out_logcial_line, push_replacement_text): Mark macros used. * doc/cppopts.texi: Update. testsuite: * gcc.dg/cpp/trad/Wunused.c, gcc.dg/cpp/trad/Wunused.h, gcc.dg/cpp/Wunused.c, gcc.dg/cpp/Wunused.h: New tests. From-SVN: r55692
Neil Booth committed -
From-SVN: r55691
Neil Booth committed -
* dwarf2out.c (SECTION_ASM_OP, ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. * system.h (SECTION_ASM_OP): Poison. * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove. * config/alpha/alpha-interix.h, config/mips/linux.h (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. * config/mmix/mmix-protos.h, config/mmix/mmix.c (mmix_asm_output_define_label_difference_symbol): Remove. * config/mmix/mmix.h (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove. cp: * cp-tree.h (FILE_FUNCTION_PREFIX_LEN): Remove. From-SVN: r55690
Neil Booth committed -
* recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'. (constrain_operands): Likewise. * regclass.c (record_reg_classes): Likewise. * reload.c (find_reloads): Likewise. * doc/md.texi: Likewise. From-SVN: r55689
J"orn Rennecke committed -
* gcc.c-torture/execute/va-arg-15.x, va-arg-16.x, va-arg-17.x: Delete. From-SVN: r55688
Kaveh R. Ghazi committed -
gcc: * reload.c (find_reloads_toplev): Use simplify_gen_subreg. * simplify-rtx.c (simplify_subreg): When converting to a non-int mode, try to convert to an integer mode of matching size first. gcc/testsuite: * gcc.c-torture/compile/simd-4.c: New test. From-SVN: r55687
J"orn Rennecke committed -
* simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR from individual subregs, check that each subreg has been generated sucessfully. From-SVN: r55686
J"orn Rennecke committed -
* genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove. * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV, FOR_EACH_BB_IN_SBITMAP): Remove. * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove. * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY, LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove. * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN, PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove. * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove. From-SVN: r55685
Neil Booth committed -
2002-07-23 Gabriel Dos Reis <gdr@nerim.net> * pretty-print.h: New file. From-SVN: r55684
Gabriel Dos Reis committed -
* real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC. (LARGEST_EXPONENT_IS_NORMAL): Ditto. (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise). (TARGET_G_FLOAT): Default to 0 if not defined. (ieeetoe): New, common routine to convert target format floats to internal form. (e24toe, e53toe): Change to use ieeetoe, distinguish DEC vs. others. (e113toe): Change to use ieeetoe. (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for IBM. (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined. (e64toe): Remove special cases for DEC and IBM. Remove support for ARM_EXTENDED_IEEE_FORMAT. (e24toe): Remove special cases for DEC. (significand_size): Simplify. Indent. (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New. (etoieee, toieee): New. (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use etoieee and toieee for IEEE arithmetic. From-SVN: r55683
John David Anglin committed -
From-SVN: r55681
Mike Stump committed -
2002-07-23 Gabriel Dos Reis <gdr@nerim.net> * doc/extend.texi: Say ISO C90, not ISO C89. * doc/invoke.texi: Likewise. * doc/standards.texi: Likewise. From-SVN: r55680
Gabriel Dos Reis committed -
* gcc/explow.c (convert_memory_address): Fix conversion of CONSTs. Fix permutation of conversion and plus/mult. * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined. (expand_builtin_strncpy) Ditto. (expand_builtin_memset) Ditto. From-SVN: r55679
Steve Ellcey committed -
2002-07-21 Gabriel Dos Reis <gdr@nerim.net> Fix PR/7363: * c-common.c (c_sizeof_or_alignof_type): New function. (c_alignof): Remove definition. * c-common.h (c_sizeof, c_alignof): Define as macros. (c_sizeof_or_alignof_type): Declare. (my_friendly_assert): Moved from cp/cp-tree.h * c-typeck.c (c_sizeof): Remove definition. cp/ 2002-07-21 Gabriel Dos Reis <gdr@nerim.net> Fix PR/7363: * typeck.c (cxx_sizeof_or_alignof_type): New function. (c_sizeof): Remove definition. (expr_sizeof): Use cxx_sizeof. * decl2.c (build_expr_from_tree): Use cxx_sizeof_or_alignof_type. * decl.c (finish_destructor_body): Use cxx_sizeof. * semantics.c (finish_alignof): Likewise. (finish_alignof): Use cxx_alignof. * cp-tree.h (cxx_sizeof, cxx_alignof): New macros. (cxx_sizeof_or_alignof_type): Declare. (my_friendly_assert): Move to ../c-common.h. From-SVN: r55678
Gabriel Dos Reis committed -
2002-07-23 Jan Hubicka <jh@suse.cz> * gcse.c (try_replace_reg): Use num_changes_pending. * recog.c (num_changes_pending): New function. (validate_replace_src): Use validate_repalce_src_group. (validate_replace_src_group): New. * recog.h (validate_repalce_src_group): New. (num_changes_pending): Likewise. From-SVN: r55677
Jan Hubicka committed -
* calls.c (emit_library_call_value_1): If FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither libcall, const call nor pure call. From-SVN: r55676
J"orn Rennecke committed -
From-SVN: r55673
GCC Administrator committed -
From-SVN: r55668
Neil Booth committed -
From-SVN: r55667
Neil Booth committed -
From-SVN: r55666
Neil Booth committed -
* defaults.h (obstack_chunk_alloc, obstack_chunk_free): Default definition. * gcse.c: Don't define obstack_chunk_free. * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c, flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c, integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c, reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c: Don't define obstack macros. cp: * class.c, method.c, pt.c, search.c: Similarly. From-SVN: r55665
Neil Booth committed -
From-SVN: r55664
Tom Tromey committed -
From-SVN: r55663
Tom Tromey committed
-
- 22 Jul, 2002 17 commits
-
-
* gnu/java/security/provider/MD5.java: Extends MessageDigest, not MessageDigestSpi (fixes Classpath bug #783). From-SVN: r55661
Mark Wielaard committed -
* gnu/java/security/provider/Gnu.java: Reference all implementation classes by using Class.getName(). From-SVN: r55660
Mark Wielaard committed -
PR target/6744 * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace ASM_OPERANDS instructions. From-SVN: r55659
Stephane Carrez committed -
PR target/7361 * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept constant addresses only on 68HC12. From-SVN: r55658
Stephane Carrez committed -
* cppfiles.c (stack_include_file): Correct test of whether a dependency should be output. From-SVN: r55657
Neil Booth committed -
From-SVN: r55656
David Edelsohn committed -
* arm.md (movqi): If optimizing and we can create pseudos, use a ZERO_EXTEND to load from memory, then copy the result into the target. (movhi): Likewise, but only for ARMv4. From-SVN: r55655
Richard Earnshaw committed -
From-SVN: r55654
Neil Booth committed -
* config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS on big-endian targets. From-SVN: r55653
Richard Sandiford committed -
* hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE, HOST_WIDE_INT_PRINT_UNSIGNED_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE): New formatting macros. * ra-debug.c (dump_static_insn_cost): Avoid string concatenation. From-SVN: r55652
Kaveh R. Ghazi committed -
* rtlanal.c (subreg_regno_offset): Return correct offset for big endian paradoxical subregs. From-SVN: r55650
J"orn Rennecke committed -
PR c++/7347, c++/7348 * cp-tree.h (tsubst_flags_t): Add tf_parsing. * decl.c (make_typename_type): Use it. (make_unbound_class_template): Likewise. (lookup_name_real): Don't call type_access_control if scope is template parameter dependent. * parse.y (template_arg): Call make_unbound_class_template with tf_parsing set. (nest_name_specifier): Call make_typename_type with tf_parsing set. (typename_sub0): Likewise. (typename_sub1): Likewise. (instantiate_decl): Push class scope. * pt.c (regenerate_decl_from_template): Call pushclass and popclass for both static variable and member function template. (instantiate_decl) Call pushclass and popclass when tsubst'ing type and arguments. * search.c (type_access_control): Do type access for TEMPLATE_DECL too. * g++.dg/template/access4.C: New test. * g++.dg/template/access5.C: New test. * g++.old-deja/g++.pt/memtemp85.C: Fix access problem. * g++.old-deja/g++.pt/memtemp86.C: Likewise. * g++.old-deja/g++.pt/ttp58.C: Likewise. * g++.old-deja/g++.pt/memtemp89.C: Remove XFAIL. From-SVN: r55649
Kriang Lerdsuwanakij committed -
* optabs.c (expand_vector_unop): Don't expand using sub_optab if we got the wrong mode. From-SVN: r55648
J"orn Rennecke committed -
* hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define. * genrecog.c (write_switch, write_cond): Use it. * genemit.c (gen_exp): Likewise. From-SVN: r55647
J"orn Rennecke committed -
From-SVN: r55646
Jakub Jelinek committed -
c-decl.c (build_compound_literal): Defer compound literal decls until until file end to emit them only if... * c-decl.c (build_compound_literal): Defer compound literal decls until until file end to emit them only if they are actually used. * gcc.dg/gnu89-init-2.c: New test. From-SVN: r55645
Jakub Jelinek committed -
From-SVN: r55643
GCC Administrator committed
-