gcc.git
15 years agot-sh (TARGET_LIBGCC2_CFLAGS): Define.
Kaz Kojima [Sat, 22 Aug 2009 21:43:07 +0000 (21:43 +0000)]
t-sh (TARGET_LIBGCC2_CFLAGS): Define.

* config/sh/t-sh (TARGET_LIBGCC2_CFLAGS): Define.
* config/sh/t-netbsd (TARGET_LIBGCC2_CFLAGS): Add -mieee.
* config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.

From-SVN: r151017

15 years agoCleanups after the update to Autoconf 2.64, Automake 1.11.
Ralf Wildenhues [Sat, 22 Aug 2009 13:41:50 +0000 (13:41 +0000)]
Cleanups after the update to Autoconf 2.64, Automake 1.11.

/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-pdfdir, --with-htmldir switches.
* configure: Regenerate.

gcc/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-htmldir switches.  No need to call AC_SUBST for
datarootdir, docdir, htmldir any more.
* configure: Regenerate.
* doc/install.texi (Configuration): Document --datarootdir,
--docdir, --htmldir, --pdfdir; update documentation for
--infodir, --mandir.
(Prerequisites): Bump Autoconf version to 2.64, Automake to
1.11, M4 to 1.4.6.

libgfortran/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

libjava/classpath/:
* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.

libjava/:
* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

libstdc++-v3/:
* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
2.64 and Automake 1.11 in examples; update link to Autoconf
manual page about quadrigraphs.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

libssp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

boehm-gc/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

libmudflap/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

zlib/:
* Makefile.am (install-html, install-pdf, html): Remove.
* Makefile.in: Regenerate.

libffi/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

libgomp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

From-SVN: r151015

15 years agoRegenerate tree using Autoconf 2.64 and Automake 1.11.
Ralf Wildenhues [Sat, 22 Aug 2009 13:22:20 +0000 (13:22 +0000)]
Regenerate tree using Autoconf 2.64 and Automake 1.11.

config/:
* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.

:
* configure: Regenerate.

intl/:
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.

libiberty/:
* config.in: Regenerate.
* configure: Regenerate.

boehm-gc/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/Makefile.in: Regenerate.
* include/gc_config.h.in: Regenerate.

fixincludes/:
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.

gcc/:
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

libgcc/:
* configure: Regenerate.

gnattools/:
* configure: Regenerate.

libada/:
* configure: Regenerate.

libcpp/:
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

libdecnumber/:
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.in: Regenerate.

libffi/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* fficonfig.h.in: Regenerate.
* include/Makefile.in: Regenerate.
* man/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

libgfortran/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.

libgomp/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.

libjava/classpath/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* doc/api/Makefile.in: Regenerate.
* examples/Makefile.in: Regenerate.
* external/Makefile.in: Regenerate.
* external/jsr166/Makefile.in: Regenerate.
* external/relaxngDatatype/Makefile.in: Regenerate.
* external/sax/Makefile.in: Regenerate.
* external/w3c_dom/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* include/config.h.in: Regenerate.
* lib/Makefile.in: Regenerate.
* native/Makefile.in: Regenerate.
* native/fdlibm/Makefile.in: Regenerate.
* native/jawt/Makefile.in: Regenerate.
* native/jni/Makefile.in: Regenerate.
* native/jni/classpath/Makefile.in: Regenerate.
* native/jni/gconf-peer/Makefile.in: Regenerate.
* native/jni/gstreamer-peer/Makefile.in: Regenerate.
* native/jni/gtk-peer/Makefile.in: Regenerate.
* native/jni/java-io/Makefile.in: Regenerate.
* native/jni/java-lang/Makefile.in: Regenerate.
* native/jni/java-math/Makefile.in: Regenerate.
* native/jni/java-net/Makefile.in: Regenerate.
* native/jni/java-nio/Makefile.in: Regenerate.
* native/jni/java-util/Makefile.in: Regenerate.
* native/jni/midi-alsa/Makefile.in: Regenerate.
* native/jni/midi-dssi/Makefile.in: Regenerate.
* native/jni/native-lib/Makefile.in: Regenerate.
* native/jni/qt-peer/Makefile.in: Regenerate.
* native/jni/xmlj/Makefile.in: Regenerate.
* native/plugin/Makefile.in: Regenerate.
* resource/Makefile.in: Regenerate.
* scripts/Makefile.in: Regenerate.
* tools/Makefile.in: Regenerate.

libjava/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* include/config.h.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

libjava/libltdl/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config-h.in: Regenerate.
* configure: Regenerate.

libmudflap/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.

libobjc/:
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.

libssp/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.

libstdc++-v3/:
* Makefile.in: Regenerate.
* acinclude.m4: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* python/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

zlib/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r151014

15 years agoLIBTOOLFLAGS, and *_LINK fixes for Automake 1.11
Ralf Wildenhues [Sat, 22 Aug 2009 12:43:24 +0000 (12:43 +0000)]
LIBTOOLFLAGS, and *_LINK fixes for Automake 1.11

boehm-gc/:
* Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
and $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.

libgfortran/:
* Makefile.am (libgfortran_la_LINK): Add $(libgfortran_la_LDFLAGS).
* Makefile.in: Regenerate.

libjava/:
* Makefile.am (libgcj_la_LINK, libgcj_tools_la_LINK)
(lib_gnu_awt_xlib_la_LINK, libgcj_bc_la_LINK, jv_convert_LINK)
(gcj_dbtool_LINK, gc_analyze_LINK, gij_LINK, ecjx_LINK)
(gappletviewer_LINK, gjarsigner_LINK, gkeytool_LINK)
(gjar_LINK, gjavah_LINK, gcjh_LINK, gnative2ascii_LINK)
(gorbd_LINK, grmid_LINK, gserialver_LINK, gtnameserv_LINK)
(grmic_LINK, grmiregistry_LINK, gjdoc_LINK): Add $(gjdoc_LDFLAGS).
(GCJLINK, LIBLINK, CXXLINK): Add $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.

libstdc++-v3/:
* libsupc++/Makefile.am (LTCOMPILE, LTCXXCOMPILE, CXXLINK): Add
$(LIBTOOLFLAGS).
* libsupc++/Makefile.in: Regenerate.
* src/Makefile.am (LTCXXCOMPILE, CXXLINK): Add $(AM_LIBTOOLFLAGS)
and $(LIBTOOLFLAGS).
* src/Makefile.in: Regenerate.

libgomp/:
* Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.

libobjc/:
* Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).

From-SVN: r151013

15 years agoUpdate automake-provided files in the toplevel.
Ralf Wildenhues [Sat, 22 Aug 2009 11:47:16 +0000 (11:47 +0000)]
Update automake-provided files in the toplevel.

/:
* compile: Sync from Automake 1.11.
* depcomp: Likewise.
* install-sh: Likewise.
* missing: Likewise.
* mkinstalldirs: Likewise.
* ylwrap: Likewise.

From-SVN: r151012

15 years agoMakefile.in: Add Ada support for GNU/kFreeBSD x86_64.
Aurelien Jarno [Sat, 22 Aug 2009 11:39:45 +0000 (11:39 +0000)]
Makefile.in: Add Ada support for GNU/kFreeBSD x86_64.

2009-08-22  Aurelien Jarno  <aurelien@aurel32.net>

