OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago PR c++/7086
mmitchel [Mon, 24 Mar 2003 08:31:36 +0000 (08:31 +0000)]
PR c++/7086
* c-typeck.c (c_mark_addressable): Adjust calls to
put_var_into_stack.
* expr.c (expand_expr): Likewise.
* function.c (put_var_into_stack): Add rescan parameter.  Do not
call fixup_var_refs when rescan is false.
(gen_mem_addressof): Likewise.
(assign_parms): Adjust calls to put_var_into_stack.
(setjmp_protect): Likewise.
(setjmp_protect_args): Likewise.
* rtl.h (gen_mem_addressof): Change prototype.
* stmt.c (expand_decl): Adjust calls to put_var_into_stack.
* tree.h (put_var_into_stack): Change prototype.

PR c++/7086
* utils2.c: Adjust calls to put_var_into_stack.

PR c++/7086
* semantics.c (genrtl_named_return_value): Adjust calls to
put_var_into_stack.
* typeck.c (cxx_mark_addressable): Likewise.

PR c++/7086
* com.c (ffecom_sym_transform_): Adjust calls to
put_var_into_stack.
(ffe_mark_addressable): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64781 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-24 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 24 Mar 2003 08:27:28 +0000 (08:27 +0000)]
2003-03-24  Michael Koch  <konqueror@gmx.de>

* java/io/DataInputStream.java
(): Wrapped documentation line.
(): Fixed @return tag.
* java/io/DataOutputStream.java
(written): Moved to top of class.
(all methods): Merged documentation from classpath.
* java/io/File.java:
Merged copyright year with classpath.
* java/io/FileInputStream.java
(all methods): Merged documentation from classpath.
* java/io/LineNumberReader.java
(getLineNumber): Fixed @return tag.
* java/io/ObjectInputStream.java.
Reformatted.
* java/io/ObjectOutputStream.java:
Reformatted, fixed some @see tags.
* java/io/OutputStreamWriter.java:
Deleted empty line.
* java/io/Writer.java:
Reformatted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64780 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-24 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 24 Mar 2003 08:26:52 +0000 (08:26 +0000)]
2003-03-24  Michael Koch  <konqueror@gmx.de>

* java/awt/Frame.java
(DEFAULT_CURSOR): Fixed @deprecated tag.
(setCursor): Fixed @deprecated tag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64779 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-24 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 24 Mar 2003 08:24:29 +0000 (08:24 +0000)]
2003-03-24  Michael Koch  <konqueror@gmx.de>

* java/beans/beancontext/BeanContextEvent.java:
Reformated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64778 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoclarify which PR was fixed.
ghazi [Mon, 24 Mar 2003 01:30:44 +0000 (01:30 +0000)]
clarify which PR was fixed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64773 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agogcc:
ghazi [Mon, 24 Mar 2003 01:24:41 +0000 (01:24 +0000)]
gcc:
* builtins.c (expand_builtin_fputs): When optimizing for size,
don't transform fputs into fwrite.
testsuite:
* gcc.c-torture/execute/stdio-opt-1.c: Adjust test for change to
builtin fputs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64771 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-23 Eric Blake <ebb9@email.byu.edu>
tromey [Mon, 24 Mar 2003 00:50:18 +0000 (00:50 +0000)]
2003-03-23  Eric Blake  <ebb9@email.byu.edu>

* java/lang/natStringBuffer.cc (regionMatches): New function.
* java/lang/String.java (count): Now package-private.
* java/lang/StringBuffer.java: Merged with Classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64770 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Mon, 24 Mar 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64769 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c/8224
mmitchel [Sun, 23 Mar 2003 22:57:26 +0000 (22:57 +0000)]
PR c/8224
* fold-const.c (extract_muldiv_1): Don't pass through type conversions
when signedness changes for division or modulus.

PR c/8224
* gcc.dg/20030323-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64760 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
amodra [Sun, 23 Mar 2003 22:44:04 +0000 (22:44 +0000)]
* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
globalize_label.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64758 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c/10178
sayle [Sun, 23 Mar 2003 21:25:13 +0000 (21:25 +0000)]
PR c/10178
* stmt.c (expand_end_case_type): Check for overflow in range when
determining whether to use a bit-test implementation.

* gcc.c-torture/compile/20030323-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64757 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps
rth [Sun, 23 Mar 2003 20:40:26 +0000 (20:40 +0000)]
    * cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps
        before flow2.
        * cfgrtl.c (try_redirect_by_replacing_jump): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64754 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNew test.
