Nathanael Nerode [Thu, 13 Mar 2003 03:01:26 +0000 (03:01 +0000)]
fixinc.interix: Remove dead code (most of it).
* fixinc/fixinc.interix: Remove dead code (most of it).
* fixinc/fixinc.dgux: Remove.
From-SVN: r64292
Nathanael Nerode [Thu, 13 Mar 2003 02:58:40 +0000 (02:58 +0000)]
float.h, [...]: GCC, not GNU CC.
* ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h,
ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC.
From-SVN: r64291
Nathanael Nerode [Thu, 13 Mar 2003 02:46:26 +0000 (02:46 +0000)]
* Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
From-SVN: r64290
Nathanael Nerode [Thu, 13 Mar 2003 02:38:00 +0000 (02:38 +0000)]
g77.texi, [...]: GCC, not GNU CC.
* g77.texi, invoke.texi, g77spec.c, lang-specs.h: GCC, not
GNU CC. Especially here.
From-SVN: r64289
John David Anglin [Thu, 13 Mar 2003 01:21:05 +0000 (01:21 +0000)]
* pa.c (pa_init_builtins): Fix warning.
From-SVN: r64286
GCC Administrator [Thu, 13 Mar 2003 00:17:09 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64280
Jonathan Wakely [Thu, 13 Mar 2003 00:15:59 +0000 (00:15 +0000)]
index.html: Explain memory "leaks" due to allocators.
2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/faq/index.html: Explain memory "leaks" due to allocators.
* docs/html/faq/index.txt: Regenerate.
* docs/html/debug.html: Add a bit to allocator text and fix XHTML.
From-SVN: r64273
Steve Ellcey [Wed, 12 Mar 2003 23:05:40 +0000 (23:05 +0000)]
ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
* config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
(ASM_OUTPUT_XDATA_SHORT): Remove.
(ASM_OUTPUT_XDATA_INT): Remove.
(ASM_OUTPUT_XDATA_DOUBLE_INT): Remove.
(ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs.
(ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers.
(CASE_VECTOR_MODE): Handle 32 bit pointers in case statement.
From-SVN: r64271
Andrew Lewycky [Wed, 12 Mar 2003 22:24:48 +0000 (17:24 -0500)]
re PR c++/7050 (g++ segfaults on: (i ? get_string() : throw))
PR c++/7050
* expr.c (store_expr): Don't attempt to store void-typed trees,
just evaluate them for side effects.
* cp/expr.c (cxx_expand_expr): Return const0_rtx for throw
expressions.
From-SVN: r64268
Andreas Schwab [Wed, 12 Mar 2003 21:34:31 +0000 (21:34 +0000)]
configure.in: Avoid trailing /.
2003-03-10 Andreas Schwab <schwab@suse.de>
boehm-gc:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
libf2c:
* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
glibcpp_toolexeclibdir.
* configure: Rebuilt.
libffi:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
libjava:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
libobjc:
* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
glibcpp_toolexeclibdir.
* configure: Rebuilt.
libstdc++-v3:
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
glibcpp_toolexeclibdir.
* aclocal.m4, configure: Rebuilt.
zlib:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
From-SVN: r64267
Neil Booth [Wed, 12 Mar 2003 21:31:51 +0000 (21:31 +0000)]
cppfiles.c (cpp_rename_file, [...]): New.
* cppfiles.c (cpp_rename_file, cpp_push_include): New.
* cppinit.c (push_include): Move with changes to cppfiles.c.
(cpp_read_main_file): Mark named operators here...
(cpp_finish_options): ...not here. Update.
(_cpp_maybe_push_include_file): Update.
* cpplib.h (cpp_push_include, cpp_rename_file): New.
From-SVN: r64266
Nathanael Nerode [Wed, 12 Mar 2003 20:56:05 +0000 (20:56 +0000)]
aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE, _gcc_COMPUTE_GAS_VERSION.
* aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,
_gcc_COMPUTE_GAS_VERSION.
* configure.in: Use them.
* configure: Regenerate.
From-SVN: r64263
Bob Wilson [Wed, 12 Mar 2003 20:50:24 +0000 (20:50 +0000)]
xtensa.md (adddi3): Don't clobber source operand used to detect carry.
* config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
to detect carry.
(subdi3): Reorder emitted instructions.
From-SVN: r64262
Andreas Jaeger [Wed, 12 Mar 2003 20:43:52 +0000 (21:43 +0100)]
netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to NETBSD_OS_CPP_BUILTINS_LP64.
* config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to
NETBSD_OS_CPP_BUILTINS_LP64.
From-SVN: r64261
Nathanael Nerode [Wed, 12 Mar 2003 20:41:00 +0000 (20:41 +0000)]
Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.
(toplev)
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused
Make macro.
* Makefile.in: Regenerate.
* configure.in: Clean up gxx_include_dir logic.
* configure: Regenerate.
(gcc)
* Makefile.in: Eliminate all.indirect. Update and clean up comments.
Rearrange. Reorganize.
* configure.in: Rearrange.
* configure: Regenerate.
From-SVN: r64260
Andreas Jaeger [Wed, 12 Mar 2003 20:30:06 +0000 (21:30 +0100)]
c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for LP64 targets.
* c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for
LP64 targets.
* doc/cpp.texi (Common Predefined Macros): Document __LP64__ and
_LP64.
* config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define
_LP64 macros here.
* config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise.
* config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to
NETBSD_OS_CPP_BUILTINS_LP64.
* config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
* config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
* config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove.
From-SVN: r64259
Jan Hubicka [Wed, 12 Mar 2003 18:06:29 +0000 (19:06 +0100)]
* i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.
From-SVN: r64256
Daniel Jacobowitz [Wed, 12 Mar 2003 16:48:50 +0000 (16:48 +0000)]
Fix date in last log entry
From-SVN: r64252
Daniel Jacobowitz [Wed, 12 Mar 2003 16:47:07 +0000 (16:47 +0000)]
* gcc.c-torture/execute/
20030224-2.c: New test.
From-SVN: r64251
Daniel Jacobowitz [Wed, 12 Mar 2003 16:45:25 +0000 (16:45 +0000)]
Fix PR target/9797 and PR c/9853.
* stmt.c (expand_decl_init): Call push_temp_slots () and
pop_temp_slots ().
From-SVN: r64250
Jan Hubicka [Wed, 12 Mar 2003 16:43:21 +0000 (17:43 +0100)]
* hashtab.c (htab_expand): Fix warning.
From-SVN: r64249
J"orn Rennecke [Wed, 12 Mar 2003 16:33:20 +0000 (16:33 +0000)]
sh.c: Include basic-block.h.
* sh.c: Include basic-block.h.
(sh_output_mi_thunk, emit_load_ptr): New functions.
(TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine.
From-SVN: r64248
Andrew Haley [Wed, 12 Mar 2003 16:14:01 +0000 (16:14 +0000)]
gjavah.c (is_first_data_member): New global variable.
2003-03-04 Andrew Haley <aph@redhat.com>
* gjavah.c (is_first_data_member): New global variable.
(print_c_decl): If it's the first data member, align it as the
superclass.
(process_file): Set is_first_data_member.
From-SVN: r64247
Jan Hubicka [Wed, 12 Mar 2003 14:15:09 +0000 (15:15 +0100)]
hashtab.c (htab_expand): Compute the size of hashtable based on the number of elements actually used.
* hashtab.c (htab_expand): Compute the size of hashtable based
on the number of elements actually used.
(htab_traverse): Call htab_expand when table is too empty.
From-SVN: r64246
Ansgar Esztermann [Wed, 12 Mar 2003 12:58:36 +0000 (13:58 +0100)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r64245
Nick Clifton [Wed, 12 Mar 2003 12:38:35 +0000 (12:38 +0000)]
(FIXED_REGISTERS): Add Maverick registers.
(CALL_USED_REGISTERS): Likewise.
(FIRST_PSEUDO_REGISTER): Update comment describing how this value is calculated.
From-SVN: r64243
Hans-Peter Nilsson [Wed, 12 Mar 2003 12:28:34 +0000 (12:28 +0000)]
Actually regenerate (using autoheader) this time.
From-SVN: r64242
Hans-Peter Nilsson [Wed, 12 Mar 2003 12:19:25 +0000 (12:19 +0000)]
configure.in (rlim_t): Define to long if no valid definition found in sys/resource.h.
* configure.in (rlim_t): Define to long if no valid definition
found in sys/resource.h.
* config.in, configure: Regenerate.
From-SVN: r64241
Neil Booth [Wed, 12 Mar 2003 11:46:56 +0000 (11:46 +0000)]
/home/neil/diffs/mcore.log
From-SVN: r64240
Eric Botcazou [Wed, 12 Mar 2003 09:54:38 +0000 (10:54 +0100)]
re PR c/9928 (ICE on duplicate enum declaration)
PR c/9928
* c-decl.c (duplicate_decls): Discard the initializer of the new decl
only if it is a VAR_DECL.
From-SVN: r64235
Eric Botcazou [Wed, 12 Mar 2003 09:21:47 +0000 (10:21 +0100)]
re PR rtl-optimization/9888 (-mcpu=k6 -Os produces out of range loop instructions)
PR optimization/9888
* config/i386/i386.md (jcc_1): Fix range.
(jcc_2): Likewise.
(jump): LIkewise.
(doloop_end_internal): Likewise.
From-SVN: r64230
Danny Smith [Wed, 12 Mar 2003 08:59:29 +0000 (08:59 +0000)]
winnt.c (DLL_IMPORT_PREFIX): New define.
* config/i386/winnt.c (DLL_IMPORT_PREFIX): New define.
Use throughout instead of DLL_IMPORT_EXPORT_PREFIX and "e."
(DLL_EXPORT_PREFIX): New define. Use throughout instead of
DLL_IMPORT_EXPORT_PREFIX and "i."
(i386_pe_dllexport_name_p): Here.
(i386_pe_dllimport_name_p): Here.
(i386_pe_mark_dllexport): Here. Remove DLL_IMPORT_PREFIX,
not 9 chars when getting identifier name.
(i386_pe_mark_dllimport): Here.
(i386_pe_encode_section_info): Here. Remove DLL_IMPORT_PREFIX,
not 9 chars when getting identifier name. Correct comment.
(i386_pe_strip_name_encoding): Here. Add comments for different
cases.
(gen_fastcall_suffix): Break down xmalloc() argument to
components.
(gen_stdcall_suffix): Likewise.
Update copyright year.
From-SVN: r64227
Eric Botcazou [Wed, 12 Mar 2003 08:53:27 +0000 (09:53 +0100)]
re PR rtl-optimization/9888 (-mcpu=k6 -Os produces out of range loop instructions)
PR optimization/9888
* config/i386/i386.md (movsi_1): Remove special alternatives
for %eax register.
(movsi_1_nointernunit): Likewise.
(movhi_1): Likewise.
* config/i386/i386.c (memory_address_length): Do not use
short displacement when there is no base.
(ix86_attr_length_address_default): Handle LEA instructions.
From-SVN: r64225
Andreas Jaeger [Wed, 12 Mar 2003 08:05:52 +0000 (09:05 +0100)]
* Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
From-SVN: r64222
Mark Mitchell [Wed, 12 Mar 2003 07:29:31 +0000 (07:29 +0000)]
Fix PR number in log message.
From-SVN: r64221
Mark Mitchell [Wed, 12 Mar 2003 07:23:15 +0000 (07:23 +0000)]
re PR c++/9336 (ICE in cp_line_of, at cp/error.c:2191)
PR c++/9336
* g++.dg/parse/namespace8.C: New test.
PR c++/9336
* decl2.c (do_nonmember_using_decl): Do not call duplicate decls
to merge old and new declarations.
From-SVN: r64216
Neil Booth [Wed, 12 Mar 2003 06:58:38 +0000 (06:58 +0000)]
* c-cppbuiltin.c (builtin_define_std): Make non-static.
From-SVN: r64215
Alexandre Oliva [Wed, 12 Mar 2003 04:18:34 +0000 (04:18 +0000)]
g++.1: Remove.
* g++.1: Remove.
* Make-lang.in (c++.generated-manpages): Build cp/g++.1.
(cp/g++.1): Build it from scratch in the build tree.
(c++.install-man): Depend on it. Install it from the build tree.
(c++.mostlyclean): Clean it.
From-SVN: r64214
Loren J. Rittle [Wed, 12 Mar 2003 02:29:08 +0000 (02:29 +0000)]
freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
* config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
(FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro.
(FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro.
* config/freebsd.h (CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): New.
* config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS
instead of TARGET_OS_CPP_BUILTINS.
* config/sparc/freebsd.h (CPP_PREDEFINES): Remove.
From-SVN: r64212
Geoffrey Keating [Wed, 12 Mar 2003 01:51:28 +0000 (01:51 +0000)]
* c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED.
From-SVN: r64211
Aldy Hernandez [Wed, 12 Mar 2003 01:30:56 +0000 (01:30 +0000)]
rs6000.c (rs6000_stack_info): Remove insn_chain_scanned.
2003-03-11 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_stack_info): Remove
insn_chain_scanned. Use insn_chain_scanned_p in machine_function.
* config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p.
From-SVN: r64210
Alexandre Oliva [Wed, 12 Mar 2003 00:19:37 +0000 (00:19 +0000)]
toplev.c (independent_decode_option): Return success for --help, --target-help and --version.
* toplev.c (independent_decode_option): Return success for --help,
--target-help and --version.
From-SVN: r64209
GCC Administrator [Wed, 12 Mar 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64208
Alexandre Oliva [Tue, 11 Mar 2003 23:31:01 +0000 (23:31 +0000)]
linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
* config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
Default to -mips3 on -mabi=64. Don't add -mips* flag if -march is
specified.
(SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by
DRIVER_SELF_SPECS.
(LINK_SPEC): Let endian options affect the linker emulation name.
From-SVN: r64201
Mark Mitchell [Tue, 11 Mar 2003 23:07:45 +0000 (23:07 +0000)]
re PR c++/9924 (Multiple using statements for builtin functions not allowed)
PR c++/9924
* g++.dg/overload/builtin2.C: New test.
2003-03-11 Mark Mitchell <mark@codesourcery.com>
PR c++/9924
* decl2.c (do_nonmember_using_decl): Ignore anticipated builtins.
From-SVN: r64197
Jason Merrill [Tue, 11 Mar 2003 22:43:44 +0000 (17:43 -0500)]
re PR c++/9820 (ice in build_baselink (templates))
PR c++/9820
* search.c (lookup_member): Fix handling of functions in a class
being defined.
From-SVN: r64193
J"orn Rennecke [Tue, 11 Mar 2003 22:37:41 +0000 (22:37 +0000)]
* sh.md (reload_inqi): Fix mode for source in second set.
From-SVN: r64192
Jan Hubicka [Tue, 11 Mar 2003 21:52:42 +0000 (22:52 +0100)]
cselib.c (cselib_invalidate_mem_1): Move too ...
* cselib.c (cselib_invalidate_mem_1): Move too ...
(cselib_invalidate_mem): ... here; use new list
(dummy_val, first_containing_mem): New static variables.
(clear_table): Initialize first_containing_mem.
(discard_useless_values): Compact the containing_mem list.
(add_mem_for_addr): Add to the list.
* cselib.h (cselib_val): Add next_containing_mem.
From-SVN: r64191
Neil Booth [Tue, 11 Mar 2003 21:33:34 +0000 (21:33 +0000)]
* Makefile.in: Fix typo.
From-SVN: r64190
Jonathan Wakely [Tue, 11 Mar 2003 21:33:30 +0000 (21:33 +0000)]
index.html: Update text about location of headers.
2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/faq/index.html: Update text about location of headers.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r64189
Aldy Hernandez [Tue, 11 Mar 2003 21:26:12 +0000 (21:26 +0000)]
rs6000.c (rs6000_override_options): Disable string instructions for e500.
2003-03-11 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_override_options): Disable string
instructions for e500.
From-SVN: r64188
Neil Booth [Tue, 11 Mar 2003 21:03:58 +0000 (21:03 +0000)]
Makefile.in: Update.
* Makefile.in: Update.
* c-cppbuiltin.c: Include tm_p.h.
From-SVN: r64187
Aldy Hernandez [Tue, 11 Mar 2003 20:40:54 +0000 (20:40 +0000)]
tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
2003-03-11 Aldy Hernandez <aldyh@redhat.com>
* doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
* unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
(_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
(_Unwind_SetGR): Same.
(_Unwind_GetGRPtr): New.
(_Unwind_SetGRPtr): New.
(uw_update_context_1): Use accesor functions instead of accessing
context->reg[] directly.
(uw_install_context_1): Same.
(execute_cfa_program): Same.
(__frame_state_for): Same.
* config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
the synthetic register offset.
* config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.
From-SVN: r64186
Tom Tromey [Tue, 11 Mar 2003 20:37:02 +0000 (20:37 +0000)]
parse.y (resolve_field_access): Initialize class if field is found in another static field.
* parse.y (resolve_field_access): Initialize class if field is
found in another static field.
* expr.c (build_class_init): Don't optimize out initialization of
implemented interface.
From-SVN: r64185
Tom Tromey [Tue, 11 Mar 2003 20:36:34 +0000 (20:36 +0000)]
initfield.java: New file.
* libjava.lang/initfield.java: New file.
* libjava.lang/initfield.out: New file.
From-SVN: r64184
Steven Bosscher [Tue, 11 Mar 2003 20:00:39 +0000 (21:00 +0100)]
return-type-3.c: New test.
2003-03-11 Steven Bosscher <s.bosscher@student.tudelft.nl>
* gcc.dg/return-type-3.c: New test.
From-SVN: r64181
Carlo Wood [Tue, 11 Mar 2003 19:55:46 +0000 (19:55 +0000)]
cplus-dem.c (demangle_integral_value): Correction to reflect patch of 2002-01-10 in order to also make negative...
* cplus-dem.c (demangle_integral_value): Correction to reflect
patch of 2002-01-10 in order to also make negative multi-digits
without leading underscore work.
From-SVN: r64179
Hans-Peter Nilsson [Tue, 11 Mar 2003 15:43:25 +0000 (15:43 +0000)]
cris.md: Remove lingering EGCS reference.
* config/cris/cris.md: Remove lingering EGCS reference.
("*extopqihi_side_biap"): For HI operation, match
cris_additive_operand_extend_operator, not
cris_operand_extend_operator. Adjust condition.
("*extopqihi_side", "*extopqihi"): Ditto.
("*extopqisi_side_biap"): Correct operand numbers in condition.
("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
("*extophisi_swap"): Ditto.
("*extopqihi_swap_side_biap"): For HI operation, match a simple
PLUS, not cris_operand_extend_operator. Adjust condition and
output template.
("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
* config/cris/cris.h (PREDICATE_CODES): Add
cris_additive_operand_extend_operator.
* config/cris/cris.c (cris_additive_operand_extend_operator):
New predicate.
From-SVN: r64174
Mark Mitchell [Tue, 11 Mar 2003 15:43:14 +0000 (15:43 +0000)]
re PR c++/8700 (unhelpful error message for binding temp to reference)
PR c++/8700
* call.c (convert_class_to_reference): Adjust usage of
splice_viable.
(any_viable): Remove.
(splice_viable): Combine with any_viable.
(print_z_candidates): Avoid printing duplicates.
(build_user_type_conversion_1): Adjust usage of splice_viable.
(build_new_function_call): Likewise.
(build_operator_new_call): Likewise.
(build_object_call): Likewise.
(build_conditional_expr): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
(joust): Remove spurious comment.
* cp-tree.h (DECL_FRIENDLIST): Correct documentation.
* decl2.c (arg_assoc_class): Simplify.
* friend.c (add_friend): Likewise.
From-SVN: r64173
Carlo Wood [Tue, 11 Mar 2003 13:48:16 +0000 (13:48 +0000)]
demangle.h: Prepend accessors of class qualifier with 'get_' in order to fix warnings when...
2003-03-11 Carlo Wood <carlo@alinoe.com>
* include/bits/demangle.h: Prepend accessors of
class qualifier with 'get_' in order to fix warnings
when compiling with -Wshadow.
From-SVN: r64172
D.Venkatasubramanian [Tue, 11 Mar 2003 12:32:26 +0000 (12:32 +0000)]
bprob.exp: Disable test cases for h8300-*-* as profiling options are not supported.
* gcc.misc-tests/bprob.exp: Disable test cases for h8300-*-* as
profiling options are not supported.
From-SVN: r64171
Andrew Haley [Tue, 11 Mar 2003 11:10:05 +0000 (11:10 +0000)]
jcf-io.c (caching_stat): Initialize origsep to remove compiler warning.
2003-03-11 Andrew Haley <aph@redhat.com>
* jcf-io.c (caching_stat): Initialize origsep to remove compiler
warning.
From-SVN: r64169
Jason Merrill [Tue, 11 Mar 2003 10:34:45 +0000 (05:34 -0500)]
re PR c++/8660 (template overloading ICE in tsubst_expr, at cp/pt.c:7644)
PR c++/8660
* decl2.c (check_classfn): A member template only matches a
member template.
[[Split portion of a mixed commit.]]
From-SVN: r64167.2
Jason Merrill [Tue, 11 Mar 2003 10:33:28 +0000 (05:33 -0500)]
re PR c++/8660 (template overloading ICE in tsubst_expr, at cp/pt.c:7644)
PR c++/8660
* decl2.c (check_classfn): A member template only matches a
member template.
From-SVN: r64166
Michael Koch [Tue, 11 Mar 2003 10:30:52 +0000 (10:30 +0000)]
2003-03-11 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java
(putInt): Use limit() instead of limit.
* gnu/java/nio/CharBufferImpl.java
(slice): Fixed implementation.
(subSequence): Better bounds checking.
* gnu/java/nio/MappedByteFileBuffer.java:
Import all needed classes directly.
* java/nio/ByteBuffer.java
(hashCode): New dummy method.
* java/nio/CharBuffer.java
(array_offset): New member variable.
(hasArray): Fixed documentation.
(arrayOffset): Return array_offset.
From-SVN: r64165
Hartmut Penner [Tue, 11 Mar 2003 09:17:38 +0000 (09:17 +0000)]
df.c (read_modify_subreg_p): Change from static to global.
* df.c (read_modify_subreg_p): Change from static to global.
* df.h (read_modify_subreg_p): Add prototype.
* sched-deps.c (sched_analyze_1): Generate true dependency for
strict_low_part, certain subregs and zero/sign_extract.
From-SVN: r64164
Loren J. Rittle [Tue, 11 Mar 2003 07:07:25 +0000 (07:07 +0000)]
ctype_inline.h: Support _M_table when so installed.
* config/os/bsd/freebsd/ctype_inline.h: Support _M_table
when so installed.
* testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
From-SVN: r64163
Neil Booth [Tue, 11 Mar 2003 06:42:21 +0000 (06:42 +0000)]
Makefile.in: Update.
* Makefile.in: Update.
* c-common.c: Don't include real.h or except.h.
(REGISTER_PREFIX): Remove.
(builtin_define_std, builtin_define_with_value,
builtin_define_with_int_value, builtin_define_with_hex_fp_value,
builtin_define_type_max, builtin_define_type_precision,
builtin_define_float_constants): Move to c-cppbuiltin.c.
(c_stddef_cpp_builtins): New.
* c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
* c-cppbuiltin.c: New, extracted from c-common.c.
(define__GNUC__): New.
* cppspec.c (lang_specific_driver): Remove support of -no-gcc.
* gcc.c: Remove support of %v1, %v2 and %v3 specs.
(cpp_unique_options): Don't support no-gcc.
(do_spec_1): Remove support of version specs.
* doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
* doc/passes.texi: Update.
* doc/tm.texi: Update.
cp:
* Make-lang.in (CXX_C_OBJS): Update.
* lang-specs.h: Don't define __GNUG__ here.
From-SVN: r64162
Loren J. Rittle [Tue, 11 Mar 2003 05:32:56 +0000 (05:32 +0000)]
testsuite_hooks.h (run_tests_wrapped_env): Do not report lack of setenv().
* testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
report lack of setenv().
From-SVN: r64161
Mark Mitchell [Tue, 11 Mar 2003 02:37:17 +0000 (02:37 +0000)]
16077.C: Adjust warnings.
* g++.old-deja/g++.benjamin/16077.C: Adjust warnings.
* g++.old-deja/g++.warn/impint2.C: Likewise.
* call.c (perform_overload_resolution): New function.
(build_new_function_call): Use it.
(build_operator_new_call): Likewise.
(add_candidates): Add explicit_targs and template_only parameters.
(build_new_op): Adjust accordingly.
* cp-tree.h (build_operator_new_call): New function.
(build_function_call_real): Remove.
(build_function_call_maybe): Likewise.
* init.c (build_new_1): Use build_operator_new_call.
* typeck.c (build_function_call_real): Rename to ...
(build_function_call): ... this.
From-SVN: r64159
Aldy Hernandez [Tue, 11 Mar 2003 02:01:41 +0000 (02:01 +0000)]
* dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
From-SVN: r64158
Andrew Pinski [Tue, 11 Mar 2003 01:41:11 +0000 (01:41 +0000)]
darwin.c (machopic_function_base_name): If dynamic-no-pic is on should not get here.
2003-03-10 Andrew Pinski <apinski@apple.com>
* config/darwin.c (machopic_function_base_name): If dynamic-no-pic
is on should not get here.
(machopic_indirect_data_reference): If dynamic-no-pic is on just
generate high/low parts of the address.
(machopic_legitimize_pic_address): Change MACHOPIC_PURE to
MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
symbol and labels with a new reg. Dynamic-no-pic does not have a
pic_offset_table_rtx.
(machopic_select_section): Change references of flag_pic to
MACHOPIC_INDIRECT.
(machopic_asm_out_destructor): Likewise.
* config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
reference of flag_pic to MACHOPIC_INDIRECT.
(MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
(MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
(MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
(MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
* config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
* config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
(TARGET_DYNAMIC_NO_PIC): Define.
(SUBTARGET_SWITCHES): Define, have sub-target switches for
dynamic-no-pic.
(SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
rs6000_override_options to here. Dynamic-no-pic overrides
pic.
(CC1_SPEC): Change from not static then pic to not static and not
dynamic-no-pic then pic.
* config/rs6000/rs6000.c (rs6000_override_options): Move the
check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
(rs6000_legitimize_reload_address): Add case for loading floating in
dynamic-no-pic.
(rs6000_emit_move): Add case for dynamic-no-pic. Change reference
of flag_pic to MACHOPIC_INDIRECT.
(secondary_reload_class): Conditional change the reference of
flag_pic to MACHOPIC_INDIRECT.
(rs6000_output_mi_thunk): Change reference of flag_pic to
MACHOPIC_INDIRECT.
(output_profile_hook): Likewise.
(machopic_output_stub): Non-pure (dynamic-no-pic) is now supported.
* config/rs6000/rs6000.md (movdf_low): Add the case for
MACHO_DYNAMIC_NO_PIC_P.
(call): Change references for flag_pic in TARGET_MACHO to
MACHOPIC_INDIRECT.
(SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
-mdynamic-no-pic is on. Also move case for -fpic from rs6000.c.
* doc/invoke.texi (-mdynamic-no-pic): Document.
From-SVN: r64157
Devang Patel [Tue, 11 Mar 2003 01:25:12 +0000 (17:25 -0800)]
Remove extra bits I included, by mistake, in my previous check-in
for PR/9394 fix.
From-SVN: r64156
GCC Administrator [Tue, 11 Mar 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64153
Devang Patel [Mon, 10 Mar 2003 23:41:42 +0000 (15:41 -0800)]
gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
PR/9394
* gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
(DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
* gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
(DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
* cppspec.c (DEFAULT_SWTICH_TAKES_ARG): Remove.
(DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
cp
* g++spec.c (lang_specific_driver): Use DEFAULT_WORD_SWITCH_TAKES_ARG.
testsuite
* g++.dg/cpp/c++_cmd_1.C: New test.
* g++.dg/cpp/c++_cmd_1.h: New file.
From-SVN: r64144
Steven Bosscher [Mon, 10 Mar 2003 23:33:15 +0000 (23:33 +0000)]
re PR rtl-optimization/7189 (gcc -O2 -Wall does not print ``control reaches end of non-void function'' warning)
2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl>
PR optimization/7189
* toplev.c (rest_of_compilation): Move
check_function_return_warnings up to just after
delete_unreachable_blocks.
From-SVN: r64143
Roger Sayle [Mon, 10 Mar 2003 23:28:08 +0000 (23:28 +0000)]
* com.c (duplicate_decls): Synchronize with C's duplicate_decls.
From-SVN: r64142
Stephane Carrez [Mon, 10 Mar 2003 22:10:37 +0000 (23:10 +0100)]
m68hc11.h (HARD_REGNO_RENAME_OK): Define.
* config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
* config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
Declare.
* config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
for reg rename optimization to avoid using Z and Y registers.
From-SVN: r64134
Jason Merrill [Mon, 10 Mar 2003 22:04:09 +0000 (17:04 -0500)]
re PR c++/9798 (Infinite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives)
PR c++/9798
* decl.c (push_using_directive): Push before recursing.
From-SVN: r64133
Jason Merrill [Mon, 10 Mar 2003 21:57:02 +0000 (16:57 -0500)]
add xfail
From-SVN: r64131
Stephane Carrez [Mon, 10 Mar 2003 21:51:02 +0000 (22:51 +0100)]
m68hc11.md ("*addhi3_68hc12"): Accept any constant when adding to X and Y since leax/leay are fast.
* config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
when adding to X and Y since leax/leay are fast.
("*addhi3"): Accept 'I' constraint when adding to address register.
("rotlhi3"): Operand 1 must be a register_operand.
(peephole2): New peephole to optimize some adds.
* config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
to represent -2 .. 2 small integer range.
From-SVN: r64127
Stephane Carrez [Mon, 10 Mar 2003 21:27:46 +0000 (22:27 +0100)]
m68hc11.c (m68hc11_gen_rotate): Set carry before each 16-bit rotation.
* config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
each 16-bit rotation.
From-SVN: r64125
Jason Merrill [Mon, 10 Mar 2003 21:11:48 +0000 (16:11 -0500)]
re PR c++/9868 (ICE in c_expand_expr when qualifying member variable)
PR c++/9868
* call.c (resolve_scoped_fn_name): Handle the case of a function
pointer member.
From-SVN: r64124
Jason Merrill [Mon, 10 Mar 2003 21:10:37 +0000 (16:10 -0500)]
re PR c++/9868 (ICE in c_expand_expr when qualifying member variable)
PR c++/9868
* call.c (resolve_scoped_fn_name): Handle the case of a function
pointer member.
From-SVN: r64122
Segher Boessenkool [Mon, 10 Mar 2003 20:52:31 +0000 (21:52 +0100)]
altivec-9.c: New file.
2003-03-10 Segher Boessenkool <segher@koffie.nl>
* testsuite/gcc.dg/altivec-9.c: New file.
From-SVN: r64120
Franz Sirl [Mon, 10 Mar 2003 20:42:23 +0000 (20:42 +0000)]
ppc-sdata-1.c: New test.
2003-03-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/ppc-sdata-1.c: New test.
* gcc.dg/ppc-sdata-2.c: New test.
From-SVN: r64119
Zack Weinberg [Mon, 10 Mar 2003 20:02:27 +0000 (20:02 +0000)]
c-opts.c (add_prefixed_path): Don't use concat.
* c-opts.c (add_prefixed_path): Don't use concat. When
prefixing with cpp_GCC_INCLUDE_DIR, copy only the first
cpp_GCC_INCLUDE_DIR_len characters.
From-SVN: r64114
Mohan Embar [Mon, 10 Mar 2003 19:52:15 +0000 (19:52 +0000)]
dostime.c: add #include <stddef.h> for definition of NULL
2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
* dostime.c: add #include <stddef.h> for definition of NULL
From-SVN: r64112
Andrew Haley [Mon, 10 Mar 2003 19:45:30 +0000 (19:45 +0000)]
[multiple changes]
2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
* include/jvm.h: removed declaration of _Jv_ThisExecutable()
setter; made return value of getter const char* instead of char*
* prims.cc: removed all references to _Jv_ThisExecutable().
These are in the platform-specific sections now.
* posix.cc: define platform-specific _Jv_ThisExecutable().
Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
* win32.cc: define platform-specific _Jv_ThisExecutable()
using GetModuleFilename()
* java/lang/natRuntime.cc: set gnu.gcj.progname property
to argv[0] instead of _Jv_ThisExecutable()
2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
* gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
that is set if we are using addr2name.awk instead of addr2line.
(NameFinder): Set usingAddr2name if using addr2name.awk.
(getExternalLabel): New native method to convert a method
name to an external label.
(lookup): Convert name given by addr2line to an external label
before demangling.
* gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
constant representing the prefix attached to method names to
convert them to an external label.
(gnu::gcj::runtime::NameFinder::getExternalLabel): Define
using LABEL_PREFIX.
From-SVN: r64111
Ranjit Mathew [Mon, 10 Mar 2003 19:39:18 +0000 (19:39 +0000)]
jcf-io.c (caching_stat): Account for both DIR_SEPARATOR and DIR_SEPARATOR_2 for a target.
2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
* jcf-io.c (caching_stat): Account for both DIR_SEPARATOR
and DIR_SEPARATOR_2 for a target.
Correct minor typos.
* jcf-write.c (make_class_file_name): Take both DIR_SEPARATOR
and DIR_SEPARATOR_2 for a target into account.
From-SVN: r64110
Segher Boessenkool [Mon, 10 Mar 2003 19:36:26 +0000 (20:36 +0100)]
altivec-9.c: New file.
2003-03-10 Segher Boessenkool <segher@koffie.nl>
* testsuite/gcc.dg/altivec-9.c: New file.
* config/rs6000/rs6000.c (altivec_frame_fixup): Remove.
(rs6000_emit_prologue): Use rs6000_frame_related instead.
From-SVN: r64109
Andreas Tobler [Mon, 10 Mar 2003 19:10:26 +0000 (20:10 +0100)]
Andreas Tobler <a.tobler@schweiz.ch>
* src/powerpc/darwin_closure.S: Recode to fit dynamic libraries.
From-SVN: r64106
Aldy Hernandez [Mon, 10 Mar 2003 18:46:35 +0000 (18:46 +0000)]
spe.h: Define __ev64_*64__ to use single element vectors.
2003-03-10 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.h: Define __ev64_*64__ to use single element
vectors.
(__ev_convert_u64): Remove macro. Define as inline.
(__ev_convert_s64): Same.
From-SVN: r64104
Jan Hubicka [Mon, 10 Mar 2003 18:32:17 +0000 (19:32 +0100)]
* cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
From-SVN: r64103
Aldy Hernandez [Mon, 10 Mar 2003 18:03:17 +0000 (18:03 +0000)]
rs6000.h (DWARF_FRAME_REGISTERS): Define.
2003-03-10 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define.
(rs6000_stack_t): Add spe_64bit_regs_used.
* config/rs6000/rs6000.c (rs6000_stack_info): Calculate
spe_64bit_regs_used, and use it to determine the size of the
frame.
(spe_func_has_64bit_regs_p): New.
(spe_synthesize_frame_save): New.
(rs6000_frame_related): Handle SPE synthetic registers.
(rs6000_emit_prologue): Only save in 64-bits if the function used
any registers in 64-bit mode.
(rs6000_emit_epilogue): Same, but for restore.
From-SVN: r64102
Richard Earnshaw [Mon, 10 Mar 2003 17:53:19 +0000 (17:53 +0000)]
arm.h (enum floating_point_type): Delete.
* arm.h (enum floating_point_type): Delete. Replace with...
(enum fputype): ... new.
(FPUTYPE_DEFAULT): Renamed from FP_DEFAULT. Values reworked.
* linux-elf.h (FPUTYPE_DEFAULT): Likewise.
* arm.md (attr fpu): Reworked for new underlying enum values.
* arm.c (arm_fpu_arch): Now enum fputype.
(arm_fpu_tune): Renamed from arm_fpu. Now enum fputype.
(arm_override_options, arm_output_epilogue, arm_expand_prologue):
Update uses of arm_fpu_arch and arm_fpu_tune.
From-SVN: r64099
Tom Tromey [Mon, 10 Mar 2003 17:28:21 +0000 (17:28 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
(JC1FLAGS): Removed -Wno-deprecated.
From-SVN: r64097
Josef Zlomek [Mon, 10 Mar 2003 17:23:44 +0000 (18:23 +0100)]
cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
* cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
(try_crossjump_to_edge): Replace refereces to one jump table by
references to identical jump table.
* loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label.
(replace_label): Moved to rtlanal.c.
(struct rtx_pair): Moved to rtl.h.
* rtl.h (struct rtx_pair): Moved from loop.c.
(replace_label): New extern function.
(subrtx_p): New extern function.
(tablejump_p): New extern function.
* rtlanal.c (replace_label): Moved from loop.c.
(subrtx_p_1): New static function.
(subrtx_p): New function.
(tablejump_p): New function.
From-SVN: r64096
Tom Tromey [Mon, 10 Mar 2003 16:39:15 +0000 (16:39 +0000)]
* libjava.jacks/jacks.xfail: Updated to reflect reality.
From-SVN: r64093
Michael Koch [Mon, 10 Mar 2003 15:31:03 +0000 (15:31 +0000)]
2003-03-10 Michael Koch <konqueror@gmx.de>
* java/nio/ByteOrder.java
(nativeOrder): Working implementation, added documentation.
(toString): Added documentation.
From-SVN: r64085