Stephane Carrez
3cdd28216b
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
2002-06-28 21:52:17 +02:00
Aldy Hernandez
7c3abc7301
ok, this is the right version ;-)
...
From-SVN: r55071
2002-06-28 19:13:15 +00:00
Aldy Hernandez
14b32f4e02
fix stupidity of committing the wrong version of the file
...
From-SVN: r55070
2002-06-28 19:11:22 +00:00
Aldy Hernandez
e6a82e8067
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
2002-06-28 19:06:08 +00:00
Aldy Hernandez
a7ae18e278
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
2002-06-28 18:07:41 +00:00
Aldy Hernandez
3a9b8c7e91
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
2002-06-28 17:32:12 +00:00
Bob Wilson
5f9dc2143b
* config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.
...
From-SVN: r55066
2002-06-28 17:24:34 +00:00
Bernd Schmidt
53501a19fa
Prevent creation of paradoxical FLOAT_MODE subregs
...
From-SVN: r55064
2002-06-28 15:43:54 +00:00
GCC Administrator
20c2d1fea3
Daily bump.
...
From-SVN: r55061
2002-06-28 07:18:09 +00:00
Andreas Jaeger
c168bbd714
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
2002-06-28 08:35:14 +02:00
Neil Booth
d1a586888e
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
2002-06-28 06:26:54 +00:00
Aldy Hernandez
55c1c60d4f
Aldy Hernandez <aldyh@redhat.com>
...
* config/rs6000/rs6000.c (rs6000_override_options): Move
*SUBTARGET_OVERRIDE_OPTIONS before the -m options.
From-SVN: r55053
2002-06-28 04:21:17 +00:00
Bob Wilson
3219c65bc9
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
2002-06-27 23:17:46 +00:00
Phil Edwards
07a6e20be9
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
2002-06-27 22:09:02 +00:00
Mark Mitchell
5ce49b4b08
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
2002-06-27 21:45:56 +00:00
Roger Sayle
c8f863fc55
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
2002-06-27 20:15:57 +00:00
Gerald Pfeifer
8d5362b772
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
2002-06-27 19:08:52 +00:00
Aldy Hernandez
759236dd7c
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
2002-06-27 18:23:33 +00:00
Matt Kraai
57694e4011
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
2002-06-27 17:19:06 +00:00
Daniel Berlin
c635a1ec84
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
2002-06-27 09:56:40 -06:00
J"orn Rennecke
8642282920
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
2002-06-27 15:24:30 +01:00
Benjamin Kosnik
53c40185d0
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
2002-06-27 10:19:53 +00:00
Benjamin Kosnik
41970073a9
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
2002-06-27 10:16:50 +00:00
GCC Administrator
7692f832b4
Daily bump.
...
From-SVN: r55027
2002-06-27 07:17:30 +00:00
Neil Booth
951a076609
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
2002-06-27 06:01:58 +00:00
Neil Booth
0647023885
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
2002-06-27 05:59:53 +00:00
Bob Wilson
0c14a54df6
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
2002-06-27 04:33:41 +00:00
Kaveh R. Ghazi
e9873fd5e1
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
2002-06-27 02:10:36 +00:00
Kaveh R. Ghazi
33780b4597
parse.y (check_modifiers, [...]): Avoid incorrect hardcoded constant 10.
...
* parse.y (check_modifiers, declare_local_variables): Avoid
incorrect hardcoded constant 10.
From-SVN: r55017
2002-06-27 01:53:42 +00:00
Kaveh R. Ghazi
57ddd19c61
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
2002-06-27 01:03:24 +00:00
Kaveh R. Ghazi
bd466c7bde
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
2002-06-26 20:07:02 +00:00
Mark Mitchell
88e5899c42
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
2002-06-26 17:03:44 +00:00
Zack Weinberg
dd6773cd70
* texi2pod.pl: Correct handling of the internal R<> sequence.
...
From-SVN: r55012
2002-06-26 16:50:04 +00:00
J"orn Rennecke
650e8d05f4
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
2002-06-26 16:42:03 +01:00
Kaveh R. Ghazi
c7836bcd97
* varasm.c: Include real.h before output.h.
...
From-SVN: r55010
2002-06-26 15:16:01 +00:00
Aldy Hernandez
6e1f54e224
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
2002-06-26 08:10:02 +00:00
GCC Administrator
db16cbb9a4
Daily bump.
...
From-SVN: r55008
2002-06-26 07:17:54 +00:00
Nathanael Nerode
18fbcbcf9d
Obselete vax-*-vms*
...
From-SVN: r55002
2002-06-26 04:09:11 +00:00
DJ Delorie
aebb8c22e1
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
2002-06-25 23:53:45 -04:00
Kaveh R. Ghazi
09bed16720
* gcc.c (warn_std): Delete.
...
From-SVN: r55000
2002-06-26 02:58:51 +00:00
Loren J. Rittle
8254cb4580
* doc/extend.texi: Fix formatting of last checkin.
...
From-SVN: r54999
2002-06-25 23:41:25 +00:00
Rainer Orth
f9ee10ab66
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
2002-06-25 23:31:06 +00:00
Aldy Hernandez
90989b2675
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
2002-06-25 21:29:41 +00:00
J"orn Rennecke
9881adffaa
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
2002-06-25 21:53:12 +01:00
J"orn Rennecke
4de1b7a907
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
2002-06-25 21:39:18 +01:00
Jessica Han
0e20c0b56f
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
2002-06-25 16:55:47 +00:00
Benjamin Kosnik
72ea9226fb
stl_alloc.h: Additional formatting.
...
2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h: Additional formatting.
From-SVN: r54990
2002-06-25 16:45:01 +00:00
Mark Mitchell
da15dae6f5
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
2002-06-25 15:35:27 +00:00
David S. Miller
16b460352a
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
2002-06-25 07:10:52 -07:00
Andreas Schwab
b6532e573f
* expr.c (JSR): Avoid undefined operation on PC.
...
From-SVN: r54987
2002-06-25 13:27:19 +00:00