rth [Sun, 23 Mar 2003 20:21:24 +0000 (20:21 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64753 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR opt/10116
rth [Sun, 23 Mar 2003 20:14:57 +0000 (20:14 +0000)]
    PR opt/10116
        * ifcvt.c (find_if_block): Disallow tablejump insns outgoing
        from then_bb or else_bb after flow2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64750 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in: Check whether it is necessary to link against
zack [Sun, 23 Mar 2003 20:13:58 +0000 (20:13 +0000)]
* configure.in: Check whether it is necessary to link against
libm to use ldexp.
* configure: Regenerate.
* Makefile.in: Add LDEXP_LIB substitution variable.
* java/Make-lang.in: Link jcf-dump against $(LDEXP_LIB).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64749 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-23 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 23 Mar 2003 19:11:19 +0000 (19:11 +0000)]
2003-03-23  Michael Koch  <konqueror@gmx.de>

* java/io/BufferedOutputStream.java:
Reformated.
* java/io/BufferedReader.java:
Reformated.
* java/io/ByteArrayOutputStream.java
(size): Fixed @see tag.
* java/io/CharArrayWriter.java
(size): Fixed @see tag.
* java/io/DataInput.java:
Reformated.
* java/io/DataOutput.java:
Reformated.
* java/io/DataOutputStream.java:
Merged copyright years with classpath.
* java/io/Externalizable.java:
Reformated.
* java/io/FileFilter.java:
Reformated.
* java/io/FileInputStream.java:
Merged copyright years with classpath.
* java/io/FileOutputStream.java:
Merged copyright years with classpath.
* java/io/FilePermission.java
(FilePermission): Replaced @XXX with FIXME:.
* java/io/FileWriter.java:
Reformated.
* java/io/FilenameFilter.java:
Reformated.
* java/io/FilterInputStream.java:
Reformated.
* java/io/FilterOutputStream.java:
Reformated.
* java/io/FilterReader.java:
Reformated.
* java/io/FilterWriter.java:
Reformated.
* java/io/LineNumberInputStream.java
(LineNumberInputStream): Replaced @code with HTML tags to make javadoc
happy.
(getLineNumber): Fixed @return tag.
* java/io/ObjectInput.java:
Reformated.
* java/io/ObjectOutput.java:
Reformated.
* java/io/ObjectStreamClass.java:
Reformated.
* java/io/PrintStream.java:
Merged copyright years with classpath.
* java/io/PushbackReader.java
(PushbackReader): Replaced @code with @param.
* java/io/SerializablePermission.java:
Reformated.
* java/io/StreamTokenizer.java
(resetSyntax): Fixed @see tag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64748 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md: Fix comment typos.
kazu [Sun, 23 Mar 2003 14:32:47 +0000 (14:32 +0000)]
* config/h8300/h8300.md: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64747 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
aoliva [Sun, 23 Mar 2003 10:15:50 +0000 (10:15 +0000)]
* Makefile.in (MULTIOSDIR): New macro.  Use $(CC) $(LIBCFLAGS)
instead of $$CC alone.
(install_to_tooldir): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64745 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa.c (output_cbranch): Fix typo in comment.
danglin [Sun, 23 Mar 2003 05:24:27 +0000 (05:24 +0000)]
* pa.c (output_cbranch): Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64741 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfgcleanup.c (insns_match_p): Do not do EQUIV substitution
rth [Sun, 23 Mar 2003 01:40:04 +0000 (01:40 +0000)]
    * cfgcleanup.c (insns_match_p): Do not do EQUIV substitution
        after reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64738 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sysdep/ia64/locks.h: Include ia64intrin.h.
rth [Sun, 23 Mar 2003 01:38:00 +0000 (01:38 +0000)]
    * sysdep/ia64/locks.h: Include ia64intrin.h.
        (compare_and_swap): Use __sync_bool_compare_and_swap.
        (compare_and_swap_release): Expose ar.ccv assignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64737 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
rth [Sun, 23 Mar 2003 01:36:22 +0000 (01:36 +0000)]
    * include/private/gc_locks.h [IA64]: Include ia64intrin.h.
        (GC_test_and_set): Use __sync_lock_test_and_set.
        (GC_clear): Use volatile assignment.
        (GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
        (GC_memory_write_barrier): Use __sync_synchronize.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64736 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 23 Mar 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64735 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agobe explicit about the default VERBOSE case
korbb [Sat, 22 Mar 2003 21:58:56 +0000 (21:58 +0000)]
be explicit about the default VERBOSE case

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64728 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agofix Solaris 2.6 initializers
korbb [Sat, 22 Mar 2003 21:51:04 +0000 (21:51 +0000)]
fix Solaris 2.6 initializers

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64727 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/i386.c (ix86_init_machine_status): Return value.
aj [Sat, 22 Mar 2003 20:02:22 +0000 (20:02 +0000)]
* config/i386/i386.c (ix86_init_machine_status): Return value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64726 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
danglin [Sat, 22 Mar 2003 18:55:40 +0000 (18:55 +0000)]
* config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
Correct return value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64724 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa.c (output_cbranch, output_bb, output_bvb): Output nop for
danglin [Sat, 22 Mar 2003 18:53:08 +0000 (18:53 +0000)]
* pa.c (output_cbranch, output_bb, output_bvb): Output nop for
conditional branch to the following instruction.  Use next_real_insn
instead of next_active_insn.
(output_dbra, output_movb, jump_in_call_delay): Use next_real_insn
instead of next_active_insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64723 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o' instead
uweigand [Sat, 22 Mar 2003 17:52:10 +0000 (17:52 +0000)]
* config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o' instead
of 'm' constraint in forced-split alternatives.
("*adddi3_31", "*subdi3_31"): Likewise.  Also, pass 0 instead of 1 as
VALIDATE_ADDRESS parameter to operand_subword.
* gcc.dg/20030321-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64718 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/Wshadow-1.c: Add a dg-warning line.
zack [Sat, 22 Mar 2003 17:06:15 +0000 (17:06 +0000)]
* gcc.dg/Wshadow-1.c: Add a dg-warning line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64717 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Sat, 22 Mar 2003 15:34:41 +0000 (15:34 +0000)]
cp:
PR c++/9978, c++/9708
* cp-tree.h (instantiate_template): Add tsubst_flags parameter.
* call.c (add_template_candidate_real): Adjust
instantiate_template call.
* class.c (resolve_address_of_overloaded_function): Likewise.
* decl.c (build_enumerator): Set TREE_CONSTANT.
* pt.c (check_instantiated_args): New.
(push_inline_template_parms_recursive): Set TREE_CONSTANT,
TREE_READONLY.
(build_template_parm_index): Copy TREE_CONSTANT, TREE_READONLY.
(reduce_template_parm_level): Likewise.
(process_template_parm): Likewise.
(check_explicit_specialization): Adjust instantiate_template call.
(convert_template_argument): Don't check non-type argument here.
(lookup_template_class): Check them here.
(tsubst_friend_function): Adjust instantiate_template call.
(instantiate_template): Add tsubst_flags parameter, use it. Check
instantiated args.
testsuite:
PR c++/9978, c++/9708
* g++.dg/ext/vlm1.C: Adjust expected error.
* g++.dg/ext/vla2.C: New test.
* g++.dg/template/arg1.C: New test.
* g++.dg/template/arg2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64714 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (notice_update_cc): Correctly handle
kazu [Sat, 22 Mar 2003 15:22:37 +0000 (15:22 +0000)]
* config/h8300/h8300.c (notice_update_cc): Correctly handle
the case where the set destination is STRICT_LOW_PART.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64711 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoMake gcc recognize a c33 as a c30 instead of a c40 processor.
sveinse [Sat, 22 Mar 2003 13:16:15 +0000 (13:16 +0000)]
Make gcc recognize a c33 as a c30 instead of a c40 processor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64710 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-22 Bud Davis <bdavis9659@comcast.net>
toon [Sat, 22 Mar 2003 13:01:08 +0000 (13:01 +0000)]
2003-03-22  Bud Davis  <bdavis9659@comcast.net>

* com.c (ffecom_constantunion_with_type): New function.
* com.h (ffecom_constantunion_with_type): Declare.
* stc.c (ffestc_R810): Check for kind type.
* ste.c (ffeste_R810): Use ffecom_constantunion_with_type
to discern SELECT CASE variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64709 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 22 Mar 2003 10:56:44 +0000 (10:56 +0000)]
2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>

        * include/posix.h: Add suffix for darwin dynamic libraries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64705 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 22 Mar 2003 10:45:04 +0000 (10:45 +0000)]
