- 20 Aug, 2009 16 commits
-
-
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
Thomas Koenig committed -
From-SVN: r150969
Tobias Schlüter committed -
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
Matt Rice committed -
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
Richard Guenther committed -
* 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
Eric Botcazou committed -
fortran/ * trans-expr.c (gfc_conv_string_tmp): Check type compatibility instead of equality. testsuite/ * gfortran.dg/pr41126.f90: New test. From-SVN: r150964
Michael Matz committed -
* 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
Eric Botcazou committed -
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
Dave Korn committed -
* 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
Uros Bizjak committed -
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
Edward Smith-Rowland committed -
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
Janus Weil committed -
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
Andreas Krebbel committed -
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
Andreas Krebbel committed -
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
Ramana Radhakrishnan committed -
* 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
John David Anglin committed -
From-SVN: r150950
GCC Administrator committed
-
- 19 Aug, 2009 13 commits
-
-
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
Jakub Jelinek committed -
/: * 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
Ralf Wildenhues committed -
/: * Makefile.def (configure-target-libiberty): Depend on all-binutils and all-ld. (configure-target-newlib): Likewise. * Makefile.in: Regenerate. From-SVN: r150944
Ralf Wildenhues committed -
* doc/invoke.texi (C++ Dialect Options): Note change of minimum supported template depth in C++0x. From-SVN: r150941
Jason Merrill committed -
From-SVN: r150940
Jason Merrill committed -
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
Jason Merrill committed -
* 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
Jakub Jelinek committed -
* doc/md.texi (Insn Canonicalizations): Correct canonicalization of (plus (mult (neg B) C) A). From-SVN: r150937
Ian Lance Taylor committed -
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
Michael Matz committed -
* 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
Michael Matz committed -
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
Tobias Burnus committed -
* lib/wrapper.exp: Move load of target-libpath.exp from here... * lib/gcc-defs.exp: ... to here. From-SVN: r150929
DJ Delorie committed -
From-SVN: r150925
GCC Administrator committed
-
- 18 Aug, 2009 11 commits
-
-
From-SVN: r150901
Alexandre Oliva committed -
2009-08-18 H.J. Lu <hongjiu.lu@intel.com> PR testsuite/40704 * test_summary: Filter out "\r". From-SVN: r150898
H.J. Lu committed -
* lib/wrapper.exp (${tool}_maybe_build_wrapper): Set up GCC_EXEC_PREFIX before building the wrapper. From-SVN: r150889
DJ Delorie committed -
* 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
Uros Bizjak committed -
* 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
Jason Merrill committed -
* 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
Nathan Froyd committed -
* g++.dg/cdce3.C: Add -mieee for alpha*-*-* targets. From-SVN: r150877
Uros Bizjak committed -
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
Janus Weil committed -
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
Richard Guenther committed -
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
Jakub Jelinek committed -
* bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump on jumps. From-SVN: r150868
Jakub Jelinek committed
-