OSDN Git Service

pf3gnuchains/gcc-fork.git
17 years ago * gimplify.c (gimplify_call_expr): Make return in memory explicit.
jason [Sat, 7 Aug 2004 16:11:10 +0000 (16:11 +0000)]
    * gimplify.c (gimplify_call_expr): Make return in memory explicit.
        (gimplify_modify_expr_rhs): Likewise.
        * c-common.c (c_warn_unused_result): Check TREE_USED before
        warning about a CALL_EXPR with an unused value.

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

17 years ago2004-08-07 Jonathan Wakely <redi@gcc.gnu.org>
paolo [Sat, 7 Aug 2004 15:31:50 +0000 (15:31 +0000)]
2004-08-07  Jonathan Wakely  <redi@gcc.gnu.org>
    Paolo Carlini  <pcarlini@suse.de>

* src/debug.cc (_Error_formatter::_M_print_string): In order
to print individual words from __string, _M_format_word can't
be called since may be just sprintf, thus ignoring completely
__n: instead, use memmove and append '\0' by hand.

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

17 years ago2004-08-07 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 7 Aug 2004 13:48:31 +0000 (13:48 +0000)]
2004-08-07  Paolo Carlini  <pcarlini@suse.de>

* config/locale/generic/c_locale.h (__convert_from_v): Don't
use a default for __prec, assume __prec >= 0 and simplify.
* config/locale/gnu/c_locale.h (__convert_from_v): Likewise.
* include/bits/locale_facets.tcc (money_put<>::do_put(long double)):
Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf".

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

17 years agoDaily bump.
gccadmin [Sat, 7 Aug 2004 00:16:19 +0000 (00:16 +0000)]
Daily bump.

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

17 years ago2004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi>
pbrook [Fri, 6 Aug 2004 21:47:03 +0000 (21:47 +0000)]
2004-08-06  Janne Blomqvist  <jblomqvi@cc.hut.fi>

* intrinsic.c (add_subroutines): Add getenv and
get_environment_variable. (add_sym_5s): New function.
* intrinsic.h (gfc_resolve_get_environment_variable): Add
prototype.
* iresolve.c (gfc_resolve_get_environment_variable): New
function.
libgfortran/
* intrinsics/env.c: New file.
* Makefile.am: Add env.c to build.
* Makefile.in: Regenerate.
testsuite/
* gfortran.dg/getenv_1.f90: New test.

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

17 years ago * f95-lang.c (gfc_init_builtin_functions): Fix the number of
pbrook [Fri, 6 Aug 2004 20:45:14 +0000 (20:45 +0000)]
* f95-lang.c (gfc_init_builtin_functions): Fix the number of
__builtin_pow[f] arguments.

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

17 years ago2004-08-06 Steven G. Kargl <kargls@comcast.net>
pbrook [Fri, 6 Aug 2004 20:36:05 +0000 (20:36 +0000)]
2004-08-06  Steven G. Kargl  <kargls@comcast.net>

* arith.c: Add #define for model numbers.  Remove global GMP variables.
(natural_logarithm,common_logarithm,exponential,sine,
cosine,arctangent,hypercos,hypersine ): Remove.
(gfc_mpfr_to_mpz,gfc_set_model_kind,gfc_set_model): New functions.
(arctangent2,gfc_arith_init_1,gfc_arith_done_1
gfc_check_real_range, gfc_constant_result, gfc_range_check,
gfc_arith_uminus,gfc_arith_plus, gfc_arith_minus, gfc_arith_times,
gfc_arith_divide,complex_reciprocal,complex_pow_ui,
gfc_arith_power,gfc_compare_expr,compare_complex,gfc_convert_real,
gfc_convert_complex,gfc_int2real,gfc_int2complex,
gfc_real2int,gfc_real2real,gfc_real2complex,
gfc_complex2int,gfc_complex2real,gfc_complex2complex): Convert GMP
to MPFR, use new functions.
* arith.h: Remove extern global variables.
(natural_logarithm,common_logarithm,exponential, sine, cosine,
arctangent,hypercos,hypersine): Remove prototypes.
(arctangent2): Update prototype from GMP to MPFR.
(gfc_mpfr_to_mpz, gfc_set_model_kind,gfc_set_model): Add prototypes.
* dump-parse-tree.c (gfc_show_expr): Convert GMP to MPFR.
* expr.c (free_expr0,gfc_copy_expr): Convert GMP to MPFR.
* gfortran.h (GFC_REAL_BITS): Remove.
(arith): Add ARITH_NAN.
Include mpfr.h.  Define GFC_RND_MODE.
Rename GCC_GFORTRAN_H GFC_GFC_H.
(gfc_expr): Convert GMP to MPFR.
* module.c: Add arith.h, correct type in comment.
(mio_gmp_real): Convert GMP to MPFR.
(mio_expr):  Use gfc_set_model_kind().
* primary.c:  Update copyright date with 2004.
(match_real_constant,match_const_complex_part): Convert GMP to MPFR.
* simplify.c: Remove global GMP variables
(gfc_simplify_abs,gfc_simplify_acos,gfc_simplify_aimag,
gfc_simplify_aint,gfc_simplify_dint,gfc_simplify_anint,
gfc_simplify_dnint,gfc_simplify_asin,gfc_simplify_atan,
gfc_simplify_atan2,gfc_simplify_ceiling,simplify_cmplx,
gfc_simplify_conjg,gfc_simplify_cos,gfc_simplify_cosh,
gfc_simplify_dim,gfc_simplify_dprod,gfc_simplify_epsilon,
gfc_simplify_exp,gfc_simplify_exponent,gfc_simplify_floor,
gfc_simplify_fraction,gfc_simplify_huge,gfc_simplify_int,
gfc_simplify_ifix,gfc_simplify_idint,gfc_simplify_log,
gfc_simplify_log10,simplify_min_max,gfc_simplify_mod,
gfc_simplify_modulo,gfc_simplify_nearest,simplify_nint,
gfc_simplify_rrspacing,gfc_simplify_scale,
gfc_simplify_set_exponent,gfc_simplify_sign,gfc_simplify_sin,
gfc_simplify_sinh,gfc_simplify_spacing,gfc_simplify_sqrt,
gfc_simplify_tan,gfc_simplify_tanh,gfc_simplify_tiny,
gfc_simplify_init_1,gfc_simplify_done_1):  Convert GMP to MPFR.
Use new functions.
* trans-const.c (gfc_conv_mpfr_to_tree): Rename from
gfc_conv_mpf_to_tree.  Convert it to use MPFR
(gfc_conv_constant_to_tree): Use it.
* trans-const.h: Update prototype for gfc_conv_mpfr_to_tree().
* trans-intrinsic.c: Add arith.h, remove gmp.h
(gfc_conv_intrinsic_aint,gfc_conv_intrinsic_mod): Convert GMP to MPFR.

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

