Kazu Hirata [Sun, 15 Jun 2003 07:51:35 +0000 (07:51 +0000)]
alpha.md: Follow spelling conventions.
* config/alpha/alpha.md: Follow spelling conventions.
* config/arm/arm.c: Likewise.
* config/arm/arm.h: Likewise.
* config/arm/arm.md: Likewise.
* config/arm/crtn.asm: Likewise.
* config/m32r/m32r.c: Likewise.
* config/m32r/m32r.md: Likewise.
* config/rs6000/rs6000.c: Likewise.
From-SVN: r67970
Richard Henderson [Sun, 15 Jun 2003 07:36:43 +0000 (00:36 -0700)]
alpha.c (alpha_output_mi_thunk_osf): Call insn_locators_initialize.
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call
insn_locators_initialize.
* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
* config/sh/sh.c (sh_output_mi_thunk): Do it later.
From-SVN: r67969
Kazu Hirata [Sun, 15 Jun 2003 06:55:55 +0000 (06:55 +0000)]
builtins.c (expand_builtin_expect_jump): Remove redundant tests that are also in any_condjump_p().
* builtins.c (expand_builtin_expect_jump): Remove redundant
tests that are also in any_condjump_p().
From-SVN: r67966
Kaveh R. Ghazi [Sun, 15 Jun 2003 05:47:39 +0000 (05:47 +0000)]
libgcc2.c: Delete sysV68 L_trampoline section.
* libgcc2.c: Delete sysV68 L_trampoline section.
* config/m68k/mot3300-crt0.S: Delete file.
* config/m68k/mot3300Mcrt0.S: Likewise.
From-SVN: r67965
Nathanael Nerode [Sun, 15 Jun 2003 04:47:43 +0000 (04:47 +0000)]
aoutos.h: Remove.
* config/aoutos.h: Remove.
* config.gcc: Remove reference to aoutos.h.
* config/m68k/m68k-aout.h: Remove reference to aoutos.h.
From-SVN: r67964
Nathanael Nerode [Sun, 15 Jun 2003 04:43:18 +0000 (04:43 +0000)]
bes.c, dbes.c: Remove.
* libU77/bes.c, libU77/dbes.c: Remove.
* libU77/Makefile.in: Remove references to bes.c, dbes.c
From-SVN: r67963
Kazu Hirata [Sun, 15 Jun 2003 04:00:48 +0000 (04:00 +0000)]
install.texi: Follow spelling conventions.
* doc/install.texi: Follow spelling conventions.
* doc/tm.texi: Likewise.
* config/fp-bit.c: Likewise.
* config/arm/arm.c: Likewise.
* config/frv/frv.c: Likewise.
* config/ns32k/NOTES: Likewise.
* config/ns32k/STATUS: Likewise.
From-SVN: r67962
GCC Administrator [Sun, 15 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67960
Neil Booth [Sat, 14 Jun 2003 22:25:50 +0000 (22:25 +0000)]
lang-specs.h: Rewrite -MD and -MMD to append an underscore.
* lang-specs.h: Rewrite -MD and -MMD to append an underscore.
* lang.c (java_handle_option): -MD and -MMD have an underscore.
* lang.opt: -MD and -MMD have an underscore.
From-SVN: r67958
Roger Sayle [Sat, 14 Jun 2003 21:47:45 +0000 (21:47 +0000)]
rtl.h (STORE_FLAG_VALUE): Remove default definition from here.
* rtl.h (STORE_FLAG_VALUE): Remove default definition from here.
* defaults.h (STORE_FLAG_VALUE): Move default definition to here.
* doc/tm.texi (STORE_FLAG_VALUE): Document the default value.
* config/alpha/alpha.h (STORE_FLAG_VALUE): Remove definition.
* config/arc/arc.h (STORE_FLAG_VALUE): Likewise.
* config/arm/arm.h (STORE_FLAG_VALUE): Likewise.
* config/cris/cris.h (STORE_FLAG_VALUE): Likewise.
* config/i370/i370.h (STORE_FLAG_VALUE): Likewise.
* config/i386/i386.h (STORE_FLAG_VALUE): Likewise.
* config/i960/i960.h (STORE_FLAG_VALUE): Likewise.
* config/ia64/ia64.h (STORE_FLAG_VALUE): Likewise.
* config/ip2k/ip2k.h (STORE_FLAG_VALUE): Likewise.
* config/m32r/m32r.h (STORE_FLAG_VALUE): Likewise.
* config/mcore/mcore.h (STORE_FLAG_VALUE): Likewise.
* config/mips/mips.h (STORE_FLAG_VALUE): Likewise.
* config/mmix/mmix.h (STORE_FLAG_VALUE): Likewise.
* config/ns32k/ns32k.h (STORE_FLAG_VALUE): Likewise.
* config/pa/pa.h (STORE_FLAG_VALUE): Likewise.
* config/pdp11/pdp11.h (STORE_FLAG_VALUE): Likewise.
* config/sh/sh.h (STORE_FLAG_VALUE): Likewise.
* config/sparc/sparc.h (STORE_FLAG_VALUE): Likewise.
* config/v850/v850.h (STORE_FLAG_VALUE): Likewise.
* config/xtensa/xtensa.h (STORE_FLAG_VALUE): Likewise.
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r67957
Nathan Sidwell [Sat, 14 Jun 2003 17:40:07 +0000 (17:40 +0000)]
* opts.sh (POSIXLY_CORRECT): Unset it.
From-SVN: r67954
Nathan Sidwell [Sat, 14 Jun 2003 17:33:32 +0000 (17:33 +0000)]
tree.h (init_function_start): Remove filename and line paramters.
* tree.h (init_function_start): Remove filename and line paramters.
* function.c (init_function_start): Remove filename and line
parameters. Use DECL_SOURCE_LOCATION.
* c-decl.c (store_parm_decls): Adjust init_function_start call.
(c_expand_body_1): Likewise.
* coverage.c (create_coverage): Likewise.
* ada/utils.c (begin_subprog_body): Adjust init_function_start
call.
* cp/decl.c (start_function): Adjust init_function_start call.
* cp/method.c (use_thunk): Likewise.
* cp/semantics.c (genrtl_start_function): Likewise.
* f/com.c (stor_parm_decls): Adjust init_function_start call.
* java/class.c (emit_register_classes): Adjust init_function_start
call.
* java/decl.c (complete_start_java_method): Likewise.
* java/resource.c (write_resource_constructor): Likewise.
* objc/objc-act.c (build_tmp_function_decl): Set line number to
zero.
(hack_method_prototype): Adjust init_function_start call.
* treelang/treetree.c (tree_code_create_function_initial): Adjust
init_function_start call.
From-SVN: r67953
Richard Earnshaw [Sat, 14 Jun 2003 17:11:57 +0000 (17:11 +0000)]
re PR target/3724 ([ARM]Illegal instruction when profiling optimized code on arm-linux)
PR target/3724
* arm/linux-elf.h (PROFILE_HOOK): Define.
From-SVN: r67950
Richard Earnshaw [Sat, 14 Jun 2003 15:54:02 +0000 (15:54 +0000)]
re PR target/11183 ([arm] ICE in change_address_1 (3.3) / subreg_hard_regno (3.4))
PR target/11183
* arm.h (CANNOT_CHANGE_MODE_CLASS): Define.
From-SVN: r67947
Roger Sayle [Sat, 14 Jun 2003 15:05:41 +0000 (15:05 +0000)]
opts.sh: Work around a mysterious feature in cygwin's gawk where specifying the input...
* opts.sh: Work around a mysterious feature in cygwin's gawk
where specifying the input files explicitly has a different
behavior to piping them via stdin.
From-SVN: r67946
Neil Booth [Sat, 14 Jun 2003 14:57:29 +0000 (14:57 +0000)]
sourcebuild.texi: Document opt.lang and a language-specific flag in opts.h.
* doc/sourcebuild.texi: Document opt.lang and a language-specific
flag in opts.h.
From-SVN: r67945
Richard Earnshaw [Sat, 14 Jun 2003 14:16:39 +0000 (14:16 +0000)]
re PR target/11183 ([arm] ICE in change_address_1 (3.3) / subreg_hard_regno (3.4))
PR target/11183
* arm.c (output_move_double): Pass SImode to adjust_address.
From-SVN: r67943
H.J. Lu [Sat, 14 Jun 2003 14:08:09 +0000 (14:08 +0000)]
config.guess: Update to 2003-06-12 version.
2003-06-14 H.J. Lu <hongjiu.lu@intel.com>
* config.guess: Update to 2003-06-12 version.
* config.sub: Update to 2003-06-13 version.
From-SVN: r67942
Neil Booth [Sat, 14 Jun 2003 12:26:36 +0000 (12:26 +0000)]
Makefile.in: Update to use common.opt and lang_opt_files.
* Makefile.in: Update to use common.opt and lang_opt_files.
(c-options.c, c-options.h): Remove.
(options.c, options.h): Add.
* c-opts.c: Include options.h not c-options.h.
* common.opt: New file.
* configure, configure.in: Add lang_opt_files.
* opts.c: Include flags.h and diagnostic.h.
(common_handle_option): New.
(handle_option): Update to recognize common options and all
language-dependent options.
* opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New.
(struct cl_option): Make flags of type int.
* opts.h: Flag option with front ends to which it applies.
Handle duplicate options.
* toplev.c (filename): Remove.
(independent_decode_option): Don't handle filenames and -quiet.
(process_options, do_compile): Update.
ada:
* Make-lang.in: Update to use options.c and options.h.
* misc.c: Include options.h not aoptions.h.
(gnat_handle_option): Abort on unrecognized switch.
(gnat_init_options): Request Ada switches.
cp:
* Make-lang.in: Remove c-options.o.
f:
* Make-lang.in: Update to use options.c and options.h.
* top.c: Include options.h not f-options.h.
(gnat_handle_option): Abort on unrecognized switch.
(ffe_init_options): From com.c. Request F77 options.
(ffe_handle_options): Abort on unrecognized switch.
* com.c (ffe_init_options): Move to top.c.
* top.h (fee_init_options): New.
java:
* Make-lang.in: Update to use options.c and options.h.
* lang.c: Include options.h not j-options.h.
(java_handle_option): Abort on unrecognized option.
(java_init_options): Request Java switches.
treelang:
* Make-lang.in: Update to use options.c and options.h.
* tree1.c: Include options.h not t-options.h.
(treelang_init_options): New.
(treelang_handle_option): Abort on unrecognized switch.
* treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
* treetree.h (treelang_init_options): New.
From-SVN: r67941
Michael Koch [Sat, 14 Jun 2003 11:53:02 +0000 (11:53 +0000)]
2003-06-14 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileChannelImpl.java
(map_address): Removed incorrect comment.
* gnu/java/nio/SelectorImpl.java
(register): Remove code duplication and code for file channel handling.
* gnu/java/nio/ServerSocketChannelImpl.java
(serverSocket): Renamed from sock_object.
(ServerSocketChannel): Initialize serverSocket.
(socket): Return serverSocket.
* gnu/java/nio/SocketChannelImpl.java
(socket): Renamed from sock_object.
(isConnectionPenging): Simplified.
(socket): Return socket.
From-SVN: r67940
Nick Clifton [Sat, 14 Jun 2003 11:15:49 +0000 (11:15 +0000)]
install.texi (Specific): Add description of different ARM supported file format targets.
2003-06-14 Nick Clifton <nickc@redhat.com>
* doc/install.texi (Specific): Add description of different
ARM supported file format targets.
From-SVN: r67939
Gerald Pfeifer [Sat, 14 Jun 2003 10:57:54 +0000 (12:57 +0200)]
snapshot-README: Use GCC instead of gcc...
* snapshot-README: Use GCC instead of gcc, C++ front end instead of
g++ language, and note that Java includes a run time.
* snapshot.index.html: Ditto.
From-SVN: r67938
Jan Hubicka [Sat, 14 Jun 2003 09:14:38 +0000 (11:14 +0200)]
reorg.c (emit_delay_sequence, [...]): Clear insn locators inside delay slots.
* reorg.c (emit_delay_sequence, dbr_schedule): Clear insn locators
inside delay slots.
From-SVN: r67937
Neil Booth [Sat, 14 Jun 2003 09:02:23 +0000 (09:02 +0000)]
lang.opt: Add -Wall.
* lang.opt: Add -Wall.
* misc.c (gnat_handle_option): Handle it.
From-SVN: r67935
Michael Koch [Sat, 14 Jun 2003 05:45:12 +0000 (05:45 +0000)]
BasicPermission.java: New version from classpath.
2003-06-14 Michael Koch <konqueror@gmx.de>
* java/security/BasicPermission.java:
New version from classpath.
From-SVN: r67934
Michael Koch [Sat, 14 Jun 2003 05:44:54 +0000 (05:44 +0000)]
Attribute.java: New version from classpath.
2003-06-14 Michael Koch <konqueror@gmx.de>
* javax/naming/directory/Attribute.java:
New version from classpath.
From-SVN: r67933
Michael Koch [Sat, 14 Jun 2003 05:44:38 +0000 (05:44 +0000)]
BufferedReader.java, [...]: New versions from classpath.
2003-06-14 Michael Koch <konqueror@gmx.de>
* java/io/BufferedReader.java,
java/io/FileOutputStream.java:
New versions from classpath.
From-SVN: r67932
Benjamin Kosnik [Sat, 14 Jun 2003 05:38:04 +0000 (05:38 +0000)]
i686-pc-linux-gnu: To..
2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
* config/abi/i686-pc-linux-gnu: To..
* config/abi/i486-linux-gnu: ...this.
* config/abi/alphaev67-unknown-linux-gnu: To..
* config/abi/alpha-linux-gnu: ...this.
* config/abi/ia64-unknown-linux-gnu: To...
* config/abi/ia64-linux-gnu: ...this.
* config/abi/x86_64-unknown-linux-gnu: To...
* config/abi/x86_64-linux-gnu: ...this.
* config/abi/i386-unknown-freebsd4: To...
* config/abi/i386-freebsd4: ...this.
* configure.host: abi_baseline_triplet to abi_baseline_pair.
Simplify cpu bits so that abi_baseline_pair can use the same
cpu configuration.
* acinclude.m4: Same.
* aclocal.m4: Regenerate.
* configure.in: Can't get enable_abi_check to yes unless native.
* configure: Regenerate.
From-SVN: r67931
Matt Kraai [Sat, 14 Jun 2003 03:08:12 +0000 (03:08 +0000)]
unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.
* unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.
* unwind-pe.h (size_of_encoded_value): Do not define if
NO_SIZE_OF_ENCODED_VALUE is defined.
From-SVN: r67930
Roger Sayle [Sat, 14 Jun 2003 00:23:24 +0000 (00:23 +0000)]
expr.c (expand_expr <COMPLEX_CST>): Handle the case of expanding a complex constant into a CONCAT target.
* expr.c (expand_expr <COMPLEX_CST>): Handle the case of
expanding a complex constant into a CONCAT target.
From-SVN: r67928
GCC Administrator [Sat, 14 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67926
Zack Weinberg [Sat, 14 Jun 2003 00:09:30 +0000 (00:09 +0000)]
svr3.h (ASM_FILE_START): Don't use ASM_FILE_START_1.
* config/svr3.h (ASM_FILE_START): Don't use ASM_FILE_START_1.
(ASM_FILE_START_1): Delete.
* config/i386/att.h, config/i386/sco5.h,
config/i386/sysv3.h
(ASM_FILE_START_1): Delete.
From-SVN: r67924
DJ Delorie [Fri, 13 Jun 2003 23:55:54 +0000 (19:55 -0400)]
bsd.h: Remove ASM_FILE_START.
* config/i386/bsd.h: Remove ASM_FILE_START.
* config/i386/djgpp.h: Likewise.
* config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax.
* config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ...
* config.gcc (i[34567]86-pc-msdosdjgpp): ... here.
From-SVN: r67922
Richard Henderson [Fri, 13 Jun 2003 23:29:23 +0000 (16:29 -0700)]
Mark PR last change.
From-SVN: r67921
Richard Henderson [Fri, 13 Jun 2003 23:28:49 +0000 (16:28 -0700)]
com.c (ffecom_sym_transform_): Install FFEINFO_whereGLOBAL symbols in the global binding level.
* com.c (ffecom_sym_transform_): Install FFEINFO_whereGLOBAL
symbols in the global binding level.
From-SVN: r67920
Kelley Cook [Fri, 13 Jun 2003 23:18:50 +0000 (23:18 +0000)]
bsd.h: Remove ASM_FILE_START.
* config/i386/bsd.h: Remove ASM_FILE_START.
* config/i386/djgpp.h: Likewise.
* config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax.
* config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ...
* config.gcc (i[34567]86-pc-msdosdjgpp): ... here.
From-SVN: r67919
Vladimir Makarov [Fri, 13 Jun 2003 23:09:48 +0000 (23:09 +0000)]
re PR bootstrap/10835 (combinatory explosion in scheduler on HyperSPARC)
2003-06-13 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/10835
* haifa-sched.c (max_lookahead_tries,
cached_first_cycle_multipass_dfa_lookahead,
cached_issue_rate): New variables.
(max_issue): Check the number of tries.
(choose_ready): Calculate max_lookahead_tries.
(sched_init): Check cached_issue_rate.
From-SVN: r67918
Richard Henderson [Fri, 13 Jun 2003 22:56:09 +0000 (15:56 -0700)]
cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.
* cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.
* cfgrtl.c (purge_dead_edges): Expect it too.
From-SVN: r67917
James E Wilson [Fri, 13 Jun 2003 22:13:07 +0000 (22:13 +0000)]
re PR bootstrap/10983 ([SPARC64] ICE in verify_wide_reg, at flow.c:551, while compiling libjava)
PR bootstrap/10983
* combine.c (make_extraction): Use gen_lowpart_for_combine
when extracting from a REG and not in the destination of a SET.
Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>
From-SVN: r67916
Doug Evans [Fri, 13 Jun 2003 21:52:02 +0000 (21:52 +0000)]
tsystem.h (abort): Declare in inhibit_libc case to remove build warnings for addvsi3, et.al.
* tsystem.h (abort): Declare in inhibit_libc case to remove build
warnings for addvsi3, et.al.
From-SVN: r67915
Paolo Carlini [Fri, 13 Jun 2003 21:06:37 +0000 (23:06 +0200)]
1.cc: Split and fix for missing seeks between gets and puts into...
2003-06-13 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
fix for missing seeks between gets and puts into...
* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
* testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
* testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
* testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
for missing seeks between gets and puts.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
* testsuite/data/seekoff-1.tst: New.
* testsuite/data/seekoff-2.tst: New.
* testsuite/data/seekpos-1.tst: New.
* testsuite/data/seekpos-2.tst: New.
From-SVN: r67913
Nathan C. Myers [Fri, 13 Jun 2003 20:59:42 +0000 (20:59 +0000)]
Avoid multi-processor bus contention on increment/decrement-and- test of the reference count in the empty-string object...
2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
Avoid multi-processor bus contention on increment/decrement-and-
test of the reference count in the empty-string object, by comparing
addresses first, and never touching the reference count of the empty-
string object.
* include/bits/basic_string.h:
(_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
members.
(_Rep::_S_empty_rep()): New accessor.
(_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
a base class _Rep_base.
(_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
(basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
since no longer must increment its refcount.
* include/bits/basic_string.tcc:
(_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
return immediately. The former might be unnecessary. The latter
prevents begin() and end() from cloning it unnecessarily.
(_S_construct(_InIterator, _InIterator, const _Alloc&,
input_iterator_tag), _S_construct(_InIterator, _InIterator,
const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
(_M_mutate): Check for the empty string and treat it as shared.
This is necessary here because _M_mutate is sometimes called with
all-zero arguments; in all other uses of _M_is_shared, the test comes
out right anyhow.
From-SVN: r67912
Aldy Hernandez [Fri, 13 Jun 2003 19:27:29 +0000 (19:27 +0000)]
c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro.
2003-06-13 Aldy Hernandez <aldyh@redhat.com>
* c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro.
* simplify-rtx.c (simplify_subreg): Same.
* emit-rtl.c (gen_lowpart_common): Same.
From-SVN: r67911
Kazu Hirata [Fri, 13 Jun 2003 17:30:53 +0000 (17:30 +0000)]
builtins.c: Fix comment typos.
* builtins.c: Fix comment typos.
* fold-const.c: Likewise.
From-SVN: r67907
Doug Evans [Fri, 13 Jun 2003 16:57:26 +0000 (16:57 +0000)]
m32r-protos.h (m32r_pass_by_reference): Declare.
* config/m32r/m32r-protos.h (m32r_pass_by_reference): Declare.
* config/m32r/m32r.c (m32r_pass_by_reference): New fn.
(m32r_va_arg): Use it.
* config/m32r/m32r.h (FUNCTION_ARG_PASS_BY_REFERENCE): Ditto.
(RETURN_IN_MEMORY): Ditto.
Co-Authored-By: Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
From-SVN: r67906
Nathanael Nerode [Fri, 13 Jun 2003 16:23:35 +0000 (16:23 +0000)]
* c-typeck.c: Remove #if 0 clauses.
From-SVN: r67905
Nathanael Nerode [Fri, 13 Jun 2003 16:13:07 +0000 (16:13 +0000)]
* lex.c: Convert to ISO C.
From-SVN: r67904
Nathanael Nerode [Fri, 13 Jun 2003 15:07:48 +0000 (15:07 +0000)]
init.c: removes use of PARAMS macro.
2003-05-19 Jens-Michael Hoffmann <jensmh@gmx.de>
* init.c: removes use of PARAMS macro. Use ISO style function
declarations. (Not copyright-significant change.)
From-SVN: r67902
Nathanael Nerode [Fri, 13 Jun 2003 14:39:42 +0000 (14:39 +0000)]
re PR other/1494 (Residual EGCS references in comments)
PR other/1494
* config/alpha/openbsd.h, config/i386/openbsd.h,
config/m68k/openbsd.h, config/sparc/openbsd.h: Remove
residual reference to EGCS.
From-SVN: r67900
Richard Earnshaw [Fri, 13 Jun 2003 14:30:38 +0000 (14:30 +0000)]
arm.c (output_call_mem): If the address references the link-register use an instruction sequence that...
* arm.c (output_call_mem): If the address references the link-register
use an instruction sequence that avoids early-clobbering IP.
(eliminate_lr2ip): Delete.
From-SVN: r67899
Nathanael Nerode [Fri, 13 Jun 2003 14:30:19 +0000 (14:30 +0000)]
* rtti.c: Remove PARAMS.
From-SVN: r67898
Kaveh R. Ghazi [Fri, 13 Jun 2003 14:08:36 +0000 (14:08 +0000)]
c-format.c (format_types_orig): Disallow '*' width/precision in asm_fprintf format checks.
gcc:
* c-format.c (format_types_orig): Disallow '*' width/precision in
asm_fprintf format checks.
testsuite:
* gcc.dg/format/asm_fprintf-1.c: Update width/precision checks.
From-SVN: r67897
Nathanael Nerode [Fri, 13 Jun 2003 13:57:27 +0000 (13:57 +0000)]
* paranoia.cc: Fix spelling error.
From-SVN: r67896
Nathanael Nerode [Fri, 13 Jun 2003 13:34:16 +0000 (13:34 +0000)]
* typeck2.c: Convert to ISO C.
From-SVN: r67895
Ulrich Weigand [Fri, 13 Jun 2003 13:04:34 +0000 (13:04 +0000)]
s390.c (s390_va_arg): Fix alignment when retrieving non-integral types from integer register save...
* config/s390/s390.c (s390_va_arg): Fix alignment when retrieving
non-integral types from integer register save area slots.
From-SVN: r67894
Andrew Haley [Fri, 13 Jun 2003 12:20:45 +0000 (12:20 +0000)]
prims.cc (catch_segv): Create exception in handler.
2003-06-12 Andrew Haley <aph@redhat.com>
* prims.cc (catch_segv): Create exception in handler.
(catch_fpe): Likewise.
(_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
(_Jv_ThrowSignal): Remove.
* include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
* include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
to nullp and arithexception.
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
* include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
* include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
* include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
* include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
From-SVN: r67892
Rainer Orth [Fri, 13 Jun 2003 11:59:53 +0000 (11:59 +0000)]
sysv.S: Avoid gas-only .uleb128/.sleb128 directives.
* src/x86/sysv.S: Avoid gas-only .uleb128/.sleb128 directives.
Use C style comments.
From-SVN: r67891
Matt Kraai [Fri, 13 Jun 2003 11:36:31 +0000 (11:36 +0000)]
ChangeLog.1: Fix spelling of "outputting".
(gcc)
* ChangeLog.1: Fix spelling of "outputting".
* ChangeLog.3: Likewise.
* diagnostic.h: Likewise.
* genautomata.c: Likewise.
* config/pa/pa.c: Likewise.
(gcc/ada)
* gnatls.adb: Fix spelling of "outputting".
* gnatmem.adb: Likewise.
* prj-pp.adb: Likewise.
From-SVN: r67890
Nathanael Nerode [Fri, 13 Jun 2003 11:29:35 +0000 (11:29 +0000)]
* config/i386/svr3dbx.h: GNU CC -> GCC; Intel 385 -> Intel 386.
From-SVN: r67889
Florian Weimer [Fri, 13 Jun 2003 10:11:45 +0000 (12:11 +0200)]
invoke.texi (SPARC Options): Document ``-mimpure-text''.
2003-06-13 Florian Weimer <fw@deneb.enyo.de>
* doc/invoke.texi (SPARC Options): Document ``-mimpure-text''.
From-SVN: r67888
Kaz Kojima [Fri, 13 Jun 2003 07:03:49 +0000 (07:03 +0000)]
linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END to file_end_indicate_exec_stack.
* config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END
to file_end_indicate_exec_stack.
From-SVN: r67887
Doug Evans [Fri, 13 Jun 2003 06:20:12 +0000 (06:20 +0000)]
back out previous patch, instead do
back out previous patch, instead do
* config/m32r/initfini.c (__CTOR_LIST__,__DTOR_LIST__): Attribute used.
(__do_global_ctors,__do_global_dtors): Ditto.
From-SVN: r67886
Richard Henderson [Fri, 13 Jun 2003 06:13:51 +0000 (23:13 -0700)]
re PR target/11089 (ICE: instantiate_virtual_regs_lossage while using sse built-ins)
PR target/11089
* config/i386/i386.md (sse_movaps): Use an expander to force
one operand to be a register.
(sse_movups): Likewise.
From-SVN: r67883
Benjamin Kosnik [Fri, 13 Jun 2003 05:45:57 +0000 (05:45 +0000)]
allocator-inst.cc: Explicitly instantiate.
2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
* src/allocator-inst.cc: Explicitly instantiate.
* include/ext/pool_allocator.h: Inhibit implicit instantiations.
Tweaks.
* config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
From-SVN: r67882
Mark Mitchell [Fri, 13 Jun 2003 05:41:02 +0000 (05:41 +0000)]
gcc-dg.exp (dg-require-dll): New function.
* lib/gcc-dg.exp (dg-require-dll): New function.
(dg-xfail-if): Likewise.
* gcc.c-torture/compile/compile.exp: Use dg rather than c-torture
driver.
* gcc.c-torture/compile/
20000804-1.c: Convert to dg format.
* gcc.c-torture/compile/
20001205-1.c: Likewise.
* gcc.c-torture/compile/
20001226-1.c: Likewise.
* gcc.c-torture/compile/
20010518-2.c: Likewise.
* gcc.c-torture/compile/
20020312-1.c: Likewise.
* gcc.c-torture/compile/
20020604-1.c: Likewise.
* gcc.c-torture/compile/920501-12.c: Likewise.
* gcc.c-torture/compile/920501-4.c: Likewise.
* gcc.c-torture/compile/920520-1.c: Likewise.
* gcc.c-torture/compile/920521-1.c: Likewise.
* gcc.c-torture/compile/920625-1.c: Likewise.
* gcc.c-torture/compile/961203-1.c: Likewise.
* gcc.c-torture/compile/980506-1.c: Likewise.
* gcc.c-torture/compile/981006-1.c: Likewise.
* gcc.c-torture/compile/981022-1.c: Likewise.
* gcc.c-torture/compile/981223-1.c: Likewise.
* gcc.c-torture/compile/990617-1.c: Likewise.
* gcc.c-torture/compile/dll.c: Likewise.
* gcc.c-torture/compile/labels-3.c: Likewise.
* gcc.c-torture/compile/mipscop-1.c: Likewise.
* gcc.c-torture/compile/mipscop-2.c: Likewise.
* gcc.c-torture/compile/mipscop-3.c: Likewise.
* gcc.c-torture/compile/mipscop-4.c: Likewise.
* gcc.c-torture/compile/simd-5.c: Likewise.
* gcc.c-torture/compile/
20000804-1.x: Remove.
* gcc.c-torture/compile/
20001205-1.x: Likewise.
* gcc.c-torture/compile/
20001226-1.x: Likewise.
* gcc.c-torture/compile/
20010518-2.x: Likewise.
* gcc.c-torture/compile/
20020312-1.x: Likewise.
* gcc.c-torture/compile/
20020604-1.x: Likewise.
* gcc.c-torture/compile/920501-12.x: Likewise.
* gcc.c-torture/compile/920501-4.x: Likewise.
* gcc.c-torture/compile/920520-1.x: Likewise.
* gcc.c-torture/compile/920521-1.x: Likewise.
* gcc.c-torture/compile/920625-1.x: Likewise.
* gcc.c-torture/compile/961203-1.x: Likewise.
* gcc.c-torture/compile/980506-1.x: Likewise.
* gcc.c-torture/compile/981006-1.x: Likewise.
* gcc.c-torture/compile/981022-1.x: Likewise.
* gcc.c-torture/compile/981223-1.x: Likewise.
* gcc.c-torture/compile/990617-1.x: Likewise.
* gcc.c-torture/compile/mipscop-1.x: Likewise.
* gcc.c-torture/compile/mipscop-2.x: Likewise.
* gcc.c-torture/compile/mipscop-3.x: Likewise.
* gcc.c-torture/compile/mipscop-4.x: Likewise.
* gcc.c-torture/compile/simd-5.x: Likewise.
* gcc.c-torture/compile/
20021205-1.c: Remove bogus dg commands.
From-SVN: r67881
Doug Evans [Fri, 13 Jun 2003 05:33:38 +0000 (05:33 +0000)]
Remove some build warnings.
* config/m32r/initfini.c (__CTOR_LIST__,__DTOR_LIST__): No longer
static.
(__do_global_ctors,__do_global_dtors): Ditto.
From-SVN: r67880
Richard Henderson [Fri, 13 Jun 2003 05:30:33 +0000 (22:30 -0700)]
re PR middle-end/10557 ([m68k] ICE in subreg_offset_representable_p)
PR middle-end/10557
* rtlanal.c (subreg_offset_representable_p): Relax subreg check.
From-SVN: r67878
Matt Kraai [Fri, 13 Jun 2003 04:35:29 +0000 (04:35 +0000)]
fold-const.c (tree_expr_nonnegative_p): Fix misspelling of "least".
* fold-const.c (tree_expr_nonnegative_p): Fix misspelling
of "least".
From-SVN: r67877
Kazu Hirata [Fri, 13 Jun 2003 04:18:26 +0000 (04:18 +0000)]
* config/m32r/m32r.md: Fix a comment typo.
From-SVN: r67876
Eric Botcazou [Fri, 13 Jun 2003 03:56:10 +0000 (05:56 +0200)]
re PR target/10142 ([SPARC64] gcc produces wrong code when passing structures by value)
PR target/10142
* config/sparc/sparc.c (function_arg_record_value_parms): Add
new 'stack' field.
(function_arg_record_value_1): Set 'stack' to 1 if we run out of
integer slots for an integer field.
(function_arg_record_value_3): Shift vector index.
(function_arg_record_value_2): Likewise.
(function_arg_record_value): Initialize 'stack' to 0.
Set 'stack' to 1 if we run out of integer slots for an integer field.
Generate (parallel [(expr_list (nil) ...) ...]) if 'stack' is set to 1.
Co-Authored-By: Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
From-SVN: r67874
Eric Botcazou [Fri, 13 Jun 2003 03:39:47 +0000 (03:39 +0000)]
* gcc.c-torture/execute/
20030611-1.c: New test.
From-SVN: r67871
Eric Botcazou [Fri, 13 Jun 2003 03:34:02 +0000 (05:34 +0200)]
re PR rtl-optimization/10955 ([SPARC] wrong code at -O3 for structure argument in context of structure return)
PR optimization/10955
* unroll.c (unroll_loop): Fix off-by-one bug.
From-SVN: r67870
Kaz Kojima [Fri, 13 Jun 2003 02:23:26 +0000 (11:23 +0900)]
Makefile.am: Add SHmedia support.
* Makefile.am: Add SHmedia support. Fix a typo of SH support.
* Makefile.in: Regenerate.
* configure.in (sh64-*-linux*, sh5*-*-linux*): Add target.
* configure: Regenerate.
* include/ffi.h.in: Add SHmedia support.
* src/sh64/ffi.c: New file.
* src/sh64/sysv.S: New file.
From-SVN: r67869
Aldy Hernandez [Fri, 13 Jun 2003 02:03:09 +0000 (02:03 +0000)]
rs6000.c (function_arg): Remove typo.
2003-06-12 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (function_arg): Remove typo.
[[Split portion of a mixed commit.]]
From-SVN: r67867.2
Richard Henderson [Fri, 13 Jun 2003 00:45:11 +0000 (17:45 -0700)]
i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF and UNSPEC_DTPOFF.
* config/i386/i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF
and UNSPEC_DTPOFF.
From-SVN: r67866
Richard Henderson [Fri, 13 Jun 2003 00:34:04 +0000 (17:34 -0700)]
re PR middle-end/10475 (ICE in subreg_highpart_offset for code with long long)
PR middle-end/10475
* expmed.c (emit_store_flag): Use simplify_gen_subreg directly
for extracting sub-words.
* gcc.c-torture/compile/
20030612-1.c: New.
From-SVN: r67865
GCC Administrator [Fri, 13 Jun 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67860
Richard Henderson [Thu, 12 Jun 2003 21:57:31 +0000 (14:57 -0700)]
re PR target/7594 ([m68k] ICE on legal code associated with simplify-rtx)
PR target/7594
* config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
(zero_extendqihi2, zero_extendqisi2): Likewise.
From-SVN: r67857
Aldy Hernandez [Thu, 12 Jun 2003 21:38:46 +0000 (21:38 +0000)]
rs6000.c (function_arg): Always split vectors for e500 if it's a stdarg function.
2003-06-12 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (function_arg): Always split vectors for
e500 if it's a stdarg function.
(function_arg_advance): Advance 2 registers for vectors in a
stdarg function.
(init_cumulative_args): Initialize stdarg.
(rs6000_spe_function_arg): New.
* config/rs6000/rs6000.h (rs6000_args): Add stdarg.
From-SVN: r67854
Aldy Hernandez [Thu, 12 Jun 2003 20:58:22 +0000 (20:58 +0000)]
rs6000.h (MODES_TIEABLE_P): Add SPE vectors.
2003-06-12 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.h (MODES_TIEABLE_P): Add SPE vectors.
From-SVN: r67851
Roger Sayle [Thu, 12 Jun 2003 20:33:02 +0000 (20:33 +0000)]
re PR middle-end/168 (Spurious signed/unsigned comparison warning)
PR middle-end/168
* fold-const.c (tree_expr_nonnegative_p): Handle addition
and multiplication of zero extensions, floating point division,
and integer<->fp, fp<->fp and zero extension conversions.
The built-in ceil and floor functions preserve signedness.
* gcc.dg/
20030612-1.c: New test case.
From-SVN: r67850
Kazu Hirata [Thu, 12 Jun 2003 19:01:08 +0000 (19:01 +0000)]
ChangeLog: Follow spelling conventions.
* ChangeLog: Follow spelling conventions.
* ChangeLog.2: Likewise.
* c-decl.c: Likewise.
* cfgloop.h: Likewise.
* cgraph.c: Likewise.
* coverage.c: Likewise.
* cppcharset.c: Likewise.
* cpphash.h: Likewise.
* cpplex.c: Likewise.
* cpplib.c: Likewise.
* dbxout.c: Likewise.
* df.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* emit-rtl.c: Likewise.
* explow.c: Likewise.
* gcov-io.c: Likewise.
* gcov-io.h: Likewise.
* gcov.c: Likewise.
* gengtype.c: Likewise.
* ggc.h: Likewise.
* opts.c: Likewise.
* real.c: Likewise.
* reload.c: Likewise.
* stmt.c: Likewise.
From-SVN: r67849
Janis Johnson [Thu, 12 Jun 2003 18:46:23 +0000 (18:46 +0000)]
* doc/install.texi (m32r-*-elf): Change company to Renesas.
From-SVN: r67848
Jan Hubicka [Thu, 12 Jun 2003 18:09:56 +0000 (20:09 +0200)]
basic-block.h (flow_delete_block_noexpunge): Kill.
* basic-block.h (flow_delete_block_noexpunge): Kill.
* cfgrtl.c (flow_delete_block_noexpunge): Merge to
rtl_delete_block.
From-SVN: r67846
Richard Henderson [Thu, 12 Jun 2003 18:01:26 +0000 (11:01 -0700)]
re PR inline-asm/4823 (gcc reports internal compiler error on legal code)
PR inline-asm/4823
* reg-stack.c (any_malformed_asm): New.
(check_asm_stack_operands): Set it.
(convert_regs_1): Check it before aborting.
From-SVN: r67845
Mark Mitchell [Thu, 12 Jun 2003 17:22:29 +0000 (17:22 +0000)]
re PR c++/10635 (ICE (segfault) when dereferencing an incomplete type casted from a void pointer)
PR c++/10635
* typeck.c (build_c_cast): Check that the destination type is
complete.
PR c++/10635
* g++.dg/expr/cast1.C: New test.
[[Split portion of a mixed commit.]]
From-SVN: r67840.2
Aldy Hernandez [Thu, 12 Jun 2003 16:40:41 +0000 (16:40 +0000)]
spe.md: Change all clobbers of the accumulator to sets.
2003-06-12 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.md: Change all clobbers of the accumulator to sets.
From-SVN: r67837
Benjamin Kosnik [Thu, 12 Jun 2003 15:49:16 +0000 (15:49 +0000)]
stl_alloc.h (__debug_alloc): Move out.
2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h (__debug_alloc): Move out.
(__malloc_alloc): Same.
(__pool_alloc): Same.
(__new_alloc): Same.
Rename to..
* include/bits/allocator.h: ...this.
* include/bits/stl_deque.h: Modify comment.
* include/bits/stl_tree.h: Modify include.
* include/std/std_memory.h: Same.
* include/ext/rope: Same.
* include/ext/slist: Same.
* include/std/std_vector.h: Same.
* include/std/std_stack.h: Same.
* include/std/std_queue.h: Same.
* include/std/std_list.h: Same.
* include/std/std_deque.h: Same.
* include/backward/alloc.h: Same.
* include/ext/debug_allocator.h: New.
* include/ext/malloc_allocator.h: New.
* include/ext/pool_allocator.h: New.
* include/ext/new_allocator.h: New.
* include/bits/pthread_allocimpl.h: Remove.
* include/bits/stl_pthread_alloc.h: Remove.
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* src/stl-inst.cc: Use __gnu_cxx namespace.
* src/stl-inst.cc: Move to...
* src/allocator-inst.cc: Here.
* src/Makefile.am (sources): Update.
* src/Makefile.in: Regenerate.
* config/linker-map.gnu: Remove __pool_alloc bits.
* testsuite/ext/headers.cc: Add.
* testsuite/ext/allocators.cc: Fixup.
From-SVN: r67836
Andrew Haley [Thu, 12 Jun 2003 15:39:17 +0000 (15:39 +0000)]
jni.cc (_Jv_JNI_check_types): New.
2003-06-11 Andrew Haley <aph@redhat.com>
* jni.cc (_Jv_JNI_check_types): New.
(_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
(_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
(_Jv_JNI_GetPrimitiveArrayElements): Ditto.
(_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
* java/lang/natVMSecurityManager.cc (getClassContext): Fix
infinite loop.
From-SVN: r67835
Andreas Jaeger [Thu, 12 Jun 2003 15:15:40 +0000 (17:15 +0200)]
* treetree.c: Remove cl_options-count and cl_options.
From-SVN: r67834
H.J. Lu [Thu, 12 Jun 2003 14:38:22 +0000 (14:38 +0000)]
config.guess: Update to 2003-06-06 version.
2003-06-12 H.J. Lu <hongjiu.lu@intel.com>
* config.guess: Update to 2003-06-06 version.
* config.sub: Update to 2003-06-06 version.
From-SVN: r67833
Jakub Jelinek [Thu, 12 Jun 2003 14:02:41 +0000 (16:02 +0200)]
c-opts.c (complain_wrong_lang): Add on argument.
* c-opts.c (complain_wrong_lang): Add on argument.
Print no- switch if on is false.
(c_common_decode_option): Adjust caller.
From-SVN: r67831
Ulrich Weigand [Thu, 12 Jun 2003 13:47:52 +0000 (13:47 +0000)]
s390.c (s390_emit_prologue): Use LA instead of AR to initialize GOT register.
* config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
to initialize GOT register.
From-SVN: r67829
Roger Sayle [Thu, 12 Jun 2003 12:53:01 +0000 (12:53 +0000)]
fold-const.c (tree_expr_nonnegative_p): Add support for floating point constants, addition and multiplication.
* fold-const.c (tree_expr_nonnegative_p): Add support for
floating point constants, addition and multiplication.
* gcc.dg/builtins-21.c: New test case.
From-SVN: r67828
J"orn Rennecke [Thu, 12 Jun 2003 12:03:25 +0000 (12:03 +0000)]
sh.md (adddi3_compact, [...]): Add earlyclobber constraint modifier for operand 0.
* sh.md (adddi3_compact, subdi3_compact): Add earlyclobber
constraint modifier for operand 0.
From-SVN: r67827
Hans-Peter Nilsson [Thu, 12 Jun 2003 07:09:56 +0000 (07:09 +0000)]
configure.in (assembler dwarf2 debug_line support): Define insn for cris-*-* and mmix-*-*.
* configure.in (assembler dwarf2 debug_line support): Define insn
for cris-*-* and mmix-*-*.
* configure: Regenerate.
From-SVN: r67825
Hans-Peter Nilsson [Thu, 12 Jun 2003 06:09:15 +0000 (06:09 +0000)]
Don't warn on dollars in builtin macro definitions,
e.g. __REGISTER_PREFIX__.
* cpphash.h (struct cpp_reader): Move member warn_dollars...
* cpplib.h (struct cpp_options): ...to here. Change type to
unsigned char.
* cppinit.c (cpp_create_reader): Set it to 1 here.
(post_options): Don't set it here.
* c-opts.c (c_common_init_options): Reset it to 0 here.
(finish_options): Set it here.
* cpplex.c (forms_identifier_p): Tweak for new location of
warn_dollars.
From-SVN: r67824
Matt Kraai [Thu, 12 Jun 2003 06:06:08 +0000 (06:06 +0000)]
* ChangeLog: Add missing closing parentheses.
From-SVN: r67823
Kelley Cook [Thu, 12 Jun 2003 05:54:23 +0000 (05:54 +0000)]
Patch from Kelley Cook.
* lib/gcc.exp (gcc_target_compile): Put TOOL_OPTIONS at front of
options instead of at the end.
* lib/objc.exp (objc_target_compile): Likewise.
From-SVN: r67822
Neil Booth [Thu, 12 Jun 2003 05:47:04 +0000 (05:47 +0000)]
* misc.c (gnat_handle_option): Fix warnings.
From-SVN: r67821