Neil Booth [Sat, 29 Jun 2002 15:49:24 +0000 (15:49 +0000)]
re PR preprocessor/7150 (gcc -dM -E ... SegFault)
PR preprocessor/7150
* cppmain.c (scan_translation_unit_trad): Simplify.
* cpplib.c (cpp_scan_nooutput): Handle traditional case.
From-SVN: r55102
Neil Booth [Sat, 29 Jun 2002 09:10:04 +0000 (09:10 +0000)]
crtdll.h: Define EXTRA_OS_CPP_BUILTINS.
* config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS.
Don't use CPP_PREDEFINES.
* config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): New.
Used TARGET_OS_CPP_BUILTINS in preference to CPP_PREDEFINES.
* config/i386/djgpp.h, config/i386/i386-coff.h,
config/i386/i386-interix.h, config/i386/i386-interix3.h,
config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/sysv3.h,
config/i386/uwin.h: Similarly.
From-SVN: r55101
GCC Administrator [Sat, 29 Jun 2002 07:17:41 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r55100
Herman A.J. ten Brugge [Sat, 29 Jun 2002 03:05:50 +0000 (05:05 +0200)]
c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and flag_inline_trees to...
* c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and
flag_inline_trees to enable inlining.
From-SVN: r55091
Phil Edwards [Sat, 29 Jun 2002 01:10:51 +0000 (01:10 +0000)]
PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
2002-06-28 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
* include/std/std_queue.h: Include deque.tcc, vector.tcc.
* include/std/std_stack.h: Include deque.tcc.
* testsuite/23_containers/adaptors.cc: New file.
From-SVN: r55090
Phil Edwards [Sat, 29 Jun 2002 00:19:00 +0000 (00:19 +0000)]
configure.in (gcc_gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs...
2002-06-28 Phil Edwards <pme@gcc.gnu.org>
* configure.in (gcc_gxx_include_dir): Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.
* configure: Regenerate.
From-SVN: r55088
Jan Hubicka [Fri, 28 Jun 2002 23:41:19 +0000 (01:41 +0200)]
* gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move.
From-SVN: r55087
Stephen Clarke [Fri, 28 Jun 2002 21:34:47 +0000 (21:34 +0000)]
combine.c (combine_simplify_rtx): Pass the mode of the shift count...
* combine.c (combine_simplify_rtx): Pass the mode of the
shift count, not the shift operation when trying to simplify
a shift on a SHIFT_COUNT_TRUNCATED target.
From-SVN: r55085
Stephane Carrez [Fri, 28 Jun 2002 21:16:58 +0000 (23:16 +0200)]
m68hc11.md ("*addsi3"): Use 'o' constraint to avoid the auto increment addressing modes.
* config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
avoid the auto increment addressing modes.
("*subsi3"): Likewise.
(split for add/sub on address): For 68HC12 push the value on
the stack and do the operation with a pop.
From-SVN: r55083
Graham Stott [Fri, 28 Jun 2002 21:07:30 +0000 (21:07 +0000)]
MAINTAINERS: Update my email address.
2002-06-28 Graham Stott <graham.stott@btinternet.com>
* MAINTAINERS: Update my email address.
From-SVN: r55082
Graham Stott [Fri, 28 Jun 2002 21:00:15 +0000 (21:00 +0000)]
* Update email address.
From-SVN: r55081
Stephane Carrez [Fri, 28 Jun 2002 20:49:36 +0000 (22:49 +0200)]
m68hc11.h (OPTIMIZATION_OPTIONS): Define.
* config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
* config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options):
Declare.
* config/m68hc11/m68hc11.c (m68hc11_optimization_options): New,
do not reorder basic blocks at the end when optimizing for size.
From-SVN: r55079
Neil Booth [Fri, 28 Jun 2002 20:27:14 +0000 (20:27 +0000)]
cpplib.c (_cpp_handle_directive): Move #define-specific code to the #define handler...
* cpplib.c (_cpp_handle_directive): Move #define-specific
code to the #define handler...
(do_define): ...here.
(lex_macro_node): No longer a need to check for comments here.
From-SVN: r55077
Stephane Carrez [Fri, 28 Jun 2002 20:26:16 +0000 (22:26 +0200)]
m68hc11.c (autoinc_mode): New function.
* config/m68hc11/m68hc11.c (autoinc_mode): New function.
(m68hc11_make_autoinc_notes): New function.
(m68hc11_split_move): Be very cautious when spliting a move with
auto increment/decrement modes because this may result in incompatible
directions; add REG_INC notes to the resulting insn for CSE reg.
From-SVN: r55076
Toon Moene [Fri, 28 Jun 2002 19:58:32 +0000 (21:58 +0200)]
news.texi: Mention 2 Gbyte limit on 32-bit targets for arrays explicitly in news on g77-3.1.
2002-06-28 Toon Moene <toon@moene.indiv.nluug.nl>
* news.texi: Mention 2 Gbyte limit on 32-bit targets
for arrays explicitly in news on g77-3.1.
From-SVN: r55075
Stephane Carrez [Fri, 28 Jun 2002 19:52:17 +0000 (21:52 +0200)]
m68hc11.c (register_indirect_p): For 68HC12 a constant can be a valid address.
* config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
can be a valid address.
From-SVN: r55073
Aldy Hernandez [Fri, 28 Jun 2002 19:13:15 +0000 (19:13 +0000)]
ok, this is the right version ;-)
From-SVN: r55071
Aldy Hernandez [Fri, 28 Jun 2002 19:11:22 +0000 (19:11 +0000)]
fix stupidity of committing the wrong version of the file
From-SVN: r55070
Aldy Hernandez [Fri, 28 Jun 2002 19:06:08 +0000 (19:06 +0000)]
rs6000.c: Remove unusued variables from last patch.
2002-06-28 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c: Remove unusued variables from last
patch.
From-SVN: r55069
Aldy Hernandez [Fri, 28 Jun 2002 18:07:41 +0000 (18:07 +0000)]
revert: rs6000.c (rs6000_override_options): Move *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
2002-06-27 Aldy Hernandez <aldyh@redhat.com>
Revert:
* config/rs6000/rs6000.c (rs6000_override_options): Move
*SUBTARGET_OVERRIDE_OPTIONS before the -m options.
From-SVN: r55068
Aldy Hernandez [Fri, 28 Jun 2002 17:32:12 +0000 (17:32 +0000)]
rs6000.c (altivec_expand_builtin): Move lvx/stv/dst builtins...
2002-06-27 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (altivec_expand_builtin): Move
lvx/stv/dst builtins...
(altivec_expand_ld_builtin): ...to here.
(altivec_expand_st_builtin): ...here.
(altivec_expand_dst_builtin): ...and here (respectively).
From-SVN: r55067
Bob Wilson [Fri, 28 Jun 2002 17:24:34 +0000 (17:24 +0000)]
* config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.
From-SVN: r55066
Bernd Schmidt [Fri, 28 Jun 2002 15:43:54 +0000 (15:43 +0000)]
Prevent creation of paradoxical FLOAT_MODE subregs
From-SVN: r55064
GCC Administrator [Fri, 28 Jun 2002 07:18:09 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r55061
Andreas Jaeger [Fri, 28 Jun 2002 06:35:14 +0000 (08:35 +0200)]
re PR ada/7144 (Typo in Makefile-comment)
PR ada/7144
* Makefile.in: Fix typo in comment, patch by Adrian Knoth
<adi@thur.de>.
From-SVN: r55056
Neil Booth [Fri, 28 Jun 2002 06:26:54 +0000 (06:26 +0000)]
re PR preprocessor/7138 (gcc-3.2 failed to compile kernel)
PR preprocessor/7138
* cpplib.c (_cpp_handle_directive): Do traditional
preparation after setting state.angled_headers.
* cpptrad.c (scan_out_logical_line): Fix potential
quote bug.
From-SVN: r55055
Aldy Hernandez [Fri, 28 Jun 2002 04:21:17 +0000 (04:21 +0000)]
Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_override_options): Move
*SUBTARGET_OVERRIDE_OPTIONS before the -m options.
From-SVN: r55053
Bob Wilson [Thu, 27 Jun 2002 23:17:46 +0000 (23:17 +0000)]
xtensa.md: Give "*xxx" names to all unnamed insn's.
* config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's.
(*lsiu, *ssiu, movstrsi_internal, zero_cost_loop_start,
zero_cost_loop_end): Remove unnecessary "parallel" from insns.
From-SVN: r55046
Phil Edwards [Thu, 27 Jun 2002 22:09:02 +0000 (22:09 +0000)]
stl_alloc.h: Deprecate all 'reallocate' memfns.
2002-06-27 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
* docs/html/ext/howto.html: Update allocator notes.
From-SVN: r55044
Mark Mitchell [Thu, 27 Jun 2002 21:45:56 +0000 (21:45 +0000)]
re PR c++/6695 (Regression: template friend declaration doesn't work)
PR c++/6695
* pt.c (tsubst_friend_class): Substitute into the context of the
friend before using it.
PR c++/6695
* g++.dg/template/friend7.C: New file.
From-SVN: r55041
Roger Sayle [Thu, 27 Jun 2002 20:15:57 +0000 (20:15 +0000)]
d30v.h: Remove commented out STACK_REGS #defines.
* config/d30v/d30v.h: Remove commented out STACK_REGS #defines.
* config/stormy16/stormy16.h: Likewise.
* config/stormy16/stormy16.h (CUMULATIVE_ARGS): Replace typedef
with #define.
From-SVN: r55039
Gerald Pfeifer [Thu, 27 Jun 2002 19:08:52 +0000 (21:08 +0200)]
install.texi (Binaries): Add Sinix/Reliant Unix.
* doc/install.texi (Binaries): Add Sinix/Reliant Unix. Move
Hitachi entry. Make punctuation more consistent.
From-SVN: r55037
Aldy Hernandez [Thu, 27 Jun 2002 18:23:33 +0000 (18:23 +0000)]
string-opt-8.c (strncmp): Fix typo in return type.
2002-06-27 Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/string-opt-8.c (strncmp): Fix typo in
return type.
From-SVN: r55035
Matt Kraai [Thu, 27 Jun 2002 17:19:06 +0000 (17:19 +0000)]
install.texi: Change ` bit' to `-bit'.
* doc/install.texi: Change ` bit' to `-bit'.
* doc/md.texi: Change `-bits' to `-bit'.
* doc/tm.texi: Change `-bits' to ` bits'.
From-SVN: r55033
Daniel Berlin [Thu, 27 Jun 2002 15:56:40 +0000 (15:56 +0000)]
gcse.c (hoist_code): Rewrite to only get list of dominated blocks once per BB.
* gcse.c (hoist_code): Rewrite to only get list of dominated
blocks once per BB. Also fix reversed test (by removing need for
the test at all).
From-SVN: r55031
J"orn Rennecke [Thu, 27 Jun 2002 14:24:30 +0000 (14:24 +0000)]
simd-2.c (i, j): Add initializer elements to avoid division by zero.
* gcc.c-torture/execute/simd-2.c (i, j): Add initializer elements to
avoid division by zero.
From-SVN: r55030
Benjamin Kosnik [Thu, 27 Jun 2002 10:19:53 +0000 (10:19 +0000)]
config.if (libstdcxx_incdir): Version C++ headers.
2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
* config.if (libstdcxx_incdir): Version C++ headers.
(cxx_incdir): Remove.
From-SVN: r55029
Benjamin Kosnik [Thu, 27 Jun 2002 10:16:50 +0000 (10:16 +0000)]
configure.in (INTERFACE): Remove.
2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (INTERFACE): Remove.
(release_VERSION): Remove.
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
(libstdcxx_interface): Change. Use gcc methods to determine version.
* configure: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r55028
GCC Administrator [Thu, 27 Jun 2002 07:17:30 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r55027
Neil Booth [Thu, 27 Jun 2002 06:01:58 +0000 (06:01 +0000)]
cpphash.h (_cpp_set_trad_context): Remove.
* cpphash.h (_cpp_set_trad_context): Remove.
* cpplib.c (prepare_directive_trad): Do nothing for #define.
(cpp_push_buffer, _cpp_pop_buffer): Don't call _cpp_set_trad_context.
* cpptrad.c: Update comments.
(_cpp_read_logical_line_trad): Let scan_logical_line handle
updating the current context.
(scan_logical_line): Update the current context.
(_cpp_create_trad_definition): Similarly.
(_cpp_set_trad_context): Remove.
From-SVN: r55022
Neil Booth [Thu, 27 Jun 2002 05:59:53 +0000 (05:59 +0000)]
re PR preprocessor/7070 (internal error with -Wunknown-pragmas && empty #pragma)
PR preprocessor/7070
* c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF.
testsuite:
* gcc.dg/Wunknownprag.c: New tests.
From-SVN: r55021
Bob Wilson [Thu, 27 Jun 2002 04:33:41 +0000 (04:33 +0000)]
xtensa-protos.h (xtensa_return_addr): Declare.
* config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare.
config/xtensa/xtensa.c (xtensa_return_addr): New function.
config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr.
config/xtensa/xtensa.md (fix_return_addr): New pattern.
From-SVN: r55020
Kaveh R. Ghazi [Thu, 27 Jun 2002 02:10:36 +0000 (02:10 +0000)]
mips.c (coprocessor_operand, [...]): Move prototypes from here...
* mips.c (coprocessor_operand, coprocessor2_operand,
symbolic_operand): Move prototypes from here...
* mips-protos.h (coprocessor_operand, coprocessor2_operand,
symbolic_operand): ...to here.
From-SVN: r55018
Kaveh R. Ghazi [Thu, 27 Jun 2002 01:53:42 +0000 (01:53 +0000)]
parse.y (check_modifiers, [...]): Avoid incorrect hardcoded constant 10.
* parse.y (check_modifiers, declare_local_variables): Avoid
incorrect hardcoded constant 10.
From-SVN: r55017
Kaveh R. Ghazi [Thu, 27 Jun 2002 01:03:24 +0000 (01:03 +0000)]
lex.c (java_init_lex): Avoid incorrect hardcoded constant 11.
* lex.c (java_init_lex): Avoid incorrect hardcoded constant 11.
* parse.y (mark_parser_ctxt): Likewise.
From-SVN: r55016
Kaveh R. Ghazi [Wed, 26 Jun 2002 20:07:02 +0000 (20:07 +0000)]
lex.c (java_read_char): Avoid "comparison is always true" warning.
* lex.c (java_read_char): Avoid "comparison is always true"
warning.
From-SVN: r55014
Mark Mitchell [Wed, 26 Jun 2002 17:03:44 +0000 (17:03 +0000)]
cp-tree.h (xref_tag): Change prototype.
* cp-tree.h (xref_tag): Change prototype.
(handle_class_head): Likewise.
(build_x_component_ref): Likewise.
* decl.c (cxx_init_decl_processing): Adjust call to xref_tag.
(xref_tag): Take attributes as a separate parameter.
(xref_tag_from_type): Adjust call to xref_tag.
* decl2.c (build_expr_from_tree): Adjust call to
build_x_component_ref.
(handle_class_head): Take attributes as a separate parameter.
* parse.y (parse_xref_tag): New function.
(parse_handle_class_head): Likewise.
(primary): Use parse_xref_tag.
(class_head_decl): Use parse_handle_class_head.
(class_head_defn): Likewise.
* rtti.c (init_rtti_processing): Adjust call to xref_tag.
(build_dynamic_cast_1): Likewise.
(create_pseudo_type_info): Likewise.
(emit_support_tinfos): Likewise.
* typeck.c (build_object_ref): Adjust call to
build_x_component_ref.
(build_x_component_ref): Remove protect parameter.
From-SVN: r55013
Zack Weinberg [Wed, 26 Jun 2002 16:50:04 +0000 (16:50 +0000)]
* texi2pod.pl: Correct handling of the internal R<> sequence.
From-SVN: r55012
J"orn Rennecke [Wed, 26 Jun 2002 15:42:03 +0000 (15:42 +0000)]
shelf.sh (STACK_ADDR): Don't define.
ld:
* emulparams/shelf.sh (STACK_ADDR): Don't define.
(OTHER_SECTIONS): Define.
* emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
(OTHER_SECTIONS): Undef.
newlib:
* libc/sys/sh/crt0.S: Remove vestigial .section directive.
gcc:
* config/sh/crt1.asm: remove _stack label definition
and sentinel value.
From-SVN: r55011
Kaveh R. Ghazi [Wed, 26 Jun 2002 15:16:01 +0000 (15:16 +0000)]
* varasm.c: Include real.h before output.h.
From-SVN: r55010
Aldy Hernandez [Wed, 26 Jun 2002 08:10:02 +0000 (08:10 +0000)]
rs6000.h (ALTIVEC_VECTOR_MODE): Revert change to check for TARGET_ALTIVEC.
2002-06-26 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Revert change to
check for TARGET_ALTIVEC.
From-SVN: r55009
GCC Administrator [Wed, 26 Jun 2002 07:17:54 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r55008
Nathanael Nerode [Wed, 26 Jun 2002 04:09:11 +0000 (04:09 +0000)]
Obselete vax-*-vms*
From-SVN: r55002
DJ Delorie [Wed, 26 Jun 2002 03:53:45 +0000 (23:53 -0400)]
acinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE.
* acinclude.m4 (GLIBCPP_CONFIGURE): Split out
GLIBCPP_TOPREL_CONFIGURE.
* aclocal.m4: Likewise.
* configure.in: Call it before AC_CANONICAL_SYSTEM.
* configure: Regenerate.
From-SVN: r55001
Kaveh R. Ghazi [Wed, 26 Jun 2002 02:58:51 +0000 (02:58 +0000)]
* gcc.c (warn_std): Delete.
From-SVN: r55000
Loren J. Rittle [Tue, 25 Jun 2002 23:41:25 +0000 (23:41 +0000)]
* doc/extend.texi: Fix formatting of last checkin.
From-SVN: r54999
Rainer Orth [Tue, 25 Jun 2002 23:31:06 +0000 (23:31 +0000)]
alpha.h (TARGET_CPU_CPP_BUILTINS): Remove leading underscore from __IEEE_FP and __IEEE_FP_INEXACT.
* config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Remove leading
underscore from __IEEE_FP and __IEEE_FP_INEXACT.
From-SVN: r54998
Aldy Hernandez [Tue, 25 Jun 2002 21:29:41 +0000 (21:29 +0000)]
extend.texi (PowerPC AltiVec Built-in Functions): Document discrepancies from motorola's documentation.
2002-06-24 Aldy Hernandez <aldyh@redhat.com>
* doc/extend.texi (PowerPC AltiVec Built-in Functions): Document
discrepancies from motorola's documentation.
From-SVN: r54997
J"orn Rennecke [Tue, 25 Jun 2002 20:53:12 +0000 (20:53 +0000)]
optabs.c (expand_vector_binop, [...]): Don't assume GET_MODE_UNIT_SIZE (mode) == UNITS_PER_WORD.
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.
From-SVN: r54994
J"orn Rennecke [Tue, 25 Jun 2002 20:39:18 +0000 (20:39 +0000)]
lib1funcs.asm (udivdi3): Make first divide step produce a 32 bit result before normalization...
* 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.
From-SVN: r54993
Jessica Han [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.
From-SVN: r54991
Benjamin Kosnik [Tue, 25 Jun 2002 16:45:01 +0000 (16:45 +0000)]
stl_alloc.h: Additional formatting.
2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h: Additional formatting.
From-SVN: r54990
Mark Mitchell [Tue, 25 Jun 2002 15:35:27 +0000 (15:35 +0000)]
call.c (build_op_delete_call): Use BASELINK_FUNCTIONS.
* 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.
From-SVN: r54989
David S. Miller [Tue, 25 Jun 2002 14:10:52 +0000 (07:10 -0700)]
sparc.md: Change \\{t,n} to \{t,n}.
2002-06-25 David S. Miller <davem@redhat.com>
* config/sparc/sparc.md: Change \\{t,n} to \{t,n}.
From-SVN: r54988
Andreas Schwab [Tue, 25 Jun 2002 13:27:19 +0000 (13:27 +0000)]
* expr.c (JSR): Avoid undefined operation on PC.
From-SVN: r54987
Nathanael Nerode [Tue, 25 Jun 2002 07:57:03 +0000 (07:57 +0000)]
*** empty log message ***
From-SVN: r54985
Nathanael Nerode [Tue, 25 Jun 2002 07:56:26 +0000 (07:56 +0000)]
MAINTAINERS (Write After Approval): Add self.
From-SVN: r54984
GCC Administrator [Tue, 25 Jun 2002 07:17:55 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r54983
Neil Booth [Tue, 25 Jun 2002 06:00:30 +0000 (06:00 +0000)]
cpplib.c (do_include_common): Revert to correct line number if -traditional.
* 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.
From-SVN: r54978
Tom Tromey [Tue, 25 Jun 2002 05:29:22 +0000 (05:29 +0000)]
natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
* 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.
From-SVN: r54977
Kaveh R. Ghazi [Tue, 25 Jun 2002 01:58:10 +0000 (01:58 +0000)]
Makefile.in (SHELL): Set to @SHELL@.
gcc:
* Makefile.in (SHELL): Set to @SHELL@.
* fixinc/Makefile.in (SHELL): Likewise.
gcc/ada:
* Makefile.in (SHELL): Set to @SHELL@.
From-SVN: r54976
Kaveh R. Ghazi [Tue, 25 Jun 2002 01:52:37 +0000 (01:52 +0000)]
mips.md (fixuns_truncdfsi2, [...]): Avoid automatic aggregate initialization.
* mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2,
fixuns_truncsfsi2, fixuns_truncsfdi2): Avoid automatic aggregate
initialization.
From-SVN: r54975
Alan Modra [Tue, 25 Jun 2002 00:14:15 +0000 (00:14 +0000)]
demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.
* 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.
From-SVN: r54974
Tom Tromey [Mon, 24 Jun 2002 20:38:47 +0000 (20:38 +0000)]
verify.cc (branch_prepass): Updated for change to exception handler type.
* 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.
From-SVN: r54968
Joern Rennecke [Mon, 24 Jun 2002 20:22:12 +0000 (21:22 +0100)]
Update Copyright.
From-SVN: r54967
Jeff Law [Mon, 24 Jun 2002 20:20:52 +0000 (14:20 -0600)]
flow.c (propagate_one_insn): When removing an insn with a REG_LIBCALL note but not the entire libcall...
* 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.
From-SVN: r54966
J"orn Rennecke [Mon, 24 Jun 2002 20:08:17 +0000 (20:08 +0000)]
lib1funcs.asm (sdivsi3): Add optimized SH64 implementations.
* 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.
From-SVN: r54965
David S. Miller [Mon, 24 Jun 2002 19:48:53 +0000 (12:48 -0700)]
Makefile.in (GTFILES): Add basic-block.h
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.
From-SVN: r54964
Mark Mitchell [Mon, 24 Jun 2002 19:18:43 +0000 (19:18 +0000)]
cp-tree.h (SCALAR_TYPE_P): New macro.
* 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.
From-SVN: r54962
J"orn Rennecke [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.
* sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK
arguments into account for stack_regs.
From-SVN: r54961
Matt Kraai [Mon, 24 Jun 2002 17:21:04 +0000 (17:21 +0000)]
extend.texi: Change `@dots{}' to `/* @r{@dots{}} */' in examples.
* doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */'
in examples.
From-SVN: r54960
Art Haas [Mon, 24 Jun 2002 16:45:21 +0000 (16:45 +0000)]
extend.texi (Other Builtins): Change `...' to `@dots{}'.
2002-06-24 Art Haas <ahaas@neosoft.com>
* doc/extend.texi (Other Builtins): Change `...' to `@dots{}'.
* doc/tm.texi (Frame Layout): Likewise.
From-SVN: r54957
Aldy Hernandez [Mon, 24 Jun 2002 16:25:30 +0000 (16:25 +0000)]
changelog entry for generic simd patch
From-SVN: r54956
Steve Ellcey [Mon, 24 Jun 2002 16:06:21 +0000 (16:06 +0000)]
config.gcc (ia64*-*-hpux*): Set use_collect2 to no.
* gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no.
Set float_format to i128.
From-SVN: r54953
David S. Miller [Mon, 24 Jun 2002 12:58:43 +0000 (05:58 -0700)]
sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.
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.
From-SVN: r54952
David S. Miller [Mon, 24 Jun 2002 11:34:01 +0000 (04:34 -0700)]
sparc.md: Use define_insn_and_split.
2002-06-24 David S. Miller <davem@redhat.com>
* config/sparc/sparc.md: Use define_insn_and_split.
From-SVN: r54951
David S. Miller [Mon, 24 Jun 2002 10:08:38 +0000 (03:08 -0700)]
sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.
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.
From-SVN: r54950
Phil Edwards [Mon, 24 Jun 2002 08:07:05 +0000 (08:07 +0000)]
stl_alloc.h: Reformat as per C++STYLE.
2002-06-24 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_alloc.h: Reformat as per C++STYLE.
From-SVN: r54949
GCC Administrator [Mon, 24 Jun 2002 07:23:01 +0000 (07:23 +0000)]
Daily bump.
From-SVN: r54948
Phil Edwards [Mon, 24 Jun 2002 05:50:58 +0000 (05:50 +0000)]
*: Move header files up a level.
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.
From-SVN: r54943
Neil Booth [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...
* 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.
From-SVN: r54942
Alan Modra [Mon, 24 Jun 2002 05:08:02 +0000 (05:08 +0000)]
libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.
* libiberty.h (basename): Don't declare if HAVE_DECL_BASENAME.
* getopt.h (getopt): Don't declare if HAVE_DECL_GETOPT.
From-SVN: r54941
Tom Tromey [Mon, 24 Jun 2002 04:45:46 +0000 (04:45 +0000)]
configure: Rebuilt.
* configure: Rebuilt.
* configure.in (INTERPRETER): New subst.
(AM_RUNTESTFLAGS): Don't subst.
From-SVN: r54940
Tom Tromey [Mon, 24 Jun 2002 04:44:53 +0000 (04:44 +0000)]
Makefile.in: Rebuilt.
* 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.
From-SVN: r54939
Alan Modra [Mon, 24 Jun 2002 02:16:42 +0000 (02:16 +0000)]
doloop.c (doloop_valid_p): Correct comment.
* 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.
From-SVN: r54938
Tom Tromey [Mon, 24 Jun 2002 00:16:36 +0000 (00:16 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am ($(srcdir)/java/lang/Object.h,
$(srcdir)/java/lang/Class.h): Added dummy targets.
From-SVN: r54936
David Edelsohn [Sun, 23 Jun 2002 21:46:34 +0000 (17:46 -0400)]
- Follow up to 2002-06-05 patch.
From-SVN: r54934
Mark Mitchell [Sun, 23 Jun 2002 20:10:09 +0000 (20:10 +0000)]
parse.y (parse_scoped_id): New function.
* 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.
From-SVN: r54930
Matt Thomas [Sun, 23 Jun 2002 19:56:05 +0000 (19:56 +0000)]
decl.c (finish_function): Change "#ifdef VMS_TARGET" to "#if VMS_TARGET".
* decl.c (finish_function): Change "#ifdef VMS_TARGET" to
"#if VMS_TARGET".
From-SVN: r54929
Denis Chertykov [Sun, 23 Jun 2002 17:35:48 +0000 (17:35 +0000)]
* configure.in: Add support for ip2k.
From-SVN: r54926