- 22 Apr, 2011 13 commits
-
-
From Rainer Orth. From-SVN: r172865
Ian Lance Taylor committed -
PR go/48503 libgo: Bring over http/cgi environment inheritance patches. From-SVN: r172864
Ian Lance Taylor committed -
* gcc-interface/decl.c (make_packable_type): Copy DECL_PARALLEL_TYPE onto the new type. From-SVN: r172863
Eric Botcazou committed -
* gcc-interface/gigi.h (create_subprog_decl): Add ARTIFICIAL_FLAG parameter. * gcc-interface/utils.c (create_subprog_decl): Likewise. Set DECL_ARTIFICIAL and DECL_NO_INLINE_WARNING_P on the DECL accordingly. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Subprogram_Type>: Add ARTIFICIAL_FLAG local variable and pass it to create_subprog_decl. <all>: Do not set flags on the reused DECL node coming from an alias. Set DECL_IGNORED_P on the DECL node built for subprograms if they don't need debug info here... * gcc-interface/trans.c (Subprogram_Body_to_gnu): ...and not here. (gigi): Adjust calls to create_subprog_decl. (build_raise_check): Likewise. (establish_gnat_vms_condition_handler): Likewise. (Compilation_Unit_to_gnu): Likewise. (gnat_to_gnu): Likewise. From-SVN: r172862
Eric Botcazou committed -
* config/bfin/bfin-protos.h (Mmode): Don't define. Expand definition where used. From-SVN: r172861
Joseph Myers committed -
re PR c/48716 (gcc OpenMP static variable declared in scope inside construct is predetermined shared) PR c/48716 * gimplify.c (gimplify_bind_expr): Mark as GOVD_LOCAL also TREE_STATIC variables declared inside of some OpenMP construct. * gcc.dg/gomp/pr48716.c: New test. * g++.dg/gomp/pr48716.C: New test. From-SVN: r172859
Jakub Jelinek committed -
2011-04-22 Martin Jambor <mjambor@suse.cz> PR middle-end/48585 * tree-inline.c (copy_bb): Create new edges only for analyzed nodes. From-SVN: r172858
Martin Jambor committed -
PR c/36750 * c-typeck.c (pop_init_level): Do not warn about initializing with ` = {0}'. testsuite: * gcc.dg/missing-field-init-2.c: Update testcase. From-SVN: r172857
Alexander Monakov committed -
missed hunk from last commit * config/rs6000/rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL when returning call_cookie. From-SVN: r172856
Alan Modra committed -
gcc/ * config/rs6000/rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL when returning call_cookie. (rs6000_function_ok_for_sibcall): Allow sibcalls via function pointers, to functions with no more vector args than the current function, and some non-local calls for ABI_V4. * config/rs6000/rs6000.md (sibcall_nonlocal_aix32, sibcall_nonlocal_aix64): Combine to .. (sibcall_nonlocal_aix<mode>): ..this. Handle function pointer calls. (sibcall_value_nonlocal_aix32, sibcall_value_nonlocal_aix64): Combine.. (sibcall_value_nonlocal_aix<mode>): ..likewise. (*sibcall_nonlocal_sysv<mode>): Handle function pointer calls. (sibcall_value_nonlocal_sysv<mode>): Likewise. Correct call cookie operand. * config/rs6000/darwin.md (sibcall_nonlocal_darwin64, sibcall_value_nonlocal_darwin64, sibcall_symbolic_64, sibcall_value_symbolic_64): Delete. gcc/testsuite/ * gcc.target/powerpc/ppc-pow.c: Allow for tail calls. From-SVN: r172855
Alan Modra committed -
From-SVN: r172854
Jie Zhang committed -
From-SVN: r172853
GCC Administrator committed -
From-SVN: r172848
Xinliang David Li committed
-
- 21 Apr, 2011 27 commits
-
-
* godump.c (go_format_type): Use exported Go name for anonymous field name. From-SVN: r172847
Ian Lance Taylor committed -
This is defined in go-system.h in the backend. * go-system.h (go_assert, go_unreachable): Define. From-SVN: r172846
Ian Lance Taylor committed -
*Changelog: Remove gcc/ prefix from a changelog entry. From-SVN: r172845
Easwaran Raman committed -
* objc-act.c (synth_module_prologue): Call build_function_type_list instead of build_function_type. * objc-next-runtime-abi-02.c (next_runtime_02_initialize): Likewise. From-SVN: r172844
Nathan Froyd committed -
* config/frv/frv.c (frv_init_builtins): Delete `endlink' variable. Call builtin_function_type_list instead of builtin_function_type. (UNARY, BINARY, TRINARY, QUAD): Likewise. From-SVN: r172842
Nathan Froyd committed -
* config/arm/arm.c (arm_init_iwmmxt_builtins): Call build_function_type_list instead of build_function_type. Delete variable `endlink'. From-SVN: r172841
Nathan Froyd committed -
* config/s390/s390.c (s390_init_builtins): Call build_function_type_list instead of build_function_type. From-SVN: r172840
Nathan Froyd committed -
* config/ia64/ia64.c (ia64_init_builtins): Call build_function_type_list instead of builtin_function_type. From-SVN: r172839
Nathan Froyd committed -
2011-04-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/48405 * frontend_passes (cfe_register_funcs): Remove workaround for DO loops. (gfc_code_walker): Make sure the pointer to the current statement doen't change when other statements are inserted. 2011-04-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/48405 * gfortran.dg/function_optimize_6.f90: New test. From-SVN: r172838
Thomas Koenig committed -
2011-04-21 Easwaran Raman <eraman@google.com> * gcc/cfgexpand.c (stack_var): Remove OFFSET... (add_stack_var): ...and its reference here... (expand_stack_vars): ...and here. (stack_var_cmp): Sort by descending order of size. (partition_stack_vars): Change heuristic. (union_stack_vars): Fix to reflect changes in partition_stack_vars. (dump_stack_var_partition): Add newline after each partition. testsuite/Changelog: 2011-04-21 Easwaran Raman <eraman@google.com> * gcc.dg/stack-layout-2.c: New test. From-SVN: r172837
Easwaran Raman committed -
From-SVN: r172835
Joseph Myers committed -
* gcc-interface/Makefile.in (NO_SIBLING_ADAFLAGS): Always define. (NO_REORDER_ADAFLAGS): New variable. (EXTRA_GNATTOOLS): Always define. (../stamp-gnatlib1-$(RTSDIR): Copy tsystem.h. Clean up and adjust list of files compiled with special options. * gcc-interface/Make-lang.in: Likewise. (ada/decl.o): Cosmetical change. (ada/misc.o): Remove dependency on $(PLUGIN_H). From-SVN: r172834
Eric Botcazou committed -
* gengtype-state.c (read_a_state_token): Fix argument to obstack_free. * gengtype.c (matching_file_name_substitute): Likewise. Co-Authored-By: Jeff Law <law@redhat.com> From-SVN: r172832
Dimitrios Apostolou committed -
2011-04-21 Richard Guenther <rguenther@suse.de> PR lto/48703 * tree.c (free_lang_data_in_decl): Do not zero TREE_TYPE of DECL_NAME. * g++.dg/lto/pr48207-2_0.C: New testcase. * g++.dg/lto/pr48207-3_0.C: Likewise. From-SVN: r172830
Richard Guenther committed -
From-SVN: r172828
Eric Botcazou committed -
* gcc_release (maybe_build_tarfile): Don't build a tarfile if the first directory doesn't exist. From-SVN: r172827
Jakub Jelinek committed -
2011-04-21 Richard Guenther <rguenther@suse.de> * Makefile.in (site.exp): Do not use tmp0 but site.tmp as temporary file name. From-SVN: r172826
Richard Guenther committed -
tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle MEM_REF and TARGET_MEM_REF, do not care about INDIRECT_REFs. 2011-04-21 Richard Guenther <rguenther@suse.de> * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle MEM_REF and TARGET_MEM_REF, do not care about INDIRECT_REFs. Use DECL_P, not SSA_VAR_P. (ptr_derefs_may_alias_p): Likewise. (ptr_deref_may_alias_ref_p_1): Likewise. (decl_refs_may_alias_p): Likewise. (refs_may_alias_p_1): Likewise. (ref_maybe_used_by_call_p_1): Likewise. (call_may_clobber_ref_p_1): Likewise. (indirect_ref_may_alias_decl_p): Assume indirect refrences are either MEM_REF or TARGET_MEM_REF. (indirect_refs_may_alias_p): Likewise. * calls.c (emit_call_1): Build a MEM_REF instead of an INDIRECT_REF for MEM_EXPR of indirect calls. From-SVN: r172825
Richard Guenther committed -
2011-04-21 Tristan Gingold <gingold@adacore.com> * vmsdbgout.c (write_srccorr): Compute file length from the string. (dst_file_info_struct): Remove flen field. (lookup_filename): Remove code that set flen field. From-SVN: r172824
Tristan Gingold committed -
2011-04-21 Tristan Gingold <gingold@adacore.com> * config/ia64/ia64.c (ia64_start_function): Add a guard. From-SVN: r172822
Tristan Gingold committed -
PR target/48708 * config/i386/i386.c (ix86_expand_vector_set) <V2DImode>: Generate vec_extract and vec_concat for non-SSE4_1 targets. testsuite/ChangeLog: PR target/48708 * gcc.target/i386/pr48708.c: New test. From-SVN: r172821
Uros Bizjak committed -
2011-04-21 Richard Guenther <rguenther@suse.de> * tree-ssa-alias.c (ref_maybe_used_by_stmt_p): Handle return statements. From-SVN: r172820
Richard Guenther committed -
* config/i386/cygming.h (union tree_node, TREE): Don't define or undefine. (FILE): Don't undefine. From-SVN: r172819
Joseph Myers committed -
* config/alpha/alpha.c (struct machine_function): Use rtx, not struct rtx_def *. * config/bfin/bfin.h (bfin_cc_rtx, bfin_rets_rtx): Use rtx, not struct rtx_def *. * config/cris/cris-protos.h (STDIO_INCLUDED): Don't define. * config/h8300/h8300.h (struct cum_arg): Use rtx, not struct rtx_def *. * config/iq2000/iq2000.h (struct iq2000_args): Use rtx, not struct rtx_def *. * config/m32c/m32c-protos.h (MM, UINT): Don't define. Expand definitions where used. * config/microblaze/microblaze.h (struct microblaze_args): Use rtx, not struct rtx_def *. * config/pa/pa-protos.h (return_addr_rtx): Use rtx, not struct rtx_def *. * config/pa/pa.h (hppa_pic_save_rtx): Use rtx, not struct rtx_def *. * config/pdp11/pdp11.h (cc0_reg_rtx): Use rtx, not struct rtx_def *. * config/sh/sh-protos.h (sfunc_uses_reg, get_fpscr_rtx): Use rtx, not struct rtx_def *. * config/sh/sh.h (sh_compare_op0, sh_compare_op1): Use rtx, not struct rtx_def *. * config/spu/spu-protos.h (spu_float_const): Use rtx, not struct rtx_def *. * config/spu/spu.c (spu_float_const): Use rtx, not struct rtx_def *. From-SVN: r172818
Joseph Myers committed -
tree-vect-data-refs.c (vect_drs_dependent_in_basic_block): Use operand_equal_p to compare DR_BASE_ADDRESSes. gcc/ * tree-vect-data-refs.c (vect_drs_dependent_in_basic_block): Use operand_equal_p to compare DR_BASE_ADDRESSes. (vect_check_interleaving): Likewise. gcc/testsuite/ * gcc.dg/vect/vect-119.c: New test. From-SVN: r172817
Richard Sandiford committed -
gcc/testsuite/ * gcc.dg/vect/vect.exp: Run the main tests twice, one with -flto and once without. From-SVN: r172816
Richard Sandiford committed -
gcc/ PR target/46329 * config/arm/arm.c (arm_legitimate_constant_p_1): Return false for all Neon struct constants. gcc/testsuite/ 2011-04-04 Richard Earnshaw <rearnsha@arm.com> Richard Sandiford <richard.sandiford@linaro.org> PR target/46329 * gcc.target/arm/pr46329.c: New test. From-SVN: r172815
Richard Sandiford committed
-