- 24 Apr, 2009 3 commits
-
-
PR rtl-optimization/39794 * alias.c (canon_true_dependence): Add x_addr argument. * rtl.h (canon_true_dependence): Adjust prototype. * cse.c (check_dependence): Adjust canon_true_dependence callers. * cselib.c (cselib_invalidate_mem): Likewise. * gcse.c (compute_transp): Likewise. * dse.c (scan_reads_nospill): Likewise. (record_store, check_mem_read_rtx): Likewise. For non-const-or-frame addresses pass base->val_rtx as mem_addr, for const-or-frame addresses canon_base_addr of the group, plus optional offset. (struct group_info): Rename canon_base_mem to canon_base_addr. (get_group_info): Set canon_base_addr to canon_rtx of base, not canon_rtx of base_mem. * gcc.dg/pr39794.c: New test. From-SVN: r146669
Jakub Jelinek committed -
2009-04-23 Paolo Bonzini <bonzini@gnu.org> * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue): Use memory_address_p instead of GO_IF_LEGITIMATE_ADDRESS. From-SVN: r146668
Paolo Bonzini committed -
From-SVN: r146667
GCC Administrator committed
-
- 23 Apr, 2009 18 commits
-
-
* config/spu/spu-builtins.h: Delete file. * config/spu/spu.h (enum spu_builtin_type): Move here from spu-builtins.h. (struct spu_builtin_description): Likewise. Add GTY marker. Do not use enum spu_function_code or enum insn_code. (spu_builtins): Add extern declaration. * config/spu/spu.c: Do not include "spu-builtins.h". (enum spu_function_code, enum spu_builtin_type_index, V16QI_type_node, V8HI_type_node, V4SI_type_node, V2DI_type_node, V4SF_type_node, V2DF_type_node, unsigned_V16QI_type_node, unsigned_V8HI_type_node, unsigned_V4SI_type_node, unsigned_V2DI_type_node): Move here from spu-builtins.h. (spu_builtin_types): Make static. Add GTY marker. (spu_builtins): Add extern declaration with GTY marker. Include "gt-spu.h". * config/spu/spu-c.c: Do not include "spu-builtins.h". (spu_resolve_overloaded_builtin): Do not use spu_function_code. Check programmatically whether all parameters are scalar. * config/spu/t-spu-elf (spu.o, spu-c.o): Update dependencies. From-SVN: r146660
Ulrich Weigand committed -
gimplify.c (gimplify_modify_expr_rhs): Do not do a direct assignment from the constructor either if the target is volatile. * gimplify.c (gimplify_modify_expr_rhs) <VAR_DECL>: Do not do a direct assignment from the constructor either if the target is volatile. ada/ * einfo.ads (Is_True_Constant): Lift restriction on atomic objects. * sinfo.ads (Object Declaration): Likewise. (Assignment Statement): Likewise. * freeze.adb (Expand_Atomic_Aggregate): Remove useless test. Do not force Is_True_Constant to false on the temporary. (Freeze_Entity): Do not force Is_True_Constant to false on names on the RHS of object declarations. * gcc-interface/trans.c (lvalue_required_p) <N_Object_Declaration>: New case. Return 1 if the object is atomic. <N_Assignment_Statement>: Likewise. From-SVN: r146652
Eric Botcazou committed -
PR testsuite/39623 * gcc.dg/vect/no-vfa-vect-57.c: XFAIL when vect_no_align. * gcc.dg/vect/no-vfa-vect-61.c: Ditto. From-SVN: r146650
Steve Ellcey committed -
From-SVN: r146649
Daniel Jacobowitz committed -
From-SVN: r146648
Gerald Pfeifer committed -
For packed array types, make the original array type a parallel type for the modular type and its JM wrapper if the type is bit-packed. <E_Array_Subtype>: Likewise. Do not generate the special XA parallel record type for packed array types. Remove kludge. From-SVN: r146647
Eric Botcazou committed -
gcc/cp/ChangeLog: PR c++/38228 * pt.c (unify): Do not allow the result of a template argument deduction to be a METHOD_TYPE. * cvt.c (cp_convert): Report a meaningful error for non-valid use of pointer to member functions during conversions. * call.c (build_new_op): Report a meaningful error for non-valid use of pointer to member functions in binary expressions. * typeck.c (invalid_nonstatic_memfn_p): Do not crash when EXPR is NULL; gcc/testsuite/ChangeLog: PR c++/38228 * g++.dg/expr/bound-mem-fun.C: New test. From-SVN: r146646
Dodji Seketeli committed -
* gcc-interface/gigi.h (create_index_type): Adjust head comment. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: Use front-end predicates to compute signedness and precision. <E_String_Literal_Subtype>: Fold range type. Make sure to set longest_float_type_node to a scalar type. (elaborate_entity): Use consistent Constraint_Error spelling. (substitute_in_type) <INTEGER_TYPE>: Always copy the type. * gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief output for the modulus, if any. <ENUMERAL_TYPE>: Likewise for the RM size. * gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error spelling. * gcc-interface/utils.c (finish_record_type): Really test the alignment of BLKmode bit-fields to compute their addressability. (create_index_type): Adjust comments. (create_param_decl): Create the biased subtype manually. * gcc-interface/utils2.c (build_component_ref): Use consistent Constraint_Error spelling. From-SVN: r146644
Eric Botcazou committed -
* gcc-interface/cuintp.c: Clean up include directives. * gcc-interface/targtyps.c: Likewise. * gcc-interface/decl.c: Likewise. * gcc-interface/misc.c: Likewise. * gcc-interface/trans.c: Likewise. * gcc-interface/utils.c: Likewise. * gcc-interface/utils2.c: Likewise. * gcc-interface/Make-lang.in: Adjust dependencies accordingly. From-SVN: r146643
Eric Botcazou committed -
* config/vxlib-tls.c (active_tls_threads): Delete. (delete_hook_installed): New. (tls_delete_hook): Don't delete the delete hook. (tls_destructor): Delete it here. (__gthread_set_specific): Adjust installing the delete hook. (tls_delete_hook): Use __gthread_enter_tsd_dtor_context and __gthread_leave_tsd_dtor_context. From-SVN: r146641
Nathan Sidwell committed -
2009-04-23 Matthias Klose <doko@ubuntu.com> * Makefile.am (install-data-local): Fix symlinks to header files. * Makefile.in: Regenerate. From-SVN: r146640
Matthias Klose committed -
* gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom. (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting. (SET_DECL_LANG_SPECIFIC): Likewise. Reorder macros. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: Update comment about use of build_range_type. <E_Array_Type, E_Array_Subtype>: Use consistent naming convention. <E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add check for other cases of overloading. * gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst. * gcc-interface/utils2.c (build_call_raise): Fix off-by-one error. Use size_int in lieu of build_int_cst. (build_call_alloc_dealloc): Use build_index_2_type in lieu of build_range_type. From-SVN: r146639
Eric Botcazou committed -
2009-04-23 Rafael Avila de Espindola <espindola@google.com> * gcc.dg/format/gcc_diag-1.c (foo): Don't check that %E produces a warning. 2009-04-23 Rafael Avila de Espindola <espindola@google.com> * c-format.c (gcc_tdiag_char_table): Add support for %E. From-SVN: r146638
Rafael Avila de Espindola committed -
* config/alpha/alpha.c (alpha_legitimize_reload_address): Add cast to enum type. (alpha_rtx_costs): Ditto. (emit_unlikely_jump): Use add_reg_note. (emit_frame_store_1): Ditto. (alpha_expand_prologue): Ditto. (alpha_expand_builtin): Change 0 to EXPAND_NORMAL in function call. * config/alpha/alpha.c (Unicos/Mk address splitter): Use add_reg_note. From-SVN: r146637
Uros Bizjak committed -
* config/v850/v850.md (epilogue): Remove suppressed code. (return): Rename to return_simple and remove test of frame size. * config/v850/v850.c (expand_epilogue): Rename call to gen_return to gen_return_simple. From-SVN: r146635
Nick Clifton committed -
From-SVN: r146633
Michael Eager committed -
From-SVN: r146632
GCC Administrator committed -
PR testsuite/39781 * config/arm/arm.h: Define HANDLE_PRAGMA_PACK_PUSH_POP. From-SVN: r146629
Jing Yu committed
-
- 22 Apr, 2009 19 commits
-
-
2009-04-22 Andrew Pinski <andrew_pinski@playstation.sony.com> PR C/31499 * c-typeck.c (process_init_element): Treat VECTOR_TYPE like ARRAY_TYPE and RECORD_TYPE/UNION_TYPE. When outputing the actual element and the value is a VECTOR_CST, the element type is the element type of the vector. 2009-04-22 Andrew Pinski <andrew_pinski@playstation.sony.com> PR C/31499 * gcc.dg/vector-init-1.c: New testcase. * gcc.dg/vector-init-2.c: New testcase. From-SVN: r146628
Andrew Pinski committed -
* gnu/classpath/jdwp/natVMVirtualMachine.cc (handle_single_step): Use casted pointer in debugging assert. (jdwpBreakpointCB): Likewise. From-SVN: r146627
Dave Korn committed -
* gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's type is an enumeral or a boolean type, change it to an integer type with the same mode and signedness. From-SVN: r146625
Eric Botcazou committed -
utils.c (create_var_decl_1): Do not emit debug info for an external constant whose initializer is not absolute. * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info for an external constant whose initializer is not absolute. From-SVN: r146620
Eric Botcazou committed -
From-SVN: r146618
DJ Delorie committed -
PR c/39855 * fold-const.c (fold_binary) <case LSHIFT_EXPR>: When optimizing into 0, use omit_one_operand. * gcc.dg/torture/pr39855.c: New test. From-SVN: r146617
Jakub Jelinek committed -
alias.c (find_base_term): Move around LO_SUM case, so that CONST falls through into PLUS/MINUS handling. * alias.c (find_base_term): Move around LO_SUM case, so that CONST falls through into PLUS/MINUS handling. From-SVN: r146616
Jakub Jelinek committed -
* config/rs6000/linux-unwind.h (get_regs): Remove type puns. Change the type of `pc' to an array of unsigned ints and update all users. Constify frame24. From-SVN: r146615
Ben Elliston committed -
* config/m32c/m32c.c (m32c_special_page_vector_p): Move declarations before code. (current_function_special_page_vector): Likewise. (m32c_expand_insv): Silence a warning. From-SVN: r146614
DJ Delorie committed -
2009-04-22 Dodji Seketeli <dodji@redhat.com> gcc/cp/ChangeLog: PR c++/39639 * parser.c (cp_parser_template_argument_list): Display an error when an ellipsis is not preceded by a parameter pack. Also, warn about variadic templates usage without -std=c++0x. gcc/testsuite/ChangeLog: PR c++/39639 * g++.dg/cpp0x/pr39639.C: New test. From-SVN: r146610
Dodji Seketeli committed -
2009-04-21 Taras Glek <tglek@mozilla.com> * include/hashtab.h: Update GTY annotations to new syntax * include/splay-tree.h: Likewise gcc/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * alias.c: Update GTY annotations to new syntax * basic-block.h: Likewise * bitmap.h: Likewise * c-common.h: Likewise * c-decl.c: Likewise * c-parser.c: Likewise * c-pragma.c: Likewise * c-tree.h: Likewise * cfgloop.h: Likewise * cgraph.h: Likewise * config/alpha/alpha.c: Likewise * config/arm/arm.h: Likewise * config/avr/avr.h: Likewise * config/bfin/bfin.c: Likewise * config/cris/cris.c: Likewise * config/darwin.c: Likewise * config/frv/frv.c: Likewise * config/i386/i386.c: Likewise * config/i386/i386.h: Likewise * config/i386/winnt.c: Likewise * config/ia64/ia64.h: Likewise * config/iq2000/iq2000.c: Likewise * config/mips/mips.c: Likewise * config/mmix/mmix.h: Likewise * config/pa/pa.c: Likewise * config/pa/pa.h: Likewise * config/rs6000/rs6000.c: Likewise * config/s390/s390.c: Likewise * config/sparc/sparc.c: Likewise * config/xtensa/xtensa.c: Likewise * cselib.h: Likewise * dbxout.c: Likewise * dwarf2out.c: Likewise * except.c: Likewise * except.h: Likewise * fixed-value.h: Likewise * function.c: Likewise * function.h: Likewise * gimple.h: Likewise * integrate.c: Likewise * optabs.c: Likewise * output.h: Likewise * real.h: Likewise * rtl.h: Likewise * stringpool.c: Likewise * tree-data-ref.c: Likewise * tree-flow.h: Likewise * tree-scalar-evolution.c: Likewise * tree-ssa-address.c: Likewise * tree-ssa-alias.h: Likewise * tree-ssa-operands.h: Likewise * tree.c: Likewise * tree.h: Likewise * varasm.c: Likewise * varray.h: Likewise * vec.h: Likewise * coretypes.h: Do not define GTY macro if it is already defined * doc/gty.texi: Update GTY documentation to new syntax * gengtype-lex.l: Enforce attribute-like syntax for GTY annotations on structs * gengtype-parse.c: Likewise gcc/ada/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * gcc-interface/ada-tree.h: Update GTY annotations to new syntax * gcc-interface/trans.c: Likewise * gcc-interface/utils.c: Likewise gcc/cp/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * cp-tree.h: Update GTY annotations to new syntax * decl.c: Likewise * mangle.c: Likewise * name-lookup.c: Likewise * name-lookup.h: Likewise * parser.c: Likewise * pt.c: Likewise * rtti.c: Likewise * semantics.c: Likewise * typeck2.c: Likewise gcc/fortran/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * f95-lang.c: Update GTY annotations to new syntax * trans-intrinsic.c: Likewise * trans-io.c: Likewise * trans.h: Likewise gcc/java/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * builtins.c: Update GTY annotations to new syntax * decl.c: Likewise * java-tree.h: Likewise * jcf.h: Likewise * lang.c: Likewise gcc/objc/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * objc-act.c: Update GTY annotations to new syntax * objc-act.h: Likewise libcpp/ChangeLog 2009-04-21 Taras Glek <tglek@mozilla.com> * include/cpp-id-data.h: Update GTY annotations to new syntax * include/cpplib.h: Likewise * include/line-map.h: Likewise * include/symtab.h: Likewise From-SVN: r146607
Taras Glek committed -
2009-04-22 Mark Heffernan <meheff@google.com> * gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=. * gcc.dg/profile-generate-3.c: New test. From-SVN: r146605
Mark Heffernan committed -
* include/c_std/cstdlib (abort, exit, _Exit): Mark noreturn throw (). (atexit, atoll, stroll, strtoull): Mark throw () * include/c_std/cstdio (snprintf, vsnprintf, vscanf): Mark throw (). * include/c_std/cwchar (wcstold, wcstoll, wcstoull): Mark throw (). * include/c_global/cstdlib (abort, exit, _Exit): Mark noreturn throw (). (atexit, atoll, stroll, strtoull): Mark throw () * include/c_global/cstdio (snprintf, vsnprintf, vscanf): Mark throw (). * include/c_wchar/cstdio (snprintf, vsnprintf, vscanf): Mark throw (). From-SVN: r146604
Jan Hubicka committed -
From-SVN: r146603
Jan Hubicka committed -
* config/arm/arm.c (arm_rtx_costs_1): Use power_of_two_operand where appropriate. From-SVN: r146602
Kazu Hirata committed -
From-SVN: r146599
Joseph Myers committed -
From-SVN: r146598
Joseph Myers committed -
* exgettext: Also look for */*/config-lang.in to find language subdirectories. From-SVN: r146596
Joseph Myers committed -
* config/arm/arm.c (arm_size_rtx_costs): Treat a PLUS with a shift the same as a PLUS without a shift. Increase the cost of a CONST_INT in MULT. From-SVN: r146595
Kazu Hirata committed
-