2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>

        * libjava.jni/jni.exp: Add compilation/link fix dor darwin dylibs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64704 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * combine.c (simplify_comparison <AND>): Use gen_int_mode. Tidy.
amodra [Sat, 22 Mar 2003 08:01:02 +0000 (08:01 +0000)]
* combine.c (simplify_comparison <AND>): Use gen_int_mode.  Tidy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64703 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * lib/libjava.exp (gcj_invoke): Moved...
tromey [Sat, 22 Mar 2003 07:14:53 +0000 (07:14 +0000)]
* lib/libjava.exp (gcj_invoke): Moved...
* libjava.jni/jni.exp: ...from here.

* libjava.cni/shortfield.out: New file.
* libjava.cni/shortfield.java: New file.
* libjava.cni/natshortfield.cc: New file.
* libjava.cni/natlongfield.cc: New file.
* libjava.cni/longfield.out: New file.
* libjava.cni/longfield.java: New file.

* libjava.cni/cni.exp: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64702 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-21 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Sat, 22 Mar 2003 04:57:46 +0000 (04:57 +0000)]
2003-03-21  Jerry Quinn  <jlquinn@optonline.net>

PR libstdc++/5730
* include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
        * include/std/std_complex.h (norm):  Use faster,
        less accurate computation for builtin float types under --fast-math.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64701 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c: Include intl.h.