17 years agoAdd myself as Darwin maintainer.
dalej [Fri, 6 Aug 2004 18:17:11 +0000 (18:17 +0000)]
Add myself as Darwin maintainer.

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

17 years ago * config/arm/symbian.h (CC1_SPEC): Avoid passing duplicate options
mmitchel [Fri, 6 Aug 2004 17:51:45 +0000 (17:51 +0000)]
* config/arm/symbian.h (CC1_SPEC): Avoid passing duplicate options
to the compiler.  Use -fshort-wchar by default.

* gcc.dg/symbian4.c: Expect a 2-byte wchar_t, not a 4-byte
wchar_t.
* gcc.dg/symbian5.c: Test -fno-short-wchar.

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

17 years ago2004-08-06 Pat Haugen <pthaugen@us.ibm.com>
dje [Fri, 6 Aug 2004 17:20:53 +0000 (17:20 +0000)]
2004-08-06  Pat Haugen  <pthaugen@us.ibm.com>

        * params.def (PARAM_MIN_CROSSJUMP_INSNS): New.
        * cfgcleanup.c (try_crossjump_to_edge): Add minimum insn match
        threshhold.
        * doc/invoke.texi (param): Document min-crossjump-insns.

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

17 years ago * trans-array.c (gfc_trans_allocate_array_storage,
pbrook [Fri, 6 Aug 2004 15:01:10 +0000 (15:01 +0000)]
* trans-array.c (gfc_trans_allocate_array_storage,
gfc_trans_allocate_temp_array, gfc_add_loop_ss_code,
gfc_conv_loop_setup):
For functions, if the shape of the result is not known
in compile-time, generate an empty array descriptor for
the result and let the callee to allocate the memory.
(gfc_trans_dummy_array_bias): Do nothing for pointers.
(gfc_conv_expr_descriptor): Use function return values directly.
* trans-expr.c (gfc_conv_function_call): Always add byref call
insn to pre chain.
(gfc_trans_pointer_assignment): Add comments.
(gfc_trans_arrayfunc_assign): Don't chain on expression.
testsuite/
* gfortran.dg/ret_array_1.f90: New test.
* gfortran.dg/ret_pointer_1.f90: New test.

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

17 years ago * utils.c (gnat_define_builtin): Remove second parameter of
schwab [Fri, 6 Aug 2004 14:21:54 +0000 (14:21 +0000)]
* utils.c (gnat_define_builtin): Remove second parameter of
make_decl_rtl.
(begin_subprog_body): Likewise.

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

17 years ago PR c/13282
rsandifo [Fri, 6 Aug 2004 11:23:23 +0000 (11:23 +0000)]
PR c/13282
* c.opt (Wmissing-field-initializers): New option.
* c-opts.c (c_common_post_options): Make -Wextra turn it on by default.
* c-typeck.c (pop_init_level): Guard the missing field warning with
warn_missing_field_initializers rather than extra_warnings.
* doc/invoke.texi (-Wmissing-field-initializers): Document, moving
some of the explanation from...
(-Wextra): ...here.  Say that the missing field warning can be
seperately controlled by -Wmissing-field-initializers.

cp/
* typeck2.c (process_init_constructor): Guard the missing field warning
with warn_missing_field_initializers rather than extra_warnings.

testsuite/
* gcc.dg/missing-field-init-[12].c: New tests.
* g++.dg/warn/missing-field-init-[12].C: New tests.

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

17 years ago2004-08-06 Kelley Cook <kcook@gcc.gnu.org>
kcook [Fri, 6 Aug 2004 11:11:11 +0000 (11:11 +0000)]
2004-08-06  Kelley Cook  <kcook@gcc.gnu.org>

* gcc_release (snapshot_print): Accept arguments.  Don't use echo -e.
(announce_snapshot):  Update for above.  Don't use echo -e.

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

17 years ago2004-08-06 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 6 Aug 2004 10:40:35 +0000 (10:40 +0000)]
2004-08-06  Paolo Bonzini  <bonzini@gnu.org>

* expr.c (expand_expr_real_1) <ENTRY_VALUE_EXPR>: Remove.
* tree-inline.c (estimate_num_insns_1) <ENTRY_VALUE_EXPR>: Remove.
* tree-pretty-print.c (dump_generic_node) <ENTRY_VALUE_EXPR>: Remove.
* tree.def (ENTRY_VALUE_EXPR): Remove.

cp:
2004-08-06  Paolo Bonzini  <bonzini@gnu.org>

* class.c (instantiate_type) <ENTRY_VALUE_EXPR>: Do not handle.

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

17 years ago * config/i386/i386.c (ix86_expand_clrmem): Move gen_cld down to
jakub [Fri, 6 Aug 2004 10:17:14 +0000 (10:17 +0000)]
* config/i386/i386.c (ix86_expand_clrmem): Move gen_cld down to
the places where it is actually needed.  Don't use repz; stosb
for -Os with sufficiently small constant sizes.
For sufficiently small repz; stos{l,q} repeat counts use a sequence
of stos{l,q} instructions instead.

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

17 years ago PR tree-optimization/16807
rakdver [Fri, 6 Aug 2004 09:40:39 +0000 (09:40 +0000)]
PR tree-optimization/16807
* loop-iv.c (dump_iv_info): Dump invariants correctly.
(iv_subreg, iv_extend): Express value of invariant purely in
base field.

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

17 years ago * config/arm/symbian.h (CC1_SPEC): Add -fno-short-enums.
mmitchel [Fri, 6 Aug 2004 07:54:19 +0000 (07:54 +0000)]
* config/arm/symbian.h (CC1_SPEC): Add -fno-short-enums.
(CC1PLUS_SPEC): Define it to be the same as CC1_SPEC.

* gcc.dg/enum2.c: New test.
* gcc.dg/symbian3.c: Likewise.
* gcc.dg/symbian4.c: Likewise.
* gcc.dg/wchar_t-2.c: Likewise.

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

