Merged revisions 125936-126003 via svnmerge from
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r125936 | gccadmin | 2007-06-21 17:16:59 -0700 (Thu, 21 Jun 2007) | 1 line
Daily bump.
........
r125938 | jvdelisle | 2007-06-21 18:50:09 -0700 (Thu, 21 Jun 2007) | 9 lines
2007-06-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* resolve.c (gfc_resolve_iterator_expr): Add check for REAL using
gfc_notify_standard. (gfc_resolve_iterator): Remove check.
(resolve_branch): Change "Obsolete" to "Deleted feature".
* io.c (resolve_tag): Ditto.
* match.c (gfc_match_pause, gfc_match_assign, gfc_match_goto): Ditto.
........
r125939 | jvdelisle | 2007-06-21 18:54:27 -0700 (Thu, 21 Jun 2007) | 11 lines
2007-06-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/assign.f90: Update test.
* gfortran.dg/real_do_1.f90: Update test.
* gfortran.dg/gomp/omp_do1.f90: Update test.
* gfortran.dg/warnings_are_errors_1.f: Update test.
* gfortran.dg/g77/
20010519-1.f: Update test.
* gfortran.dg/g77/pr9258.f: Update test.
* gfortran.dg/g77/960317-1.f: Update test.
........
r125940 | zippel | 2007-06-21 19:55:07 -0700 (Thu, 21 Jun 2007) | 4 lines
* df-scan.c (df_read_modify_subreg_p): Use REGMODE_NATURAL_SIZE.
(df_def_record_1): Set (DF_REF_READ_WRITE | DF_REF_PARTIAL) for
partial register accesses.
........
r125941 | daney | 2007-06-21 21:46:08 -0700 (Thu, 21 Jun 2007) | 6 lines
* config/mips/mips.md (define_constants): Rename UNSPEC_EH_RECEIVER
to UNSPEC_NONLOCAL_GOTO_RECEIVER globally.
(exception_receiver): Renamed to ...
(nonlocal_goto_receiver): ... this.
........
r125942 | daney | 2007-06-21 21:50:50 -0700 (Thu, 21 Jun 2007) | 2 lines
Fix PR number from last commit 32046->32406.
........
r125948 | uros | 2007-06-22 05:56:37 -0700 (Fri, 22 Jun 2007) | 4 lines
* config/i386/i386.c (override_options): Correct x86_sahf
setting condition.
........
r125949 | jvdelisle | 2007-06-22 09:21:23 -0700 (Fri, 22 Jun 2007) | 6 lines
2007-06-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* expr.c (gfc_check_assign): If the rvalue expression type is NULL_EXPR,
check to see if the lvalue has attribute pointer and data.
........
r125950 | jvdelisle | 2007-06-22 09:23:55 -0700 (Fri, 22 Jun 2007) | 5 lines
2007-06-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/pointer_assign_3.f90: New test.
........
r125951 | uros | 2007-06-22 10:51:06 -0700 (Fri, 22 Jun 2007) | 6 lines
* config/i386/i386.c (ix86_register_move_cost): Rise the cost of
moves between MMX/SSE registers to at least 8 units to prevent
ICE caused by non-tieable SI/HI/QImodes in SSE registers.
........
r125954 | dfranke | 2007-06-22 11:33:35 -0700 (Fri, 22 Jun 2007) | 7 lines
2007-06-22 Daniel Franke <franke.daniel@gmail.com>
* symbol.c (gfc_copy_attr): Emit errors for duplicate
EXTERNAL/INTRINSIC statements.
........
r125955 | uros | 2007-06-22 11:51:28 -0700 (Fri, 22 Jun 2007) | 9 lines
* expr.c (store_constructor): Do not clobber non-zeroed memory.
testsuite/ChangeLog:
* gcc.dg/pr32374.c: New test.
........
r125956 | uros | 2007-06-22 12:39:02 -0700 (Fri, 22 Jun 2007) | 4 lines
* gcc.target/i386/large-size-array-3.c: Fix dg-do compile directive.
Remove -m64 from dg-options.
........
r125957 | jakub | 2007-06-22 13:06:35 -0700 (Fri, 22 Jun 2007) | 3 lines
* pthread_support.c (GC_get_thread_stack_base): Handle
pthread_getattr_np failures.
........
r125962 | gccadmin | 2007-06-22 17:16:59 -0700 (Fri, 22 Jun 2007) | 1 line
Daily bump.
........
r125971 | hubicka | 2007-06-23 04:58:18 -0700 (Sat, 23 Jun 2007) | 7 lines
* gimplify.c (mark_addressable): New function.
(gimplify_modify_expr_rhs, gimplify_addr_expr, gimplify_expr): Use it.
* gcc.c-torture/compile/pr31541.c: New.
........
r125972 | zadeck | 2007-06-23 09:21:43 -0700 (Sat, 23 Jun 2007) | 8 lines
2007-06-23 Kenneth Zadeck <zadeck@naturalbridge.com>
*dce.c (deletable_insn_p): Add extra parameter and recurse if insn
is a PARALLEL.
(prescan_insns_for_dce): Add extra parameter.
........
r125973 | rearnsha | 2007-06-23 11:07:04 -0700 (Sat, 23 Jun 2007) | 4 lines
* arm.md (negscc): Match the correct operand for optimized LT0 test.
Remove optimization for GT.
*gcc.c-torture/execute/
20070623-1.c: New.
........
r125974 | rguenth | 2007-06-23 11:17:57 -0700 (Sat, 23 Jun 2007) | 35 lines
2007-06-23 Richard Guenther <rguenther@suse.de>
* tree.h (CALL_CANNOT_INLINE_P): New macro to access static_flag
for CALL_EXPRs.
* tree-inline.c (initialize_inlined_parameters): Do not call
lang_hooks.tree_inlining.convert_parm_for_inlining.
* cgraphbuild.c (initialize_inline_failed): Set inline failed
reason for mismatched types.
* gimplify.c (gimplify_call_expr): Verify the call expression
arguments match the called function type signature. Otherwise
mark the call expression to be not considered for inlining
using CALL_CANNOT_INLINE_P flag.
* ipa-inline.c (cgraph_mark_inline): Honor CALL_CANNOT_INLINE_P on the
edges call expression.
(cgraph_decide_inlining_of_small_function): Likewise.
(cgraph_decide_inlining): Likewise.
* c-objc-common.h (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
Remove define.
* c-tree.h (c_convert_parm_for_inlining): Remove declaration.
* c-typeck.c (c_convert_parm_for_inlining): Remove.
* langhooks-def.h (lhd_tree_inlining_convert_parm_for_inlining):
Remove declaration.
(LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): Remove define.
* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining):
Remove.
* langhooks.h (struct lang_hooks_for_tree_inlining): Remove
convert_parm_for_inlining member.
* gcc.dg/pr29254.c: The warning is bogus.
* gcc.dg/warn-1.c: Likewise.
* gcc.dg/assign-warn-3.c: Likewise.
* gcc.dg/noncompile/pr16876.c: The testcase is bogus, remove.
........
r125975 | mmitchel | 2007-06-23 12:17:04 -0700 (Sat, 23 Jun 2007) | 23 lines
2007-06-23 Mark Mitchell <mark@codesourcery.com>
* doc/extend.texi: Document that dllimport and dllexport imply
default visibility.
* tree.c (handle_dll_attribute): Set DECL_VISIBILITY on the
imported or exported declaration, including type declarations.
* c-common.c (handle_visibility_attribute): Check for conflicts
with dllimport/dllexport.
(c_determine_visibility): Handle dllimport/dllexport as an
explicit visibility atttribute.
2007-06-23 Mark Mitchell <mark@codesourcery.com>
* decl2.c (determine_visibility): Don't look for dllexport here.
(determine_visibility_from_class): Tidy.
2007-06-23 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/visibility-12.c: New test.
* gcc.dg/visibility-13.c: Likewise.
* g++.dg/ext/visibility-9.C: Likewise.
* g++.dg/ext/visibility-10.C: Likewise.
........
r125980 | gccadmin | 2007-06-23 17:16:55 -0700 (Sat, 23 Jun 2007) | 1 line
Daily bump.
........
r125983 | pault | 2007-06-24 04:04:02 -0700 (Sun, 24 Jun 2007) | 19 lines
2007-06-24 Paul Thomas <pault@gcc.gnu.org>
* trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): Calculate
the offset between the loop counter and the position as
defined. Add the offset within the loop so that the mask acts
correctly. Do not advance the location on the basis that it
is zero.
2007-06-24 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/minmaxloc_1.f90: New test.
* gfortran.dg/minmaxloc_2.f90: New test.
........
r125984 | burnus | 2007-06-24 09:19:11 -0700 (Sun, 24 Jun 2007) | 17 lines
2007-06-24 Tobias Burnus <burnus@net-de>
* interface.c (gfc_compare_derived_types): Add access check.
* symbol.c (gfc_find_component): Ditto.
(gfc_set_component_attr,gfc_get_component_attr) Copy access state.
* dump-parse-tree.c (gfc_show_components): Dump access state.
* gfortran.h (struct gfc_component): Add gfc_access.
* module.c (mio_component): Add access state.
* (gfc_match_structure_constructor): Check for private access state.
2007-06-24 Tobias Burnus <burnus@net-de>
* gfortran.dg/private_type_6.f90: New.
........
r125985 | jvdelisle | 2007-06-24 11:54:50 -0700 (Sun, 24 Jun 2007) | 6 lines
2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* io/write.c (output_float): Calculate ndigits correctly for large
numbered formats that must pad zeros before the decimal point.
........
r125986 | jvdelisle | 2007-06-24 11:58:36 -0700 (Sun, 24 Jun 2007) | 5 lines
2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/fmt_huge.f90: New test.
........
r125987 | pault | 2007-06-24 12:24:02 -0700 (Sun, 24 Jun 2007) | 5 lines
2007-06-24 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/pr32136.f90: New test.
........
r125988 | spop | 2007-06-24 13:59:02 -0700 (Sun, 24 Jun 2007) | 7 lines
* fold-const.c (fold_binary): Strip nops of operand 0
of BIT_NOT_EXPR before calling operand_equal_p.
* testsuite/gcc.dg/tree-ssa/pr32461-1.c: New.
* testsuite/gcc.dg/tree-ssa/pr32461-2.c: New.
........
r125989 | jvdelisle | 2007-06-24 15:56:21 -0700 (Sun, 24 Jun 2007) | 11 lines
2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* runtime/error.c (show_locus): Update to emit the unit number
and file name involved with the error. Use new function
filename_from_unit.
* libgfortran.h (filename_from_unit): Declare new function.
* io/unit.c (init_units): Set the unit file name for stdin, stdout,
and stderr for use later in error reporting.
(filename_from_unit): Add this new function.
........
r125990 | jvdelisle | 2007-06-24 16:03:29 -0700 (Sun, 24 Jun 2007) | 5 lines
2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/error_format.f90: New test.
........
r125991 | hubicka | 2007-06-24 16:24:10 -0700 (Sun, 24 Jun 2007) | 3 lines
* cgraphunit.c (cgraph_analyze_function): Fix ordering problem.
........
r125994 | gccadmin | 2007-06-24 17:16:54 -0700 (Sun, 24 Jun 2007) | 1 line
Daily bump.
........
r125996 | jvdelisle | 2007-06-24 19:48:14 -0700 (Sun, 24 Jun 2007) | 5 lines
2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/secnds-1.f: Revise test to reduce random errors.
........
r125997 | jvdelisle | 2007-06-24 19:53:48 -0700 (Sun, 24 Jun 2007) | 2 lines
Fix change log, removing erroneous PR number
........
r125998 | nemet | 2007-06-25 10:21:46 -0700 (Mon, 25 Jun 2007) | 4 lines
* runtime/backtrace.c (local_strcasestr): Rename from strcasestr.
(show_backtrace): Rename strcasestr to local_strcasestr.
........
r126000 | pault | 2007-06-25 11:27:59 -0700 (Mon, 25 Jun 2007) | 21 lines
2007-06-25 Paul Thomas <pault@gcc.gnu.org>
* resolve.c (check_host_association): Return if the old symbol
is use associated. Introduce retval to reduce the number of
evaluations of the first-order return value.
* match.c (gfc_match_call): If a host associated symbol is not
a subroutine, build a new symtree/symbol in the current name
space.
2007-06-25 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/host_assoc_function_2.f90: New test.
* gfortran.dg/host_assoc_call_1.f90: New test.
........
r126001 | zippel | 2007-06-25 11:43:50 -0700 (Mon, 25 Jun 2007) | 10 lines
* config/m68k/m68k.h (DATA_REGNO_P, ADDRESS_REGNO_P, INT_REGNO_P,
FP_REGNO_P): Use IN_RANGE.
(REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
(REGNO_OK_FOR_INDEX_NONSTRICT_P, REGNO_OK_FOR_BASE_NONSTRICT_P): New.
(DATA_REG_P): Use DATA_REGNO_P.
(FP_REG_P): Use FP_REGNO_P.
(ADDRESS_REG_P): Use ADDRESS_REGNO_P.
* config/m68k/m68k.c (m68k_legitimate_base_reg_p): Use
REGNO_OK_FOR_INDEX_NONSTRICT_P, REGNO_OK_FOR_BASE_NONSTRICT_P.
........
r126002 | froydnj | 2007-06-25 12:15:08 -0700 (Mon, 25 Jun 2007) | 3 lines
* config/rs6000/spe.md (*frob_ti_tf_2): Specify an input_operand
as the source of the set.
........
r126003 | tbm | 2007-06-25 14:15:48 -0700 (Mon, 25 Jun 2007) | 2 lines
add myself to MAINTAINERS under Write After Approval.
........
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/fixed-point@126005 138bc75d-0d04-0410-961f-82ee72b054a4