zack [Sat, 22 Mar 2003 03:28:39 +0000 (03:28 +0000)]
* c-common.c: Include intl.h.
(shadow_warning): Rewrite to allow better diagnostic translations.
* c-common.h: Update prototype of shadow_warning.  Declare sw_kind enum.
* c-decl.c (warn_if_shadowing): Update calls to shadow_warning;
use it throughout.
* Makefile.in (c-common.o): Add intl.h.
cp:
* decl.c: Update calls to shadow_warning.
po:
* gcc.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64699 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc: Remove 'float_format'.
neroden [Sat, 22 Mar 2003 00:29:06 +0000 (00:29 +0000)]
* config.gcc: Remove 'float_format'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64698 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 22 Mar 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64697 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fixproto: Define NULL and size_t in generated stdlib.h and
neroden [Sat, 22 Mar 2003 00:15:53 +0000 (00:15 +0000)]
* fixproto: Define NULL and size_t in generated stdlib.h and
unistd.h.  Kill unused required_stdlib_h, required_unistd_h.
Rearrange file generation loop for readability.  Generate time.h,
string.h if missing.
* tsystem.h: Include <string.h>, <time.h> unconditionally.
* config.gcc: Blow away POSIX defines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64690 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
ciceron [Fri, 21 Mar 2003 23:35:11 +0000 (23:35 +0000)]
* config/m68hc11/m68hc11.md ("call_value"): Fix trap check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64687 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
ciceron [Fri, 21 Mar 2003 23:25:21 +0000 (23:25 +0000)]
* config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
writing .interrupt command.
* config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
if it's a far or near function.
("call_value"): Likewise.
* config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and
near attributes.
(m68hc11_handle_fntype_attribute): Accept attributes on methods.
(m68hc11_override_options): Ignore -mlong-calls for 68HC11.
(m68hc11_initial_elimination_offset): Set current_function_far
according to attributes.
(expand_prologue): Likewise.
(trap_handler_symbol): New global to keep track of trap handlers.
(m68hc11_encode_section_info): Mark symbol as far if needed; set
trap symbol.
(m68hc11_is_far_symbol): New function.
(m68hc11_is_trap_symbol): New function.
* config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare.
(m68hc11_is_trap_symbol): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64685 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * i386.c (ix86_compute_frame_layout): Recompute fast prologues
hubicka [Fri, 21 Mar 2003 22:18:18 +0000 (22:18 +0000)]
* i386.c (ix86_compute_frame_layout): Recompute fast prologues
only when amount of saved regs changed.
(ix86_init_machine_status): Initialize use_fast_prologue_epilgoue_nregs.
* i386.h (machine_function): New fields use_fast_prologue_epilgoue_nregs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64682 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR inline-asm/7916
hubicka [Fri, 21 Mar 2003 21:47:04 +0000 (21:47 +0000)]
PR inline-asm/7916
* function.c (instantiate_virtual_regs_lossage): New function.
(instantiate_virtual_regs_1): Use it.
(instantiate_virtual_regs): Do not continue in substition when insn has
been deleted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64681 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * combine.c (make_field_assignment): Fix a warning.
kazu [Fri, 21 Mar 2003 21:42:05 +0000 (21:42 +0000)]
* combine.c (make_field_assignment): Fix a warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64680 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * testsuite/testsuite_hooks.h: Fix warning nits.
ljrittle [Fri, 21 Mar 2003 20:32:45 +0000 (20:32 +0000)]
* testsuite/testsuite_hooks.h: Fix warning nits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64678 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.
kazu [Fri, 21 Mar 2003 20:01:34 +0000 (20:01 +0000)]
* config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64677 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-21 Dale Johannesen <dalej@apple.com>
dalej [Fri, 21 Mar 2003 19:01:42 +0000 (19:01 +0000)]
2003-03-21  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.h (REG_ALLOC_ORDER):  Increase
        priority for R2 on Darwin.
        (HARD_REGNO_MODE_OK):  Don't accept R31 for DFmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64676 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * combine.c (make_field_assignment): Remove unnecessary AND
kazu [Fri, 21 Mar 2003 18:03:02 +0000 (18:03 +0000)]
* combine.c (make_field_assignment): Remove unnecessary AND
when storing into zero_extract.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64674 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-15 Aldy Hernandez <aldyh@redhat.com>
zack [Fri, 21 Mar 2003 17:20:54 +0000 (17:20 +0000)]
2003-03-15  Aldy Hernandez <aldyh@redhat.com>
    Zack Weinberg  <zack@codesourcery.com>

* Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.
* doc/libgcc.texi: New file.
* doc/interface.texi: Delete paragraph about libgcc interface.
* doc/gccint.texi: Add libgcc menu entry and @include libgcc.texi.

(oops, left out of previous checkout)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64673 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete.
zack [Fri, 21 Mar 2003 17:19:34 +0000 (17:19 +0000)]
* aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete.
* configure.in: Don't call gcc_AC_C_FLOAT_FORMAT.
* defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN
in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64672 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * javaop.h (jfloat, jdouble): Make them structures mirroring
zack [Fri, 21 Mar 2003 17:10:02 +0000 (17:10 +0000)]
* javaop.h (jfloat, jdouble): Make them structures mirroring
the bit fields of IEEE float and double respectively.
(JFLOAT_FINITE, JFLOAT_QNAN_MASK, JFLOAT_EXP_BIAS,
JDOUBLE_FINITE, JDOUBLE_QNAN_MASK, JDOUBLE_EXP_BIAS): New.
(union Word, union DWord): Delete.
(WORD_TO_FLOAT, WORDS_TO_DOUBLE): Update to match.