17 years ago * config/m68k/m68k.c (post_inc_operand,pre_dec_operand): New.
rth [Fri, 6 Aug 2004 07:14:56 +0000 (07:14 +0000)]
    * config/m68k/m68k.c (post_inc_operand,pre_dec_operand): New.
        * config/m68k/m68k.h (PREDICATE_CODES): add post_inc_operand,
        pre_dec_operand.
        * config/m68k/m68k.md (zero_extend*2): delay the splitting of the
        pattern until reload is finished to allow better code generation
        and split them completely into separate instrunctions.
        (*andsi3_split): New pattern.

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

17 years ago2004-08-06 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 6 Aug 2004 06:45:23 +0000 (06:45 +0000)]
2004-08-06  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (bfd, opcodes, gcc, zlib): Mark as bootstrap module.
(bison, byacc, flex, texinfo): Do not mark as bootstrap module.
(Dependencies): New section.
* Makefile.tpl (Dependencies): Generate from Makefile.def.
(configure-target-[+module+]): Depend on maybe-all-gcc
(all-prebootstrap): New name of all-bootstrap.  Changed throughout.
(toplevel profiledbootstrap): Fix dependencies.
* Makefile.in: Regenerate.

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

17 years ago * g++.dg/ext/visibility/visibility-8.C: Add constructor and
mmitchel [Fri, 6 Aug 2004 03:26:19 +0000 (03:26 +0000)]
* g++.dg/ext/visibility/visibility-8.C: Add constructor and
destructor tests.

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

17 years ago2004-08-06 Kelley Cook <kcook@gcc.gnu.org>
kcook [Fri, 6 Aug 2004 02:03:47 +0000 (02:03 +0000)]
2004-08-06  Kelley Cook  <kcook@gcc.gnu.org>

* lang.c (flag_emit_class_files, flag_filelist_file, flag_redundant,
flag_use_divide_subroutine, flag_use_boehm_gc, flag_store_check,
flag_hash_synchronization, flag_assert, flag_jni, flag_newer,
flag_check_references, flag_extraneous_semicolon, flag_deprecated,
flag_force_classes_archive_check, flag_optimize_sci,
flag_indirect_dispatch): Remove explicit declarations.
* lang.opt: Add implicit declare/define/assign.  Remove obsolete
final comment.

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

