Mike Stump
b5dec7da32
Update email address for self.
...
From-SVN: r55681
2002-07-23 16:29:37 +00:00
Gabriel Dos Reis
3764f879a7
extend.texi: Say ISO C90, not ISO C89.
...
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
2002-07-23 15:52:02 +00:00
Steve Ellcey
aa0f70e672
explow.c (convert_memory_address): Fix conversion of CONSTs.
...
* 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
2002-07-23 14:58:04 +00:00
Gabriel Dos Reis
fa72b06489
Fix PR/7363:
...
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
2002-07-23 13:54:06 +00:00
Jan Hubicka
2b773ee2c1
gcse.c (try_replace_reg): Use num_changes_pending.
...
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
2002-07-23 12:08:10 +00:00
J"orn Rennecke
a0dc500c86
calls.c (emit_library_call_value_1): If FUNCTION_ARG_PASS_BY_REFERENCE is true...
...
* 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
2002-07-23 12:18:10 +01:00
GCC Administrator
1e7a2d3fd5
Daily bump.
...
From-SVN: r55673
2002-07-23 07:17:57 +00:00
Neil Booth
d22eda7b9a
* config/m88k/m88k.h (SECTION_ASM_OP): Remove.
...
From-SVN: r55668
2002-07-23 06:29:28 +00:00
Neil Booth
b5e66e65f2
* vmsdbgout.c (SECTION_ASM_OP): Remove.
...
From-SVN: r55667
2002-07-23 06:28:08 +00:00
Neil Booth
c3a600c0b7
* config/i386/i386.c (AT_BP): Remove.
...
From-SVN: r55666
2002-07-23 06:26:28 +00:00
Neil Booth
4fa31c2aae
defaults.h (obstack_chunk_alloc, [...]): Default definition.
...
* 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
2002-07-23 06:22:05 +00:00
Tom Tromey
e75abdabb2
* lex.c (java_lex): Check for e' or
E' after 0.
...
From-SVN: r55664
2002-07-23 03:20:27 +00:00
Tom Tromey
9cc37f69d2
* libjava.compile/zeroexp.java: New file.
...
From-SVN: r55663
2002-07-23 03:15:02 +00:00
Mark Wielaard
f922660b69
MD5.java: Extends MessageDigest, not MessageDigestSpi (fixes Classpath bug #783 ).
...
* gnu/java/security/provider/MD5.java: Extends MessageDigest, not
MessageDigestSpi (fixes Classpath bug #783 ).
From-SVN: r55661
2002-07-22 23:50:13 +00:00
Mark Wielaard
31ee1b0e93
Gnu.java: Reference all implementation classes by using Class.getName().
...
* gnu/java/security/provider/Gnu.java: Reference all implementation
classes by using Class.getName().
From-SVN: r55660
2002-07-22 23:36:56 +00:00
Stephane Carrez
fd576c8644
re PR target/6744 (Generates ASM containing reference to pseudo register z)
...
PR target/6744
* config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
ASM_OPERANDS instructions.
From-SVN: r55659
2002-07-22 23:08:41 +02:00
Stephane Carrez
b791ff313e
re PR target/7361 (Internal compiler error in reload_cse_simplify_operands, at reload1.c:8387)
...
PR target/7361
* config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
constant addresses only on 68HC12.
From-SVN: r55658
2002-07-22 23:04:11 +02:00
Neil Booth
4a94111573
cppfiles.c (stack_include_file): Correct test of whether a dependency should be output.
...
* cppfiles.c (stack_include_file): Correct test of whether
a dependency should be output.
From-SVN: r55657
2002-07-22 20:08:29 +00:00
David Edelsohn
7488cc6d69
* collect2.c (is_ctor_dtor): Add other possible JOINER values.
...
From-SVN: r55656
2002-07-22 15:31:37 -04:00
Richard Earnshaw
b41caf7c04
arm.md (movqi): If optimizing and we can create pseudos...
...
* 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
2002-07-22 17:41:27 +00:00
Neil Booth
492e99345f
* ssa-ccp.c (PHI_PARMS): Remove.
...
From-SVN: r55654
2002-07-22 17:31:42 +00:00
Richard Sandiford
f01f01a6dd
mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS on big-endian targets.
...
* config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
on big-endian targets.
From-SVN: r55653
2002-07-22 17:25:05 +00:00
Kaveh R. Ghazi
c2ae8aef4e
hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE, [...]): New formatting macros.
...
* 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
2002-07-22 17:11:57 +00:00
J"orn Rennecke
eab2120d5e
rtlanal.c (subreg_regno_offset): Return correct offset for big endian paradoxical subregs.
...
* rtlanal.c (subreg_regno_offset): Return correct offset for
big endian paradoxical subregs.
From-SVN: r55650
2002-07-22 15:29:28 +01:00
Kriang Lerdsuwanakij
0e902d98ae
PR c++/7347, c++/7348
...
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
2002-07-22 14:23:37 +00:00
J"orn Rennecke
0d541696aa
optabs.c (expand_vector_unop): Don't expand using sub_optab if we got the wrong mode.
...
* optabs.c (expand_vector_unop): Don't expand using sub_optab
if we got the wrong mode.
From-SVN: r55648
2002-07-22 15:22:58 +01:00
J"orn Rennecke
bb9b380534
hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
...
* 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
2002-07-22 15:20:20 +01:00
Jakub Jelinek
e96eb21529
* c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
...
From-SVN: r55646
2002-07-22 12:15:49 +02:00
Jakub Jelinek
cf3c4f5609
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
2002-07-22 12:11:16 +02:00
GCC Administrator
9f8da5fad6
Daily bump.
...
From-SVN: r55643
2002-07-22 07:16:57 +00:00
Kaveh R. Ghazi
533c486363
ra-build.c (check_conflict_numbers): Hide unused function.
...
* ra-build.c (check_conflict_numbers): Hide unused function.
(livethrough_conflicts_bb): Avoid automatic aggregate
initialization.
(parts_to_webs_1): Avoid `U' integer constant modifier.
(conflicts_between_webs): Wrap a variable in the macro controlling
its usage.
* ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
(dump_igraph, dump_graph_cost): Avoid string concatenation
(dump_static_insn_cost): Avoid automatic aggregate
initialization.
* ra-rewrite.c (insert_stores): Avoid automatic aggregate
initialization.
(dump_cost): Avoid string concatenation
From-SVN: r55637
2002-07-22 02:04:25 +00:00
Richard Henderson
8943a0b4d8
expr.c (expand_expr): Don't use GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
...
* expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
* lang.c (java_unsafe_for_reeval): New.
(LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
From-SVN: r55636
2002-07-21 17:42:54 -07:00
Richard Henderson
b1aef35bb1
unroll.c (find_splittable_givs): Do not split DEST_ADDR givs that are not unrolled completely.
...
* unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
that are not unrolled completely.
From-SVN: r55635
2002-07-21 17:29:56 -07:00
Richard Henderson
5e1afb115e
loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
...
* loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
* loop.c (strength_reduce): Update.
* toplev.c (rest_of_compilation): Do unrolling in the first
loop pass, not the second.
From-SVN: r55634
2002-07-21 17:26:03 -07:00
Richard Henderson
c67a1cf6a8
emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL when flag_argument_noalias == 2.
...
* emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
when flag_argument_noalias == 2.
* alias.c (nonoverlapping_memrefs_p): Handle that.
* print-rtl.c (print_mem_expr): Likewise.
From-SVN: r55633
2002-07-21 17:23:47 -07:00
Hartmut Schirmer
b68daef415
libgcc2.c (__divdi3, __moddi3): Use unary minus operator instead of __negdi2 directly.
...
* libgcc2.c (__divdi3, __moddi3): Use unary minus operator
instead of __negdi2 directly.
From-SVN: r55632
2002-07-21 17:15:49 -07:00
Neil Booth
060a58c593
gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
...
* gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
* function.c (SYMBOL__MAIN): Remove definition.
* global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
* predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
* profile.c (GCOV_INDEX_TO_BB): Remove.
* sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
* simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
From-SVN: r55631
2002-07-21 22:01:58 +00:00
Neil Booth
2f8dd115d2
c-lex.c (GET_ENVIRONMENT): Remove.
...
* c-lex.c (GET_ENVIRONMENT): Remove.
* collect2.c (GET_ENV_PATH_LIST): Remove.
(prefix_from_env): Use GET_ENVIRONMENT.
* cppinit.c (GET_ENV_PATH_LIST): Remove.
(init_standard_includes): Use GET_ENVIRONMENT.
* defaults.h (GET_ENVIRONMENT): Define here if not already.
* gcc.c (GET_ENV_PATH_LIST): Remove.
(make_relative_prefix, process_command): Update.
* protoize.c (GET_ENV_PATH_LIST): Remove.
(do_processing): Update.
java:
* jcf-path.c (GET_ENV_PATH_LIST): Remove.
(jcf_path_init): Use GET_ENVIRONMENT.
From-SVN: r55630
2002-07-21 21:59:03 +00:00
Gabriel Dos Reis
565083069d
c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
...
2002-07-21 Gabriel Dos Reis <gdr@nerim.net>
* c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
(grokdeclarator): Likewise.
* c-format.c (C_STD_NAME): Likewise.
* c-lex.c (interpret_integer): Likewise.
* c-typeck.c (build_array_ref): Likewise.
* cpplex.c (_cpp_lex_direct): Likewise.
* toplev.c (documented_lang_options): Likewise.
testsuite/
2002-07-21 Gabriel Dos Reis <gdr@nerim.net>
* gcc.dg/c90-arraydecl-1.c: Change C89 too C90.
From-SVN: r55629
2002-07-21 21:35:17 +00:00
Neil Booth
e2f62855b2
* c-format.c (T99_I, T99_UI): Remove.
...
From-SVN: r55628
2002-07-21 20:39:34 +00:00
Neil Booth
c89d1dfd8b
* c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
...
From-SVN: r55627
2002-07-21 20:10:51 +00:00
Jan Hubicka
4669036917
gcse.c (do_local_cprop): Do not extend lifetimes of registers set by do_local_cprop.
...
* gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
do_local_cprop.
From-SVN: r55626
2002-07-21 19:38:08 +00:00
Andreas Jaeger
60ffc1b816
* reload1.c (fixup_abnormal_edges): Remove unused variable.
...
From-SVN: r55625
2002-07-21 21:20:22 +02:00
Bernd Schmidt
c05ffc49a3
Enhancements for the if-conversion pass
...
From-SVN: r55624
2002-07-21 14:32:25 +00:00
GCC Administrator
753e29b145
Daily bump.
...
From-SVN: r55622
2002-07-21 07:16:51 +00:00
Roger Sayle
b886c620ab
decl2.c (cxx_decode_option): Simplify -fhandle-exceptions test by using positive_option.
...
* decl2.c (cxx_decode_option): Simplify -fhandle-exceptions
test by using positive_option. Make whitespace consistent.
From-SVN: r55616
2002-07-21 02:07:01 +00:00
Jan Hubicka
ae860ff787
gcse.c: Include cselib.h
...
* gcse.c: Include cselib.h
(constptop_register): Break out from ...
(cprop_insn): ... here; kill basic_block argument.
(do_local_cprop, local_cprop_pass): New functions.
(one_cprop_pass): Call local_cprop_pass.
From-SVN: r55615
2002-07-20 22:56:05 +00:00
Roger Sayle
0da65b89f1
simplify-rtx.c (simplify_relational_operation): Optimize abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
...
* simplify-rtx.c (simplify_relational_operation): Optimize
abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
* gcc.c-torture/execute/20020720-1.c: New test case.
From-SVN: r55614
2002-07-20 22:24:58 +00:00
Michael Matz
68cd2524d6
* MAINTAINERS: Add myself as ra* maintainer.
...
From-SVN: r55613
2002-07-20 16:53:10 +00:00
Michael Matz
47cc673ae3
* ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
...
From-SVN: r55612
2002-07-20 16:52:37 +00:00