* gcc-interface/Makefile.in: Add Ada support for
GNU/kFreeBSD x86_64.
* system-freebsd-x86_64.ads: New file based on
system-freebsd-x86.ads.

From-SVN: r151011

15 years agoia64.c: Include libfuncs.h.
Douglas B Rupp [Sat, 22 Aug 2009 02:50:30 +0000 (02:50 +0000)]
ia64.c: Include libfuncs.h.

* config/ia64/ia64.c: Include libfuncs.h.
(TARGET_PROMOTE_FUNCITON_MODE): Define target macro.
(ia64_expand_call): Use reg 25 on VMS.
(ia64_initialize_trampoline): Fix for VMS ABI.
(ia64_function_arg_offset): Always returns 0 when TARGET_ABI_OPEN_VMS.
(ia64_function_arg): Initialize reg 25 on VMS.
Fix OpenVMS ABI issues for varargs.
For OpenVMS, emit the Argument Information register set in the
incoming/sibcall case as well.
(ia64_arg_type): New function.
(ia64_function_arg_advance): Keep track of cum->words.
Fix OpenVMS ABI issues for varargs.
(ia64_function_value): On VMS, promote mode of non-aggregate types.
(ia64_override_options): Set flag_no_common on VMS.
(ia64_init_builtins): Disable FWRITE builtin.
(ia64_asm_output_external): Call DO_CRTL_NAMES.
(ia64_vms_init_libfuncs): Add decc$ routines.
(ia64_vms_valid_pointer_mode): New function.
(ia64_struct_value_rtx): Allways NULL_RTX on VMS.
(ia64_promote_function_mode): New function
* config/ia64/ia64.h (TARGET_ABI_OPEN_VMS): Define as 0 for default.
(LONG_DOUBLE_TYPE_SIZE): Force to 64 on VMS.
(LIBCGC2_LONG_DOUBLE_TYPE_SIZE): Likewise.
(INIT_CUMULATIVE_ARGS): Add atypes for VMS.
(INIT_CUMULATIVE_INCOMING_ARGS): Likewise.
(ASM_OUTPUT_DEF): Use ISDIGIT instead of isdigit.
Suppress trailing '#' if VALUE is numeric.
* config/ia64/vms.h (PROMOTE_FUNCTION_MODE): Remove, code moved to
ia64_promote_function_mode.
(TARGET_VALID_POINTER_MODE): Define.

Co-Authored-By: Olivier Hainque <hainque@adacore.com>
From-SVN: r151009