* gjavah.c (java_float_finite, java_double_finite, F_NAN_MASK,
D_NAN_MASK): Delete.
(jni_print_float, jni_print_double): New.  Generate
hexadecimal floating constants.
(print_field_info): Use jni_print_float/double.

* jcf-dump.c: Include math.h.  Use ldexp/frexp to assemble
finite floating point numbers for output; special case
non-finite floats.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64671 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* optabs.c (init_integral_libfuncs): Make sure we init at least up
dj [Fri, 21 Mar 2003 16:58:35 +0000 (16:58 +0000)]
* optabs.c (init_integral_libfuncs): Make sure we init at least up
to "long long" size words.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64670 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/s390/s390.h: Do not include fixdfdi.h on s390x.
uweigand [Fri, 21 Mar 2003 15:48:31 +0000 (15:48 +0000)]
* config/s390/s390.h: Do not include fixdfdi.h on s390x.
(TARGET_64BIT): Define as compile-time constant when IN_LIBGCC2.
(MIN_UNITS_PER_WORD): Do not define when IN_LIBGCC2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64669 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Fri, 21 Mar 2003 15:42:36 +0000 (15:42 +0000)]
cp:
PR c++/9898
* error.c (dump_decl) [CONST_DECL]: Print '<enumerator>'.
(dump_expr) [CONSTRUCTOR]: Print default ctor as a function call.
testsuite:
PR c++/9898
* g++.dg/other/error4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64667 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR doc-bug/9813
reichelt [Fri, 21 Mar 2003 15:06:19 +0000 (15:06 +0000)]
PR doc-bug/9813
* doc/extend.texi: Move misplaced paragraph about underscores in
variables in macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64666 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libffi/include/ffi.h.in: Define X86 instead of X86_64 in 32
rakdver [Fri, 21 Mar 2003 13:43:20 +0000 (13:43 +0000)]
* libffi/include/ffi.h.in: Define X86 instead of X86_64 in 32
bit mode.
* libffi/src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV):
Receive closure pointer through parameter, read args using
__builtin_dwarf_cfa.
(FFI_INIT_TRAMPOLINE): Send closure reference through eax.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64663 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR optimization/8366
ebotcazou [Fri, 21 Mar 2003 09:46:38 +0000 (09:46 +0000)]
PR optimization/8366
* config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
(GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
PIC+SYMBOLIC_CONST in other modes than Pmode.
(GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
the form PIC+SYMBOLIC_CONST as mode dependent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64657 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-21 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 21 Mar 2003 09:18:31 +0000 (09:18 +0000)]
2003-03-21  Michael Koch  <konqueror@gmx.de>

* javax/swing/Action.java
(ACCELERATOR_KEY): New constant.
(ACTION_COMMAND_KEY): Likewise.
(MNEMONIC_KEY): Likewise.
* javax/swing/UnsupportedLookAndFeelException.java
(UnsupportedLookAndFeelException): Must be public.
* javax/swing/WindowConstants.java
(EXIT_ON_CLOSE): New constant.
* javax/swing/text/BadLocationException.java
(offset): New member variable.
(BadLocationException): New implementation, documentation added.
(offsetRequested): New method.
* javax/swing/text/Caret.java:
Reformated.
* javax/swing/text/Document.java:
Reformated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64656 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-21 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 21 Mar 2003 09:00:29 +0000 (09:00 +0000)]
2003-03-21  Michael Koch  <konqueror@gmx.de>

* java/rmi/activation/Activatable.java
(serialVersionUID): New member variable.
* java/rmi/activation/ActivationGroup.java
(serialVersionUID): New member variable.
* java/rmi/activation/ActivationGroupDesc.java
(serialVersionUID): New member variable.
* java/rmi/registry/Registry.java:
Reformated.
(Registry): Deprecated.
* java/rmi/server/LoaderHandler.java
Reformated.
(LoaderHandler): Deprecated.
* java/rmi/server/LogStream.java
Reformated.
(LogStream): Deprecated.
* java/rmi/server/Operation.java
(Operation): Deprecated.
* java/rmi/server/RMIFailureHandler.java:
Reformated.
* java/rmi/server/RMISocketFactory.java:
Reformated.
* java/rmi/server/RemoteCall.java
(RemoteCall): Deprecated.
* java/rmi/server/RemoteStub.java:
Reformated.
* java/rmi/server/Skeleton.java
Reformated.
(Skeleton): Deprecated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64655 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-21 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 21 Mar 2003 08:48:27 +0000 (08:48 +0000)]
2003-03-21  Michael Koch  <konqueror@gmx.de>

* java/io/LineNumberReader.java
(LineNumberReader): Merged documentation with classpath.
(getLineNumber): Likewise.
(setLineNumber): Likewise.
(mark): Likewise.
(reset): Likewise.
(read): Likewise.
(readLine): Likewise.
(skip): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64654 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-21 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 21 Mar 2003 08:48:14 +0000 (08:48 +0000)]
2003-03-21  Michael Koch  <konqueror@gmx.de>