17 years ago * tree.c (handle_dll_attribute): Move here from i383/winnt.c.
mmitchel [Fri, 6 Aug 2004 02:03:29 +0000 (02:03 +0000)]
* tree.c (handle_dll_attribute): Move here from i383/winnt.c.
Replace use of DECL_INLINE with DECL_DECLARED_INLINE_P.  Set
DECL_VISIBLITY.  Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
* tree.h (handle_dll_attribute): Declare.  Test
TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
* c-common.h (c_determine_visibility): Declare.
* c-common.c (c_determine_visibility): New function.
* c-decl.c (finish_decl): Use it.
(finish_function): Likewise.
* defaults.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define it to
zero, by default.  Use #if, not #ifdef, to test it.
* config/arm/arm.c (arm_attribute_table): Use
handle_dll_attribute.  Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with
#if.
* config/arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define to 1.
* config/i386/cygming.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
to 1.
* config/i386/i386-protos.h (ix86_handle_dll_attribute): Remove.
* config/i386/i386.c (ix86_attribute_table): Use
handle_dll_attribute for dllimport/dllexport.  Test
TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
* config/i386/winnt.c (ix86_handle_dll_attribute): Remove.
* config/mcore/mcore.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
it to 1.
* config/mcore/mcore.c (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Test it
with #if.
* config/sh/symbian-pre.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
it to 1.
* doc/extend.texi (dllexport): Clarify and correct documentation.
(dllimport): Likewise.
* doc/tm.texi (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Mention
handle_dll_attribute.

* decl.c (start_preparsed_function): Move determine_visibility
call.
* decl2.c (determine_visibility): Incorporate dllexport testing.

* g++.dg/ext/visibility/assign1.C: Use scan-hidden and
dg-require-visiblity.
* g++.dg/ext/visibility/fvisibility-inlines-hidden.C: Likewise.
* g++.dg/ext/visibility/fvisibility.C: Likewise.
* g++.dg/ext/visibility/memfuncts.C: Likewise.
* g++.dg/ext/visibility/new1.C: Likewise.
* g++.dg/ext/visibility/pragma.C: Likewise.
* g++.dg/ext/visibility/staticmemfuncts.C: Likewise.
* g++.dg/ext/visibility/virtual.C: Likewise.
* g++/dg/ext/visibility/visibility-1.C: Likewise.
* g++/dg/ext/visibility/visibility-2.C: Likewise.
* g++/dg/ext/visibility/visibility-3.C: Likewise.
* g++/dg/ext/visibility/visibility-4.C: Likewise.
* g++/dg/ext/visibility/visibility-5.C: Likewise.
* g++/dg/ext/visibility/visibility-6.C: Likewise.
* g++/dg/ext/visibility/visibility-7.C: Likewise.
* g++/dg/ext/visibility/visibility-8.C: New test.
* gcc.c-torture/compile/dll.x: Remove.
* gcc.dg/dll-2.c: Use dg-require-dll
* gcc.dg/visibility-10.c: New test.
* lib/gcc-dg.exp (dg-require-dll): Add Symbian to list of targets
supporting DLLs.
* testsuite/lib/scanasm.exp (scan_hidden): New function.
(scan_not_hidden): Likewise.

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

17 years ago * g++spec.c (lang_specific_driver): An -Xlinker or -Wl, option
geoffk [Fri, 6 Aug 2004 00:29:17 +0000 (00:29 +0000)]
* g++spec.c (lang_specific_driver): An -Xlinker or -Wl, option
means that libstdc++ is needed.

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

17 years agoDaily bump.
gccadmin [Fri, 6 Aug 2004 00:16:23 +0000 (00:16 +0000)]
Daily bump.

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

17 years ago * tree-ssa-loop-manip.c: New file.
rakdver [Thu, 5 Aug 2004 21:33:21 +0000 (21:33 +0000)]
* tree-ssa-loop-manip.c: New file.
* Makefile.in (tree-ssa-loop-manip.o): Add.
* tree-flow.h (rewrite_into_loop_closed_ssa, verify_loop_closed_ssa):
Declare.
* tree-ssa-loop.c (tree_loop_optimizer_init): Create loop closed ssa
form.
(tree_ssa_loop_done): Verify loop closed ssa form.
* tree-ssa-loop-im.c (move_computations): Update loop closed ssa form.

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

17 years ago2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Thu, 5 Aug 2004 21:27:07 +0000 (21:27 +0000)]
2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>

* Makefile.am: Fix missing rename from x_nat_headers to
xlib_nat_headers.
* Makefile.in: Regenerated.

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

17 years ago * pa.c (pa_asm_output_aligned_bss, pa_asm_output_aligned_common,
danglin [Thu, 5 Aug 2004 20:57:06 +0000 (20:57 +0000)]
* pa.c (pa_asm_output_aligned_bss, pa_asm_output_aligned_common,
pa_asm_output_aligned_local): New functions.
* pa-protos.h: Add prototypes for pa_asm_output_aligned_bss,
pa_asm_output_aligned_common and pa_asm_output_aligned_local.
* pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Use
pa_asm_output_aligned_common.
(ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local.
* pa.h (ASM_OUTPUT_ALIGNED_BSS): New macro.
(ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common.
(ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local.
* pa64-hpux.h (MAX_OFILE_ALIGNMENT): New macro.
(ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common.
(ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local.
* som.h (MAX_OFILE_ALIGNMENT): Provide maximum alignment of global
common data.

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

17 years ago2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 5 Aug 2004 19:29:09 +0000 (19:29 +0000)]
2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>

PR bootstrap/14893
* Make-lang.in (java.install-man): Install from either build
tree or source tree, whichever has the file first.

(See the PR for more information and the approval from Alexandre Oliva.
 This fix has been in gcc-3_4-branch for about four months).

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

17 years ago2004-08-05 Andrew Pinski <apinski@apple.com>
pinskia [Thu, 5 Aug 2004 18:06:23 +0000 (18:06 +0000)]
2004-08-05  Andrew Pinski  <apinski@apple.com>

        * objc/objc-act.c (build_objc_string_object): Mark the address
        expression as constant.

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

17 years ago2004-08-04 Andrew Haley <aph@redhat.com>
aph [Thu, 5 Aug 2004 17:51:11 +0000 (17:51 +0000)]
2004-08-04  Andrew Haley  <aph@redhat.com>

        * java/security/BasicPermission.java: Don't check wildcards.

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

17 years ago * gcc.dg/sh4a-fprun.c: Fix dg-do typo.
dje [Thu, 5 Aug 2004 17:37:02 +0000 (17:37 +0000)]
    * gcc.dg/sh4a-fprun.c: Fix dg-do typo.

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

17 years ago * config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand
dje [Thu, 5 Aug 2004 17:05:48 +0000 (17:05 +0000)]
* config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand
and mask64_operand thinkos.  Handle ZERO_EXTRACT.  Handle
SIGN_EXTEND / ZERO_EXTEND of MEM.  Handle rlwinm patterns.

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

17 years ago * config/linux.h, config/i386/linux.h, config/sparc/linux.h:
jsm28 [Thu, 5 Aug 2004 09:12:12 +0000 (09:12 +0000)]
* config/linux.h, config/i386/linux.h, config/sparc/linux.h:
Remove definitions conditioned on USE_GNULIBC_1 or conditioned
out, and associated obsolete comments.

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

17 years ago * tree.h (force_fit_type): Return a tree, take three flags.
nathan [Thu, 5 Aug 2004 09:03:42 +0000 (09:03 +0000)]
* tree.h (force_fit_type): Return a tree, take three flags.
* fold-const.c (force_fit_type): Set TREE_OVERFLOW and
TREE_CONSTANT_OVERFLOW here.
(int_const_binop, const_binop): Adjust.
(size_int_type): Do sign extension here.
(fold_convert_const, optimize_bit_field_compare,
decode_field_reference, all_ones_mask_p, fold_div_compare, fold,
fold_negate_const, fold_abs_const, fold_not_const): Adjust.
* tree.c (size_in_bytes, int_fits_type_p): Adjust.

* cp/cvt.c (cp_convert_to_pointer): Adjust force_fit_type call.

* java/jcf-parse.c (get_constant): Adjust force_fit_type call.
* java/lex.h (SET_LVAL_NODE_TYPE): Remove.
* java/lex.c (java_perform_atof): Use SET_LVAL_NODE directly.
(do_java_lex): Likewise. Adjust force_fit_type call.

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

17 years ago PR tree-optimization/16864
rakdver [Thu, 5 Aug 2004 08:41:57 +0000 (08:41 +0000)]
PR tree-optimization/16864
* tree-tailcall.c (eliminate_tail_call): Do not create phi nodes
for ssa names without default_def.

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

17 years agoCommit for Victor Leikehman <lei@il.ibm.com>
steven [Thu, 5 Aug 2004 08:37:42 +0000 (08:37 +0000)]
Commit for Victor Leikehman  <lei@il.ibm.com>

PR libgfortran/16704
* io/read.c (read_radix): Understand letters f and F as hex digits.

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

17 years ago * config/i386/i386.c (ix86_expand_prologue): If the function uses a
rsandifo [Thu, 5 Aug 2004 07:13:56 +0000 (07:13 +0000)]
* config/i386/i386.c (ix86_expand_prologue): If the function uses a
frame pointer, restore eax with an ebp-relative address.

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

17 years ago2004-08-04 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 5 Aug 2004 06:06:49 +0000 (06:06 +0000)]
2004-08-04  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/20020118-1.c: Declare abort.
        * gcc.dg/altivec_check.h: Likewise.
        * gcc.dg/iftrap-2.c: Likewise.
        * gcc.dg/pragma-darwin.c: Likewise.
        * gcc.dg/rs6000-ldouble-1.c: Declare abort and exit.

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

17 years ago2004-08-04 Geoffrey Keating <geoffk@apple.com>
geoffk [Thu, 5 Aug 2004 05:52:01 +0000 (05:52 +0000)]
2004-08-04  Geoffrey Keating  <geoffk@apple.com>

PR 14516
* c-common.c (c_expand_decl): Don't special-case static VAR_DECLs.
* c-common.h (make_rtl_for_local_static): Delete.
* c-decl.c (shadow_tag_warned): Clean up comment.
(finish_decl): Clean up spacing.  Use set_user_assembler_name when
appropriate.  Don't pass asmspec to rest_of_decl_compilation.
* c-semantics.c (make_rtl_for_local_static): Delete.
* expr.c (init_block_move_fn): Use set_user_assembler_name.
(init_block_clear_fn): Likewise.
* passes.c (rest_of_decl_compilation): Remove asmspec parameter,
expect it to be in DECL_ASSEMBLER_NAME.  Update callers in many files.
* toplev.h (rest_of_decl_compilation): Remove asmspec parameter.
* tree.h (make_decl_rtl): Remove second parameter.
(set_user_assembler_name): New.
* varasm.c (set_user_assembler_name): New.
(make_decl_rtl): Remove second parameter.  Update callers in many
files.

Index: cp/ChangeLog
2004-08-04  Geoffrey Keating  <geoffk@apple.com>

* decl.c (make_rtl_for_nonlocal_decl): Set DECL_ASSEMBLER_NAME rather
than passing it as a parameter to rest_of_decl_compilation.
* decl2.c (grokfield): Use set_user_assembler_name.

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

17 years ago * g++.dg/ext/altivec_check.h: Declare exit as extern "C".
geoffk [Thu, 5 Aug 2004 05:31:30 +0000 (05:31 +0000)]
* g++.dg/ext/altivec_check.h: Declare exit as extern "C".

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

17 years ago * config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.
nemet [Thu, 5 Aug 2004 04:55:37 +0000 (04:55 +0000)]
* config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.
(case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*.  Update
to LynxOS 4.0.
* gthr-lynx.h: New file.
* config/lynx-ng.h: Remove file.
* config/lynx.h: Update to LynxOS 4.0.
* config/t-lynx: New file.
* config/i386/lynx-ng.h: Remove file.
* config/i386/lynx.h: Update to LynxOS 4.0.
* config/rs6000/lynxbase.h: Remove file.
* config/rs6000/lynx.h: Update to LynxOS 4.0.
* config/rs6000/t-lynx: New file.
* doc/install.texi (Options specification): Remove reference to
LynxOS from systems where --with-gnu-as makes a difference.

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

17 years ago * c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and
jsm28 [Thu, 5 Aug 2004 00:38:31 +0000 (00:38 +0000)]
* c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and
__UINTMAX_TYPE__.
* c-cppbuiltin.c (builtin_define_stdint_macros): New.  Define
__INTMAX_MAX__.
(c_cpp_builtins): Call it.
* doc/cpp.texi: Update.

testsuite:
* gcc.c-torture/execute/builtins/abs-2.c,
gcc.c-torture/execute/builtins/abs-3.c,
gcc.c-torture/execute/builtins/lib/abs.c, gcc.dg/format/format.h,
gcc.dg/torture/builtin-attr-1.c: Use predefined macros for
intmax_t, uintmax_t and their limits.
* gcc.dg/intmax_t-1.c: New test.

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

17 years agoDaily bump.
gccadmin [Thu, 5 Aug 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

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

17 years ago * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero
dje [Wed, 4 Aug 2004 23:38:34 +0000 (23:38 +0000)]
    * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero
        cost.

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

17 years ago * g++.dg/tc1/dr147.C: Add reference to PR.
giovannibajo [Wed, 4 Aug 2004 23:36:53 +0000 (23:36 +0000)]
* g++.dg/tc1/dr147.C: Add reference to PR.

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

17 years ago * basic-block.h (profile_staus): New global variable.
hubicka [Wed, 4 Aug 2004 21:37:06 +0000 (21:37 +0000)]
* basic-block.h (profile_staus): New global variable.
* cfg.c (profile_status): Declare.
(check_bb_profile): Break out from ....; use profile_status
(dump_flow_info): ... here.
* cfgbuild.c (find_basic_blocks): Set profile_status.
* cfgexpand.c (tree_expand_cfg): Likewise.
* predict.c (estimate_probability): Likewise.
* profile.c (branch_prob): Likewise.
* tree-cfg.c (build_tree_cfg): Likewise.
(dump_function_to_file): Use check_bb_profile.
* tree-pretty-print (dump_bb_header): Likewise.
* tree-profile.c (do_tree_profiling): Cleanup.

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

17 years agofix typo
jason [Wed, 4 Aug 2004 21:13:16 +0000 (21:13 +0000)]
fix typo

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

17 years ago * Makefile.in (RTL_BASE_H, RTL_H): Correct.
zack [Wed, 4 Aug 2004 20:55:08 +0000 (20:55 +0000)]
* Makefile.in (RTL_BASE_H, RTL_H): Correct.
(BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o.
(genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o.
(read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o)
(genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o)
(genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o)
(genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H).
(ggc-none.o, errors.o): Move rule to generators section;
correct dependencies.
(min-insn-modes.o): Move rule to generators section; remove
unnecessary explicit command; correct dependencies.
(print-rtl.o, print-rtl1.o): Correct dependencies.
($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule.
(mostlyclean): Update.

* errors.c: Include bconfig.h not config.h.  Correct comment.
* gengtype.c, genpreds.c: Don't define NO_GENRTL_H.
* ggc-none.c: Include bconfig.h; not config.h or tm.h.
* print-rtl.c: Don't include tm_p.h.

* rtl.h: Move forward-decl of struct function down where it's
needed.  Include genrtl.h #ifndef GENERATOR_FILE, not
#ifndef NO_GENRTL_H.  Remove unnecessary #ifdef BUFSIZ statements.

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

17 years ago * tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
law [Wed, 4 Aug 2004 20:37:38 +0000 (20:37 +0000)]
* tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
* tree-flow.h (rewrite_ssa_into_ssa): Declaration changed.
* tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to
manipulate the duplicated ssa names.
* tree-ssanames.c (ssa_names_to_rewrite): New variable.
(marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite,
unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force):
New functions.
(release_ssa_name): Do not release ssa names that may have multiple
definitions.
* tree.h (release_ssa_name_force, mark_for_rewrite,
unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p,
marked_ssa_names): Declare.
* tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove.
(duplicate_blocks): Remove call to mark_defs_for_rewrite.
Update call to rewrite_ssa_into_ssa.

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

17 years ago * defaults.h (TARGET_DECLSPEC): New macro.
mmitchel [Wed, 4 Aug 2004 19:37:19 +0000 (19:37 +0000)]
* defaults.h (TARGET_DECLSPEC): New macro.
* c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC.
* config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support.
* config/arm/symbian. (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
* config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
(TARGET_DECLSPEC): Define.
* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
* config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
(TARGET_DECLSPEC): Define.
* config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove
__declspec support.
* config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec
support.
* doc/tm.texi (TARGET_DECLSPEC): Document.

* doc/extend.texi: Fix typo in comment.

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

17 years agoAdd missing ChangeLog entry
mmitchel [Wed, 4 Aug 2004 19:32:34 +0000 (19:32 +0000)]
Add missing ChangeLog entry

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

17 years ago2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
mkoch [Wed, 4 Aug 2004 19:30:13 +0000 (19:30 +0000)]
2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
    Michael Koch  <konqueror@gmx.de>

* acinclude.m4: Correctly quote PKG_CHECK_MODULES.
* configure.in: Replaced all usages of AC_LINK_FILES by
AC_CONFIG_LINKS.
* aclocal.m4,
configure: Regenerated.

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

17 years ago * gcc.dg/mips-args-[23].c: Declare abort() and exit().
rsandifo [Wed, 4 Aug 2004 19:12:58 +0000 (19:12 +0000)]
* gcc.dg/mips-args-[23].c: Declare abort() and exit().
* gcc.dg/torture/mips-hilo-[12].c: Likewise.

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

17 years ago2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
mkoch [Wed, 4 Aug 2004 18:02:00 +0000 (18:02 +0000)]
2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
    Michael Koch  <konqueror@gmx.de>

* acconfig.h: Removed.
* Makefile.am: Rename variables for xlib peer to include xlib and
gtk_c_headers to gtk_jni_headers.
* Makefile.in: Regenerated.

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

17 years ago2004-08-04 Andrew Haley <aph@redhat.com>
aph [Wed, 4 Aug 2004 16:49:21 +0000 (16:49 +0000)]
2004-08-04  Andrew Haley  <aph@redhat.com>

        * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
        debugging.

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

17 years agoFix typo.
pbrook [Wed, 4 Aug 2004 16:19:14 +0000 (16:19 +0000)]
Fix typo.

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

17 years ago * configure.in (arm*-*-symbianelf*): Add ${libgcj} and
mmitchel [Wed, 4 Aug 2004 16:11:12 +0000 (16:11 +0000)]
* configure.in (arm*-*-symbianelf*): Add ${libgcj} and
target-libiberty to noconfigdirs.

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

17 years ago * decl.c (complete_array_type): Don't gratuitously copy
nathan [Wed, 4 Aug 2004 15:59:37 +0000 (15:59 +0000)]
* decl.c (complete_array_type): Don't gratuitously copy
maxindex. Its type is always set.

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

17 years agogcc/
pbrook [Wed, 4 Aug 2004 15:33:51 +0000 (15:33 +0000)]
gcc/
* target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define.
(TARGET_CXX): Use it.
* target.h (struct gcc_target): Add cdtor_returns_this.
* config/arm/arm.c (arm_cxx_cdtor_returns_this): New function.
(TARGET_CXX_CDTOR_RETURNS_THIS): Define.
* doc/tm.texi: Document TARGET_CXX_CDTOR_RETURNS_THIS.
gcc/cp/
* Make-lang.in (cp/semantics.o, cp/optimize.o): Depend on TARGET_H.
* cp-tree.h (struct language_function): Rename x_dtor_label to
x_cdtor_label.
(dtor_label): Rename ...
(cdtor_label): ... to this.
* decl.c (begin_constructor_body): Remove.
(check_special_function_return_type): Maybe change the return type.
(grokdeclarator): Pass the class type.
(start_preparsed_function): Constructors may need a return label.
(finish_constructor_body, finish_destructor_body): Set the return
value.
(begin_function_body): Don't call begin_constructor_body.
(finish_function): Don't warn for constructors or destructors.
(implicitly_declare_fn): Maybe change the return type.
* optimize.c: Include target.h.
(maybe_clone_body): Remap the function result.
* semantics.c: Include target.h.
(finish_return_stmt): Maybe jump to return label for constructors.

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

17 years ago2004-08-04 Phil Edwards <phil@codesourcery.com>
pme [Wed, 4 Aug 2004 14:40:48 +0000 (14:40 +0000)]
2004-08-04  Phil Edwards  <phil@codesourcery.com>

* docs/html/configopts.html:  Emphasize that options change.
* docs/html/17_intro/configury.html:  Update links.

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

17 years ago * c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take
nathan [Wed, 4 Aug 2004 14:38:27 +0000 (14:38 +0000)]
* c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take
low/high pair. Do range checking directly.
(interpret_integer): Adjust.

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

17 years ago * libgfortran.h (array_t, size0) New declarations.
pbrook [Wed, 4 Aug 2004 14:30:46 +0000 (14:30 +0000)]
* libgfortran.h (array_t, size0) New declarations.
* m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
space if return value descriptor has NULL in its data field,
and initialize bounds and stride.
* intrinsics/size.c (array_t, size0): Declarations moved to
libgfortran.h.
* generated/*.c: Regenerate.

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

17 years agoconfig/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the GCC ABI.
nickc [Wed, 4 Aug 2004 13:54:51 +0000 (13:54 +0000)]
config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the GCC ABI.
doc/invoke.texi: Document this new switch and also the -mrenesas switch.

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

17 years ago2004-08-04 Paolo Bonzini <gcc@gcc.gnu.org>
bonzini [Wed, 4 Aug 2004 12:08:09 +0000 (12:08 +0000)]
2004-08-04  Paolo Bonzini  <gcc@gcc.gnu.org>

* gcc_update: libjava/configure.ac -> configure.in.  Automake
1.4 does not handle configure.ac properly.

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

17 years agoReverted renaming of configure.in to configure.ac, has to wait
bonzini [Wed, 4 Aug 2004 12:05:07 +0000 (12:05 +0000)]
Reverted renaming of configure.in to configure.ac, has to wait
for updating of automake.

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

17 years ago * cfglayout.c (insn_locators_initialize): Update the current
nathan [Wed, 4 Aug 2004 11:30:31 +0000 (11:30 +0000)]
* cfglayout.c (insn_locators_initialize): Update the current
location before initializing a location.

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

17 years ago2004-08-04 Roger Sayle <roger@eyesopen.com>
aph [Wed, 4 Aug 2004 11:13:07 +0000 (11:13 +0000)]
2004-08-04  Roger Sayle  <roger@eyesopen.com>
            Andrew Haley  <aph@redhat.com>

        * typeck.c (convert_ieee_real_to_integer): Call fold on the range
        checking trees as they're being built.
        (convert): Call convert_ieee_real_to_integer if we're
        converting a constant, even if we're writing a class file.

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

17 years ago* gcc_update: libjava/configure.in -> configure.ac.
schwab [Wed, 4 Aug 2004 11:01:10 +0000 (11:01 +0000)]
* gcc_update: libjava/configure.in -> configure.ac.

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

17 years ago2004-08-04 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 4 Aug 2004 09:57:09 +0000 (09:57 +0000)]
2004-08-04  Paolo Bonzini  <bonzini@gnu.org>

        * configure.ac: New name of...
* configure.in: ... this file.

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

17 years agoCorrect PR numbers
zack [Wed, 4 Aug 2004 07:25:19 +0000 (07:25 +0000)]
Correct PR numbers

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

17 years ago * dbxout.c (dbxout_function_decl): Always call dbxout_function_end.
zack [Wed, 4 Aug 2004 07:23:14 +0000 (07:23 +0000)]
* dbxout.c (dbxout_function_decl): Always call dbxout_function_end.
(dbxout_function_end): Return after emitting the "Lscope" symbol
under the same conditions that this function formerly wasn't called.
Add explanatory comments.

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

17 years ago PR 14680
zack [Wed, 4 Aug 2004 06:33:07 +0000 (06:33 +0000)]
PR 14680
* c-decl.c (record_builtin_type): Call debug_hooks->type_decl
on the new decl.

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

17 years ago PR 13596
zack [Wed, 4 Aug 2004 06:32:01 +0000 (06:32 +0000)]
PR 13596
* dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New
functions, broken out of dbxout_block.
(dbxout_block): The block at depth 0 should get LBRAC/RBRAC
stabs too, if it contains symbols.  Use the begin_label and
the Lscope label (emitted by dbxout_function_end) for the
range of this block.

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

17 years ago * class.c (build_vtable): Do not set DECL_VISIBILITY here.
mmitchel [Wed, 4 Aug 2004 05:27:52 +0000 (05:27 +0000)]
* class.c (build_vtable): Do not set DECL_VISIBILITY here.
(check_field_decls): Or here.
(check_methods): Or here.
(initialize_array): Don't mess with DECL_CONTEXT.
* cp-tree.h (start_decl): Adjust prototype.
(determine_visibility): New function.
* decl.c (duplicate_decls): Remove checks for hidden "operator
new".
(build_library_fn_1): Give all library functions default
visibility.
(start_decl): Add pop_scope_p parameter.  Tidy.
(cp_finish_decl): Do not pop scopes here.  Call
determine_visibility for variable definitions.
(start_preparsed_function): Call determine_visibility.
* decl2.c (determine_visibility): New function.
* method.c (use_thunk): Fix formatting.
* parser.c (cp_parser_condition): Adjust calls to start_decl.
(cp_parser_init_declarator): Likewise.
* pt.c (instantiate_decl): Always call pop_nested_class.
* rtti.c (get_tinfo_decl): Do not set DECL_VISIBILITY.
(tinfo_base_init): Likewise.

* g++.dg/ext/visibility/assign1.C: New test.
* g++.dg/ext/visibility/new1.C: Likewise.

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

17 years ago * configure.in: Eliminate uses of changequote (mostly by quoting []).
neroden [Wed, 4 Aug 2004 02:52:53 +0000 (02:52 +0000)]
* configure.in: Eliminate uses of changequote (mostly by quoting []).
Replace most top level 'dnl' comments with '#' comments, conforming
to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
help strings.
* configure: Rebuilt.

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

17 years ago * gcc.dg/compat/struct-layout-1.exp: Fix error message typo.
dje [Wed, 4 Aug 2004 01:43:30 +0000 (01:43 +0000)]
    * gcc.dg/compat/struct-layout-1.exp: Fix error message typo.

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

17 years ago * doc/install.texi: Update autoconf version requirements.
neroden [Wed, 4 Aug 2004 00:19:30 +0000 (00:19 +0000)]
* doc/install.texi: Update autoconf version requirements.

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

17 years agoDaily bump.
gccadmin [Wed, 4 Aug 2004 00:16:44 +0000 (00:16 +0000)]
Daily bump.

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

17 years ago * defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.
zack [Tue, 3 Aug 2004 23:37:34 +0000 (23:37 +0000)]
* defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.
* recog.c (general_operand, immediate_operand, nonmemory_operand)
(asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P.
* regclass.c (record_reg_classes): Likewise.
* reload.c (find_reloads): Likewise.
* reload1.c (reload): Likewise.

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

17 years ago * gensupport.c (init_md_reader_args_cb): Renamed from
zack [Tue, 3 Aug 2004 23:30:45 +0000 (23:30 +0000)]
* gensupport.c (init_md_reader_args_cb): Renamed from
init_md_reader_args.  Add third option, callback function for
parsing program-specific options.  Add diagnosis of incorrect
number of input files.
(init_md_reader): Fold into init_md_reader_args_cb.
(init_md_reader_args): Now a thin wrapper around
init_md_reader_args_cb.
* gensupport.h: Update prototypes.

* genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c
* genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c
* genrecog.c: No need to diagnose lack of an input file;
init_md_reader_args will handle it.
* genconditions.c: Likewise, and use init_md_reader_args.
* genconstants.c: Likewise, and no need to call read_md_rtx.

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

17 years ago * c-decl.c (implicitly_declare): Diagnose incompatible implicit
jsm28 [Tue, 3 Aug 2004 22:09:13 +0000 (22:09 +0000)]
* c-decl.c (implicitly_declare): Diagnose incompatible implicit
declarations.

testsuite:
* gcc.dg/redecl-5.c: New test.
* gcc.dg/format/attr-6.c: Expect warning for implicit declaration
of scanf.

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

17 years ago2004-08-03 Kelley Cook <kcook@gcc.gnu.org>
kcook [Tue, 3 Aug 2004 21:42:18 +0000 (21:42 +0000)]
2004-08-03 Kelley Cook  <kcook@gcc.gnu.org>

* maintainer-scripts (snapshot_print): New function.
(announce_snapshot): Generate announcment on the fly.
Use a directory link for LATEST.
* snapshot-README: Delete.
* snapshot-index.html: Delete.

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

17 years ago * config/darwin-c.c: Don't search in "/Local/Library/Frameworks"
mrs [Tue, 3 Aug 2004 21:26:16 +0000 (21:26 +0000)]
* config/darwin-c.c: Don't search in "/Local/Library/Frameworks"
for frameworks.
* doc/invoke.texi (Darwin Options): Update to reflect above.

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

17 years ago PR middle-end/16790
sayle [Tue, 3 Aug 2004 21:24:32 +0000 (21:24 +0000)]
PR middle-end/16790
* fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local
truncations, not just global truncations.

* gcc.c-torture/execute/pr16790-1.c: New test case.

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

17 years ago * gcc.dg/symbian1.c: New test.
mmitchel [Tue, 3 Aug 2004 21:20:36 +0000 (21:20 +0000)]
* gcc.dg/symbian1.c: New test.
* gcc.dg/symbian2.c: Likewise.

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

17 years ago2004-08-03 Andrew Pinski <apinski@apple.com>
pinskia [Tue, 3 Aug 2004 21:13:15 +0000 (21:13 +0000)]
2004-08-03  Andrew Pinski  <apinski@apple.com>

        PR bootstrap/16865
        * loop-iv.c (simplify_using_assignment): Initialize lhs.

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

17 years ago * configure.in: Check for MPFR as well as GMP.
pbrook [Tue, 3 Aug 2004 21:11:29 +0000 (21:11 +0000)]
* configure.in: Check for MPFR as well as GMP.
* configure: Regenerate.
* gcc/doc/install.texi: Document MPFR requirement.

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

17 years agoRevert bogus portion of previous commit
neroden [Tue, 3 Aug 2004 20:52:01 +0000 (20:52 +0000)]
Revert bogus portion of previous commit

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

17 years agoChangeLog:
neroden [Tue, 3 Aug 2004 20:48:48 +0000 (20:48 +0000)]
ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable
libmudflap for all GNU-based systems (with Glibc).
* configure: Regenerate.

config/ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* mt-linux: Rename to ...
* mt-gnu: ... this.

libffi/ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* configure.ac: Detect knetbsd-gnu and kfreebsd-gnu.
* configure: Regenerate.

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

17 years ago2004-07-30 Maciej W. Rozycki <macro@linux-mips.org>
neroden [Tue, 3 Aug 2004 20:36:23 +0000 (20:36 +0000)]
2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>

* acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
and mmap() explicitly instead of relying on preset autoconf cache
variables.
* aclocal.m4: Regenerate.
* configure: Regenerate.

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

17 years agoRemove spurious conflict marker
neroden [Tue, 3 Aug 2004 20:33:52 +0000 (20:33 +0000)]
Remove spurious conflict marker

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

17 years ago2004-07-30 Maciej W. Rozycki <macro@linux-mips.org>
neroden [Tue, 3 Aug 2004 20:33:23 +0000 (20:33 +0000)]
2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>

* aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
and mmap() explicitly instead of relying on preset autoconf cache
variables.
* configure: Regenerate.

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

17 years agogcc/
hjl [Tue, 3 Aug 2004 19:52:52 +0000 (19:52 +0000)]
gcc/

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>

PR target/16570
* config.gcc (i[34567]86-*-* | x86_64-*-*): Add i386/t-gmm_malloc
to tmake_file.
(i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1): Likewise.
(i[34567]86-*-linux* | x86_64-*-linux*): Add i386/t-pmm_malloc
to tmake_file.

* config/i386/t-gmm_malloc: New file.
* config/i386/t-pmm_malloc: Likewise.

* config/i386/xmmintrin.h: Include <mm_malloc.h>.

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>
    Tanguy Fautr´┐Ż  <tfautre@pandora.be>

* config/i386/pmm_malloc.h: New file.

2004-08-03  Danny Smith  <dannysmith@users.sourceforge.net>

* config/i386/gmm_malloc.h: New file.

gcc/testsuite/

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>

PR target/16570
* gcc.dg/i386-sse-9.c: New test.

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

17 years ago * acinclude.m4: Include no-executables.m4.
neroden [Tue, 3 Aug 2004 19:40:56 +0000 (19:40 +0000)]
* acinclude.m4: Include no-executables.m4.
* aclocal.m4: Rebuild.
* configure.in: Convert to the autoconf 2.59 version of
of the no-executables hack, and also of the nonstandard CXX
hack and the multilibbed CC and CXX hack.  Change prerequisite
to autoconf 2.59.
* configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
* Makefile.in, gcj/Makefile.in, include/Makefile.in,
testsuite/Makefile.in: Regenerate.

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

17 years ago2004-08-03 Dale Johannesen <dalej@apple.com>
dalej [Tue, 3 Aug 2004 18:23:35 +0000 (18:23 +0000)]
2004-08-03  Dale Johannesen  <dalej@apple.com>

* config/rs6000/rs6000.c (machopic_output_stub):  Align Darwin stubs.
* c-common.c: Include opts.h.
(c_common_get_alias_set): Fix check for a single input file.
* toplev.c: Remove current_file_decl.
* tree.h: Ditto.

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

17 years ago * jni.cc: Reindented.
tromey [Tue, 3 Aug 2004 17:38:30 +0000 (17:38 +0000)]
* jni.cc: Reindented.

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

17 years ago * config.gcc (arm*-*-symbianelf*): New target.
mmitchel [Tue, 3 Aug 2004 17:38:09 +0000 (17:38 +0000)]
* config.gcc (arm*-*-symbianelf*): New target.
* config/arm/symbian.h: New file.

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

17 years ago * gthr-gnat.c: Add visibility #pragmas.
mmitchel [Tue, 3 Aug 2004 16:57:40 +0000 (16:57 +0000)]
* gthr-gnat.c: Add visibility #pragmas.
* gthr-gnat.h : Likewise.
* gthr.h: Likewise.
* libgcc2.c (__ffsSI2): Move prototype to libgcc2.h.
(__ffsDI2): Likewise.
(__clzSI2): Likewise.
(__ctzSI2): Likewise.
(__ctzDI2): Likewise.
(__popcountSI2): Likewise.
(__popcountDI2): Likewise.
(__paritySI2): Likewise.
(__parityDI2): Likewise.
* libgcc2.h: Add visibility #pragmas.
(__clzDI2): Add prototype.
(__clzSI2): Likewise.
(__ctzSI2): Likewise.
(__ffsDI2): Likewise.
(__ffsSI2): Likewise.
(__ctzDI2): Likewise.
(__popcountSI2): Likewise.
(__popcountDI2): Likewise.
(__paritySI2): Likewise.
(__parityDI2): Likewise.
* unwind-dw2-fde.h: Add visibility #pragmas.
* unwind.h: Likewise.

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

17 years ago * config/rs6000/rs6000.c (rs6000_rtx_costs): Calculate cost of
dje [Tue, 3 Aug 2004 15:31:38 +0000 (15:31 +0000)]
    * config/rs6000/rs6000.c (rs6000_rtx_costs): Calculate cost of
        constants more accurately.  Adjust costs for FMA instructions.
        Add cases for most logical and float operations.  Recurse into
        most operands.

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