- 19 Jun, 2009 29 commits
-
-
pault authored
PR fortran/40440 * trans-expr.c (gfc_conv_procedure_call): Do not deallocate allocatable components if the argument is a pointer. 2009-06-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/40440 * gfortran.dg/alloc_comp_result_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148731 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
<tcc_vl_exp>: Call process_call_operands on the new CALL_EXPR. Propagate the TREE_READONLY flag without overwriting it. (substitute_placeholder_in_expr) <tcc_vl_exp>: Likewise. Propagate the TREE_READONLY flag onto the result. (process_call_operands): Move around. Use correct constant value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148729 138bc75d-0d04-0410-961f-82ee72b054a4
-
ramana authored
2009-06-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/40482 * config/arm/arm.c (thumb_shiftable_const): Truncate val to 32 bits. * config/arm/arm.md: Likewise. 2009-06-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/40482 * gcc.target/arm/pr40482.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148728 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
* tree-cfg.c (gimple_redirect_edge_and_branch): Change ERROR_MARK to GIMPLE_ERROR_MARK. * c-typeck.c (build_conditional_expr): Add op1_original_type and op2_original_type parameters. Warn about using different enum types. * c-parser.c (c_parser_conditional_expression): Pass original types to build_conditional_expr. * c-tree.h (build_conditional_expr): Update declaration. testsuite/: * gcc.dg/Wcxx-compat-18.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148727 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
in a SAVE_EXPR. (protect_multiple_eval): Always protect complex expressions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148723 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
fields match values, rather than testing the values are in a certain range. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148721 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle ADDR_EXPR pointers. (ptr_derefs_may_alias_p): Likewise. (ptr_deref_may_alias_ref_p_1): New function. (ptr_deref_may_alias_ref_p): Likewise. (ref_maybe_used_by_call_p_1): Handle builtins that are not covered by looking at the ESCAPED solution. (call_may_clobber_ref_p_1): Likewise. * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Handle NULL_TREE offset. Do not produce redundant constraints. (process_all_all_constraints): New helper function. (do_structure_copy): Use it. (handle_lhs_call): Likewise. (find_func_aliases): Handle some builtins with pointer arguments and/or return values explicitly. * gcc.c-torture/execute/20090618-1.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148718 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148713 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148712 138bc75d-0d04-0410-961f-82ee72b054a4
-
ghazi authored
* arith.c, dump-parse-tree.c, expr.c, module.c, resolve.c, simplify.c, target-memory.c, target-memory.h, trans-const.c, trans-expr.c: Convert to mpc_t throughout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148711 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
* ggc-page.c (ggc_pch_write_object): Initialize emptyBytes. * sdbout.c (sdb_debug_hooks): Initialize non-SDB_DEBUGGING_INFO version. * c-decl.c (finish_decl): If -Wc++-compat, warn about uninitialized const. testsuite/: * gcc.dg/Wcxx-compat-17.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148710 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
* dse.c (struct store_info): Rename bitmap field to bmap. Change all uses. * c-decl.c (in_struct, struct_types): Remove. (struct c_binding): Add in_struct field. (c_binding_ptr): Define type, along with VEC. (struct c_struct_parse_info): Define. (struct_parse_info): New static variable. (bind): Initialize in_struct field. (start_struct): Remove enclosing_in_struct and enclosing_struct_types parameters. Add enclosing_struct_parse_info parameter. Change all callers. Set struct_parse_info rather than in_struct and struct_types. (grokfield): If -Wc++-compat and there is a symbol binding for the field name, set the in_struct flag and push it on the struct_parse_info->fields vector. (warn_cxx_compat_finish_struct): New static function. (finish_struct): Remove enclosing_in_struct and enclosing_struct_types parameters. Add enclosing_struct_parse_info parameter. Change all callers. Don't set C_TYPE_DEFINED_IN_STRUCT here. Call warn_cxx_compat_finish_struct. Free struct_parse_info ...
-
ian authored
* c-decl.c (grokdeclarator): If -Wc++-compat, warn about a global variable with an anonymous type. fortran/: * cpp.c (struct gfc_cpp_option_data): Give this struct, used for the global variable gfc_cpp_option, a name. testsuite/: * gcc.dg/Wcxx-compat-16.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148708 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148707 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
(significand_optab): Define corresponding macro. * optabs.c (init_optabs): Initialize significand_optab. * genopinit.c (optabs): Implement significand_optab using significand?f2 patterns. * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_SIGNIFICAND{,F,L}. (expand_builtin): Expand BUILT_IN_SIGNIFICAND{,F,L} using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. * config/i386/i386.md (significandxf2, significand<mode>2): New expanders to implement significandf, significand and significandl built-ins as inline x87 intrinsics. testsuite/ChangeLog: * gcc.dg/builtins-34.c: Add significand cases. PR testsuite/40491 * testsuite/gcc.dg/20080522-1.c: Remove testcase for real. * testsuite/gcc.dg/20080528-1.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148705 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148703 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148702 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* prj-ext.adb, makeutl.adb, makeutl.ads (Executable_Prefix_Path): Now make sure we always return a name ending with a path separator. 2009-06-19 Javier Miranda <miranda@adacore.com> * sem_ch12.adb (Instantiate_Package_Body, Instantiate_Subprogram_Body): Save and restore the visibility of the parent when installed. 2009-06-19 Jose Ruiz <ruiz@adacore.com> * s-tposen.ads (Protection_Entry): Replace fields L, Ceiling, and Owner by Common which contains all these fields. * s-tposen.adb (Initialize_Protection_Entry, Lock_Entry, Lock_Read_Only_Entry, Timed_Protected_Single_Entry_Call, Unlock_Entry): Remove code duplication in this package by means of calling the equivalent code in s-taprob. 2009-06-19 Robert Dewar <dewar@adacore.com> * a-einuoc.ads: Minor reformatting git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148701 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* a-einuoc.ads, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb, s-vxwext-kernel.ads, s-vxwext-rtp.ads: Code clean up. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148698 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* einfo.ads (Handling of Type'Size Values): Fix Object_Size values. 2009-06-19 Robert Dewar <dewar@adacore.com> * a-nudira.adb (Need_64): Handle negative ranges and also dynamic ranges * checks.adb (Determine_Range): Move the test for generic types later. * sem_eval.adb (Compile_Time_Compare): Improve circuitry to catch more cases. (Eval_Relational_Op): Fold more cases including string compares * sem_util.ads, sem_util.adb (References_Generic_Formal_Type): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148697 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* sem_type.ads, sem_ch12.adb: Minor reformatting * s-wchcnv.adb (UTF_32_To_Char_Sequence): Handle invalid data properly 2009-06-19 Ed Schonberg <schonberg@adacore.com> * exp_ch9.adb (Build_Wrapper_Spec): Handle properly an overridden primitive operation of a rivate extension whose controlling argument is an out parameter. * sem.adb (Walk_Library_Units): exclude generic package declarations from check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148696 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
traverse, to account for front-end inlining and instantiations in a spec or in the main unit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148695 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* i-vxwoio.ads: Add comments 2009-06-19 Thomas Quinot <quinot@adacore.com> * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads, g-socket.adb, g-sothco.ads (GNAT.Sockets.Thin.C_Ioctl): Rename to Socket_Ioctl. (GNAT.Sockets.Thin.Socket_Ioctl): Use new function Thin_Common.Socket_Ioctl. (GNAT.Sockets.Thin_Common.Socket_Ioctl): Binding to new C wrapper __gnat_socket_ioctl. (__gnat_socket_ioctl): Wrapper for ioctl(2) called with a single int* argument after the file descriptor and request code. 2009-06-19 Robert Dewar <dewar@adacore.com> * checks.adb: Minor reformatting git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148694 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* env.c (__gnat_environ): RTX does not support this functionality. 2009-06-19 Sergey Rybin <rybin@adacore.com> * gnat_ugn.texi, vms_data.ads: Fix VMS qualifiers. 2009-06-19 Ed Schonberg <schonberg@adacore.com> * sem.adb (Walk_Library_Items): Include bodies in the list of units to traverse, to account for front-end inlining and instantiations in a spec or in the main unit. 2009-06-19 Robert Dewar <dewar@adacore.com> * checks.adb (Determine_Range): Do not attempt to get range of generic type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148693 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* gnat_ugn.texi, vms_data.ads: Add the documentation for the new gnatmetric option for generating the schema file for gnatmetric XML output. Add corresponding VMS qualifier. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148692 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* g-cgi.adb: Minor reformatting 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> * s-intman-solaris.adb (Notify_Exception): Do not discriminate on the signal code for SIGFPE and raise Program_Error for SIGILL. * s-osinte-solaris.ads: Remove signal code constants for SIGFPE. 2009-06-19 Ed Schonberg <schonberg@adacore.com> * sem_ch8.adb (Nvis_Messages): Do not list an entity declared in a generic package if there is a visibility candidate that is declared in a regular package. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148691 138bc75d-0d04-0410-961f-82ee72b054a4
-
janus authored
PR fortran/40450 * trans-expr.c (gfc_conv_procedure_call): Only add an extra addr_expr to a procedure pointer actual argument, if it is not itself a dummy arg. 2009-06-19 Janus Weil <janus@gcc.gnu.org> PR fortran/40450 * gfortran.dg/proc_ptr_20.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148690 138bc75d-0d04-0410-961f-82ee72b054a4
-
aesok authored
PARAM_INLINE_CALL_COST. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148689 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148688 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 18 Jun, 2009 11 commits
-
-
rth authored
* tree-pass.h (TDF_ASMNAME): New. * tree-dump.c (dump_options): Add asmname. * doc/invoke.texi: Document it. * tree-pretty-print.c (maybe_dump_asm_name): Merge into... (dump_decl_name): ...here. (dump_function_name): New flags arg; mind TDF_ASMNAME. (dump_generic_node): Update dump_function_name calls. (print_call_name): New flags arg; update all dump calls. * diagnostic.h (print_call_name): Update. * gimple-pretty-print.c (dump_gimple_call): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148685 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
2009-06-18 H.J. Lu <hongjiu.lu@intel.com> PR target/40470 * config/i386/i386.h (CLASS_LIKELY_SPILLED_P): Add SSE_FIRST_REG. gcc/testsuite/ 2009-06-18 H.J. Lu <hongjiu.lu@intel.com> PR target/40470 * gcc.dg/torture/pr40470-1.c: New. * gcc.dg/torture/pr40470-2.c: Likewise. * gcc.dg/torture/pr40470-3.c: Likewise. * gcc.dg/torture/pr40470-4.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148673 138bc75d-0d04-0410-961f-82ee72b054a4
-
dnovillo authored
* doc/plugins.texi: Document plugin_is_GPL_compatible. * plugin.c (str_license): Declare. (try_init_one_plugin): Assert that the symbol 'plugin_is_GPL_compatible' exists. testsuite/ChangeLog * gcc.dg/plugin/selfassign.c: Declare plugin_is_GPL_compatible. * gcc.dg/plugin/ggcplug.c: Likewise. * gcc.dg/plugin/one_time_plugin.c: Likewise. * g++.dg/plugin/selfassign.c: Likewise. * g++.dg/plugin/attribute_plugin.c: Likewise. * g++.dg/plugin/dumb_plugin.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148667 138bc75d-0d04-0410-961f-82ee72b054a4
-
aldyh authored
* decl.c (finish_decl): Remove. (declare_global_var): Replace finish_decl with cp_finish_decl. (start_method): Same. * rtti.c (emit_tinfo_decl): Same. * pt.c (tsubst_expr): Same. (instantiate_decl): Same. * decl2.c (grokbitfield): Same. * name-lookup.c (pushdecl_top_level_1): Same. * cp-tree.h: Remove finish_decl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148666 138bc75d-0d04-0410-961f-82ee72b054a4
-
razya authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148665 138bc75d-0d04-0410-961f-82ee72b054a4
-
razya authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148664 138bc75d-0d04-0410-961f-82ee72b054a4
-
jamborm authored
* tree-sra.c: Include statistics.h (sra_stats): New variable. (sra_initialize): Clear sra_stats. (create_access_replacement): Increment sra_stats.replacements. (get_access_replacement): Do not return twice. (analyze_all_variable_accesses): Increment statistics counter by the number of scalarized aggregates. (generate_subtree_copies): Increment sra_stats.subtree_copies. (sra_modify_expr): Increment sra_stats.exprs. (load_assign_lhs_subreplacements): Increment sra_stats.subreplacements. (sra_modify_assign): Increment sra_stats.exprs, sra_stats.separate_lhs_rhs_handling and sra_stats.deleted. (perform_intra_sra): Update statistics counters. * Makefile.in (tree-sra.o): Add statistics.h to dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148663 138bc75d-0d04-0410-961f-82ee72b054a4
-
manu authored
libcpp/ * expr.c (num_div_op): Take explicit location. testsuite/ * gcc.dg/cpp/arith-3.c: Add column info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148662 138bc75d-0d04-0410-961f-82ee72b054a4
-
hainque authored
* gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the 64bit system.ads for ppc64 multilib variants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148659 138bc75d-0d04-0410-961f-82ee72b054a4
-
sandra authored
gcc/ * config/arm/arm.c (TARGET_SCALAR_MODE_SUPPORTED_P): Redefine. (arm_scalar_mode_supported_p): New function. gcc/testsuite/ * gcc.target/arm/fp16-compile-none-2.c: New. * gcc.target/arm/fp16-compile-ieee-12.c: New. * gcc.target/arm/fp16-compile-alt-12.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148657 138bc75d-0d04-0410-961f-82ee72b054a4
-
sandra authored
gcc/testsuite/ * gcc.target/arm/fp16-compile-alt-1.c: New. * gcc.target/arm/fp16-compile-alt-2.c: New. * gcc.target/arm/fp16-compile-alt-3.c: New. * gcc.target/arm/fp16-compile-alt-4.c: New. * gcc.target/arm/fp16-compile-alt-5.c: New. * gcc.target/arm/fp16-compile-alt-6.c: New. * gcc.target/arm/fp16-compile-alt-7.c: New. * gcc.target/arm/fp16-compile-alt-8.c: New. * gcc.target/arm/fp16-compile-alt-9.c: New. * gcc.target/arm/fp16-compile-alt-10.c: New. * gcc.target/arm/fp16-compile-alt-11.c: New. * gcc.target/arm/fp16-compile-ieee-1.c: New. * gcc.target/arm/fp16-compile-ieee-2.c: New. * gcc.target/arm/fp16-compile-ieee-3.c: New. * gcc.target/arm/fp16-compile-ieee-4.c: New. * gcc.target/arm/fp16-compile-ieee-5.c: New. * gcc.target/arm/fp16-compile-ieee-6.c: New. * gcc.target/arm/fp16-compile-ieee-7.c: New. * gcc.target/arm/fp16-compile-ieee-8.c: New. * gcc.target/arm/fp16-compile-ieee-9.c: New. * gcc.target/arm/fp16-compile-ieee-10.c: New. * gcc.target/arm/fp16-compile-ieee-11.c: New. * gcc.target/arm/fp16-compile-none-1.c: New. * gcc.target/arm/fp16-compile-exprtype.c: New. * gcc.target/arm/fp16-compile-vcvt.c: New. * gcc.target/arm/fp16-builtins-1.c: New. * gcc.target/arm/fp16-rounding-alt-1.c: New. * gcc.target/arm/fp16-rounding-ieee-1.c: New. * gcc.target/arm/fp16-param-1.c: New. * gcc.target/arm/fp16-return-1.c: New. * gcc.target/arm/fp16-unprototyped-1.c: New. * gcc.target/arm/fp16-unprototyped-2.c: New. * gcc.target/arm/fp16-variadic-1.c: New. * gcc.dg/torture/arm-fp16-compile-assign.c: New. * gcc.dg/torture/arm-fp16-compile-convert.c: New. * gcc.dg/torture/arm-fp16-int-convert-alt.c: New. * gcc.dg/torture/arm-fp16-int-convert-ieee.c: New. * gcc.dg/torture/arm-fp16-ops.h: New. * gcc.dg/torture/arm-fp16-ops-1.c: New. * gcc.dg/torture/arm-fp16-ops-2.c: New. * gcc.dg/torture/arm-fp16-ops-3.c: New. * gcc.dg/torture/arm-fp16-ops-4.c: New. * gcc.dg/torture/arm-fp16-ops-5.c: New. * gcc.dg/torture/arm-fp16-ops-6.c: New. * gcc.dg/torture/arm-fp16-ops-7.c: New. * gcc.dg/torture/arm-fp16-ops-8.c: New. * g++.dg/ext/arm-fp16/fp16-overload-1.C: New. * g++.dg/ext/arm-fp16/fp16-return-1.C: New. * g++.dg/ext/arm-fp16/fp16-param-1.C: New. * g++.dg/ext/arm-fp16/fp16-mangle-1.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops.h: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-1.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-2.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-3.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-4.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-5.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-6.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-7.C: New. * g++.dg/ext/arm-fp16/arm-fp16-ops-8.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148656 138bc75d-0d04-0410-961f-82ee72b054a4
-