uros [Tue, 25 Aug 2009 18:58:11 +0000 (18:58 +0000)]
* config/alpha/alpha.md (*cmpdf_ieee_ext[123]): Remove.
(*cmpdf_internal): Enable for all ALPHA_FPTM levels.
(*movdfcc_ext[1234]): Disable for IEEE mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151093
138bc75d-0d04-0410-961f-
82ee72b054a4
jb [Tue, 25 Aug 2009 18:24:25 +0000 (18:24 +0000)]
Fix ENCODE example in gfortran manual
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151091
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Tue, 25 Aug 2009 17:05:10 +0000 (17:05 +0000)]
2009-08-25 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/34670
* runtime/bounds.c (count_0): New function.
* intrinsics/unpack_generic (unpack_bounds): New function.
(unpack_internal): Remove zero stride checks.
(unpack1): Use unpack_bounds.
(unpack1_char): Likeweise.
(unpack1_char4): Likewise
(unpack0): Likewise.
(unpack0_char): Likewise.
(unpack0_char4): Likewise.
2009-08-25 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/34670
* gfortran.dg/unpack_bounds_1.f90: New test.
* gfortran.dg/unpack_bounds_2.f90: New test.
* gfortran.dg/unpack_bounds_3.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151085
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 25 Aug 2009 15:02:19 +0000 (15:02 +0000)]
* gimplify.c (prepare_gimple_addressable): New static function.
(gimplify_modify_expr_to_memcpy): Invoke it on the RHS before marking
it addressable.
(gimplify_addr_expr): Invoke it similarly on the operand instead of
manually fiddling with it.
ada/
* gcc-interface/trans.c (call_to_gnu): Tidy.
(gnat_to_gnu) <N_Slice>: Set TYPE_ARRAY_MAX_SIZE if the slice has
non-constant size but the array itself has constant size.
* gcc-interface/utils.c (convert_vms_descriptor64): Fix type
consistency error.
(convert_vms_descriptor32): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151082
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Tue, 25 Aug 2009 14:26:44 +0000 (14:26 +0000)]
2009-08-25 Janus Weil <janus@gcc.gnu.org>
PR fortran/41139
* primary.c (gfc_match_varspec): Make sure EXPR_PPC is only used for
calls to procedure pointer components, other references to procedure
pointer components are EXPR_VARIABLE.
* resolve.c (resolve_actual_arglist): Bugfix (there can be calls without
actual arglist).
* trans-expr.c (gfc_get_proc_ptr_comp): Renamed to 'get_proc_ptr_comp',
removed argument 'se' and made static. Avoid inserting a temporary
variable for calling the PPC.
(conv_function_val): Renamed gfc_get_proc_ptr_comp.
(gfc_conv_procedure_call): Distinguish functions returning a procedure
pointer from calls to a procedure pointer. Distinguish calls to
procedure pointer components from procedure pointer components as
actual arguments.
* trans-stmt.h (gfc_get_proc_ptr_comp): Make it static.
2009-08-25 Janus Weil <janus@gcc.gnu.org>
PR fortran/41139
* gfortran.dg/proc_ptr_25.f90: New.
* gfortran.dg/proc_ptr_comp_18.f90: New.
* gfortran.dg/proc_ptr_comp_19.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151081
138bc75d-0d04-0410-961f-
82ee72b054a4
matz [Tue, 25 Aug 2009 13:35:39 +0000 (13:35 +0000)]
* expr.h (jumpifnot_1, jumpif_1, do_jump_1): Declare.
* dojump.c (do_jump_by_parts_greater): Take two operands instead of
full expression.
(do_jump_by_parts_equality, do_compare_and_jump): Ditto.
(jumpifnot_1, jumpif_1): New wrappers for do_jump_1.
(do_jump): Split out code for simple binary comparisons into ...
(do_jump_1): ... this, taking the individual operands and code.
Change callers to helper function above accordingly.
* expr.c (expand_expr_real_1): Use jumpifnot_1 for simple binary
comparisons.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151080
138bc75d-0d04-0410-961f-
82ee72b054a4
matz [Tue, 25 Aug 2009 13:33:54 +0000 (13:33 +0000)]
* expr.h (struct separate_ops, sepops): New type for passing
around an exploded simple expression.
* optabs.c (expand_widen_pattern_expr, expand_vec_shift_expr):
Use this structure instead of expression tree.
(get_vcond_icode, expand_vec_cond_expr_p): Don't take whole
expression, only its type.
(expand_vec_cond_expr): Take type and individual operands instead
of full expression.
* optabs.h (expand_widen_pattern_expr, expand_vec_cond_expr,
expand_vec_shift_expr): Change prototype accordingly.
* tree-vect-stmts.c (vectorizable_condition): Change call of
expand_vec_cond_expr_p to pass only type.
* expr.c (do_store_flags): Change prototype and implementation
to take an exploded expression.
(expand_expr_real_1): New local ops initialized with details
of the full expression. Use it instead of full
expression in calls to do_store_flags, expand_vec_cond_expr,
expand_widen_pattern_expr and expand_vec_shift_expr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151079
138bc75d-0d04-0410-961f-
82ee72b054a4
matz [Tue, 25 Aug 2009 13:31:56 +0000 (13:31 +0000)]
* expr.c (expand_expr_real_1): New local treeop0, treeop1,
treeop2 initialized with first three operands of the full expression.
Substitute all TREE_OPERAND (exp, [012]) calls with them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151078
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Tue, 25 Aug 2009 10:32:38 +0000 (10:32 +0000)]
2009-08-25 Kai Tietz <kai.tietz@onevision.com>
* gcc/gthr-win32.h (__UNUSED_PARAM): Define, if not already present.
(__gthread_objc_condition_allocate): Mark arguments as unused.
(__gthread_objc_condition_deallocate): Likewise.
(__gthread_objc_condition_wait): Likewise.
(__gthread_objc_condition_broadcast): Likewise.
(__gthread_objc_condition_signal): Likewise.
(__gthread_objc_thread_detach): Cast via INT_PTR to pointer.
(__gthread_objc_thread_id): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151077
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Tue, 25 Aug 2009 09:35:41 +0000 (09:35 +0000)]
2009-08-25 Janus Weil <janus@gcc.gnu.org>
PR middle-end/41149
* tree-pretty-print.c (print_call_name): Print the correct call name
for procedure pointer components.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151075
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Tue, 25 Aug 2009 05:22:14 +0000 (05:22 +0000)]
2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/41162
* io.c (check_format): Fix to not error on slash after P. Fix some
error loci.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151074
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Tue, 25 Aug 2009 01:47:23 +0000 (01:47 +0000)]
2009-08-24 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/41157
* dtime.c (dtime_sub): Fix computing time increment.
* time_1.h: Add <sys/types.h> header. Use RUSAGE_SELF macro instead
of a hardcoded 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151072
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Tue, 25 Aug 2009 01:14:13 +0000 (01:14 +0000)]
2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/41154
* gfortran.dg/fmt_error_8.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151071
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Tue, 25 Aug 2009 01:05:11 +0000 (01:05 +0000)]
2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/41154
* io.c (check_format): Fix to not error on right paren after P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151070
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 25 Aug 2009 00:27:52 +0000 (00:27 +0000)]
fortran/
PR fortran/40660
* trans-io.c (build_dt): Pass UNKNOWN_LOCATION to build_call_expr_loc.
(transfer_array_desc): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151069
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 25 Aug 2009 00:16:47 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151068
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 24 Aug 2009 22:54:25 +0000 (22:54 +0000)]
* gcc.dg/torture/builtin-math-6.c (link_error): Accept a value
number, update all callers and synchronize results for latest MPC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151065
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Mon, 24 Aug 2009 21:35:16 +0000 (21:35 +0000)]
2009-08-24 Steve Ellcey <sje@cup.hp.com>
* config/ia64/ia64.c (ia64_promote_function_mode): Call
default_promote_function_mode when not VMS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151064
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Aug 2009 21:32:24 +0000 (21:32 +0000)]
* cp-tree.h (DECL_DEFERRED_FN): Remove.
(struct lang_decl_fn): Remove deferred flag.
* class.c (build_clone): Don't set it.
* decl2.c (note_vague_linkage_fn): Don't check or set it.
(mark_used): Don't check it.
* method.c (make_thunk, make_alias_for): Don't set it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151063
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Aug 2009 21:32:12 +0000 (21:32 +0000)]
* decl2.c (mark_used): Streamline logic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151062
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Aug 2009 21:31:54 +0000 (21:31 +0000)]
PR c++/41109
PR c++/41110
PR c++/41134
* cp-tree.h (DECL_ODR_USED): New macro.
(struct lang_decl_base): Add odr_used flag.
* decl.c (duplicate_decls): Propagate it. Use it for error.
* pt.c (register_specialization): Use it for error.
* decl2.c (mark_used): Use it as gating flag rather than TREE_USED.
(cp_write_global_declarations): Use it for error.
(tree_used_ok): Remove.
* cp-tree.h: Remove tree_used_ok.
* call.c (build_call_a): Don't call it.
* init.c (build_offset_ref): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151061
138bc75d-0d04-0410-961f-
82ee72b054a4
hainque [Mon, 24 Aug 2009 21:23:22 +0000 (21:23 +0000)]
* convert.c (convert_to_integer): Don't assume an input pointer is
POINTER_SIZE wide. Fetch from the type instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151060
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Mon, 24 Aug 2009 19:08:51 +0000 (19:08 +0000)]
Update AC_PREREQ entries to 2.64
/:
* configure.ac (AC_PREREQ): Bump to 2.64.
intl/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libdecnumber/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libiberty/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libjava/classpath/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libjava/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libjava/libltdl/:
* configure.ac (AC_PREREQ): Bump to 2.64. Remove FIXME.
libssp/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libobjc/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libstdc++-v3/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libada/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libgcc/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libgfortran/:
* configure.ac (AC_PREREQ): Bump to 2.64.
boehm-gc/:
* configure.ac (AC_PREREQ): Bump to 2.64.
gnattools/:
* configure.ac (AC_PREREQ): Bump to 2.64.
gcc/:
* configure.ac (AC_PREREQ): Bump to 2.64.
fixincludes/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libmudflap/:
* configure.ac (AC_PREREQ): Bump to 2.64.
zlib/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libffi/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libcpp/:
* configure.ac (AC_PREREQ): Bump to 2.64.
libgomp/:
* configure.ac (AC_PREREQ): Bump to 2.64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151059
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 24 Aug 2009 14:07:34 +0000 (14:07 +0000)]
2009-08-24 Chris Jefferson <chris@bubblescope.net>
* include/stl_algo.h (__unguarded_partition_pivot,
__move_median_first): New.
(__insertion_sort, __unguarded_insertion_sort): Adjust for move-only
types.
(__unguarded_linear_insert): Assume always inserting value at __last.
(__unguarded_partition): Take pivot by reference.
(__introsort_loop, __introselect) : Use __unguarded_partition_pivot.
* testsuite/25_algorithms/nth_element/moveable.cc : Enable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151055
138bc75d-0d04-0410-961f-
82ee72b054a4
espindola [Mon, 24 Aug 2009 14:02:21 +0000 (14:02 +0000)]
2009-08-24 Rafael Avila de Espindola <espindola@google.com>
* gcc.c (standard_exec_prefix_1,standard_exec_prefix_2): Remove.
(process_command): Don't search standard_exec_prefix_1 and
standard_exec_prefix_2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151054
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [Mon, 24 Aug 2009 10:00:09 +0000 (10:00 +0000)]
Unified syntax fixes.
2009-08-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/arm.c (output_return_instruction): Handle for
unified syntax.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151053
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [Mon, 24 Aug 2009 09:03:35 +0000 (09:03 +0000)]
combine cmps with shifts
2009-08-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* gcc.target/arm/combine-cmp-shift.c: New test.
2009-08-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/arm.c (arm_select_cc_mode): Handle subreg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151050
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [Mon, 24 Aug 2009 08:59:38 +0000 (08:59 +0000)]
set predicable attributes.
2009-08-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/vfp.md (*arm_movdi_vfp): Mark as predicable.
(*arm_movdf_vfp): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151049
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [Mon, 24 Aug 2009 08:52:50 +0000 (08:52 +0000)]
Fix Neon ICE.
2009-08-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/neon.md (vashl<mode>3): Rename from ashl<mode>3.
(vashr<mode>3): Rename from ashr<mode>3.
(vlshr<mode>3): Rename from lshr<mode>3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151048
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Mon, 24 Aug 2009 06:17:33 +0000 (06:17 +0000)]
Changelog gcc/
2009-08-24 Kai Tietz <kai.tietz@onevision.com>
PR/40786
* c-format.c (format_wanted_type): Add new member scalar_identity_flag.
(check_format_info_main): Use scalar_identify_flag.
(check_format_types): Check for scalar size identity if
scalar_identify_flag is set.
(printf_length_specs): Extend by new field.
(asm_fprintf_length_specs): Likewise.
(gcc_diag_length_specs): Likewise.
(scanf_length_specs): Likewise.
(strfmon_length_specs): Likewise.
(gcc_gfc_length_specs): Likewise.
* config/i386/msformat-c.c (ms_printf_length_specs): Likewise.
(ms_printf_flag_specs): Likewise.
* c-format.h (format_length_info): Add new member scalar_identity_flag.
Changelog gcc/testsuite
2009-08-24 Kai Tietz <kai.tietz@onevision.com>
*gcc.dg/format/ms-format1.c: Add new cases for I32
width specifier.
*gcc.dg/format/ms-format2.c: New test about illegal
use of I32/I64 width specifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151047
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 24 Aug 2009 04:41:51 +0000 (04:41 +0000)]
2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/35754
* io.c (check_format): Add checks for comma and the allowed
format specifiers after the 'P' specifier. Fix typo in error message
and adjust locus.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151045
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 24 Aug 2009 03:46:18 +0000 (03:46 +0000)]
2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/fmt_error_7.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151044
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 24 Aug 2009 03:41:56 +0000 (03:41 +0000)]
2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/37446
* io.c (enum format_token): Change FMT_EXT to FMT_EN and FMT_ES.
(format_lex): Likewise.
(token_to_string): New function.
(check_format): Use the new tokens and the new function. Add
check for positive width.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151043
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 24 Aug 2009 00:17:00 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151042
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sun, 23 Aug 2009 19:10:25 +0000 (19:10 +0000)]
2009-08-23 Steven G. Kargl <kargl@gcc.gnu.org>
* intrinsics/cshift0.c: Update license to GPL3+exception.
* runtime/fpu.c: Add a GPL3+exception statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151038
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sun, 23 Aug 2009 19:05:09 +0000 (19:05 +0000)]
2009-08-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10536
* Makefile.in (install-html-recursive): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151037
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sun, 23 Aug 2009 18:13:56 +0000 (18:13 +0000)]
Correct the ChangeLog entry where Paul Thomas was not included.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151036
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sun, 23 Aug 2009 17:54:26 +0000 (17:54 +0000)]
2009-08-23 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.texi: Document the ERRMSG, SOURCE, and type-spec
F2003 features are implemented.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151035
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 23 Aug 2009 12:45:45 +0000 (12:45 +0000)]
* config/i386/i386.md (*sibcall_value_pop_1): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151031
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 23 Aug 2009 12:14:26 +0000 (12:14 +0000)]
PR target/40718
* config/i386/i386.c (*call_pop_1): Disable for sibling calls.
(*call_value_pop_1): Ditto.
(*sibcall_pop_1): New insn pattern.
(*sibcall_value_pop_1): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151029
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 23 Aug 2009 09:46:00 +0000 (09:46 +0000)]
PR target/40718
* config/i386/i386.c (*call_pop_1): Disable for sibling calls.
(*sibcall_pop_1): New insn pattern.
testsuite/ChangeLog:
PR target/40718
* gcc.target/i386/pr40718.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151028
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Sun, 23 Aug 2009 07:28:35 +0000 (07:28 +0000)]
Fix placement of LIBTOOLFLAGS variable in v3 makefile.am.
libstdc++-v3/:
* libsupc++/Makefile.am (LTCOMPILE): Expand $(LIBTOOLFLAGS)
before --mode argument.
* libsupc++/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151027
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sun, 23 Aug 2009 04:58:31 +0000 (04:58 +0000)]
2009-08-22 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/proc_ptr_24.f90: New test.
2009-08-22 Steven G. Kargl <kargl@gcc.gnu.org>
* fortran/decl.c: Disallow procedure pointers with -std=f95.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151026
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sun, 23 Aug 2009 03:53:02 +0000 (03:53 +0000)]
PR target/41081
* config/rs6000/rs6000.md (rotlsi3_64, ashlsi3_64, lshrsi3_64,
ashrsi3_64): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151025
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sun, 23 Aug 2009 03:19:55 +0000 (03:19 +0000)]
2009-08-22 Steven K. kargl <kargl@gcc.gnu.org>
* gfortran.dg/allocate_alloc_opt_4.f90: New test.
* gfortran.dg/allocate_alloc_opt_5.f90: New test.
* gfortran.dg/allocate_alloc_opt_6.f90: New test.
2009-08-22 Steven K. kargl <kargl@gcc.gnu.org>
* fortran/decl.c (match_char_spec): Rename to gfc_match_char_spec,
and remove static.
* fortran/gfortran.h: Add *expr3 entity to gfc_code. Add prototype
for gfc_match_char_spec.
* fortran/trans-stmt.c (gfc_trans_allocate): Translate the SOURCE=
tag.
* fortran/match.c (match_intrinsic_typespec): New function to match
F2003 intrinsic-type-spec.
(conformable_arrays): New function. Check SOURCE= and
allocation-object are conformable.
(gfc_match_allocate): Use new functions. Match SOURCE= tag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151023
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sun, 23 Aug 2009 02:57:26 +0000 (02:57 +0000)]
PR target/41081
* fwprop.c (try_fwprop_subst): Allow multiple sets.
(get_reg_use_in): New function.
(forward_propagate_subreg): Propagate through subreg of zero_extend
or sign_extend.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151022
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Sun, 23 Aug 2009 02:19:59 +0000 (02:19 +0000)]
2009-08-22 Bud Davis <bdavis9659@sbcglobal.net>
PR fortran/28093
* io.c : added variable to store original len of fmt
* io.c (check_format): Consume H items using next_char
in both modes to handle consecutive single quotes.
Test for extra characters in fmt, issue warning.
2009-08-22 Bud Davis <bdavis9659@sbcglobal.net>
PR fortran/28039
* gfortran.dg/fmt_with_extra.f: new file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151021
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 23 Aug 2009 00:16:59 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151020
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Sat, 22 Aug 2009 21:43:07 +0000 (21:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151017
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151015
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151014
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151013
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151012
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Sat, 22 Aug 2009 11:39:45 +0000 (11:39 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151011
138bc75d-0d04-0410-961f-
82ee72b054a4
rupp [Sat, 22 Aug 2009 02:50:30 +0000 (02:50 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151009
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 22 Aug 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151008
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 21 Aug 2009 23:56:20 +0000 (23:56 +0000)]
Fix typo in ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151005
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 21 Aug 2009 23:14:32 +0000 (23:14 +0000)]
Fix 40671, 41145
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151004
138bc75d-0d04-0410-961f-
82ee72b054a4
macro [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151003
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 21 Aug 2009 18:39:58 +0000 (18:39 +0000)]
* config/rs6000/rs6000.c (rs6000_init_builtins): Fix type of
__vector double TYPE_DECL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150998
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 21 Aug 2009 17:15:58 +0000 (17:15 +0000)]
* gfortran.dg/boz_9.f90: Do not generate denormal floating
point numbers. Remove -mieee option for alpha*-*-* targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150992
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 21 Aug 2009 16:13:37 +0000 (16:13 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150990
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Fri, 21 Aug 2009 09:43:04 +0000 (09:43 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150987
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 21 Aug 2009 07:08:15 +0000 (07:08 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150985
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 21 Aug 2009 06:01:23 +0000 (06:01 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150984
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Fri, 21 Aug 2009 03:27:21 +0000 (03:27 +0000)]
* gfortran.dg/common_5.f: Add -mdalign for sh.
* gfortran.dg/common_align_2.f90: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150983
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 21 Aug 2009 00:17:11 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150982
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 20 Aug 2009 21:45:46 +0000 (21:45 +0000)]
2009-08-20 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/30_threads/packaged_task/requirements/typedefs.cc: Add
missing dg-require directives.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150977
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Thu, 20 Aug 2009 20:16:15 +0000 (20:16 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150974
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Thu, 20 Aug 2009 18:47:51 +0000 (18:47 +0000)]
* trans-stmt.c (gfc_trans_do): Add a few missing folds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150969
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Thu, 20 Aug 2009 16:22:43 +0000 (16:22 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150967
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 20 Aug 2009 16:11:37 +0000 (16:11 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150966
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 20 Aug 2009 15:19:16 +0000 (15:19 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150965
138bc75d-0d04-0410-961f-
82ee72b054a4
matz [Thu, 20 Aug 2009 14:25:36 +0000 (14:25 +0000)]
fortran/
* trans-expr.c (gfc_conv_string_tmp): Check type compatibility
instead of equality.
testsuite/
* gfortran.dg/pr41126.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150964
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 20 Aug 2009 14:04:30 +0000 (14:04 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150963
138bc75d-0d04-0410-961f-
82ee72b054a4
davek [Thu, 20 Aug 2009 11:11:34 +0000 (11:11 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150960
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 20 Aug 2009 10:40:44 +0000 (10:40 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150959
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 20 Aug 2009 09:45:03 +0000 (09:45 +0000)]
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().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150958
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Thu, 20 Aug 2009 09:33:01 +0000 (09:33 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150957
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Thu, 20 Aug 2009 09:21:13 +0000 (09:21 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150955
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Thu, 20 Aug 2009 09:19:53 +0000 (09:19 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150954
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150953
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Thu, 20 Aug 2009 01:36:11 +0000 (01:36 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150951
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 20 Aug 2009 00:16:42 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150950
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 19 Aug 2009 22:51:20 +0000 (22:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150946
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150945
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150944
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 19 Aug 2009 18:53:57 +0000 (18:53 +0000)]
* doc/invoke.texi (C++ Dialect Options): Note change of minimum
supported template depth in C++0x.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150941
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 19 Aug 2009 18:24:13 +0000 (18:24 +0000)]
tweak comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150940
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 19 Aug 2009 17:14:33 +0000 (17:14 +0000)]
PR c++/41119
PR c++/41120
* decl2.c (mark_used): Increment function_depth during synthesis.
* parser.c (cp_parser_default_argument): Not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150939
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 19 Aug 2009 15:27:48 +0000 (15:27 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150938
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 19 Aug 2009 15:21:16 +0000 (15:21 +0000)]
* doc/md.texi (Insn Canonicalizations): Correct canonicalization
of (plus (mult (neg B) C) A).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150937
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150936
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150934
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Wed, 19 Aug 2009 06:38:29 +0000 (06:38 +0000)]
2009-08-19 Tobias Burnus <burnus@net-b.de>
PR fortran/41102
omp_lib.h.in: Fix -std=f95 errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150931
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 19 Aug 2009 01:40:24 +0000 (01:40 +0000)]
* lib/wrapper.exp: Move load of target-libpath.exp from here...
* lib/gcc-defs.exp: ... to here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150929
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 19 Aug 2009 00:17:03 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150925
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 18 Aug 2009 19:44:04 +0000 (19:44 +0000)]
* compare-debug: Drop .eh_frame relocations too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150901
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 18 Aug 2009 19:40:48 +0000 (19:40 +0000)]
2009-08-18 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/40704
* test_summary: Filter out "\r".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150898
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Tue, 18 Aug 2009 18:36:58 +0000 (18:36 +0000)]
* lib/wrapper.exp (${tool}_maybe_build_wrapper): Set up
GCC_EXEC_PREFIX before building the wrapper.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150889
138bc75d-0d04-0410-961f-
82ee72b054a4