- 02 Nov, 2009 15 commits
-
-
From-SVN: r153827
Janne Blomqvist committed -
From-SVN: r153825
Janne Blomqvist committed -
2009-11-02 Andreas Tobler <a.tobler@schweiz.org> PR libffi/41908 * testsuite/libffi.call/testclosure.c: New test. From-SVN: r153824
Andreas Tobler committed -
Fix PR c++/37093 gcc/cp/ChangeLog: PR c++/37093 * pt.c (check_valid_ptrmem_cst_expr): New function. (convert_nontype_argument): Use it to output an error for illegal pointer to member expressions used as template arguments. gcc/testsuite/ChangeLog: PR c++/37093 * g++.dg/other/ptrmem10.C: New test. * g++.dg/other/ptrmem11.C: Likewise. From-SVN: r153822
Dodji Seketeli committed -
PR testsuite/41878 * gfortran.dg/vect/vect-2.f90: Fix effective-target expression, add spaces in some expressions. From-SVN: r153821
Janis Johnson committed -
libjava/: PR bootstrap/38867 * configure.ac (expanded_prefix): New variable, set to the default prefix if none was passed on the command line. * configure: Regenerate. From-SVN: r153820
Ralf Wildenhues committed -
From-SVN: r153818
Jason Merrill committed -
* decl2.c (mark_used): Check cxx_dialect. * decl.c (grokfndecl): Do check type linkage in C++98 mode. (grokvardecl): Likewise. * pt.c (check_instantiated_arg): Likewise. From-SVN: r153816
Jason Merrill committed -
gcc/ PR tree-optimization/41857 * tree-flow.h (rewrite_use_address): Add BASE_HINT argument. * tree-ssa-loop-ivopts.c (rewrite_use_address): Pass base hint to create_mem_ref. * tree-ssa-address.c (move_hint_to_base): New function. (most_expensive_mult_to_index): Add TYPE argument. Use mode and address space associated with TYPE. (addr_to_parts): Add TYPE and BASE_HINT arguments. Pass TYPE to most_expensive_mult_to_index. Call move_hint_to_base. (create_mem_ref): Add BASE_HINT argument. Pass BASE_HINT and TYPE to addr_to_parts. gcc/testsuite/ PR tree-optimization/41857 * gcc.target/spu/ea/pr41857.c: New file. From-SVN: r153810
Ulrich Weigand committed -
2009-11-02 Martin Jambor <mjambor@suse.cz> PR tree-optimization/41750 * tree-sra.c (analyze_modified_params): Loop over all representatives of components of a parameter. * testsuite/gcc.c-torture/execute/pr41750.c: New test. From-SVN: r153809
Martin Jambor committed -
re PR tree-optimization/41841 (segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate') PR tree-optimization/41841 * ipa-struct-reorg.c (build_data_structure): Don't attempt to look at local variables of not yet materialized clones. * gcc.dg/pr41841.c: New test. From-SVN: r153807
Jakub Jelinek committed -
PR debug/41893 * cfgexpand.c (expand_debug_expr): Don't attempt to create DECL_RTL for a VOIDmode variable. * gcc.dg/debug/pr41893-1.c: New test. * gcc.dg/debug/pr41893-2.c: New file. From-SVN: r153806
Jakub Jelinek committed -
re PR c++/41774 (ice: vector VEC(visibility,base) pop domain error, in pop_visibility at c-pragma.c:757) PR c++/41774 * c-pragma.c (visstack): Change into vector of ints rather than enum symbol_visibility. (push_visibility): Add kind argument, push default_visibility together with kind. (pop_visibility): Add kind argument, return true if successful, fail if visibility stack is empty or if stack top is of different kind. (handle_pragma_visibility): Don't check length of visstack, instead call pop_visibility and issue diagnostics if it failed. Pass 0 as last argument to push_visibility and pop_visibility. * c-pragma.h (push_visibility): Add kind argument. (pop_visibility): Likewise. Return bool instead of void. * name-lookup.c (handle_namespace_attrs): Pass 1 as last argument to push_visibility. * parser.c (cp_parser_namespace_definition): Pass 1 as argument to pop_visibility. * rtti.c (push_abi_namespace): Pass 2 as last argument to push_visibility. (pop_abi_namespace): Pass 2 as argument to pop_visibility. * g++.dg/ext/visibility/namespace3.C: New test. From-SVN: r153805
Jakub Jelinek committed -
* gcc.dg/tree-ssa/restrict-1.c: Move to c-c++-common. * gcc.dg/tree-ssa/restrict-2.c: Move to c-c++-common. * gcc.dg/tree-ssa/restrict-4.c: Move to c-c++-common. From-SVN: r153800
Jason Merrill committed -
From-SVN: r153799
GCC Administrator committed
-
- 01 Nov, 2009 8 commits
-
-
* tree.def (TARGET_MEM_REF): Update comment. * alias.c (get_alias_set): Retrieve the original memory reference for a TARGET_MEM_REF before proceeding. From-SVN: r153796
Eric Botcazou committed -
2009-11-01 Tobias Burnus <burnus@net-b.de> PR fortran/41872 * trans-decl.c (gfc_trans_deferred_vars): Do not nullify autodeallocated allocatable scalars at the end of scope. (gfc_generate_function_code): Fix indention. * trans-expr.c (gfc_conv_procedure_call): For allocatable scalars, fix calling by reference and autodeallocating of intent out variables. 2009-11-01 Tobias Burnus <burnus@net-b.de> PR fortran/41872 * gfortran.dg/allocatable_scalar_4.f90: New test. From-SVN: r153795
Tobias Burnus committed -
2009-11-01 Tobias Burnus <burnus@net-b.de> PR fortran/41850 * trans-expr.c (gfc_conv_procedure_call): Deallocate intent-out variables only when present. Remove unneccessary present check. 2009-11-01 Tobias Burnus <burnus@net-b.de> PR fortran/41850 * gfortran.dg/intent_out_6.f90: New testcase. From-SVN: r153793
Tobias Burnus committed -
* tree.c (cv_unqualified): New fn. * cp-tree.h: Declare it. * typeck.c (decay_conversion): Use it instead of TYPE_MAIN_VARIANT. From-SVN: r153790
Jason Merrill committed -
From-SVN: r153789
Jason Merrill committed -
PR c++/41754 * call.c (compare_ics): Avoid bad union use when comparing two ck_lists. From-SVN: r153788
Jason Merrill committed -
2009-10-31 Paolo Carlini <paolo.carlini@oracle.com> * include/std/chrono (struct __common_rep_type): New. (duration_cast(const duration<>&), duration<>::duration(const _Rep2&), duration<>::duration(const duration<>&), operator*(const duration<>&, const _Rep2&), operator*(const _Rep1&, const duration<>&), operator/(const duration<>&, const _Rep2&), time_point_cast(const time_point<>&)): Implement resolution of DR 1177 ([Ready] in Santa Cruz), change to not participate to overload resolution if the constraints are not met. * testsuite/20_util/duration/cons/1_neg.cc: Adjust dg-errors. * testsuite/20_util/duration/cons/dr974.cc: Likewise. * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust dg-error line numbers. * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise. * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise. From-SVN: r153787
Paolo Carlini committed -
From-SVN: r153786
GCC Administrator committed
-
- 31 Oct, 2009 8 commits
-
-
* config/frv/frv.c (frv_function_value, frv_libcall_value, frv_function_value_regno_p): New functions. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare. * config/frv/frv.h: (FUNCTION_VALUE, LIBCALL_VALUE): Remove. (FUNCTION_VALUE_REGNO_P): Redefine, use frv_function_value_regno_p. * config/frv/frv-protos.h (frv_function_value_regno_p): Declare. From-SVN: r153783
Anatoly Sokolov committed -
* config/mn10300/mn10300.c (mn10300_function_value): Make static, add new 'outgoing' argument. (mn10300_libcall_value, mn10300_function_value_regno_p): New functions. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare. * config/mn10300/mn10300.h: (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Remove. (FUNCTION_VALUE_REGNO_P): Redefine, use mn10300_function_value_regno_p. * config/mn10300/mn10300-protos.h (mn10300_function_value): Remove. (mh10300_function_value_regno_p): Declare. From-SVN: r153782
Anatoly Sokolov committed -
2009-10-31 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/cortex-a9.md: New - integer pipeline description. From-SVN: r153779
Ramana Radhakrishnan committed -
tree-ssa-sccvn.c (vn_reference_lookup_3): Bail out instead of aborting if the sizes of the two references don't match. * tree-ssa-sccvn.c (vn_reference_lookup_3): Bail out instead of aborting if the sizes of the two references don't match. From-SVN: r153777
Eric Botcazou committed -
ipa-inline.c (cgraph_decide_inlining): Include reason for not inlining called-once functions in dump file. 2009-10-31 Toon Moene <toon@moene.org> * ipa-inline.c (cgraph_decide_inlining): Include reason for not inlining called-once functions in dump file. From-SVN: r153776
Toon Moene committed -
* doc/xml/manual/intro.xml: Refer to our bugs page instead of Bugzilla directly. From-SVN: r153775
Gerald Pfeifer committed -
PR target/41885 * gcc.target/avr/torture/pr41885.c: New test. From-SVN: r153773
Andy Hutchinson committed -
From-SVN: r153772
GCC Administrator committed
-
- 30 Oct, 2009 9 commits
-
-
From-SVN: r153769
Janne Blomqvist committed -
/gcc/cp 2009-10-30 Jerry Quinn <jlquinn@optonline.net> * mangle.c (mangle_type_string_for_rtti): Reapply 153734. (needs_fake_anon): Likewise. (write_name): Likewise. (write_nested_name): Likewise. * cp-tree.h (mangle_type_string_for_rtti): Likewise. (get_anonymous_namespace): Likewise. * name-lookup.c (get_anonymous_namespace_name): Likewise. * rtti.c (tinfo_name): Likewise, with +1 in the second build_string call fixed. (tinfo_base_init): Likewise. libstdc++/ 2009-10-30 Jerry Quinn <jlquinn@optonline.net> * libsupc++/tinfo.cc (operator=(const type_info&)): Reapply 153734. * libsupc++/typeinfo (type_info::name()): Likewise. * libsupc++/tinfo2.cc (before): Likewise. From-SVN: r153768
Jerry Quinn committed -
2009-10-30 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h: Fix typo in static_assert text. From-SVN: r153767
Paolo Carlini committed -
* config/arm/linux-eabi.h (LINK_SPEC): BE8_LINK_SPEC added. * config/arm/bpapi.h (BE8_LINK_SPEC): New define. (LINK_SPEC): BE_LINK_SPEC added. From-SVN: r153766
Daniel Gutson committed -
Revert: * decl.c (cp_fname_init): Correct build_string argument. From-SVN: r153765
Jason Merrill committed -
2009-10-30 Rafael Avila de Espindola <espindola@google.com> PR41871 * lto-plugin.c (claim_file_handler): Close files that we created. From-SVN: r153764
Rafael Avila de Espindola committed -
2009-10-30 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/41759 * include/bits/random.h: Tweak a bit the text of some static_asserts. From-SVN: r153762
Paolo Carlini committed -
2009-10-30 Kai Tietz <kai.tietz@onevision.com> * configure.ac: Disable target-winsup & co for x86_64-*-mingw* and *-w64-mingw* targets. * configure: Regenerated. From-SVN: r153761
Kai Tietz committed -
2009-10-30 Richard Guenther <rguenther@suse.de> PR lto/41858 * lto-streamer.h (struct lto_file_decl_data): Remove fd member. lto/ * lto.c (lto_file_read): Do not set file_data->fd. (lto_read_section_data): Use a single-entry file-descriptor cache. Do not check the result of xmalloc. (free_section_data): Do not use file_data->fd. (lto_read_all_file_options): Likewise. From-SVN: r153758
Richard Guenther committed
-