* java/rmi/RMISecurityManager.java
(checkAccept): Removed.
(checkAccess): Likewise.
(checkAccess): Likewise.
(checkAwtEventQueueAccess): Likewise.
(checkConnect): Likewise.
(checkCreateClassLoader): Likewise.
(checkDelete): Likewise.
(checkExec): Likewise.
(checkExit): Likewise.
(checkLink): Likewise.
(checkListen): Likewise.
(checkMemberAccess): Likewise.
(checkMulticast): Likewise.
(checkPackageAccess): Likewise.
(checkPackageDefinition): Likewise.
(checkPermission): Likewise.
(checkPrintJobAccess): Likewise.
(checkPropertiesAccess): Likewise.
(checkPropertyAccess): Likewise.
(checkRead): Likewise.
(checkSecurityAccess): Likewise.
(checkSetFactory): Likewise.
(checkSystemClipboardAccess): Likewise.
(checkTopLevelWindow): Likewise.
(checkWrite): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64653 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * treetree.c (cpp_create_reader): Follow prototype change in
aj [Fri, 21 Mar 2003 07:27:42 +0000 (07:27 +0000)]
* treetree.c (cpp_create_reader): Follow prototype change in
cpplib.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64652 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/9440
jason [Fri, 21 Mar 2003 07:13:53 +0000 (07:13 +0000)]
    PR c++/9440
        * call.c (build_conditional_expr): Use convert rather than an
        explicit NOP_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64651 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8316, c++/9315, c++/10136
jason [Fri, 21 Mar 2003 07:12:50 +0000 (07:12 +0000)]
    PR c++/8316, c++/9315, c++/10136
        * call.c (print_z_candidate): Split out from...
        (print_z_candidiates): ...here.
        (joust): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64650 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/9420
jason [Fri, 21 Mar 2003 07:10:43 +0000 (07:10 +0000)]
    PR c++/9420
        * search.c (lookup_conversions): Call complete_type here.
        * call.c (implicit_conversion): Not here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64649 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/7050
jason [Fri, 21 Mar 2003 07:08:02 +0000 (07:08 +0000)]
    PR c++/7050
        * expr.c (store_expr): Don't attempt to store void-typed trees,
        just evaluate them for side effects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64646 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp/decl2.c (arg_assoc_class): Correct check for namespace-scope
mmitchel [Fri, 21 Mar 2003 07:04:07 +0000 (07:04 +0000)]
* cp/decl2.c (arg_assoc_class): Correct check for namespace-scope
friends.
* cp/pt.c (instantiate_class_template): Fix formatting.

* g++.dg/template/friend17.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64645 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/stormy16/stormy16.c (xstormy16_expand_arith): Make
dj [Fri, 21 Mar 2003 06:03:01 +0000 (06:03 +0000)]
* config/stormy16/stormy16.c (xstormy16_expand_arith): Make
sure we always emit at least one insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64644 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-21 Christopher Faylor <cgf@redhat.com>
dannysmith [Fri, 21 Mar 2003 03:57:09 +0000 (03:57 +0000)]
2003-03-21  Christopher Faylor  <cgf@redhat.com>