15 years agoDaily bump.
GCC Administrator [Sat, 22 Aug 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r151008

15 years agoFix typo in ChangeLog
Michael Meissner [Fri, 21 Aug 2009 23:56:20 +0000 (23:56 +0000)]
Fix typo in ChangeLog

From-SVN: r151005

15 years agoFix 40671, 41145
Michael Meissner [Fri, 21 Aug 2009 23:14:32 +0000 (23:14 +0000)]
Fix 40671, 41145

From-SVN: r151004

15 years ago* lib/target-supports.exp
Maciej W. Rozycki [Fri, 21 Aug 2009 22:13:56 +0000 (22:13 +0000)]
* lib/target-supports.exp
(check_effective_target_arm_iwmmxt_ok): New procedure.
* gcc.target/arm/mmx-1.c: Only run if arm_iwmmxt_ok.  Remove the
exclusions for -mfloat-abi=softfp and -mfloat-abi=hard.

From-SVN: r151003

15 years agors6000.c (rs6000_init_builtins): Fix type of __vector double TYPE_DECL.
Jakub Jelinek [Fri, 21 Aug 2009 18:39:58 +0000 (20:39 +0200)]
rs6000.c (rs6000_init_builtins): Fix type of __vector double TYPE_DECL.

* config/rs6000/rs6000.c (rs6000_init_builtins): Fix type of
__vector double TYPE_DECL.

From-SVN: r150998

15 years agoboz_9.f90: Do not generate denormal floating point numbers.
Uros Bizjak [Fri, 21 Aug 2009 17:15:58 +0000 (19:15 +0200)]
boz_9.f90: Do not generate denormal floating point numbers.

* gfortran.dg/boz_9.f90: Do not generate denormal floating
point numbers.  Remove -mieee option for alpha*-*-* targets.

From-SVN: r150992

15 years agoarm.h (MACHMODE): New define.
Richard Earnshaw [Fri, 21 Aug 2009 16:13:37 +0000 (16:13 +0000)]
arm.h (MACHMODE): New define.

* arm.h (MACHMODE): New define.  Include insn-modes.h if available.
(CUMULATIVE_ARGS): Use MACHMODE for declaration of aapcs_vfp_mode.
* arm.c (aapcs_vfp_is_call_or_return_candidate): Change base_mode
to pointer to enum machine_mode.  Update all callers as needed.

From-SVN: r150990

15 years agore PR fortran/41106 ([F03] Procedure Pointers with CHARACTER results)
Janus Weil [Fri, 21 Aug 2009 09:43:04 +0000 (11:43 +0200)]
re PR fortran/41106 ([F03] Procedure Pointers with CHARACTER results)

2009-08-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41106
* primary.c (gfc_variable_attr): Make it work also on EXPR_FUNCTION.
(gfc_expr_attr): Use gfc_variable_attr for procedure pointer components.
* resolve.c (resolve_fl_derived): Handle CHARACTER-valued procedure
pointer components.
* trans-expr.c (gfc_conv_component_ref): Ditto.
(gfc_conv_variable): Ditto.
(gfc_conv_procedure_call): Ditto.
(gfc_trans_pointer_assignment): Ditto.
* trans-types.c (gfc_get_derived_type): Ditto.

2009-08-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41106
* gfortran.dg/proc_ptr_23.f90: New.
* gfortran.dg/proc_ptr_comp_15.f90: New.
* gfortran.dg/proc_ptr_comp_16.f90: New.
* gfortran.dg/proc_ptr_comp_17.f90: New.

From-SVN: r150987

15 years agore PR c++/41131 (non-lvalue in unary `&' wrongly accepted)
Jakub Jelinek [Fri, 21 Aug 2009 07:08:15 +0000 (09:08 +0200)]
re PR c++/41131 (non-lvalue in unary `&' wrongly accepted)

PR c++/41131
* tree.c (lvalue_p_1) <case CONST_DECL>: Return clk_none if
not TREE_STATIC.

* g++.dg/expr/unary3.C: New test.

From-SVN: r150985

15 years agoalpha.md (exception_receiver): Emit alternative GP load sequence if flag_reorder_bloc...
Uros Bizjak [Fri, 21 Aug 2009 06:01:23 +0000 (08:01 +0200)]
alpha.md (exception_receiver): Emit alternative GP load sequence if flag_reorder_blocks_and_partition is set.

* config/alpha/alpha.md (exception_receiver): Emit alternative
GP load sequence if flag_reorder_blocks_and_partition is set.
(*exception_receiver_2): Also enable when
flag_reorder_blocks_and_partition is set.

From-SVN: r150984

15 years agocommon_5.f: Add -mdalign for sh.
Kaz Kojima [Fri, 21 Aug 2009 03:27:21 +0000 (03:27 +0000)]
common_5.f: Add -mdalign for sh.

* gfortran.dg/common_5.f: Add -mdalign for sh.
* gfortran.dg/common_align_2.f90: Likewise.

From-SVN: r150983

15 years agoDaily bump.
GCC Administrator [Fri, 21 Aug 2009 00:17:11 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r150982

15 years agotypedefs.cc: Add missing dg-require directives.
Paolo Carlini [Thu, 20 Aug 2009 21:45:46 +0000 (21:45 +0000)]
typedefs.cc: Add missing dg-require directives.

2009-08-20  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/30_threads/packaged_task/requirements/typedefs.cc: Add
missing dg-require directives.

From-SVN: r150977

15 years agore PR fortran/40962 (Conversion problem for f-allocatable -> cptr -> fptr -> f-alloc...
Thomas Koenig [Thu, 20 Aug 2009 20:16:15 +0000 (20:16 +0000)]
re PR fortran/40962 (Conversion problem for  f-allocatable -> cptr -> fptr -> f-allocatable)

2009-08-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/40962
* iso_c_binding.c (c_f_pointer_u0):  Multiply stride by
previous stride.

2009-08-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/40962
* c_f_pointer_tests_4.f90:  New test.

From-SVN: r150974

15 years ago* trans-stmt.c (gfc_trans_do): Add a few missing folds.
Tobias Schlüter [Thu, 20 Aug 2009 18:47:51 +0000 (20:47 +0200)]
* trans-stmt.c (gfc_trans_do): Add a few missing folds.

From-SVN: r150969

15 years agoMakefile.in (PLUGIN_HEADERS): Include incpath.h and tree-ssa-sccvn.h.
Matt Rice [Thu, 20 Aug 2009 16:22:43 +0000 (16:22 +0000)]
Makefile.in (PLUGIN_HEADERS): Include incpath.h and tree-ssa-sccvn.h.

2009-08-20  Matt Rice  <ratmice@gmail.com>
    Diego Novillo  <dnovillo@google.com>

* Makefile.in (PLUGIN_HEADERS): Include incpath.h and
tree-ssa-sccvn.h.

Co-Authored-By: Diego Novillo <dnovillo@google.com>
From-SVN: r150967

15 years agoc-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not define.
Richard Guenther [Thu, 20 Aug 2009 16:11:37 +0000 (16:11 +0000)]
c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not define.

2009-08-20  Richard Guenther  <rguenther@suse.de>

* c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not
define.
* c-tree.h (c_dup_lang_specific_decl): Remove.
(struct lang_decl, struct lang_type): Move definitions ...
* c-lang.h: ... here.  New file.
* c-decl.c: Include c-lang.h.
(c_dup_lang_specific_decl): Remove.
* c-typeck.c: Include c-lang.h.
* Makefile.in (c-decl.o): Add c-lang.h dependency.
(c-typeck.o): Likewise.
* c-config-lang.in (gtfiles): Add c-lang.h.
* gengtype.c (get_output_file_with_visibility): Handle c-lang.h
like c-tree.h.

objc/
* objc-act.c: Include c-lang.h
* Make-lang.in (objc/objc-act.o): Add c-lang.h dependency.

From-SVN: r150966

15 years agoutils.c (convert): In the padded case...
Eric Botcazou [Thu, 20 Aug 2009 15:19:16 +0000 (15:19 +0000)]
utils.c (convert): In the padded case...

* gcc-interface/utils.c (convert): In the padded case, do the final
conversion as an unchecked conversion if the underlying types are
array types with variable size.

From-SVN: r150965

15 years agotrans-expr.c (gfc_conv_string_tmp): Check type compatibility instead of equality.
Michael Matz [Thu, 20 Aug 2009 14:25:36 +0000 (14:25 +0000)]
trans-expr.c (gfc_conv_string_tmp): Check type compatibility instead of equality.

fortran/
        * trans-expr.c (gfc_conv_string_tmp): Check type compatibility
        instead of equality.

testsuite/
        * gfortran.dg/pr41126.f90: New test.

From-SVN: r150964

15 years agoada-tree.h (SET_TYPE_RM_VALUE): Mark the expression as visited.
Eric Botcazou [Thu, 20 Aug 2009 14:04:30 +0000 (14:04 +0000)]
ada-tree.h (SET_TYPE_RM_VALUE): Mark the expression as visited.

* gcc-interface/ada-tree.h (SET_TYPE_RM_VALUE): Mark the expression
as visited.
* gcc-interface/misc.c (gnat_get_subrange_bounds): Always return the
bounds.
* gcc-interface/trans.c (add_decl_expr): Do not mark gigi-specific
fields.
(gnat_gimplify_expr) <DECL_EXPR>: New case.

From-SVN: r150963

15 years agoMakefile.am (libgomp_la_LDFLAGS): Add -bindir flag.
Dave Korn [Thu, 20 Aug 2009 11:11:34 +0000 (11:11 +0000)]
Makefile.am (libgomp_la_LDFLAGS): Add -bindir flag.

libgomp/ChangeLog:

* Makefile.am (libgomp_la_LDFLAGS): Add -bindir flag.
* Makefile.in: Regenerate.

ChangeLog:

* ltmain.sh (func_normal_abspath): New function.
(func_relative_path): Likewise.
(func_mode_help): Document new -bindir option for link mode.
(func_mode_link): Add new -bindir option, and use it to place
output DLL if specified.

libgfortran/ChangeLog:

* Makefile.am (LTLDFLAGS): Add -bindir flag.
* Makefile.in: Regenerate.

libssp/ChangeLog:

* Makefile.am (libssp_la_LDFLAGS): Add -bindir flag.
* Makefile.in: Regenerate.

libjava/libltdl/ChangeLog:

* Makefile.am (libltdl_la_LDFLAGS): Add -bindir flag.
* Makefile.in: Regenerate.

libjava/classpath/ChangeLog:

* ltmain.sh (func_normal_abspath): New function.
(func_relative_path): Likewise.
(func_mode_help): Document new -bindir option for link mode.
(func_mode_link): Add new -bindir option, and use it to place
output DLL if specified.

From-SVN: r150960

15 years agoalpha.c (alpha_end_function): Do not clear crtl->emit structure and free insn locator...
Uros Bizjak [Thu, 20 Aug 2009 10:40:44 +0000 (12:40 +0200)]
alpha.c (alpha_end_function): Do not clear crtl->emit structure and free insn locators if...

* config/alpha/alpha.c (alpha_end_function): Do not clear
crtl->emit structure and free insn locators if cfun->is_thunk is true,
this is now handled in generic code.

From-SVN: r150959

15 years agogamma.tcc: Change include guard from _TR1_GAMMA_TCC to _GLIBCXX_TR1_GAMMA_TCC to...
Edward Smith-Rowland [Thu, 20 Aug 2009 09:45:03 +0000 (09:45 +0000)]
gamma.tcc: Change include guard from _TR1_GAMMA_TCC to _GLIBCXX_TR1_GAMMA_TCC to match the...

2009-08-20  Edward Smith-Rowland  <3dw4rd@verizon.net>

* include/tr1/gamma.tcc: Change include guard from _TR1_GAMMA_TCC
to _GLIBCXX_TR1_GAMMA_TCC to match the rest of the headers in tr1.
* include/tr1/exp_integral.tcc: Replace _TR1_GAMMA_TCC with
__numeric_constants<_Tp>::__gamma_e().

From-SVN: r150958

15 years agore PR fortran/41121 (compile-time error when building BLAS with -fimplicit-none)
Janus Weil [Thu, 20 Aug 2009 09:33:01 +0000 (11:33 +0200)]
re PR fortran/41121 (compile-time error when building BLAS with -fimplicit-none)

2009-08-20  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41121
* resolve.c (resolve_symbol): Don't resolve formal_ns of intrinsic
procedures.

2009-08-20  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41121
* gfortran.dg/intrinsic_5.f90: New.

From-SVN: r150957

15 years agos390.c (Z10_PREDICT_DISTANCE): New macro.
Andreas Krebbel [Thu, 20 Aug 2009 09:21:13 +0000 (09:21 +0000)]
s390.c (Z10_PREDICT_DISTANCE): New macro.

2009-08-20  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (Z10_PREDICT_DISTANCE): New macro.
(s390_z10_fix_long_loop_prediction): New function.
(s390_z10_optimize_cmp): INSN walk moved to callee - s390_reorg.
(s390_reorg): Walk over the INSNs and invoke
s390_z10_fix_long_loop_prediction and s390_z10_optimize_cmp.

From-SVN: r150955

15 years agos390.md ("*brx_stage1_<GPR:mode>", [...]): New patterns.
Andreas Krebbel [Thu, 20 Aug 2009 09:19:53 +0000 (09:19 +0000)]
s390.md ("*brx_stage1_<GPR:mode>", [...]): New patterns.

2009-08-20  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.md ("*brx_stage1_<GPR:mode>", "*brxg_64bit",
"*brx_64bit", "*brx_31bit"): New patterns.
* config/s390/s390.c ('E'): New output modifier.

From-SVN: r150954

15 years agoFix twolf ICE for ARM
Ramana Radhakrishnan [Thu, 20 Aug 2009 08:09:29 +0000 (08:09 +0000)]
Fix twolf ICE for ARM

2009-08-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
            Richard Earnshaw  <richard.earnshaw@arm.com>

        * config/arm/arm.c (arm_emit_movpair): Handle CONST_INT.
        * config/arm/arm.md (*arm_movtas_ze): New pattern for
        movt.

2009-08-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
            Richard Earnshaw  <richard.earnshaw@arm.com>

        * testsuite/gcc.target/arm/20090811-1.c: New test.

Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r150953

15 years agopa.md (reload_inhi, [...]): New patterns.
John David Anglin [Thu, 20 Aug 2009 01:36:11 +0000 (01:36 +0000)]
pa.md (reload_inhi, [...]): New patterns.

* pa.md (reload_inhi, reload_outhi, reload_inqi, reload_outqi): New
patterns.
* pa.c (emit_move_sequence): Check if address of operand1 is valid
for mode mode of operand0 when doing secondary reload for SAR.

From-SVN: r150951

15 years agoDaily bump.
GCC Administrator [Thu, 20 Aug 2009 00:16:42 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r150950

15 years agore PR middle-end/41123 (ICE in expand_expr_real_1)
Jakub Jelinek [Wed, 19 Aug 2009 22:51:20 +0000 (00:51 +0200)]
re PR middle-end/41123 (ICE in expand_expr_real_1)

PR middle-end/41123
* expr.c (expand_expr_real_1) <normal_inner_ref>: Handle all kinds
of CONCAT, not just bitpos 0 bitsize size of the whole CONCAT.

* gcc.dg/pr41123.c: New test.

From-SVN: r150946

15 years agoDisable option checking in the toplevel, avoid 2.64 fopen glitch.
Ralf Wildenhues [Wed, 19 Aug 2009 22:19:37 +0000 (22:19 +0000)]
Disable option checking in the toplevel, avoid 2.64 fopen glitch.

/:
* configure.ac: Call AC_DISABLE_OPTION_CHECKING.
(baseargs): Add --disable-option-checking.
* configure: Regenerate.

config/:
* override.m4 (AC_DISABLE_OPTION_CHECKING): Define to be
empty if not defined, to avoid error with 2.59.
(_AC_LANG_IO_PROGRAM): When the Autoconf version is exactly
2.64, avoid per-language instances to drop fopen from test
program.

From-SVN: r150945

15 years agoFix toplevel target defs.
Ralf Wildenhues [Wed, 19 Aug 2009 21:57:58 +0000 (21:57 +0000)]
Fix toplevel target defs.

/:
* Makefile.def (configure-target-libiberty): Depend on
all-binutils and all-ld.
(configure-target-newlib): Likewise.
* Makefile.in: Regenerate.

From-SVN: r150944

15 years agoinvoke.texi (C++ Dialect Options): Note change of minimum supported template depth...
Jason Merrill [Wed, 19 Aug 2009 18:53:57 +0000 (14:53 -0400)]
invoke.texi (C++ Dialect Options): Note change of minimum supported template depth in C++0x.

* doc/invoke.texi (C++ Dialect Options): Note change of minimum
supported template depth in C++0x.

From-SVN: r150941

15 years agotweak comment
Jason Merrill [Wed, 19 Aug 2009 18:24:13 +0000 (14:24 -0400)]
tweak comment

From-SVN: r150940

15 years agore PR c++/41119 (Revision 150805 failed 447.dealII in SPEC CPU 2006)
Jason Merrill [Wed, 19 Aug 2009 17:14:33 +0000 (13:14 -0400)]
re PR c++/41119 (Revision 150805 failed 447.dealII in SPEC CPU 2006)

PR c++/41119
PR c++/41120
* decl2.c (mark_used): Increment function_depth during synthesis.
* parser.c (cp_parser_default_argument): Not here.

From-SVN: r150939

15 years agomethod.c (use_thunk): Call free_after_compilation after assemble_end_function.
Jakub Jelinek [Wed, 19 Aug 2009 15:27:48 +0000 (17:27 +0200)]
method.c (use_thunk): Call free_after_compilation after assemble_end_function.

* method.c (use_thunk): Call free_after_compilation after
assemble_end_function.

* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Don't call
free_after_compilation.
* config/score/score7.c (score7_output_mi_thunk): Likewise.
* config/score/score3.c (score3_output_mi_thunk): Likewise.
* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
* config/mips/mips.c (mips_output_mi_thunk): Likewise.
* config/sh/sh.c (sh_output_mi_thunk): Likewise.
* config/m68k/m68k.c (m68k_output_mi_thunk): Likewise.
* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.

From-SVN: r150938

15 years agomd.texi (Insn Canonicalizations): Correct canonicalization of (plus (mult (neg B...
Ian Lance Taylor [Wed, 19 Aug 2009 15:21:16 +0000 (15:21 +0000)]
md.texi (Insn Canonicalizations): Correct canonicalization of (plus (mult (neg B) C) A).

* doc/md.texi (Insn Canonicalizations): Correct canonicalization
of (plus (mult (neg B) C) A).

From-SVN: r150937

15 years agoomp-low.c (optimize_omp_library_calls): Use types_compatible_p instead of comparing...
Michael Matz [Wed, 19 Aug 2009 14:29:52 +0000 (14:29 +0000)]
omp-low.c (optimize_omp_library_calls): Use types_compatible_p instead of comparing TYPE_MAIN_VARIANT for equality.

        * omp-low.c (optimize_omp_library_calls): Use types_compatible_p
        instead of comparing TYPE_MAIN_VARIANT for equality.
        * tree-vect-patterns.c (vect_recog_dot_prod_pattern,
        vect_recog_widen_mult_pattern, vect_recog_widen_sum_pattern): Ditto.
        * tree-vect-loop.c (vect_is_simple_reduction): Ditto.
        * gimplify.c (goa_lhs_expr_p): Ditto and use
        STRIP_USELESS_TYPE_CONVERSION.

From-SVN: r150936

15 years agotree-ssa-structalias.c (create_variable_info_for): Also mark first field in a struct.
Michael Matz [Wed, 19 Aug 2009 10:17:33 +0000 (10:17 +0000)]
tree-ssa-structalias.c (create_variable_info_for): Also mark first field in a struct.

        * tree-ssa-structalias.c (create_variable_info_for): Also mark
        first field in a struct.
        (intra_create_variable_infos): Don't deal with flag_argument_noalias.

fortran/
        * trans-expr.c (gfc_conv_substring): Don't evaluate casted decl early,
        change order of length calculation to (end - start) + 1.
        (gfc_get_interface_mapping_array): Adjust call to
        gfc_get_nodesc_array_type.
        * trans-array.c (gfc_trans_create_temp_array,
        gfc_build_constant_array_constructor, gfc_conv_expr_descriptor): Ditto.
        * trans-stmt.c (gfc_trans_pointer_assign_need_temp): Ditto.
        * trans.c (gfc_add_modify): Assignment between base type and nontarget
        type are equal enough.
        (gfc_call_malloc): Use prvoid_type_node for return value of
        __builtin_malloc.
        (gfc_allocate_with_status): Ditto.
        * trans-types.c (gfc_array_descriptor_base): Double size of this array.
        (gfc_init_types): Build prvoid_type_node.
        (gfc_build_array_type): New bool parameter "restricted".
        (gfc_get_nodesc_array_type): Ditto, build restrict qualified pointers,
        if it's true.
        (gfc_get_array_descriptor_base): Ditto.
        (gfc_get_array_type_bounds): Ditto.
        (gfc_sym_type): Use symbol attributes to feed calls to above functions.
        (gfc_get_derived_type): Ditto.
        * trans.h (struct lang_type): Add nontarget_type member.
        * trans-types.h (prvoid_type_node): Declare.
        (gfc_get_array_type_bounds, gfc_get_nodesc_array_type): Declare new
        parameter.
        * trans-decl.c (gfc_finish_var_decl): Give scalars that can't be
        aliased a type with a different alias set than the base type.
        (gfc_build_dummy_array_decl): Adjust call to gfc_get_nodesc_array_type.

testsuite/
        * gfortran.dg/vect/vect-gems.f90: New test.
        * gcc.dg/tree-ssa/alias-1.c: Remove, it checks something broken.

From-SVN: r150934

15 years agore PR fortran/41102 (Ease error checking of included files located in the SYSTEM_INCL...
Tobias Burnus [Wed, 19 Aug 2009 06:38:29 +0000 (08:38 +0200)]
re PR fortran/41102 (Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h)

2009-08-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41102
        omp_lib.h.in: Fix -std=f95 errors.

From-SVN: r150931

15 years agowrapper.exp: Move load of target-libpath.exp from here...
DJ Delorie [Wed, 19 Aug 2009 01:40:24 +0000 (21:40 -0400)]
wrapper.exp: Move load of target-libpath.exp from here...

* lib/wrapper.exp: Move load of target-libpath.exp from here...
* lib/gcc-defs.exp: ... to here.

From-SVN: r150929

15 years agoDaily bump.
GCC Administrator [Wed, 19 Aug 2009 00:17:03 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r150925

15 years ago* compare-debug: Drop .eh_frame relocations too.
Alexandre Oliva [Tue, 18 Aug 2009 19:44:04 +0000 (19:44 +0000)]
* compare-debug: Drop .eh_frame relocations too.

From-SVN: r150901

15 years agore PR testsuite/40704 (^M? in testsuite log leads to binary attachment)
H.J. Lu [Tue, 18 Aug 2009 19:40:48 +0000 (19:40 +0000)]
re PR testsuite/40704 (^M? in testsuite log leads to binary attachment)

2009-08-18  H.J. Lu  <hongjiu.lu@intel.com>

PR testsuite/40704
* test_summary: Filter out "\r".

From-SVN: r150898

15 years agowrapper.exp (${tool}_maybe_build_wrapper): Set up GCC_EXEC_PREFIX before building...
DJ Delorie [Tue, 18 Aug 2009 18:36:58 +0000 (14:36 -0400)]
wrapper.exp (${tool}_maybe_build_wrapper): Set up GCC_EXEC_PREFIX before building the wrapper.

* lib/wrapper.exp (${tool}_maybe_build_wrapper): Set up
GCC_EXEC_PREFIX before building the wrapper.

From-SVN: r150889

15 years agoalpha.c (alpha_output_mi_thunk_osf): Allocate insn locators before emit_insn is called.
Uros Bizjak [Tue, 18 Aug 2009 17:50:44 +0000 (19:50 +0200)]
alpha.c (alpha_output_mi_thunk_osf): Allocate insn locators before emit_insn is called.

* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Allocate insn
locators before emit_insn is called.  Remove assert that
cfun->is_thunk.
(alpha_end_function): Clear crtl->emit structure and free insn
locators if cfun->is_thunk is true.

From-SVN: r150883

15 years agoelfos.h (ASM_DECLARE_OBJECT_NAME): Use gnu_unique_object type if available.
Jason Merrill [Tue, 18 Aug 2009 17:01:36 +0000 (13:01 -0400)]
elfos.h (ASM_DECLARE_OBJECT_NAME): Use gnu_unique_object type if available.

* config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use gnu_unique_object
type if available.
* configure.ac: Test for it.
* configure, config.in: Regenerate.
* doc/install.texi: Document --enable-gnu-unique-object.

From-SVN: r150882

15 years agovect.exp: Add new stanza for aligned-section-anchors-* tests.
Nathan Froyd [Tue, 18 Aug 2009 16:58:35 +0000 (16:58 +0000)]
vect.exp: Add new stanza for aligned-section-anchors-* tests.

* gcc.dg/vect/vect.exp: Add new stanza for aligned-section-anchors-*
tests.
* gcc.dg/vect/section-anchors-nest-1.c: Rename to...
* gcc.dg/vect/aligned-section-anchors-nest-1.c: ...this.  Remove
dg-options.  Fix dg-final clause.

From-SVN: r150880

15 years agocdce3.C: Add -mieee for alpha*-*-* targets.
Uros Bizjak [Tue, 18 Aug 2009 15:57:25 +0000 (17:57 +0200)]
cdce3.C: Add -mieee for alpha*-*-* targets.

* g++.dg/cdce3.C: Add -mieee for alpha*-*-* targets.

From-SVN: r150877

15 years agore PR fortran/40870 ([F03] include formal args in backend_decl of PPCs)
Janus Weil [Tue, 18 Aug 2009 14:23:35 +0000 (16:23 +0200)]
re PR fortran/40870 ([F03] include formal args in backend_decl of PPCs)

2009-08-18  Janus Weil  <janus@gcc.gnu.org>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40870
* trans-types.c (gfc_get_ppc_type): Include formal args in backend_decl
using the interface symbol. Character types are returned by reference.
(gfc_get_derived_type): Prevent infinite recursion loop
if a PPC has a derived-type formal arg.

2009-08-18  Janus Weil  <janus@gcc.gnu.org>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40870
* gfortran.dg/proc_ptr_comp_13.f90: Extended.

Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
From-SVN: r150875

15 years agore PR middle-end/41094 (Erroneous optimization of pow() with -ffast-math)
Richard Guenther [Tue, 18 Aug 2009 13:40:18 +0000 (13:40 +0000)]
re PR middle-end/41094 (Erroneous optimization of pow() with -ffast-math)

2009-08-18  Richard Guenther  <rguenther@suse.de>

PR middle-end/41094
* builtins.c (fold_builtin_pow): Fold pow(pow(x,y),z) to
pow(x,y*z) only if x is nonnegative.

* gcc.dg/torture/pr41094.c: New testcase.
* gcc.dg/torture/builtin-power-1.c: Adjust.
* gcc.dg/builtins-10.c: Likewise.

From-SVN: r150874

15 years agore PR target/40971 (ICE in memory_address)
Jakub Jelinek [Tue, 18 Aug 2009 11:42:07 +0000 (13:42 +0200)]
re PR target/40971 (ICE in memory_address)

PR target/40971
* config/rs6000/rs6000.c (rs6000_legitimize_address): For
[DT][FDI]mode ensure the offset isn't 4/8/12 bytes below 0x8000.

* gcc.dg/pr40971.c: New test.

From-SVN: r150869

15 years agobb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump on jumps.
Jakub Jelinek [Tue, 18 Aug 2009 11:16:46 +0000 (13:16 +0200)]
bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump on jumps.

* bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump
on jumps.

From-SVN: r150868

15 years agoDaily bump.
GCC Administrator [Tue, 18 Aug 2009 00:16:57 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r150866

15 years agom32c.md (UNS_FSETB, UNS_FREIT): New.
DJ Delorie [Mon, 17 Aug 2009 22:25:06 +0000 (18:25 -0400)]
m32c.md (UNS_FSETB, UNS_FREIT): New.

* config/m32c/m32c.md (UNS_FSETB, UNS_FREIT): New.
* config/m32c/prologue.md (epilogue_freit): New.
(fset_b): New.
* config/m32c/m32c.c (m32c_function_needs_enter): Add prototype.
(bank_switch_p): Likewise.
(fast_interrupt_p): Likewise.
(interrupt_p): Likewise.
(m32c_conditional_register_usage): Round memregs size up.
(need_to_save): We only need to save $a0 when we use ENTER.
(interrupt_p): Check for fast_interrupt too.
(bank_switch_p): New.
(fast_interrupt_p): New.
(m32c_attribute_table): Add bank_switch and fast_interrupt.
(m32c_emit_prolog): Support bank switching and fast interrupts.
* doc/extend.texi (Function Attributes): Add bank_switch and
fast_interrupt.

From-SVN: r150862

15 years agoInstall gcj.pdf in $(pdfdir)/gcc alongside other manuals.
Ralf Wildenhues [Mon, 17 Aug 2009 20:22:41 +0000 (20:22 +0000)]
Install gcj.pdf in $(pdfdir)/gcc alongside other manuals.

gcc/java/
* Make-lang.in (java.install-pdf): Install gcj.pdf in
$(pdfdir)/gcc, alongside the other manuals.

From-SVN: r150859

15 years agore PR fortran/41062 (ICE in gfc_trans_use_stmts, at fortran/trans-decl.c:3438)
Paul Thomas [Mon, 17 Aug 2009 20:17:12 +0000 (20:17 +0000)]
re PR fortran/41062 (ICE in gfc_trans_use_stmts, at fortran/trans-decl.c:3438)

2008-08-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41062
* trans-decl.c (gfc_trans_use_stmts):  Keep going through use
list if symbol is not use associated.

2008-08-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41062
* gfortran.dg/use_only_4.f90: New test.

From-SVN: r150858

15 years agotypedefs.cc: New.
Benjamin Kosnik [Mon, 17 Aug 2009 19:21:38 +0000 (19:21 +0000)]
typedefs.cc: New.

2009-08-17  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/30_threads/packaged_task/requirements/typedefs.cc: New.

From-SVN: r150857

15 years agore PR fortran/37425 (Fortran 2003: GENERIC bindings as operators)
Daniel Kraft [Mon, 17 Aug 2009 18:55:30 +0000 (20:55 +0200)]
re PR fortran/37425 (Fortran 2003: GENERIC bindings as operators)

2009-08-17  Daniel Kraft  <d@domob.eu>

PR fortran/37425
* resolve.c (get_checked_tb_operator_target): New routine to do checks
on type-bound operators in common between intrinsic and user operators.
(resolve_typebound_intrinsic_op): Call it.
(resolve_typebound_user_op): Ditto.

2009-08-17  Daniel Kraft  <d@domob.eu>

PR fortran/37425
* gfortran.dg/typebound_operator_2.f03: Test for error with illegal
NOPASS bindings as operators.

From-SVN: r150856

15 years agore PR preprocessor/41067 (Inconsistency in warnings on invalid \-escapes)
Tom Tromey [Mon, 17 Aug 2009 17:34:53 +0000 (17:34 +0000)]
re PR preprocessor/41067 (Inconsistency in warnings on invalid \-escapes)

PR preprocessor/41067:
* charset.c (convert_escape): Add missing ":" to error text.

From-SVN: r150854

15 years agoMakefile.am (libgcj_bc_la_LIBADD): Delete.
Andrew Haley [Mon, 17 Aug 2009 17:30:10 +0000 (17:30 +0000)]
Makefile.am (libgcj_bc_la_LIBADD): Delete.

2009-08-17  Andrew Haley  <aph@redhat.com>

        * Makefile.am (libgcj_bc_la_LIBADD): Delete.
        * libgcj.spec.in: (LIBGCJ_BC_SPEC): New spec.
        * configure.ac (LIBGCJ_BC_SPEC): New spec.

From-SVN: r150853

15 years ago* lib/target-supports.exp
Uros Bizjak [Mon, 17 Aug 2009 17:01:53 +0000 (19:01 +0200)]
* lib/target-supports.exp
(check_effective_target_vect_cmdline_needed):: Add alpha to the list
of targets that do not need command line argument to enable SIMD.

From-SVN: r150852

15 years agotarget-supports.exp (check_effective_target_mpc_pow): Fix typo in cache name.
Kaveh R. Ghazi [Mon, 17 Aug 2009 16:44:00 +0000 (16:44 +0000)]
target-supports.exp (check_effective_target_mpc_pow): Fix typo in cache name.

* lib/target-supports.exp (check_effective_target_mpc_pow): Fix
typo in cache name.

From-SVN: r150851

15 years agoalpha.c (vms_valid_pointer_mode): New function.
Douglas B Rupp [Mon, 17 Aug 2009 16:22:48 +0000 (16:22 +0000)]
alpha.c (vms_valid_pointer_mode): New function.

* config/alpha/alpha.c (vms_valid_pointer_mode): New function.
* config/alpha/vms.h (TARGET_VALID_POINTER_MODE): Define.

From-SVN: r150849

15 years agoinclhack.def (aix_complex): Redefine _Complex_I.
David Edelsohn [Mon, 17 Aug 2009 15:22:04 +0000 (15:22 +0000)]
inclhack.def (aix_complex): Redefine _Complex_I.

        * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
        redefine I.
        * (aix_stdint_[12345]): New fixes.
        * fixincl.x: Regenerate.
        * tests/base/complex.h: Update check.
        * tests/base/stdint.h: Add AIX stdint.h checks.

From-SVN: r150846

15 years agore PR fortran/41075 ([F2008] Implement unlimited format item)
Jerry DeLisle [Mon, 17 Aug 2009 14:40:40 +0000 (14:40 +0000)]
re PR fortran/41075 ([F2008] Implement unlimited format item)

2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/41075
* gfortran.dg/unlimited_fmt_1.f90: New test.

From-SVN: r150845

15 years agore PR fortran/41075 ([F2008] Implement unlimited format item)
Jerry DeLisle [Mon, 17 Aug 2009 14:27:29 +0000 (14:27 +0000)]
re PR fortran/41075 ([F2008] Implement unlimited format item)

2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/41075
* io/io.h (enum format_token): Add FMT_STAR.
* io/format.c (format_lex): Add case for FMT_STAR.
(parse_format_list): Parse FMT_STAR and check for left paren
after. (next_format0): Modify helper function to check for
unimited format and return the repeated format node.  Update
comments to clarify.

From-SVN: r150844

15 years agore PR fortran/41075 ([F2008] Implement unlimited format item)
Jerry DeLisle [Mon, 17 Aug 2009 14:25:38 +0000 (14:25 +0000)]
re PR fortran/41075 ([F2008] Implement unlimited format item)

2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/41075
* scanner.c (gfc_next_char_literal): Add comment to improve
readability.
* io.c (enum format_token): Add FMT_STAR. (format_lex): Add case
for '*'. (check_format): Check for left paren after '*'.  Change
format checks to use %L to improve format string error locus.

From-SVN: r150843

15 years agos-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant.
Aurelien Jarno [Mon, 17 Aug 2009 12:08:20 +0000 (12:08 +0000)]
s-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant.

* s-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant.
(stack_t): New record type.
(sigaltstack): New imported function.
(Alternate_Stack): New imported variable.
(Alternate_Stack_Size): New constant.

From-SVN: r150840

15 years agodecl.c (build_ptrmemfunc_type): Keep variant chain intact.
Richard Guenther [Mon, 17 Aug 2009 11:03:59 +0000 (11:03 +0000)]
decl.c (build_ptrmemfunc_type): Keep variant chain intact.

2009-08-16  Richard Guenther  <rguenther@suse.de>

* decl.c (build_ptrmemfunc_type): Keep variant chain intact.
Avoid useless copy.
(finish_enum): Keep variant chain intact.
* tree.c (cp_build_reference_type): Likewise.

From-SVN: r150839

15 years ago[multiple changes]
Arnaud Charlet [Mon, 17 Aug 2009 10:33:58 +0000 (12:33 +0200)]
[multiple changes]

2009-08-17  Vasiliy Fofanov  <fofanov@adacore.com>

* a-calend-vms.adb: Fix typo.

2009-08-17  Tristan Gingold  <gingold@adacore.com>

* s-taprop-posix.adb: Round up the stack size to avoid failure on
Darwin.

2009-08-17  Gary Dismukes  <dismukes@adacore.com>

* sem_cat.adb (Validate_Static_Object_Name): Update comment.

2009-08-17  Vincent Celier  <celier@adacore.com>

* make.adb (Arguments_Collected): Unneeded, removed
(Change_To_Object_Directory): Use Project directly. Add pragma Assert to
ensure caller does not pass in No_Project.
(Compile): Add new parameter Project. Let procedure
Collect_Arguments_And_Compile provide the proper value.

* switch-c.adb: Add documentation for -gnatea and -gnatez

2009-08-17  Ben Brosgol  <brosgol@adacore.com>

* gnat_ugn.texi: Changed name of package in SAL example, to avoid
clash with Ada 2005 reserved word (interface).

From-SVN: r150838

15 years agoa-crbtgk.adb, [...]: Minor code reorganization (use conditional expressions)
Robert Dewar [Mon, 17 Aug 2009 10:30:39 +0000 (10:30 +0000)]
a-crbtgk.adb, [...]: Minor code reorganization (use conditional expressions)

2009-08-17  Robert Dewar  <dewar@adacore.com>

* a-crbtgk.adb, a-crdlli.adb, a-direct.adb:
Minor code reorganization (use conditional expressions)

From-SVN: r150837

15 years agoMakefile.in, [...]: Regenerate.
Andrew Haley [Mon, 17 Aug 2009 10:29:59 +0000 (10:29 +0000)]
Makefile.in, [...]: Regenerate.

2009-08-17  Andrew Haley  <aph@redhat.com>

* Makefile.in,
include/Makefile.in,
testsuite/Makefile.in,
gcj/Makefile.in: Regenerate.

From-SVN: r150836

15 years agoUnbreak testsuite/gcc.dg/debug/dwarf2/inline2.c
Dodji Seketeli [Mon, 17 Aug 2009 10:18:16 +0000 (10:18 +0000)]
Unbreak testsuite/gcc.dg/debug/dwarf2/inline2.c

From-SVN: r150835

15 years agoa-caldel-vms.adb, [...]: Minor code reorganization (use conditional expressions).
Robert Dewar [Mon, 17 Aug 2009 10:09:55 +0000 (10:09 +0000)]
a-caldel-vms.adb, [...]: Minor code reorganization (use conditional expressions).

2009-08-17  Robert Dewar  <dewar@adacore.com>

* a-caldel-vms.adb, a-calend-vms.adb, a-calfor.adb, a-cdlili.adb,
a-chahan.adb, a-cidlli.adb, a-coinve.adb, a-comlin.adb: Minor code
reorganization (use conditional expressions).

From-SVN: r150834

15 years ago[multiple changes]
Arnaud Charlet [Mon, 17 Aug 2009 10:00:43 +0000 (12:00 +0200)]
[multiple changes]

2009-08-17  Robert Dewar  <dewar@adacore.com>

* tbuild.adb: Minor reformatting

2009-08-17  Thomas Quinot  <quinot@adacore.com>

* exp_ch4.adb (Exp_Ch4.Expand_N_Slice.Make_Temporary): Rename to
Make_Temporary_For_Slice to avoid confusion with Tbuild.Make_Temporary.
Use Tbuild.Make_Temporary to create entity for the temporary.

From-SVN: r150832

15 years agomake.adb: Add ??? comment.
Robert Dewar [Mon, 17 Aug 2009 09:59:04 +0000 (11:59 +0200)]
make.adb: Add ??? comment.

2009-08-17  Robert Dewar  <dewar@adacore.com>

* make.adb: Add ??? comment.
Code clean up.

From-SVN: r150831

15 years ago[multiple changes]
Arnaud Charlet [Mon, 17 Aug 2009 09:52:27 +0000 (11:52 +0200)]
[multiple changes]

2009-08-17  Thomas Quinot  <quinot@adacore.com>

* tbuild.adb: Minor reformatting

2009-08-17  Hristian Kirtchev  <kirtchev@adacore.com>

* sysdep.c (__gnat_localtime_tzoff): Complete previous change.

From-SVN: r150830

15 years agomake.adb (Process_Multilib, [...]): Refine previous change and ignore -mieee switch...
Arnaud Charlet [Mon, 17 Aug 2009 09:50:19 +0000 (11:50 +0200)]
make.adb (Process_Multilib, [...]): Refine previous change and ignore -mieee switch to avoid spawning an extra gcc...

2009-08-17  Arnaud Charlet  <charlet@adacore.com>

* make.adb (Process_Multilib, Scan_Make_Arg): Refine previous change
and ignore -mieee switch to avoid spawning an extra gcc in this case.

From-SVN: r150829

15 years ago[multiple changes]
Arnaud Charlet [Mon, 17 Aug 2009 09:45:27 +0000 (11:45 +0200)]
[multiple changes]

2009-08-17  Ed Schonberg  <schonberg@adacore.com>

* exp_ch3.adb (Build_Discriminant_Formals): If the discriminals already
exist, as is the case for synchronized types, use the type of the
discriminal in the parameter specification, to prevent a spurious
subtype mismatch in gigi.

2009-08-17  Robert Dewar  <dewar@adacore.com>

* prj-env.adb: Minor reformatting
* make.adb: Minor reformatting
Comment updates

2009-08-17  Javier Miranda  <miranda@adacore.com>

* exp_ch7.adb (Wrap_Transient_Expression): Update comments.

From-SVN: r150828

15 years ago2009-08-17 Emmanuel Briot <briot@adacore.com>
Emmanuel Briot [Mon, 17 Aug 2009 09:42:19 +0000 (11:42 +0200)]
2009-08-17  Emmanuel Briot  <briot@adacore.com>

* prj-part.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-conf.adb
(Processing_Flags.Require_Obj_Dirs): new field, which controls whether
object directories must be present. In the case of gprclean at least,
these are optional (if they do not exist there is nothing to clean)

From-SVN: r150827

15 years ago[multiple changes]
Arnaud Charlet [Mon, 17 Aug 2009 09:35:50 +0000 (11:35 +0200)]
[multiple changes]

2009-08-17  Robert Dewar  <dewar@adacore.com>

* prj-env.adb: Minor reformatting
* sem_ch3.adb: Minor reformatting

2009-08-17  Hristian Kirtchev  <kirtchev@adacore.com>

* sysdep.c (__gnat_localtime_tzoff): VxWorks case - Flip the sign of
the time zone since VxWorks chose positive values to represent west
time zones and negative for east zones.

From-SVN: r150826

15 years agoNew test.
Arnaud Charlet [Mon, 17 Aug 2009 09:30:32 +0000 (09:30 +0000)]
New test.

From-SVN: r150825

15 years ago[multiple changes]
Arnaud Charlet [Mon, 17 Aug 2009 09:28:48 +0000 (11:28 +0200)]
[multiple changes]

2009-08-17  Ed Schonberg  <schonberg@adacore.com>

* sem_ch3.adb (Access_Definition): Do not create an Itype reference for
an anonymous access type whose designated type is generic.

2009-08-17  Arnaud Charlet  <charlet@adacore.com>

* comperr.adb (Compiler_Abort): Do not generate a bug box when in
codepeer mode, friendlier.

From-SVN: r150824

15 years agore PR fortran/40877 (memory leaks with gfc_charlen?)
Janus Weil [Mon, 17 Aug 2009 09:11:00 +0000 (11:11 +0200)]
re PR fortran/40877 (memory leaks with gfc_charlen?)

2009-08-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40877
* array.c (gfc_resolve_character_array_constructor): Add NULL argument
to gfc_new_charlen.
* decl.c (add_init_expr_to_sym,variable_decl,match_char_spec,
gfc_match_implicit): Ditto.
* expr.c (simplify_const_ref): Fix memory leak.
(gfc_simplify_expr): Add NULL argument to gfc_new_charlen.
* gfortran.h (gfc_new_charlen): Modified prototype.
* iresolve.c (check_charlen_present,gfc_resolve_char_achar): Add NULL
argument to gfc_new_charlen.
* module.c (mio_charlen): Ditto.
* resolve.c (gfc_resolve_substring_charlen,
gfc_resolve_character_operator,fixup_charlen): Ditto.
(resolve_fl_derived,resolve_symbol): Add argument to gfc_charlen.
* symbol.c (gfc_new_charlen): Add argument 'old_cl' (to make a copy of
an existing charlen).
(gfc_set_default_type,generate_isocbinding_symbol): Fix memory leak.
(gfc_copy_formal_args_intr): Add NULL argument to gfc_new_charlen.
* trans-decl.c (create_function_arglist): Fix memory leak.

From-SVN: r150823

15 years ago* config.sub, config.guess: Update from upstream sources.
Ben Elliston [Mon, 17 Aug 2009 04:09:01 +0000 (04:09 +0000)]
* config.sub, config.guess: Update from upstream sources.

From-SVN: r150822

15 years agomips.exp: Add terminology section to comment at the top of the file.
Adam Nemet [Mon, 17 Aug 2009 01:34:14 +0000 (01:34 +0000)]
mips.exp: Add terminology section to comment at the top of the file.

* gcc.target/mips/mips.exp: Add terminology section to comment
at the top of the file.  Fix typos.

From-SVN: r150821

15 years agoDaily bump.
GCC Administrator [Mon, 17 Aug 2009 00:16:39 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r150820

15 years agotrans-expr.c (gfc_trans_scalar_assign): Replace hack with more proper hack.
Richard Guenther [Sun, 16 Aug 2009 22:36:13 +0000 (22:36 +0000)]
trans-expr.c (gfc_trans_scalar_assign): Replace hack with more proper hack.

2009-08-17  Richard Guenther  <rguenther@suse.de>

* trans-expr.c (gfc_trans_scalar_assign): Replace hack with
more proper hack.

From-SVN: r150817

15 years agoAdding the missing ".c".
H.J. Lu [Sun, 16 Aug 2009 20:07:14 +0000 (13:07 -0700)]
Adding the missing ".c".

From-SVN: r150811

15 years agoIdentical options to Alpha/VMS. Committed as obvious.
Douglas B Rupp [Sun, 16 Aug 2009 19:23:44 +0000 (19:23 +0000)]
Identical options to Alpha/VMS. Committed as obvious.

* doc/invoke.texi (Target options):
Add new option list for IA-64/VMS.
(menu): Add IA-64/VMS Options.
(IA-64/VMS Options): Likewise.

From-SVN: r150808

15 years agoMake TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL and VAR_DECL...
Jason Merrill [Sun, 16 Aug 2009 17:42:56 +0000 (13:42 -0400)]
Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL and VAR_DECL...

Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL
and VAR_DECL, so mark_used only has effect the first time.
* decl2.c (mark_used): Just return if TREE_USED is already set.
Don't set TREE_USED if cp_unevaluated_operand is set.
(tree_used_ok): New fn.
* init.c (build_offset_ref): Check it instead of TREE_USED.
* call.c (build_call_a): Likewise.
* cp-tree.h: Declare it.
(DECL_NO_LINKAGE_CHECKED): No longer needed.
(struct lang_decl_base): Remove no_linkage_checked bitfield.

From-SVN: r150807

15 years ago* decl2.c (finish_static_data_member_decl): Don't set TREE_USED.
Jason Merrill [Sun, 16 Aug 2009 17:42:48 +0000 (13:42 -0400)]
* decl2.c (finish_static_data_member_decl): Don't set TREE_USED.

From-SVN: r150806