aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-08-27Makefile.am: Remove trailing whitespace.Phil Edwards15-143/+156
2003-08-27 Phil Edwards <pme@gcc.gnu.org> * Makefile.am: Remove trailing whitespace. Remove needless "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo). * include/Makefile.am: Likewise. * libmath/Makefile.am: Likewise. * libsupc++/Makefile.am: Likewise. * po/Makefile.am: Likewise. * src/Makefile.am: Likewise. * testsuite/Makefile.am: Likewise. * Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerated. From-SVN: r70865
2003-08-27* real.c (do_multiply): Initialize with memset.Jason Merrill2-1/+5
From-SVN: r70863
2003-08-27configure.in: Set RAW_CXX_FOR_TARGET if unset.Daniel Jacobowitz3-35/+44
* configure.in: Set RAW_CXX_FOR_TARGET if unset. * configure: Regenerated. From-SVN: r70861
2003-08-27aclocal.m4: Include acx.m4 and no-executables.m4.Daniel Jacobowitz4-2069/+5939
* aclocal.m4: Include acx.m4 and no-executables.m4. (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ. (LIB_AC_PROG_CC): Remove. * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES. Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if performing link tests. * configure: Regenerated. From-SVN: r70860
2003-08-27gcov.c (typedef struct arc_info): New field cs_count.Zdenek Dvorak4-4/+44
* gcov.c (typedef struct arc_info): New field cs_count. (accumulate_line_counts): Find cycles correctly. * gcc.misc-tests/gcov-10b.c: New test. From-SVN: r70859
2003-08-27acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of includedir.Phil Edwards4-3/+9
2003-08-27 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of includedir. * aclocal.m4, configure: Regenerate. From-SVN: r70858
2003-08-27acinclude.m4: Include no-executables.m4.Daniel Jacobowitz5-284/+1830
* acinclude.m4: Include no-executables.m4. * configure.ac: Uncomment GCC_NO_EXECUTABLES. * aclocal.m4: Regenerated. * configure: Regenerated. From-SVN: r70857
2003-08-27acinclude.m4: Don't call AC_ISC_POSIX.Daniel Jacobowitz4-99/+9
* acinclude.m4: Don't call AC_ISC_POSIX. * aclocal.m4: Regenerated. * configure: Regenerated. From-SVN: r70856
2003-08-27* config/no-executables.m4: New file.Daniel Jacobowitz2-0/+65
From-SVN: r70855
2003-08-27acinclude.m4 (GLIBCXX_CONDITIONAL): New macro.Phil Edwards14-160/+405
2003-08-27 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one. (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted, used elsewhere in this file. (GLIBCXX_EVALUATE_CONDITIONALS): New macro... * configure.ac: ...called here to expand all conditionals. * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED. * include/Makefile.am: Remove redundant gxx_include_dir assignment. (install-freestanding-headers): New target, a subset of install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED. * aclocal.m4, configure, Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerated. From-SVN: r70854
2003-08-27s390.c (struct machine_function): Remove member literal_pool_label.Ulrich Weigand4-198/+347
* config/s390/s390.c (struct machine_function): Remove member literal_pool_label. (s390_optimize_prolog): Replace TEMP_REG argument with TEMP_USED and BASE_USED. Do not check get_pool_size (). (general_s_operand): Accept all immediates before reload if ALLOW_IMMEDIATE. If not ALLOW_IMMEDIATE, reject literal pool references. (s390_output_symbolic_const): Remove UNSPEC_LTREL_OFFSET handling. (find_constant_pool_ref): Ignore UNSPECV_POOL_ENTRY insns. (s390_alloc_pool): New function. (s390_new_pool): Call it. (s390_dump_pool): Add REMOTE_LABEL argument. (s390_chunkify_start): Add BASE_REG argument. Do not check get_pool_size (). (s390_chunkify_finish): Add BASE_REG argument. Adapt s390_dump_pool call. (s390_pool_count, s390_nr_constants): Remove. (s390_output_constant_pool): Remove. (s390_mainpool_start): New function. (s390_mainpool_finish): New function. (s390_mainpool_cancel): New function. (s390_reorg): Implement main literal pool handling. (s390_emit_prologue): Emit main_pool placeholder instead of literal_pool_31 / literal_pool_64 insns. * config/s390/s390.h (s390_pool_count, s390_nr_constants): Remove. (ASM_OUTPUT_POOL_PROLOGUE, ASM_OUTPUT_SPECIAL_POOL_ENTRY): Remove. * config/s390/s390.md (UNSPEC_MAIN_BASE): New symbolic constant. ("main_base_31_small", "main_base_31_large"): New insns. ("main_base_64", "main_pool"): New insns. ("literal_pool_31", "literal_pool_64"): Remove. From-SVN: r70853
2003-08-27ptrmem3.C: New test.Mark Mitchell3-1/+30
* g++.dg/opt/ptrmem3.C: New test. * g++.old-deja/g++.pt/overload8.C: Remove XFAIL. From-SVN: r70851
2003-08-27inclhack.def (ptx_netswap): New disabled fix, ported from fixinc.ptx.Nathanael Nerode3-10/+46
* fixinc/inclhack.def (ptx_netswap): New disabled fix, ported from fixinc.ptx. * fixinc/inclhack.def (undefine_null): Don't generate \r characters. Prettify a little. * fixinc/fixincl.x: Regenerate. From-SVN: r70848
2003-08-27[multiple changes]Richard Earnshaw5-23/+2177
2003-08-27 Richard Earnshaw <rearnsha@arm.com> * lib1funcs.asm (L_ieee754_sp): New. Include ieee754-sf.S. (L_ieee754_dp): New. Include ieee754-df.S. * arm/ieee754-sf.S: Rework to allow interworking, calling from Thumb, and compilation in apcs-26 mode. * arm/ieee754-df.S: Likewise. * t-arm-elf (DPBIT, FPBIT, fp-bit.c dp-bit.c): Delete rules (LIB1ASMFUNCS): Add _ieee754_sp and _ieee754_dp targets. 2003-08-27 Nicolas Pitre <nico@cam.org> * arm/ieee754-sf.S: New. * arm/ieee754-df.S: New. From-SVN: r70845
2003-08-27builtins.c (expand_builtin_expect_jump): Save pending_stack_adjust and ↵Jakub Jelinek4-1/+78
restore it if returning NULL. * builtins.c (expand_builtin_expect_jump): Save pending_stack_adjust and restore it if returning NULL. * gcc.dg/20030826-2.c: New test. From-SVN: r70844
2003-08-27calls.c (initialize_argument_information): If an argument has no stack space ↵Richard Sandiford7-217/+122
associated with it... * calls.c (initialize_argument_information): If an argument has no stack space associated with it, and BLOCK_REG_PADDING is defined, use it to decide at which end the argument should be padded. * function.c (assign_parms): Allocate BLKmode stack slots. * config/mips/mips-protos.h (mips_pad_arg_upward): Declare. (mips_pad_reg_upward): Declare. * config/mips/mips.h (PAD_VARARGS_DOWN): Use FUNCTION_ARG_PADDING. (CUMULATIVE_ARGS): Remove num_adjusts and adjusts. (FUNCTION_ARG_PADDING): Use mips_pad_arg_upward. (BLOCK_REG_PADDING): Use mips_pad_reg_upward. * config/mips/mips.c (struct mips_arg_info): Remove struct_p. (mips_expand_call): Remove code for generating structure shifts. (mips_arg_info): Don't set struct_p. Don't set fpr_p for non-float types unless using the EABI. (function_arg_advance): Don't generate shift instructions. (function_arg): Don't return them. Don't short-circuit the check for double structure chunks for DFmode arguments. (mips_pad_arg_upward, mips_pad_reg_upward): New functions. (mips_expand_prologue): Remove code to emit structure shifts. * config/mips/irix6-libc-compat.c: Remove workarounds for buggy structure passing (inet_ntoa, inet_lnaof, inet_netof). Update comments to say that only structure returns are a problem. From-SVN: r70843
2003-08-27Makefile.am: (write_entries_to_file) New parameterized function for writing ↵Mohan Embar3-22/+66
entries to a... * Makefile.am: (write_entries_to_file) New parameterized function for writing entries to a file one line at a time. (all_java_class_files): Removed definition. (.java.class) Removed.target. (libgcj-@gcc_version@.jar): Changed dependency to $(all_java_source_files); added compilation step which compiles all changed source files in one pass. (libgcj.la) Refactored to use write_entries_to_file. (lib-gnu-awt-xlib.la) Likewise. (install-data-local) Likewise. (write-entries-to-file-check) New target which tests write_entries_to_file. (all-recursive): Changed dependency from $(all_java_class_files) to libgcj-@gcc_version@.jar * Makefile.in: Rebuilt. From-SVN: r70842
2003-08-27run_doxygen: Shell fixes.Phil Edwards2-12/+19
2003-08-26 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local pathnames from generated tag file. From-SVN: r70840
2003-08-27string.h, regset.h: Fix to match produced versions.Nathanael Nerode4-4/+23
* fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h: Fix to match produced versions. * fixinc/inclhack.def (longlong_t): New disabled test, ported from fixinc.svr4. From-SVN: r70839
2003-08-27parser.c (struct cp_token): Use enum bitfields.Dan Nicolaescu2-20/+28
2003-08-26 Dan Nicolaescu <dann@ics.uci.edu> * parser.c (struct cp_token): Use enum bitfields. (CP_TOKEN_BLOCK_NUM_TOKENS): Make sure cp_token_block fits in a 512B allocation unit. (cp_parser_token_tree_map_node): Use enum bitfields. From-SVN: r70837
2003-08-27Makefile.am: Add comment.Phil Edwards17-135/+194
2003-08-26 Phil Edwards <pme@gcc.gnu.org> * Makefile.am: Add comment. * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and SUBDIRS variables. * configure.ac: Use them both here, instead of hardcoded lists. * fragment.am: Add STAMP varaible. * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S) instead of @LN_S@. (stamp-*): Move file creation rule outside of 'if' branches to ensure the stamp-* files are actually updated. Use $(STAMP). * src/Makefile.am: Remove now-nonexistant variable. * libsupc++/Makefile.am: Likewise. Snap the assignment chain for -prefer-pic. * po/Makefile.am: Include same fragment as all the others. * aclocal.m4, configure, Makefile.in, include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated. From-SVN: r70836
2003-08-27Daily bump.GCC Administrator2-2/+2
From-SVN: r70832
2003-08-26inclhack.def (ptx_pwd_h): New disabled fix, ported from fixinc.ptx.Nathanael Nerode2-0/+26
* fixinc/inclhack.def (ptx_pwd_h): New disabled fix, ported from fixinc.ptx. From-SVN: r70830
2003-08-26StrictMath.java: Typo fix.Tom Tromey6-13/+35
* java/lang/StrictMath.java: Typo fix. * java/lang/Math.java: Typo fix. 2003-08-26 Stephen Crawley <crawley@dstc.edu.au> * java/lang/ThreadGroup.java (removeThread): null the 'group' field of the removed Thread. 2003-08-26 Mark Wielaard <mark@klomp.org> Reported by David Holmes <dholmes@dltech.com.au>. * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside Collections.synchronizedMap. * java/lang/ThreadLocal.java (valueMap): Likewise. From-SVN: r70828
2003-08-26inclhack.def (ptx_sys_mc_param_h): New disabled fix, ported from fixinc.ptx.Nathanael Nerode2-0/+29
* fixinc/inclhack.def (ptx_sys_mc_param_h): New disabled fix, ported from fixinc.ptx. From-SVN: r70827
2003-08-26Copy over from cs branch:Per Bothner4-16/+29
* cpplib.h (struct cpp_token): Change type of field line to fileline. (cpp_error_with_line): Use fileline for appropriate parameter. * cpphash.h (struct cpp_macro): Change type of field line to fileline. (struct cpp_reader): Likewise for fields line and directive_line. (_cpp_begin_message): Use fileline for appropriate parameter. * cpperror.c (print_location, _cpp_begin_message, cpp_error_with_line, cpp_error): Use fileline for appropriate parameters and variables. (print_location): New local lin, since it is not a fileline. From-SVN: r70826
2003-08-26Acl.java: Fix broken p tag.Mark Wielaard8-44/+56
2003-08-26 Mark Wielaard <mark@klomp.org> * java/security/acl/Acl.java: Fix broken p tag. * java/text/DateFormatSymbols.java: Correctly open and close li tags. * javax/swing/border/LineBorder.java: Close img tag alt attributes. * javax/swing/plaf/TreeUI.java: Likewise. * javax/swing/plaf/basic/BasicTreeUI.java: Likewise. * java/util/Properties.java: Use the word umlaut, not &auml; in api documentation. * java/util/PropertyResourceBundle.java: Likewise and add closing code tag. From-SVN: r70825
2003-08-26Makefile.in: Rebuilt.Tom Tromey2-11/+9
* Makefile.in: Rebuilt. * Makefile.am: Removed all GNU-make-specific FIXME comments. From-SVN: r70824
2003-08-26re PR middle-end/12002 (internal compiler error: in gen_lowpart, at ↵Roger Sayle5-4/+31
emit-rtl.c:1374) PR middle-end/12002 * tree.h (SCALAR_FLOAT_TYPE_P, COMPLEX_FLOAT_TYPE_P): New macros. (FLOAT_TYPE_P): Define in terms of these two new macros. * fold-const.c (fold <PLUS_EXPR>): Don't convert x+x into x*2.0 for complex floating point types. * g77.f-torture/compile/12002.f: New test case. From-SVN: r70821
2003-08-26s390.c (emit_prologue): Don't check literal pool size.Ulrich Weigand3-34/+9
* config/s390/s390.c (emit_prologue): Don't check literal pool size. * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Call s390_output_pool_entry. From-SVN: r70819
2003-08-26inclhack.def (svr4_preproc_lint_on, [...]): New disabled fixes, ported from ↵Nathanael Nerode2-0/+34
fixinc.svr4. * fixinc/inclhack.def (svr4_preproc_lint_on, svr4_preproc_lint_off, svr4_preproc_machine): New disabled fixes, ported from fixinc.svr4. From-SVN: r70818
2003-08-26install.texi (Prerequisites): Mention GNU make requirement.Mark Mitchell3-62/+63
* doc/install.texi (Prerequisites): Mention GNU make requirement. * Makefile.in (AR_FOR_TARGET): Export it. (AR_CREATE_FOR_TARGET): Likewise. (AR_FLAGS_FOR_TARGET): Likewise. (AR_EXTRACT_FOR_TARGET): Likewise. (AWK): Likewise. (BUILD_PREFIX): Likewise. (BUILD_PREFIX_1): Likewise. (DESTDIR): Likewise. (GCC_FOR_TARGET): Likewise. (INCLUDES): Likewise. (INSTALL_DATA): Likewise. (LIB1ASMSRC): Likewise. (LIBGCC2_CFLAGS): Likewise. (MACHMODE_H): Likewise. (NM_FOR_TARGET): Likewise. (RANLIB_FOR_TARGET): Likewise. (libsubdir): Likewise. (slibdir): Likewise. (ORDINARY_FLAGS_TO_PASS): Remove stuff that we're exporting. (libgcc.a): Don't pass them here. (stmp-multilib): Or here. (install-libgcc): Or here. (install-multilib): Or here. (POSTSTAGE1_FLAGS_TO_PASS): Or here. (stage1_build): Or here. From-SVN: r70817
2003-08-26Reference.java (get): Indentation fix.Tom Tromey2-8/+16
* java/lang/ref/Reference.java (get): Indentation fix. (clear): Comment fix. (enqueue): Likewise. (lock): Likewise. (referent): Likewise. From-SVN: r70814
2003-08-26re PR libgcj/12058 (java.lang.reflect.Array.set(Object, int, Object) throws ↵Tom Tromey2-1/+4
java.lang.IllegalArgumentException) PR java/12058: * java/lang/reflect/natArray.cc (set): Allow null as argument. From-SVN: r70813
2003-08-26s390.md ("*llgt_sisi", [...]): New insns.Andreas Krebbel2-0/+76
* config/s390/s390.md ("*llgt_sisi", "*llgt_sisi_split", "*llgt_didi", "*llgt_didi_split", "*llgt_sidi", "*llgt_sidi_split"): New insns. From-SVN: r70812
2003-08-26s390.md ("*fmadddf", [...]): New insns.Andreas Krebbel2-0/+52
* config/s390/s390.md ("*fmadddf", "*fmsubdf", "*fmaddsf", "*fmsubsf"): New insns. From-SVN: r70811
2003-08-26Proxy.java (ProxyData): `pack' now a String.Tom Tromey2-6/+28
* java/lang/reflect/Proxy.java (ProxyData): `pack' now a String. (ProxyData.getPackage): New method. (ProxyData.getProxyData): Use package name, not Package. (ClassFactory.ClassFactory): Updated. From-SVN: r70809
2003-08-26fold-const.c (fold <MULT_EXPR>): Optimize (C1/X)*C2 into (C1*C2)/X when ↵Roger Sayle4-10/+78
unsafe math optimizations are allowed. * fold-const.c (fold <MULT_EXPR>): Optimize (C1/X)*C2 into (C1*C2)/X when unsafe math optimizations are allowed. (fold <RDIV_EXPR>): Optimize C1/(X*C2) into (C1/C2)/X with unsafe math optimizations. Minor code clean-ups. Recursively call fold when constructing sub-expressions. * gcc.dg/20030826-1.c: New test case. From-SVN: r70807
2003-08-26builtins.c (fold_builtin_bitop): New function to perform constant folding of ↵Roger Sayle3-11/+147
ffs... * builtins.c (fold_builtin_bitop): New function to perform constant folding of ffs, clz, ctz, popcount and parity builtin functions and their long and long long variants (such as ffsl and ffsll). (fold_builtin): fold_builtin_bitop when appropriate. * simplify-rtx.c (simplify_unary_operation): Honor both CLZ_DEFINED_VALUE_AT_ZERO and CTZ_DEFINED_VALUE_AT_ZERO when evaluating clz and ctz at compile-time, for operands wider than HOST_WIDE_INT. From-SVN: r70806
2003-08-26* gcc.dg/noncompile/20030818-1.c: Expect second line of error.Matt Kraai2-1/+5
From-SVN: r70805
2003-08-26cin_unget-1.txt: New.Loren J. Rittle3-0/+48
* testsuite/data/cin_unget-1.txt: New. * testsuite/27_io/objects/char/12048.cc: New. From-SVN: r70804
2003-08-26re PR c++/11871 (Koenig lookup regression)Nathan Sidwell4-1/+41
cp: PR c++/11871 * decl.c (push_class_level_binding): Correct old_decl value from my 2003-07-29 reorganization. testsuite: PR c++/11871 * c++.dg/lookup/crash1.C: New test. From-SVN: r70803
2003-08-26builtins.c (build_function_call_expr): Don't set TREE_SIDE_EFFECTS here.Nathan Sidwell8-14/+35
* builtins.c (build_function_call_expr): Don't set TREE_SIDE_EFFECTS here. * expr.c (emit_block_move_via_libcall): Likewise. (clear_storage_via_libcall): Likewise. * tree.c (build): Set TREE_SIDE_EFFECTS for non-const, non-pure CALL_EXPRs. cp: * call.c (build_call): Don't set TREE_SIDE_EFFECTS here. (build_new_method_call): Add goto finish. * semantics.c (simplify_aggr_init_exprs_r): Don't set TREE_SIDE_EFFECTS on a call. testsuite: * c++.dg/warn/noeffect3.C: New test. From-SVN: r70802
2003-08-26gcse.c (is_too_expensive): New function.Nathan Sidwell2-79/+57
* gcse.c (is_too_expensive): New function. (gcse_main, delete_null_pointer_checks, bypass_jumps): Use it. From-SVN: r70801
2003-08-26config.gcc (hppa*-*-hpux11*, [...]): Remove commented-out logic to use DCE ↵Zack Weinberg7-105/+141
threads (if present)... gcc: * config.gcc (hppa*-*-hpux11*, ia64*-*-hpux*): Remove commented-out logic to use DCE threads (if present), add support for POSIX threads. * config/ia64/hpux.h: Define CPP_SPEC to set appropriate #defines for -pthread. Add -lpthread to LIB_SPEC when -pthread. In both cases take -mt as a synonym for -pthread for acc compatibility. Define GTHREAD_USE_WEAK to 0. * config/pa/pa-hpux11.h: Likewise for CPP_SPEC and LIB_SPEC. Remove old logic for DCE threads from LIB_SPEC. * config/pa/pa64-hpux.h: Define GTHREAD_USE_WEAK to 0. libstdc++-v3: * config/os/hpux/os_defines.h: Unconditionally define _GLIBCXX_GTHREAD_USE_WEAK to 0. From-SVN: r70797
2003-08-26Daily bump.GCC Administrator2-2/+2
From-SVN: r70794
2003-08-26builtins.c (expand_builtin_mathfn): Rearrange so that we only return 0 for ↵Roger Sayle2-32/+83
invalid argument types. * builtins.c (expand_builtin_mathfn): Rearrange so that we only return 0 for invalid argument types. Instead drop through to a call of expand_call at the bottom of function. If op is SQRT, try attaching a SQRT rtx as the REQ_EQUAL note of the libcall. From-SVN: r70792
2003-08-25vector-1_x.c: Compile with -w.Janis Johnson5-0/+15
* gcc.dg/compat/vector-1_x.c: Compile with -w. * gcc.dg/compat/vector-1_y.c: Ditto. * gcc.dg/compat/vector-2_x.c: Ditto. * gcc.dg/compat/vector-2_y.c: Ditto. From-SVN: r70791
2003-08-25ia64.c (ia64_expand_tls_address): Properly truncate result when op0 is SImode.Richard Henderson2-26/+31
* config/ia64/ia64.c (ia64_expand_tls_address): Properly truncate result when op0 is SImode. From-SVN: r70790
2003-08-25inclhack.def (svr4_sighandler_type): New fix, ported from fixinc.svr4.Nathanael Nerode4-5/+76
* fixinc/inclhack.def (svr4_sighandler_type): New fix, ported from fixinc.svr4. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/sys/signal.h: Regenerate. From-SVN: r70786