OSDN Git Service
amylaar [Tue, 25 Jun 2002 20:53:12 +0000 (20:53 +0000)]
gcc:
* optabs.c (expand_vector_binop, expand_vector_unop): Don't assume
GET_MODE_UNIT_SIZE (mode) == UNITS_PER_WORD.
gcc/testsuite:
* gcc.c-torture/execute/simd-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54994
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Tue, 25 Jun 2002 20:39:18 +0000 (20:39 +0000)]
* config/sh/lib1funcs.asm (udivdi3): Make first divide step
produce a 32 bit result before normalization, then normalize with a
left shift. Compute approximative error of 2nd reciprocal
approximation in 2's complement. Fix mask generation from upper
longword of second divide stage result.
For large divisor, fix shift count used to truncate first stage
divide result; make decision if to adjust upwards based on comparison
of higher parts of normalized values.
(udivdi): Likewise. Undo normalization of result for large divisor
case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54993
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 25 Jun 2002 16:55:47 +0000 (16:55 +0000)]
2002-06-25 Jessica Han <jessica@cup.hp.com>
* config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
* libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
_GLIBCPP_VTABLE_PADDING is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54991
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 25 Jun 2002 16:45:01 +0000 (16:45 +0000)]
2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h: Additional formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54990
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 25 Jun 2002 15:35:27 +0000 (15:35 +0000)]
* call.c (build_op_delete_call): Use BASELINK_FUNCTIONS.
* class.c (handle_using_decl): Likewise.
(instantiate_type): Likewise.
* cp-tree.h (BASELINK_FUNCTIONS): New macro.
(xref_basetypes): Change prototype.
(begin_mem_initializers): New function.
(get_overloaded_fn): Likewise.
* decl.c (xref_basetypes): Simplify.
* error.c (dump_expr): Use BASELINK_FUNCTIONS.
* init.c (build_offset_ref): Likewise.
* parse.y (base_init): Use begin_mem_initializers().
(structsp): Adjust call to xref_basetypes.
* pt.c (determine_specialization): Use BASELINK_FUNCTIONS.
(instantiate_class_template): Adjust call to xref_basetypes.
* semantics.c (begin_mem_initializers): New function.
* tree.c (is_overloaded_fn): Use BASELINK_FUNCTIONS.
(really_overlaoded_fn): Likewise.
(get_overloaded_fn): New function.'
(get_first_fn): USe BASELINK_FUNCTIONS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54989
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 25 Jun 2002 14:10:52 +0000 (14:10 +0000)]
2002-06-25 David S. Miller <davem@redhat.com>
* config/sparc/sparc.md: Change \\{t,n} to \{t,n}.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54988
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Tue, 25 Jun 2002 13:27:19 +0000 (13:27 +0000)]
* expr.c (JSR): Avoid undefined operation on PC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54987
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 25 Jun 2002 07:57:03 +0000 (07:57 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54985
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 25 Jun 2002 07:56:26 +0000 (07:56 +0000)]
MAINTAINERS (Write After Approval): Add self.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54984
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 25 Jun 2002 07:17:55 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54983
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 25 Jun 2002 06:00:30 +0000 (06:00 +0000)]
* cpplib.c (do_include_common): Revert to correct line number
if -traditional.
* cpptrad.c (scan_out_logical_line): Treat null directive as
white space. Invlidate MI optimization for non-whitespace
text outside a directive.
testsuite:
* gcc.dg/cpp/mi7.c, gcc.dg/cpp/mi7a.h, gcc.dg/cpp/mi7b.h,
gcc.dg/cpp/trad/builtins.c, gcc.dg/cpp/trad/builtins.h,
gcc.dg/cpp/trad/cmdlne-C.c, gcc.dg/cpp/trad/cmdlne-C2.c,
gcc.dg/cpp/trad/maccom1.c, gcc.dg/cpp/trad/maccom2.c,
gcc.dg/cpp/trad/maccom3.c, gcc.dg/cpp/trad/maccom4.c,
gcc.dg/cpp/trad/maccom6.c, gcc.dg/cpp/trad/mi1.c,
gcc.dg/cpp/trad/mi1c.h, gcc.dg/cpp/trad/mi1nd.h,
gcc.dg/cpp/trad/mi1ndp.h, gcc.dg/cpp/trad/mi1x.h,
gcc.dg/cpp/trad/mi2.c, gcc.dg/cpp/trad/mi2a.h,
gcc.dg/cpp/trad/mi2b.h, gcc.dg/cpp/trad/mi2c.h
gcc.dg/cpp/trad/mi3.c, gcc.dg/cpp/trad/mi3.def,
gcc.dg/cpp/trad/mi3.h, gcc.dg/cpp/trad/mi4.c,
gcc.dg/cpp/trad/mi5.c, gcc.dg/cpp/trad/mi6.c,
gcc.dg/cpp/trad/mi6a.h, gcc.dg/cpp/trad/mi6b.h,
gcc.dg/cpp/trad/mi6c.h, gcc.dg/cpp/trad/mi6d.h,
gcc.dg/cpp/trad/mi6e.h, gcc.dg/cpp/trad/mi7.c,
gcc.dg/cpp/trad/mi7a.h, gcc.dg/cpp/trad/mi7b.h: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54978
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 25 Jun 2002 05:29:22 +0000 (05:29 +0000)]
* java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
(IntegerClass): Likewise.
* java/lang/natClass.cc (CloneableClass): Removed.
(ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
ConstructorClass): Likewise.
* java/lang/natClassLoader.cc (CloneableClass): Removed.
(ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
SerializableClass): Likewise.
* java/lang/reflect/natMethod.cc (BooleanClass): Removed.
(VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
LongClass, FloatClass, DoubleClass): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54977
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 25 Jun 2002 01:58:10 +0000 (01:58 +0000)]
gcc:
* Makefile.in (SHELL): Set to @SHELL@.
* fixinc/Makefile.in (SHELL): Likewise.
gcc/ada:
* Makefile.in (SHELL): Set to @SHELL@.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54976
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 25 Jun 2002 01:52:37 +0000 (01:52 +0000)]
* mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2,
fixuns_truncsfsi2, fixuns_truncsfdi2): Avoid automatic aggregate
initialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54975
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 25 Jun 2002 00:14:15 +0000 (00:14 +0000)]
* demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.
* fibheap.h: Likewise.
* hashtab.h: Likewise.
* partition.h: Likewise.
* sort.h: Likewise.
* splay-tree.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54974
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 24 Jun 2002 20:38:47 +0000 (20:38 +0000)]
* verify.cc (branch_prepass): Updated for change to exception
handler type.
(verify_instructions_0): Likewise.
* defineclass.cc (handleCodeAttribute): Initialize `prepared'.
(handleExceptionTableEntry): Updated for change to exception
handler type.
* java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
* include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
(union _Jv_InterpPC): New.
(class _Jv_InterpException): Changed types to _Jv_InterpPC.
(class _Jv_InterpMethod): Added new `prepared' field.
(class _Jv_InterpMethod): Added `compile' method. Removed
`continue1' and `find_exception'. Changed arguments to `run'.
* interpret.cc (union insn_slot): New.
(find_exception): Removed.
(run_normal): Removed most logic.
(run_synch_object): Likewise; also, use JvSynchronize.
(run_synch_class): Likewise.
(run): Removed.
(continue1): Renamed as `run'. Compile bytecode if required.
Add new code to allow refinement of direct-threaded code at
runtime. Handle exceptions.
(SAVE_PC): Removed.
(compile): New method.
(SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
(NULLARRAYCHECK): Don't use SAVE_PC.
(pc_t): New typedef.
(TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54968
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 24 Jun 2002 20:22:12 +0000 (20:22 +0000)]
Update Copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54967
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Jun 2002 20:20:52 +0000 (20:20 +0000)]
* flow.c (propagate_one_insn): When removing an insn
with a REG_LIBCALL note but not the entire libcall sequence,
delete the associated REG_RETVAL note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54966
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 24 Jun 2002 20:08:17 +0000 (20:08 +0000)]
* lib1funcs.asm (sdivsi3): Add optimized SH64 implementations.
(udivsi3): Likewise. Rewrite SH1 implementation.
(udivdi3, divdi3, umoddi3, moddi3): New SHmedia functions.
* sh.md (R20_REG, R21_REG, R22_REG, R23_REG, FR23_REG): New constants.
(udivsi3_i1_media, divsi3_i1_media): Fix clobber list.
* config/sh/t-sh64 (LIB1ASMFUNCS): (_udivdi3, _divdi3, _umoddi3): Add.
(_moddi3): Likewise.
* lib1funcs.asm (ic_invalidate): Add data cache line writeback.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54965
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Mon, 24 Jun 2002 19:48:53 +0000 (19:48 +0000)]
2002-06-24 David S. Miller <davem@redhat.com>
* Makefile.in (GTFILES): Add basic-block.h
* basic-block.h (label_value_list, tail_recursion_label_list):
Mark with GTY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54964
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 24 Jun 2002 19:18:43 +0000 (19:18 +0000)]
* cp-tree.h (SCALAR_TYPE_P): New macro.
(check_for_out_of_scope_variable): New function.
(at_class_scope_p): Likewise.
(finish_fname): Likewise.
* class.c (finish_struct): Use at_function_scope_p.
* decl.c (check_for_out_of_scope_variable): New function, split
out from do_identifier.
(finish_enum): Use at_function_scope_p.
* lex.c (do_identifier): Use check_for_out_of_scope_variable.
* parse.y (VAR_FUNC_NAME): Give it <ttype>. Use finish_fname.
(primary): Use at_function_scope_p.
* search.c (at_class_scope_p): New function.
* semantics.c (finish_fname): Likewise.
(check_multiple_declarators): Use at_function_scope_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54962
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 24 Jun 2002 18:11:55 +0000 (18:11 +0000)]
* sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK
arguments into account for stack_regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54961
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Mon, 24 Jun 2002 17:21:04 +0000 (17:21 +0000)]
* doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */'
in examples.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54960
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Mon, 24 Jun 2002 16:45:21 +0000 (16:45 +0000)]
2002-06-24 Art Haas <ahaas@neosoft.com>
* doc/extend.texi (Other Builtins): Change `...' to `@dots{}'.
* doc/tm.texi (Frame Layout): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54957
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Mon, 24 Jun 2002 16:25:30 +0000 (16:25 +0000)]
changelog entry for generic simd patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54956
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Mon, 24 Jun 2002 16:06:21 +0000 (16:06 +0000)]
* gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no.
Set float_format to i128.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54953
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Mon, 24 Jun 2002 12:58:43 +0000 (12:58 +0000)]
2002-06-24 David S. Miller <davem@redhat.com>
* config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the
32-bit ABI libfuncs to NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54952
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Mon, 24 Jun 2002 11:34:01 +0000 (11:34 +0000)]
2002-06-24 David S. Miller <davem@redhat.com>
* config/sparc/sparc.md: Use define_insn_and_split.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54951
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Mon, 24 Jun 2002 10:08:38 +0000 (10:08 +0000)]
2002-06-24 David S. Miller <davem@redhat.com>
* config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the
32-bit ABI libfuncs to NULL.
* expmed.c (expand_divmod): Do not set optab1/optab2 to the shift
optabs if op1 is const0_rtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54950
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Mon, 24 Jun 2002 08:07:05 +0000 (08:07 +0000)]
2002-06-24 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_alloc.h: Reformat as per C++STYLE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54949
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 24 Jun 2002 07:23:01 +0000 (07:23 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54948
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Mon, 24 Jun 2002 05:50:58 +0000 (05:50 +0000)]
2002-06-24 Phil Edwards <pme@gcc.gnu.org>
* config/cpu/*/bits/*: Move header files up a level. Remove bits.
* config/os/*/bits/*: Likewise.
* configure.in: Update.
* configure: Regenerate.
* configure.target: Update.
* docs/html/17_intro/porting.texi: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54943
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 24 Jun 2002 05:46:51 +0000 (05:46 +0000)]
* cpptrad.c (scan_out_logical_line): Check recursing only when
we know we have a macro invocation in the function-like case.
Only call _cpp_handle_directive if we know we have a good
directive, or we want to reject a bad directive.
testsuite:
* gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/assembler.S,
gcc.dg/cpp/trad/argcout.c, gcc.dg/cpp/trad/funlike-4.c,
gcc.dg/cpp/trad/null-drctv.c, gcc.dg/cpp/trad/recurse-1.c,
gcc.dg/cpp/trad/recurse-2.c, gcc.dg/cpp/trad/recurse-3.c:
New tests.
* gcc.dg/cpp/trad/directive.c: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54942
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 24 Jun 2002 05:08:02 +0000 (05:08 +0000)]
* libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.
* getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54941
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 24 Jun 2002 04:45:46 +0000 (04:45 +0000)]
* configure: Rebuilt.
* configure.in (INTERPRETER): New subst.
(AM_RUNTESTFLAGS): Don't subst.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54940
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 24 Jun 2002 04:44:53 +0000 (04:44 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (RUNTEST): Added AM_RUNTESTFLAGS.
(AM_RUNTESTFLAGS): New variable.
(RUNTESTFLAGS): Don't define.
* lib/libjava.exp (libjava_invoke): New proc.
(test_libjava_from_source): Use it.
(test_libjava_from_javac): Likewise.
(libjava_find_gij): New proc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54939
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 24 Jun 2002 02:16:42 +0000 (02:16 +0000)]
* doloop.c (doloop_valid_p): Correct comment.
(doloop_modify_runtime <abs_inc != 1>): Simplify.
(doloop_modify_runtime <do-while>): Don't emit code when NE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54938
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 24 Jun 2002 00:16:36 +0000 (00:16 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am ($(srcdir)/java/lang/Object.h,
$(srcdir)/java/lang/Class.h): Added dummy targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54936
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 23 Jun 2002 21:46:34 +0000 (21:46 +0000)]
- Follow up to 2002-06-05 patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54934
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 23 Jun 2002 20:10:09 +0000 (20:10 +0000)]
* parse.y (parse_scoped_id): New function.
(primary): Use it.
* cp-tree.h (do_scoped_id): Adjust declaration.
* lex.c (do_scoped_id): Remove call to yylex.
* decl2.c (build_expr_from_tree): Adjust use of do_scoped_id.
* typeck2.c (add_exception_specifier): Use tree_cons, rather than
expanding it inline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54930
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 23 Jun 2002 19:56:05 +0000 (19:56 +0000)]
* decl.c (finish_function): Change "#ifdef VMS_TARGET" to
"#if VMS_TARGET".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54929
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Sun, 23 Jun 2002 17:35:48 +0000 (17:35 +0000)]
* configure.in: Add support for ip2k.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54926
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Sun, 23 Jun 2002 17:31:05 +0000 (17:31 +0000)]
* config.gcc: Add support for ip2k.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54925
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 23 Jun 2002 15:57:53 +0000 (15:57 +0000)]
* function.h (struct emit_status): Clarify potential contents
of regno_reg_rtx array.
* integrate.c (copy_rtx_and_substitute): Update comments. Make
sure entry in regno_reg_rtx is a REG before checking REG_POINTER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54924
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 23 Jun 2002 07:23:40 +0000 (07:23 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54923
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 23 Jun 2002 05:30:14 +0000 (05:30 +0000)]
* gcc.c-torture/execute/complex-6.c: New.
* reg-stack.c (convert_regs_exit): Push the registers to stack in
proper order.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54915
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sat, 22 Jun 2002 14:26:53 +0000 (14:26 +0000)]
PR middle-end/6963
* function.c (assign_stack_temp_for_type): Do not return
the same MEM rtx for multiple uses of a stack slot.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54912
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 22 Jun 2002 12:05:18 +0000 (12:05 +0000)]
2002-06-22 David S. Miller <davem@redhat.com>
PR target/6841 target/6770 target/6719
* config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return
NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or
GENERAL_OR_EXTRA_FP_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54910
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 22 Jun 2002 11:08:20 +0000 (11:08 +0000)]
* cpptrad.c (struct fun_macro): Add line number.
(scan_out_logical_line): Set it, and use it to report unterminated
macro invocations.
testsuite:
* gcc.dg/cpp/trad/comment-2.c. gcc.dg/cpp/trad/funlike-2.c,
gcc.dg/cpp/trad/funlike.c, gcc.dg/cpp/trad/funlike-3.c,
gcc.dg/cpp/trad/literals-1.c, gcc.dg/cpp/trad/literals-2.c,
gcc.dg/cpp/trad/macroargs.c, gcc.dg/cpp/trad/quote.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54907
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 22 Jun 2002 10:57:46 +0000 (10:57 +0000)]
* Makefile.in (install_to_libdir): Add $(DESTDIR).
(install_to_tooldir): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54906
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 22 Jun 2002 07:18:21 +0000 (07:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54905
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 22 Jun 2002 03:08:21 +0000 (03:08 +0000)]
* genautomata.c (copy_node, VLA_PTR_CREATE, VLA_PTR_EXPAND,
VLA_PTR_ADD, VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD,
DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL, DECL_PRESENCE,
DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV, REGEXP_UNIT,
REGEXP_RESERV, REGEXP_SEQUENCE, REGEXP_REPEAT, REGEXP_ALLOF,
REGEXP_ONEOF, check_name): Const-ify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54898
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Sat, 22 Jun 2002 03:03:56 +0000 (03:03 +0000)]
2002-06-21 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_map.h, include/bits/stl_multimap.h,
include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
complete doxygenation.
* include/bits/boost_concept_check.h: Minor comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54897
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 21 Jun 2002 23:58:47 +0000 (23:58 +0000)]
2002-06-21 Matt Thomas <matt@3am-software.com>
* config/vax/vax.c (vax_output_function_prologue): Use
REGISTER_PREFIX. Fix some indentation.
* config/vax/vax.h (FUNCTION_PROFILER): Use reg_names[].
(VAX_ISTREAM_SYNC): Define.
(INITIALIZE_TRAMPOLINE): Use VAX_ISTREAM_SYNC. Move the
i-stream sync to the end.
(REGISTER_PREFIX): Define as "".
(ASM_OUTPUT_MI_THUNK): Use REGISTER_PREFIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54894
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 21 Jun 2002 23:36:45 +0000 (23:36 +0000)]
* config.gcc (ns32k-*-netbsd*): Remove from list of obsolete
configurations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54893
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 21 Jun 2002 22:20:17 +0000 (22:20 +0000)]
* configure.in: Fix AIX configury bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54892
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 21 Jun 2002 20:21:03 +0000 (20:21 +0000)]
2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
* include/c_compatibility: New.
* include/c_compatibility/assert.h: New.
* include/c_compatibility/ctype.h: New.
* include/c_compatibility/errno.h: New.
* include/c_compatibility/float.h: New.
* include/c_compatibility/iso646.h: New.
* include/c_compatibility/limits.h: New.
* include/c_compatibility/locale.h: New.
* include/c_compatibility/math.h: New.
* include/c_compatibility/setjmp.h: New.
* include/c_compatibility/signal.h: New.
* include/c_compatibility/stdarg.h: New.
* include/c_compatibility/stddef.h: New.
* include/c_compatibility/stdio.h: New.
* include/c_compatibility/stdlib.h: New.
* include/c_compatibility/string.h: New.
* include/c_compatibility/time.h: New.
* include/c_compatibility/wchar.h: New.
* include/c_compatibility/wctype.h: New.
* include/c/std_cerrno.h: Get out of the way... define errno.
* include/c/std_cmath.h: Add abs, modf overloads.
Undefine C99 isms. Still not sure how to deal with this sanely.
* include/c/std_csetjmp.h: Tweak.
* include/c/std_cwchar.h: Include cstddef for size_t.
* include/c_std/std_cmath.h: Remove extra function.
Pendantic std usage in testsuites.
* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
with std.
* testsuite/17_intro/header_cwchar.cc: Tweak.
* testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
std::setlocale.
* testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
* testsuite/22_locale/ctype_to_char.cc (test05): Same.
* testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
* testsuite/22_locale/ctype_is_char.cc (test05): Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
* testsuite/22_locale/time_get_members_char.cc (test08): Same.
* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/time_put_members_char.cc (test04): Same.
* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/num_put_members_char.cc (test04): Same.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/numpunct_members_char.cc (test03): Same.
* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
* testsuite/22_locale/num_get_members_char.cc: Same.
* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
* testsuite/22_locale/money_put_members_char.cc (test07): Same.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
* testsuite/22_locale/money_get_members_char.cc (test08): Same.
* testsuite/22_locale/messages_members_char.cc (test03): Same.
* testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/collate_members_char.cc (test04): Same.
* testsuite/26_numerics/fabs_inline.cc: Use std::printf.
* testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54891
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 21 Jun 2002 20:18:21 +0000 (20:18 +0000)]
cp:
* mangle.c (integer_type_codes): Const-ify.
java:
* decl.c (clear_binding_level): Const-ify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54890
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 21 Jun 2002 19:33:24 +0000 (19:33 +0000)]
* tree.c (tree_node_kind, tree_node_counts, tree_node_sizes,
tree_node_kind_names): Wrap in GATHER_STATISTICS macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54888
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 21 Jun 2002 19:20:14 +0000 (19:20 +0000)]
2002-06-21 Matt Thomas <matt@3am-software.com>
* config/vax/netbsd.h: Adjust a comment.
(TARGET_DEFAULT): Redefine as 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54887
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 21 Jun 2002 19:05:00 +0000 (19:05 +0000)]
2002-06-21 Richard Henderson <rth@redhat.com>
* bb-reorder.c (make_reorder_chain_1): Search harder for the
vax casesi fallthru edge.
* cfglayout.c (cleanup_unconditional_jumps): Use
redirect_edge_succ_nodup. Do not delete ADDR_VEC insns as dead.
* cfgrtl.c (force_nonfallthru_and_redirect): Place redirection
block after ADDR_VEC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54885
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 21 Jun 2002 14:36:37 +0000 (14:36 +0000)]
* Object.m (forward, read, write): Fix unused parameter warnings.
* encoding.c: Include <stdlib.h>.
(target_flags): Mark with attribute unused.
(atoi): Delete.
* runtime.h (__objc_selector_max_index): Change to unsigned int.
(__objc_generate_gc_type_description): Prototype.
* selector.c (__objc_selector_max_index): Change to unsigned int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54884
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 21 Jun 2002 14:09:33 +0000 (14:09 +0000)]
* Make-lang.in (treelang/tree1.o, treelang/treetree.o,
treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54881
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Fri, 21 Jun 2002 11:23:06 +0000 (11:23 +0000)]
* config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54879
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 21 Jun 2002 07:40:10 +0000 (07:40 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54877
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 21 Jun 2002 05:39:33 +0000 (05:39 +0000)]
Reformat JDBC classes and add new JDK 1.4 classes and methods.
* java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
java/sql/Savepoint.java: New files.
* java/sql/Array.java, java/sql/BatchUpdateException.java,
java/sql/Blob.java, java/sql/CallableStatement.java,
java/sql/Clob.java, java/sql/Connection.java,
java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
java/sql/Date.java, java/sql/Driver.java,
java/sql/DriverManager.java,
java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
java/sql/Ref.java, java/sql/ResultSet.java,
java/sql/ResultSetMetaData.java, java/sql/SQLData.java
java/sql/SQLException.java, java/sql/SQLInput.java,
java/sql/SQLOutput.java, java/sql/SQLWarning.java
java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
(JDK 1.4) specification.
* javax/sql/ConnectionEvent.java,
javax/sql/ConnectionEventListener.java,
javax/sql/ConnectionPoolDataSource.java,
javax/sql/DataSource.java, javax/sql/PooledConnection.java,
javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
javax/sql/RowSet.java, javax/sql/RowSetListener.java,
javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
javax/sql/XADataSource.java: New files.
* Makefile.am: Add new files.
* Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54871
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 21 Jun 2002 05:29:09 +0000 (05:29 +0000)]
* cpperror.c (cpp_error): For traditional CPP, default to
diagnostics on pfile->line.
* cpplib.c (prepare_directive_trad): Set line number for
diagnostics for #define too.
* cpptrad.c (skip_whitespace): Skip comments properly.
(_cpp_expansions_different_trad): Initialize quote2.
testsuite:
* gcc.dg/cpp/trad: New directory with traditional tests copied
from parent directory.
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/assert_trad2.c,
gcc.dg/cpp/assert_trad3.c, gcc.dg/cpp/defined_trad.c,
gcc.dg/cpp/hash2.c, gcc.dg/cpp/tr-define.c, gcc.dg/cpp/tr-direct.c,
gcc.dg/cpp/tr-sign.c, gcc.dg/cpp/tr-str.c, gcc.dg/cpp/uchar-2.c:
Move to trad/ and rename.
* gcc.dg/cpp/trad/__STDC__.c, gcc.dg/cpp/trad/comment.c,
gcc.dg/cpp/trad/escaped-eof.c, gcc.dg/cpp/trad/redef1.c,
gcc.dg/cpp/trad/redef2.c: New tests.
* gcc.dg/cpp/trad/trad.exp: New driver.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54870
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 21 Jun 2002 03:55:47 +0000 (03:55 +0000)]
* config/mmix/mmix.md: Change GNU CC to GCC in file header comment.
* config/mmix/mmix.h: Ditto.
* config/mmix/mmix-protos.h: Ditto.
* config/mmix/mmix.c: Ditto. Fix typo in comment.
* config/mmix/mmix-modes.def: Change GNU CC to GCC in file header
comment. Comment extra CC modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54869
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Jun 2002 02:09:11 +0000 (02:09 +0000)]
* cfglayout.c (scope_to_insns_initialize): Call set_block_levels.
(scope_to_insns_finalize): Do not call set_block_levels; handle
sequences.
(choose_inner_scope): New.
* rtl.h (choose_inner_scope): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54868
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 21 Jun 2002 01:37:47 +0000 (01:37 +0000)]
* pa-protos.h (pa_asm_output_mi_thunk): Change third argument to
HOST_WIDE_INT.
* pa.c (pa_asm_output_mi_thunk): Likewise.
(n_deferred_plabels): Change type to size_t.
(output_deferred_plabels, output_call): Use size_t instead of int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54867
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 20 Jun 2002 23:50:13 +0000 (23:50 +0000)]
Fix thinko last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54866
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 20 Jun 2002 23:47:35 +0000 (23:47 +0000)]
* config/m68k/m68k.md (zero_extendsidi2): Create expander; duplicate
pattern and adjust constraints for coldfire.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54865
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 20 Jun 2002 23:23:54 +0000 (23:23 +0000)]
* typeck.c (mark_addressable): Don't test TREE_ADDRESSABLE early.
Call put_var_into_stack.
* g++.dg/opt/asm1.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54862
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 20 Jun 2002 23:15:17 +0000 (23:15 +0000)]
* explow.c (probe_stack_range): Use gen_rtx_fmt_ee.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54861
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Thu, 20 Jun 2002 22:41:25 +0000 (22:41 +0000)]
2002-06-20 Chris Demetriou <cgd@broadcom.com>
* config.gcc (mipsisa64-*-elf*, mipsisa64el-*-elf*): New targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54860
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Thu, 20 Jun 2002 22:36:09 +0000 (22:36 +0000)]
2002-06-20 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.h (ISA_HAS_FP4): Fix comment to reflect use.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54859
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Thu, 20 Jun 2002 22:33:42 +0000 (22:33 +0000)]
* dominance.c: Include errors.h instead of error.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54858
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 20 Jun 2002 20:34:19 +0000 (20:34 +0000)]
* cppexp.c (cpp_interpret_integer): Don't force traditional
numbers to be unsigned.
* cpplib.c (prepare_directive_trad): Set line number for
diagnostics.
* cpptrad.c (scan_out_logical_line): Continue scanning out
at start of buffer.
* gcc.c (trad_capable_cpp): Use cc1 always.
f:
* lang-specs.h: Use cc1 for traditional preprocessing.
testsuite:
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/assert_trad2.c,
gcc.dg/cpp/assert_trad3.c, gcc.dg/cpp/defined_trad.c,
gcc.dg/cpp/hash2.c, gcc.dg/cpp/tr-define.c, gcc.dg/cpp/tr-direct.c,
gcc.dg/cpp/tr-sign.c, gcc.dg/cpp/tr-str.c, gcc.dg/cpp/uchar-2.c:
Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54856
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 20 Jun 2002 20:25:44 +0000 (20:25 +0000)]
2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
c_sources.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54855
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 20 Jun 2002 20:13:46 +0000 (20:13 +0000)]
2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
* src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
Use size_type instead of unsigned long.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54854
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Thu, 20 Jun 2002 19:52:23 +0000 (19:52 +0000)]
* MAINTAINERS (Write After Approval): Add self.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54853
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Thu, 20 Jun 2002 19:20:41 +0000 (19:20 +0000)]
* src/ext-inst.cc (_S_fetch): Add explicit templates for char and
wchar types.
(_S_min_len): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54850
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 20 Jun 2002 19:08:42 +0000 (19:08 +0000)]
2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am: Add rules.
* include/Makefile.in: Regenerate.
* acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* configure.target (c_model, c_compatibility): Add.
* libsupc++/Makefile.am (c_sources): New.
(libsupc___la_SOURCES): Add c_sources.
(LTCOMPILE): Remove INCLUDES.
(GCC_INCLUDES): New.
(C_COMPILE): New, like COMPILE but without INCLUDES.
(cxa_demangle.o): Use C_COMPILE.
(dyn-string.o): Use C_COMPILE.
* include/c/std_cstdarg.h: Define __need___va_list.
* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
need_NULL, need_offsetof.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54849
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Jun 2002 19:07:42 +0000 (19:07 +0000)]
* i386.h (TARGET_DEFAULT): Do not turn on frame pointer
elimination in leaf functions by default yet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54848
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 20 Jun 2002 18:07:29 +0000 (18:07 +0000)]
* gcc.dg/
20020620-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54847
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 20 Jun 2002 18:04:00 +0000 (18:04 +0000)]
* combine.c (make_extraction): Reapply to the argument of an ASHIFT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54846
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 20 Jun 2002 18:00:02 +0000 (18:00 +0000)]
* config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for
multilibs.
* config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54845
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 20 Jun 2002 17:57:27 +0000 (17:57 +0000)]
Mon Jun 10 20:42:34 CEST 2002 Jan Hubicka <jh@suse.cz>
* basic-block.h: Do not include et-forest.h
(dominance_info): Declare as struct dominance-info.
* cfglayout.c (cleanup_unconditional_jumps): Remove the edge before
deleting block.
* dominance.c (struct dominance_info): Define.
(BB_NODE, SET_BB_NODE): New macros.
(bb_hash_func, bb_eq_func): Kill.
(calculate_dominace_info, free_dominacne_info, set_immediate_dominator,
nearest_common_dominator, dominated_by_p, recount_dominator,
add_to_dominance_info, delete_from_dominance_info): update for new
representation.
(get_dominated_by, redirect_immediate_dominators): Rewrite using
enumerate_sons.
* ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap,
find_if_case_1, find_if_case_2): Remove killed blocks from dominance
structure.
* et-forest.h: Update copyright; revamp all function to operate on
nodes
(et_forest_value): Kill.
(et_forest_enumerate_sons, et_forest_node_value): New.
* et-forest.c: Update copyright.
* et-forest.h: Update copyright; revamp all function to operate on
nodes
(et_forest_value): Kill.
(et_forest_enumerate_sons, et_forest_node_value): New.
Thu Jun 6 22:43:43 CEST 2002 Jan Hubicka <jh@suse.cz>
* basic-block.h: Inlude et-forest.h
(basic_block_def): Kill dominator.
(dominance_info): New type.
(loops): Use dominace_info.
(dominace handling functions): Take dominace_info as argument
instead of bitmaps.
(create_preheader): Likewise.
* cfg.c (entry_exit_blocks): Kill dominator.
(dump_flow_info): Do not dump dominators.
* cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from
dominators.
* cfgloop.c (flow_pre_header_find): Use dominacne_info.
(flow_loops_pre_header_scan, make_forwarder_block,
canonicale_loop_headers, flow_loops_find): Likewise.
* dominance.c: Include error.h
(idoms_to_doms): Kill.
(bb_hash_func, bb_eq_func): New static functions.
(debug_dominace_info): New global function.
(calculate_dominance_info): Use new et forest structure.
(free_dominace_info, get_immediate_dominator, set_immediate_dominator,
get_dominated_by, redirect_immediate_dominators,
nearest_common_dominator, dominated_by_p, verify_dominators,
recount_dominator, iterate_fix_dominators, add_to_dominace_info,
delete_from_dominance_info): New global functions.
* gcse.c (domnators): CHange to dominance_info.
(alloc_hoist_mem): Do not alloc dominators
(free_code_hoist_mem): Use free_dominance_info.
(compute_code_hoist_data): Use dominance_info.
(hoist_code): Likewise.
* ifcvt.c (post_dominators): Likewise.
(find_if_case_2, if_convert): Likewise.
* predict.c (process_note_predictions, process_note_prediction,
estimate-probability): Likewise.
* sched-rgn.c (find_rgns, init_regions): Likewise.
* ssa-dce.c (find_all_control_dependences, fint_control_depemndence,
find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise.
* ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers,
find_evaluations, convert_to_ssa): Likewise.
* ssa.h (compute_dominance_frontiers): Likewise.
Thu Jun 6 22:57:34 CEST 2002 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
* Makefile.in (et-forest.c): Add.
* et-forest.c: New file.
* at-forest.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54844
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 20 Jun 2002 17:51:06 +0000 (17:51 +0000)]
Mon Jun 10 20:42:34 CEST 2002 Jan Hubicka <jh@suse.cz>
* basic-block.h: Do not include et-forest.h
(dominance_info): Declare as struct dominance-info.
* cfglayout.c (cleanup_unconditional_jumps): Remove the edge before
deleting block.
* dominance.c (struct dominance_info): Define.
(BB_NODE, SET_BB_NODE): New macros.
(bb_hash_func, bb_eq_func): Kill.
(calculate_dominace_info, free_dominacne_info, set_immediate_dominator,
nearest_common_dominator, dominated_by_p, recount_dominator,
add_to_dominance_info, delete_from_dominance_info): update for new
representation.
(get_dominated_by, redirect_immediate_dominators): Rewrite using
enumerate_sons.
* ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap,
find_if_case_1, find_if_case_2): Remove killed blocks from dominance
structure.
* et-forest.h: Update copyright; revamp all function to operate on
nodes
(et_forest_value): Kill.
(et_forest_enumerate_sons, et_forest_node_value): New.
* et-forest.c: Update copyright.
* et-forest.h: Update copyright; revamp all function to operate on
nodes
(et_forest_value): Kill.
(et_forest_enumerate_sons, et_forest_node_value): New.
Thu Jun 6 22:43:43 CEST 2002 Jan Hubicka <jh@suse.cz>
* basic-block.h: Inlude et-forest.h
(basic_block_def): Kill dominator.
(dominance_info): New type.
(loops): Use dominace_info.
(dominace handling functions): Take dominace_info as argument
instead of bitmaps.
(create_preheader): Likewise.
* cfg.c (entry_exit_blocks): Kill dominator.
(dump_flow_info): Do not dump dominators.
* cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from
dominators.
* cfgloop.c (flow_pre_header_find): Use dominacne_info.
(flow_loops_pre_header_scan, make_forwarder_block,
canonicale_loop_headers, flow_loops_find): Likewise.
* dominance.c: Include error.h
(idoms_to_doms): Kill.
(bb_hash_func, bb_eq_func): New static functions.
(debug_dominace_info): New global function.
(calculate_dominance_info): Use new et forest structure.
(free_dominace_info, get_immediate_dominator, set_immediate_dominator,
get_dominated_by, redirect_immediate_dominators,
nearest_common_dominator, dominated_by_p, verify_dominators,
recount_dominator, iterate_fix_dominators, add_to_dominace_info,
delete_from_dominance_info): New global functions.
* gcse.c (domnators): CHange to dominance_info.
(alloc_hoist_mem): Do not alloc dominators
(free_code_hoist_mem): Use free_dominance_info.
(compute_code_hoist_data): Use dominance_info.
(hoist_code): Likewise.
* ifcvt.c (post_dominators): Likewise.
(find_if_case_2, if_convert): Likewise.
* predict.c (process_note_predictions, process_note_prediction,
estimate-probability): Likewise.
* sched-rgn.c (find_rgns, init_regions): Likewise.
* ssa-dce.c (find_all_control_dependences, fint_control_depemndence,
find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise.
* ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers,
find_evaluations, convert_to_ssa): Likewise.
* ssa.h (compute_dominance_frontiers): Likewise.
Thu Jun 6 22:57:34 CEST 2002 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
* Makefile.in (et-forest.c): Add.
* et-forest.c: New file.
* at-forest.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54843
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 20 Jun 2002 17:38:23 +0000 (17:38 +0000)]
ada:
* utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
array size calculation.
gcc:
* c-decl.c (c_decode_option): Use ARRAY_SIZE in lieu of explicit
array size calculation.
* gengtype.c (NUM_BASE_FILES, create_file, write_gc_root):
Likewise.
cp:
* spew.c (remove_last_token): Use ARRAY_SIZE in lieu of explicit
array size calculation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54842
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 20 Jun 2002 16:59:01 +0000 (16:59 +0000)]
* diagnostic.c (diagnostic_kind_text): Const-ify.
* gengtype.c (lang_names): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54840
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 20 Jun 2002 15:39:58 +0000 (15:39 +0000)]
* combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54839
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 20 Jun 2002 15:10:49 +0000 (15:10 +0000)]
For PR libgcj/7073:
* resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
exists.
* defineclass.cc (handleClassBegin): Superclass for interface is
`null'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54835
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Thu, 20 Jun 2002 14:44:37 +0000 (14:44 +0000)]
PR c++/6892
* pt.c (tsubst_expr): Handle FILE_STMT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54832
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Thu, 20 Jun 2002 14:38:06 +0000 (14:38 +0000)]
PR c++/6723
* pt.c (lookup_template_class): Don't build complete argument of
BOUND_TEMPLATE_TEMPLATE_PARM if appeared as a default template
argument.
* g++.dg/template/ttp4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54831
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Thu, 20 Jun 2002 12:31:28 +0000 (12:31 +0000)]
* com.c (ffecom_prepare_expr_,ffecom_expr_power_integer_):
Remove #ifdefed HAHA sections.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54829
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 20 Jun 2002 11:03:40 +0000 (11:03 +0000)]
* config/sol2.h: New file.
* config.gcc (i?86-*-solaris2*): Include it before i386/sol2.h.
(sparc64-wrs-vxworks*): Include it before sparc/sol2.h.
(sparc-*-chorusos*): Likewise.
(sparc-*-elf*): Likewise.
(sparc-*-rtems*, sparc-*-rtemself*): Likewise.
(sparc64-*-solaris2*, sparcv9-*-solaris2*): Likewise.
(sparc-hal-solaris2*): Likewise.
(sparc-*-solaris2*): Likewise.
(sparclite-*-elf*): Likewise.
(sparc86x-*-elf*): Likewise.
(sparc64-*-elf*): Likewise.
* config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Moved to
config/sol2.h.
(ASM_SPEC): Override config/sol2.h version for now.
Removed obsolete GAS_REJECTS_MINUS_S variant.
(WINT_TYPE, WINT_TYPE_SIZE): Moved to config/sol2.h.
(HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise.
(TARGET_OS_CPP_BUILTINS): Likewise.
Assert system=unix.
(CPP_SPEC): Simplified using new CPP_SUBTARGET_SPEC.
(LIB_SPEC, ENDFILE_SPEC, STARTFILE_SPEC, LINK_SPEC): Moved to
config/sol2.h.
(SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise.
(ASM_CPU_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Define.
* config/sparc/sol2-bi.h (LONG_DOUBLE_TYPE_SIZE): Removed, already
in config/sparc/sol2.h.
(ASM_SPEC): Moved to config/sol2.h.
(CPP_CPU_SPEC): Simplified.
(STARTFILE_SPEC32): Likewise, renamed to STARTFILE_ARCH32_SPEC for
consistency.
(STARTFILE_SPEC64): Renamed to STARTFILE_ARCH64_SPEC.
(STARTFILE_ARCH_SPEC): Use new names STARTFILE_ARCH32_SPEC,
STARTFILE_ARCH64_SPEC.
(STARTFILE_SPEC): Moved to config/sol2.h
(SUBTARGET_EXTRA_SPECS): Add startfile_arch.
(LINK_ARCH32_SPEC): Moved to config/sol2.h.
(LINK_ARCH64_SPEC): Simplified.
(LINK_ARCH_SPEC): Redefined config/sol2.h version for 64-bit support.
(LINK_SPEC): Moved to config/sol2.h
* config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Moved to
config/sol2.h.
Use BITS_PER_WORD for size.
(WINT_TYPE, WINT_TYPE_SIZE): Likewise.
(HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise.
(CPP_PREDEFINES): Removed OS-specific part handled by
TARGET_OS_CPP_BUILTINS.
(CPP_SUBTARGET_SPEC): Moved to config/sol2.h.
(CPLUSPLUS_CPP_SPEC): Removed, handled by TARGET_OS_CPP_BUILTINS.
(ASM_SPEC): Moved to config/sol2.h.
(PREFERRED_DEBUGGING_TYPE): Likewise.
(STARTFILE_SPEC, LIB_SPEC, LINK_SPEC): Likewise.
(SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise.
(TARGET_DEFAULT): Reordered to match config/sparc/sol2-bi.h version.
(TRANSFER_FROM_TRAMPOLINE): Moved to config/sol2.h
* config.gcc (i?86-*-solaris2*): Removed obsolete gas support.
* config/i386/sol2gas.h: Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54827
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 20 Jun 2002 10:15:59 +0000 (10:15 +0000)]
* i386.md (xorqi_1_slp, xorqi_2_slp): New patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54826
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Thu, 20 Jun 2002 09:13:57 +0000 (09:13 +0000)]
2002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
* com.c: Remove #ifdef HOHO sections.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54824
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 20 Jun 2002 07:30:04 +0000 (07:30 +0000)]
* c-common.c (c_common_get_alias_set): Correctly handle characters.
Rearrange order of expressions; don't handle vectors here.
* alias.c (get_alias_set): Let vectors match their components.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54821
138bc75d-0d04-0410-961f-
82ee72b054a4