* config.gcc (i[34567]86-*-cygwin*): Use new common makefile
stub t-cygming. Use common target header cygming.h. Add extra
c_target_obj and cxx_target_obj file. Default cygwin to posix
threading. Enforce i386 as float format.
(i[34567]86-*-mingw*): Use new common makefile stub t-cygming.
Remove cygwin.h as target header. Use common target header
cygming.h  Enforce i386 as float format. Correct typo.
* config/i386/cygming.h: New file, containing definitions
common to mingw32 and cygwin.
* config/i386/cygwin.h: Remove definitions common to cygwin and
mingw. Simplify special spec logic.  Define "wrappers" around
certain include path defines to accommodate -mno-cygwin.
Remove some #if 0'ed code.
(STANDARD_INCLUDE_DIR) Always define when not cross-compiling.
(LINK_SPEC): Don't use cyg search prefix when -mno-cygwin.
(GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan.
* config/i386/mingw32.h: Remove definitions common to cygwin and
mingw.
(EXTRA_OS_CPP_BUILTINS): Adjust.
(TARGET_VERSION): Define.
* config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override
mingw32.h definitions.
(LIBGCC_SPEC): Add libmingwex.a as in mingw32.h.
* config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o.
Add compilation rules for cygwin1.o cygwin2.o.
* config/i386/cygwin1.c: New file.
* config/i386/cygwin2.c: New file.
* config/i386/t-cygming: New makefile stub.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64643 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 21 Mar 2003 00:17:09 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64642 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNew test.
amodra [Fri, 21 Mar 2003 00:13:41 +0000 (00:13 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64635 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fold-const.c (extract_muldiv_1): Revert changing order of
rth [Fri, 21 Mar 2003 00:03:24 +0000 (00:03 +0000)]
    * fold-const.c (extract_muldiv_1): Revert changing order of
        operands in case MULT_EXPR of 2003-02-16 patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64632 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoSomehow the indentation got screwed when i patched the commit tree on a PC with a...
dberlin [Thu, 20 Mar 2003 23:05:55 +0000 (23:05 +0000)]
Somehow the indentation got screwed when i patched the commit tree on a PC with a patch from a mac.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64630 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-20 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 20 Mar 2003 23:02:54 +0000 (23:02 +0000)]
2003-03-20  Daniel Berlin  <dberlin@dberlin.org>
Merge changes from new-regalloc-branch

From Michael Matz  <matz@suse.de>
* df.c (df_ref_record_1): Move init of loc to safe point.
Only recurse on interesting things in parallels.
Handle CLASS_CANNOT_CHANGE_MODE smarter.
(df_uses_record): Ditto.

* df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which
it's already okay to use memory operands in (IE doesn't require
adding another insn or anything).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64629 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR middle-end/6348
rth [Thu, 20 Mar 2003 22:51:39 +0000 (22:51 +0000)]
    PR middle-end/6348
        * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE
        different from word_mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64628 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
kazu [Thu, 20 Mar 2003 22:22:35 +0000 (22:22 +0000)]
* config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
source operand to those that can be extracted with bld.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64627 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoPR 10066
rearnsha [Thu, 20 Mar 2003 22:04:56 +0000 (22:04 +0000)]
PR 10066
* arm.md (UNSPEC_PIC_BASE): New constant.
(pic_add_dot_plus_four): Wrap with unspec.
(pic_add_dot_plus_eight): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64626 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h (unemitted_tinfo_decls): Declaration of a new varray.
austern [Thu, 20 Mar 2003 21:14:30 +0000 (21:14 +0000)]
* cp-tree.h (unemitted_tinfo_decls): Declaration of a new varray.
(unemitted_tinfo_decl_p): Remove.
(emit_tinfo_decl): Change declaration to remove unused parameter.
* decl2.c (finish_file): Change tinfo emission to loop through
unemitted_tinfo_decls array instead of looping through all decls.
* rtti.c (unemitted_tinfo_decl_p): Declare as static, remove
unused second parameter.
(init_rtti_processing): initialize unemitted_tinfo_decls varray.
(get_tinfo_decls): push new tinfo decl on unemitted_tinfo_decls.
(emit_tinfo_decl): remove unused second parameter, add assertion
that decl hasn't already been emitted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64621 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (*insv_si_1_n): New.
kazu [Thu, 20 Mar 2003 21:12:01 +0000 (21:12 +0000)]
* config/h8300/h8300.md (*insv_si_1_n): New.
(*insv_si_1_n_lshiftrt): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64620 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fold-const.c (fold_mathfn_compare): New function to simplify
sayle [Thu, 20 Mar 2003 17:48:26 +0000 (17:48 +0000)]
* fold-const.c (fold_mathfn_compare): New function to simplify
comparisons against built-in math functions.  Fold comparisons
of sqrt against constants.
(fold): Call fold_mathfn_compare when appropriate.

* gcc.dg/builtins-6.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64619 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
rearnsha [Thu, 20 Mar 2003 16:49:24 +0000 (16:49 +0000)]
* ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
information.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64618 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Various cleanups to help compile server.
bothner [Thu, 20 Mar 2003 16:46:18 +0000 (16:46 +0000)]
Various cleanups to help compile server.

* cppinit.c (cpp_create_reader):  Take extra hash_table* argument,
and pass that to _cpp_init_hashtable.
(cpp_read_main_file):  Drop hash_table* argument; don't call
_cpp_init_hashtable.
* cpplib.h:  Update declarations to match.
* c-opts.c (c_common_init_options):  Pass ident_hash to
cpp_create_reader.
(c_common_post_options):  Don't pass ident_hash to cpp_read_main_file.
* fix-header.c (read_scan_file):  Likewise pass NULL table to
cpp_create_reader rather than cpp_read_main_file.

* cppfiles.c (cpp_rename_file):  Generalized and renamed
to cpp_change_file.
* cpplib.h:  Update declaration to match.
* c-opts.c (push_command_line_line, finish_options):  Change
cpp_rename_file calls to cpp_change_file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64617 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Various cleanups to help compile server.
bothner [Thu, 20 Mar 2003 16:43:19 +0000 (16:43 +0000)]
Various cleanups to help compile server.

* line-map.c (add_line_map):  Allow leaving the outermost file.
Allowing entering an outermost-file after the initial time.

* toplev.c (pop_srcloc):  Allow popping from initial file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64616 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fold-const.c (fold): Fold A - (A & B) into ~B & A.
kazu [Thu, 20 Mar 2003 16:10:36 +0000 (16:10 +0000)]
* fold-const.c (fold): Fold A - (A & B) into ~B & A.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64615 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (a peephole2): New.
kazu [Thu, 20 Mar 2003 16:03:34 +0000 (16:03 +0000)]
* config/h8300/h8300.md (a peephole2): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64614 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-20 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 20 Mar 2003 11:14:35 +0000 (11:14 +0000)]
2003-03-20  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileChannelImpl.java
(address): Removed.
(map_address): New member variable.
(length): Make it package private.
(fd): Make it package private.
(buf): Make it package private.
(file_obj): Make it package private.
(FileChannelImpl): New constructor.
(nio_mmap_file): Use RawData instead of long.
(nio_munmap_file): Use RawData instead of long.
(nio_msync): Use RawData instead of long.
(implCloseChannel): New implementation using map_address.
(read): Reformated.
(map): Implemented.
(create_direct_mapped_buffer): Implemented, use RawData, throws
IOException.
(force): Use map_address instead of address.
* gnu/java/nio/MappedByteFileBuffer.java
(address): Removed.
(map_address): New member variable.
(MappedByteFileBuffer): Use map_address instead of address, reformated.
(several methods): Use map_address instead of address, replaced long
with RawData where appropriate.
* gnu/java/nio/natFileChannelImpl.cc
(nio_mmap_file): Replaced long with RawData.
(nio_munmap_file): Replaced long with RawData.
(nio_msync): Replaced long with RawData.
* gnu/java/nio/natMappedByteFileBuffer.cc
(several methods): Replaced long with RawData where appropriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64612 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-20 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 20 Mar 2003 08:19:58 +0000 (08:19 +0000)]
2003-03-20  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java,
java/net/JarURLConnection.java,
java/net/PlainDatagramSocketImpl.java,
java/net/PlainSocketImpl.java,
java/net/URLConnection.java:
Merged copyright statements with classpath for easier merging.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64611 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-20 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 20 Mar 2003 07:54:24 +0000 (07:54 +0000)]
2003-03-20  Michael Koch  <konqueror@gmx.de>

