aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-03-23* config/h8300/h8300.md: Fix comment typos.Kazu Hirata2-2/+6
From-SVN: r64747
2003-03-23Makefile.in (MULTIOSDIR): New macro.Alexandre Oliva2-4/+15
* Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS) instead of $$CC alone. (install_to_tooldir): Use it. From-SVN: r64745
2003-03-23* pa.c (output_cbranch): Fix typo in comment.John David Anglin2-6/+9
From-SVN: r64741
2003-03-22cfgcleanup.c (insns_match_p): Do not do EQUIV substitution after reload.Richard Henderson2-4/+15
* cfgcleanup.c (insns_match_p): Do not do EQUIV substitution after reload. From-SVN: r64738
2003-03-22locks.h: Include ia64intrin.h.Richard Henderson2-11/+16
* sysdep/ia64/locks.h: Include ia64intrin.h. (compare_and_swap): Use __sync_bool_compare_and_swap. (compare_and_swap_release): Expose ar.ccv assignment. From-SVN: r64737
2003-03-22gc_locks.h [IA64]: Include ia64intrin.h.Richard Henderson2-14/+15
* 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. From-SVN: r64736
2003-03-23Daily bump.GCC Administrator2-2/+2
From-SVN: r64735
2003-03-22be explicit about the default VERBOSE caseBruce Korb1-0/+3
From-SVN: r64728
2003-03-22fix Solaris 2.6 initializersDJ Delorie6-74/+163
Co-Authored-By: Bruce Korb <bkorb@gnu.org> From-SVN: r64727
2003-03-22* config/i386/i386.c (ix86_init_machine_status): Return value.Andreas Jaeger2-0/+6
From-SVN: r64726
2003-03-22ctype_noninline.h (ctype<char>::classic_table): Correct return value.Loren J. Rittle2-1/+6
* config/os/hpux/ctype_noninline.h (ctype<char>::classic_table): Correct return value. From-SVN: r64724
2003-03-22pa.c (output_cbranch, [...]): Output nop for conditional branch to the ↵John David Anglin2-13/+26
following instruction. * 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. From-SVN: r64723
2003-03-22s390.md ("movti", [...]): Use 'o' instead of 'm' constraint in forced-split ↵Ulrich Weigand4-20/+49
alternatives. * 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. From-SVN: r64718
2003-03-22* gcc.dg/Wshadow-1.c: Add a dg-warning line.Zack Weinberg2-584/+588
From-SVN: r64717
2003-03-22PR c++/9978, c++/9708Nathan Sidwell11-79/+181
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. From-SVN: r64714
2003-03-22h8300.c (notice_update_cc): Correctly handle the case where the set ↵Kazu Hirata2-1/+13
destination is STRICT_LOW_PART. * config/h8300/h8300.c (notice_update_cc): Correctly handle the case where the set destination is STRICT_LOW_PART. From-SVN: r64711
2003-03-22Make gcc recognize a c33 as a c30 instead of a c40 processor.Svein E. Seldal2-1/+6
From-SVN: r64710
2003-03-22com.c (ffecom_constantunion_with_type): New function.Bud Davis8-9/+284
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. From-SVN: r64709
2003-03-22posix.h: Add suffix for darwin dynamic libraries.Andreas Tobler2-0/+8
2003-03-22 Andreas Tobler <a.tobler@schweiz.ch> * include/posix.h: Add suffix for darwin dynamic libraries. From-SVN: r64705
2003-03-22jni.exp: Add compilation/link fix dor darwin dylibs.Andreas Tobler2-4/+34
2003-03-22 Andreas Tobler <a.tobler@schweiz.ch> * libjava.jni/jni.exp: Add compilation/link fix dor darwin dylibs. From-SVN: r64704
2003-03-22* combine.c (simplify_comparison <AND>): Use gen_int_mode. Tidy.Alan Modra2-41/+41
From-SVN: r64703
2003-03-22libjava.exp (gcj_invoke): Moved...Tom Tromey10-44/+252
* 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. From-SVN: r64702
2003-03-22re PR libstdc++/5730 (complex<double>::norm() -- huge slowdown from ↵Jerry Quinn3-1/+15
egcs-2.91.66) 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. From-SVN: r64701
2003-03-22c-common.c: Include intl.h.Zack Weinberg9-3984/+4359
* 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. From-SVN: r64699
2003-03-22* config.gcc: Remove 'float_format'.Nathanael Nerode2-3/+2
From-SVN: r64698
2003-03-22Daily bump.GCC Administrator2-2/+2
From-SVN: r64697
2003-03-22fixproto: Define NULL and size_t in generated stdlib.h and unistd.h.Nathanael Nerode4-132/+54
* 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. From-SVN: r64690
2003-03-22* config/m68hc11/m68hc11.md ("call_value"): Fix trap check.Stephane Carrez2-1/+5
From-SVN: r64687
2003-03-22m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in writing .interrupt command.Stephane Carrez5-11/+105
* 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. From-SVN: r64685
2003-03-21i386.c (ix86_compute_frame_layout): Recompute fast prologues only when ↵Jan Hubicka3-2/+21
amount of saved regs changed. * 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. From-SVN: r64682
2003-03-21re PR inline-asm/7916 (ICE in instantiate_virtual_register_1)Jan Hubicka2-4/+41
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. From-SVN: r64681
2003-03-21* combine.c (make_field_assignment): Fix a warning.Kazu Hirata2-1/+5
From-SVN: r64680
2003-03-21* testsuite/testsuite_hooks.h: Fix warning nits.Magnus Fromreide2-2/+6
From-SVN: r64678
2003-03-21* config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.Kazu Hirata2-0/+16
From-SVN: r64677
2003-03-21rs6000.h (REG_ALLOC_ORDER): Increase priority for R2 on Darwin.Dale Johannesen2-9/+24
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. From-SVN: r64676
2003-03-21combine.c (make_field_assignment): Remove unnecessary AND when storing into ↵Kazu Hirata2-0/+16
zero_extract. * combine.c (make_field_assignment): Remove unnecessary AND when storing into zero_extract. From-SVN: r64674
2003-03-21Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.Aldy Hernandez1-1/+1
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) From-SVN: r64673
2003-03-21aclocal.m4 (gcc_AC_EXAMINE_OBJECT, [...]): Delete.Zack Weinberg6-478/+213
* 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. From-SVN: r64672
2003-03-21javaop.h (jfloat, jdouble): Make them structures mirroring the bit fields of ↵Zack Weinberg4-88/+188
IEEE float and double respectively. * 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. From-SVN: r64671
2003-03-21optabs.c (init_integral_libfuncs): Make sure we init at least up to "long ↵DJ Delorie2-1/+9
long" size words. * optabs.c (init_integral_libfuncs): Make sure we init at least up to "long long" size words. From-SVN: r64670
2003-03-21s390.h: Do not include fixdfdi.h on s390x.Ulrich Weigand2-1/+20
* 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. From-SVN: r64669
2003-03-21re PR c++/9898 (Template reference cast operator of template class)Nathan Sidwell4-4/+40
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. From-SVN: r64667
2003-03-21re PR other/9813 (misplaced paragraph in Constructing Calls node)Volker Reichelt2-13/+19
PR doc-bug/9813 * doc/extend.texi: Move misplaced paragraph about underscores in variables in macros. From-SVN: r64666
2003-03-21ffi.h.in: Define X86 instead of X86_64 in 32 bit mode.Zdenek Dvorak3-29/+32
* 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. From-SVN: r64663
2003-03-21re PR target/8366 ([sparc-sun-solaris2.7] C testsuite failure w/-m64 -fpic ↵Eric Botcazou2-6/+42
-O in execute/loop-2d.c) 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. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r64657
2003-03-212003-03-21 Michael Koch <konqueror@gmx.de>Michael Koch7-38/+115
* 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. From-SVN: r64656
2003-03-212003-03-21 Michael Koch <konqueror@gmx.de>Michael Koch15-138/+239
* 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. From-SVN: r64655
2003-03-212003-03-21 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+149
* java/io/LineNumberReader.java (LineNumberReader): Merged documentation with classpath. (getLineNumber): Likewise. (setLineNumber): Likewise. (mark): Likewise. (reset): Likewise. (read): Likewise. (readLine): Likewise. (skip): Likewise. From-SVN: r64654
2003-03-212003-03-21 Michael Koch <konqueror@gmx.de>Michael Koch2-110/+38
* 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. From-SVN: r64653
2003-03-21treetree.c (cpp_create_reader): Follow prototype change in cpplib.h.Andreas Jaeger2-1/+7
* treetree.c (cpp_create_reader): Follow prototype change in cpplib.h. From-SVN: r64652