Nathan Sidwell
b7a7058884
* opts.sh (POSIXLY_CORRECT): Unset it.
...
From-SVN: r67954
2003-06-14 17:40:07 +00:00
Nathan Sidwell
ee6b0296b8
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
2003-06-14 17:33:32 +00:00
Richard Earnshaw
2fbe6bc2ba
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
2003-06-14 17:11:57 +00:00
Richard Earnshaw
75d2580c0c
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
2003-06-14 15:54:02 +00:00
Roger Sayle
3708da2ac5
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
2003-06-14 15:05:41 +00:00
Neil Booth
9756074d28
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
2003-06-14 14:57:29 +00:00
Richard Earnshaw
a4a37b305c
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
2003-06-14 14:16:39 +00:00
H.J. Lu
b951c91c76
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
2003-06-14 07:08:09 -07:00
Neil Booth
d7b4261875
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
2003-06-14 12:26:36 +00:00
Michael Koch
81d2d258f5
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
2003-06-14 11:53:02 +00:00
Nick Clifton
34e8290f95
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
2003-06-14 11:15:49 +00:00
Gerald Pfeifer
f540975a80
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
2003-06-14 10:57:54 +00:00
Jan Hubicka
281ac6046f
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
2003-06-14 09:14:38 +00:00
Neil Booth
57eb650394
lang.opt: Add -Wall.
...
* lang.opt: Add -Wall.
* misc.c (gnat_handle_option): Handle it.
From-SVN: r67935
2003-06-14 09:02:23 +00:00
Michael Koch
e8fb93c94f
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
2003-06-14 05:45:12 +00:00
Michael Koch
d10341eaa2
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
2003-06-14 05:44:54 +00:00
Michael Koch
6b4683e27c
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
2003-06-14 05:44:38 +00:00
Benjamin Kosnik
ef16a2989a
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
2003-06-14 05:38:04 +00:00
Matt Kraai
333991cfa2
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
2003-06-14 03:08:12 +00:00
Roger Sayle
9ad58e0979
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
2003-06-14 00:23:24 +00:00
GCC Administrator
307ecf05ae
Daily bump.
...
From-SVN: r67926
2003-06-14 00:16:07 +00:00
Zack Weinberg
ed70c24512
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
2003-06-14 00:09:30 +00:00
DJ Delorie
267409e8b0
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
2003-06-13 19:55:54 -04:00
Richard Henderson
6e287baeec
Mark PR last change.
...
From-SVN: r67921
2003-06-13 16:29:23 -07:00
Richard Henderson
eb7f48f94b
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
2003-06-13 16:28:49 -07:00
Kelley Cook
1f2cd13074
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
2003-06-13 19:18:50 -04:00
Vladimir Makarov
880efc46cd
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
2003-06-13 23:09:48 +00:00
Richard Henderson
792bb204af
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
2003-06-13 15:56:09 -07:00
James E Wilson
54c2fc721c
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
2003-06-13 22:13:07 +00:00
Doug Evans
7e7de68b89
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
2003-06-13 21:52:02 +00:00
Paolo Carlini
ed24293523
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
2003-06-13 21:06:37 +00:00
Nathan C. Myers
ca566e4c07
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
2003-06-13 20:59:42 +00:00
Aldy Hernandez
9f629a2191
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
2003-06-13 19:27:29 +00:00
Kazu Hirata
e15bb5c692
builtins.c: Fix comment typos.
...
* builtins.c: Fix comment typos.
* fold-const.c: Likewise.
From-SVN: r67907
2003-06-13 17:30:53 +00:00
Doug Evans
d88e80e622
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
2003-06-13 16:57:26 +00:00
Nathanael Nerode
4581c67856
* c-typeck.c: Remove #if 0 clauses.
...
From-SVN: r67905
2003-06-13 16:23:35 +00:00
Nathanael Nerode
9e7d116436
* lex.c: Convert to ISO C.
...
From-SVN: r67904
2003-06-13 16:13:07 +00:00
Nathanael Nerode
362efdc10b
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
2003-06-13 15:07:48 +00:00
Nathanael Nerode
dc125bdfd9
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
2003-06-13 14:39:42 +00:00
Richard Earnshaw
6ab5da8050
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
2003-06-13 14:30:38 +00:00
Nathanael Nerode
cec57f7231
* rtti.c: Remove PARAMS.
...
From-SVN: r67898
2003-06-13 14:30:19 +00:00
Kaveh R. Ghazi
3af0187c28
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
2003-06-13 14:08:36 +00:00
Nathanael Nerode
281b173200
* paranoia.cc: Fix spelling error.
...
From-SVN: r67896
2003-06-13 13:57:27 +00:00
Nathanael Nerode
0a8cb79ede
* typeck2.c: Convert to ISO C.
...
From-SVN: r67895
2003-06-13 13:34:16 +00:00
Ulrich Weigand
c873e11f46
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
2003-06-13 13:04:34 +00:00
Andrew Haley
bec3e66d1a
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
2003-06-13 12:20:45 +00:00
Rainer Orth
12e816bf16
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
2003-06-13 11:59:53 +00:00
Matt Kraai
aa7f1eb144
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
2003-06-13 11:36:31 +00:00
Nathanael Nerode
16ae108b35
* config/i386/svr3dbx.h: GNU CC -> GCC; Intel 385 -> Intel 386.
...
From-SVN: r67889
2003-06-13 11:29:35 +00:00
Florian Weimer
ebd6b6a1db
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
2003-06-13 12:11:45 +02:00