* java/io/FileInputStream.java
(getChannel): New implementation.
* java/io/FileOutputStream.java
(ch): New member variable.
(getChannel): Implemented.
* java/io/RandomAccessFile.java
(RandomAccessFile): Throws FileNotFoundException instead of
IOException.
(getChannel): New method.
(ch): New member variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64609 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-03-20 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 20 Mar 2003 07:47:01 +0000 (07:47 +0000)]
2003-03-20  Michael Koch  <konqueror@gmx.de>

* java/io/DataOutputStream.java,
java/io/File.java,
java/io/FileInputStream.java,
java/io/FileOutputStream.java,
java/io/InputStreamReader.java,
java/io/LineNumberReader.java,
java/io/OutputStreamWriter.java,
java/io/PrintStream.java,
java/io/RandomAccessFile.java:
Merged copyright statements with classpath for easier merging.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64608 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (*addsi3_and_r_1): New.
kazu [Thu, 20 Mar 2003 06:43:29 +0000 (06:43 +0000)]
* config/h8300/h8300.md (*addsi3_and_r_1): New.
(*addsi3_and_not_r_1): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64607 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (STRICT2_WARN): Add @WERROR@.
ljrittle [Thu, 20 Mar 2003 03:11:25 +0000 (03:11 +0000)]
    * Makefile.in (STRICT2_WARN): Add @WERROR@.
        (GCC_WARN_CFLAGS): Remove $(WERROR).
        (fixinc.sh-warn): New.
        * ada/Make-lang.in (ada-warn): Add $(WERROR).
        * cp/Make-lang.in (cp-warn): Add $(WERROR).
        * f/Make-lang.in (f-warn): Add $(WERROR).
        * java/Make-lang.in (java-warn): Add $(WERROR).
        * treelang/Make-lang.in (treelang-warn): Add $(WERROR).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64606 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
aoliva [Thu, 20 Mar 2003 02:30:42 +0000 (02:30 +0000)]
* config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
Only .set mips2 for the o32 ABI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64604 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 20 Mar 2003 00:17:13 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64603 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago(gcc)
neroden [Wed, 19 Mar 2003 20:34:10 +0000 (20:34 +0000)]
(gcc)
* c-common.h (c_dump_tree), c-dump.c (c_dump_tree),
langhooks-def.h (lhd_tree_dump_dump_tree),
langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree):
Change return type from 'int' to 'bool'.  Replace 0 and 1 with
true and false in return statements.
(cp)
* dump.c (cp_dump_tree), cp-tree.h (cp_dump_tree): Change return
type from 'int' to 'bool'. Replace 0 and 1 with true and false in
return statements.
(java)
* lang.c (java_dump_tree): Change return type from 'int' to 'bool'.
Replace 0 and 1 with true and false in return statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64596 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.c (substitute_in_expr, case 'e'): Only make recursive call
kenner [Wed, 19 Mar 2003 20:20:57 +0000 (20:20 +0000)]
* tree.c (substitute_in_expr, case 'e'): Only make recursive call
on an operand if it has a PLACEHOLDER_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64595 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agofix typo
jason [Wed, 19 Mar 2003 19:43:40 +0000 (19:43 +0000)]
fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64592 138bc75d-0d04-0410-961f-82ee72b054a4