- 15 Dec, 2010 36 commits
-
-
re PR fortran/46945 (gfortran.dg/unpack_zerosize_1.f90 FAILs with -ftree-vrp -fno-tree-ccp -fno-tree-fre) PR fortran/46945 * trans-array.c (gfc_array_init_size): Perform stride overflow checking and multiplication by element_size in size_type_node instead of sizetype, return value with size_type_node type instead of sometimes with sizetype and sometimes with gfc_array_index_type. * gfortran.dg/pr46945.f90: New test. From-SVN: r167871
Jakub Jelinek committed -
From-SVN: r167870
Ian Lance Taylor committed -
In libobjc/: 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com> * objc/message.h (objc_super): When using the modern API, do not define Super and Super_t, and always use 'super_class' for the super class field. (objc_msg_lookup_super): Updated prototype to use 'struct objc_super *' instead of 'Super_t'. * sendmsg.c (objc_msg_lookup_super): Updated prototype to use 'struct objc_super *' instead of 'Super_t'. From-SVN: r167869
Nicola Pero committed -
From-SVN: r167866
Ian Lance Taylor committed -
re PR debug/46815 (Invalid DW_AT_location for a retval instance of a class that has a virtual function) PR debug/46815 * cp-gimplify.c (cp_genericize): When changing RESULT_DECL into invisible reference, change also DECL_VALUE_EXPR of NRV optimized variable. * g++.dg/guality/pr46815.C: New test. From-SVN: r167865
Jakub Jelinek committed -
In libobjc/: 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com> * objc/message.h: Update comments, reindented code and moved deprecated types and functions at the end of the file. No code changes. From-SVN: r167864
Nicola Pero committed -
From-SVN: r167863
Janne Blomqvist committed -
re PR c++/42083 ([C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init") /cp 2010-12-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42083 * init.c (build_value_init): Check build_special_member_call return value for error_mark_node. /testsuite 2010-12-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42083 * g++.dg/cpp0x/lambda/lambda-ice2.C: New. From-SVN: r167862
Paolo Carlini committed -
From-SVN: r167860
Janne Blomqvist committed -
From-SVN: r167859
Rainer Orth committed -
* tree.c (get_file_function_name): Avoid using random seed on GLOBAL_sub_I and GLOBAL_sub_D. From-SVN: r167858
Jan Hubicka committed -
2010-12-15 H.J. Lu <hongjiu.lu@intel.com> * gfortran.dg/debug/pr46756.f: Correct PR number. From-SVN: r167857
H.J. Lu committed -
From-SVN: r167856
H.J. Lu committed -
2010-12-15 Martin Jambor <mjambor@suse.cz> PR tree-optimization/46053 PR middle-end/46287 PR middle-end/46242 * cgraph.h (cgraph_indirect_call_info): New field thunk_delta. * gimple.h (gimple_fold_obj_type_ref): Declaration removed. (gimple_fold_call): Declare. (gimple_adjust_this_by_delta): Likewise. * cgraph.c (cgraph_make_edge_direct): New parameter delta. Updated all users. (cgraph_clone_edge): Create a copy of indirect_info also for direct edges. * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Adjust this parameters. * gimple-fold.c (gimple_fold_obj_type_ref_known_binfo): Renamed to gimple_get_virt_mehtod_for_binfo, new parameter delta. Do not search through thunks, in fact bail out if we encounter one, check that BINFO_VIRTUALS is not NULL. (gimple_adjust_this_by_delta): New function. (gimple_fold_obj_type_ref): Removed. (gimple_fold_obj_type_ref_call): New function. (fold_gimple_call): Renamed to gimple_fold_call, made external. Updated users. Call gimple_fold_obj_type_ref_call instead of gimple_fold_obj_type_ref. * ipa-cp.c (ipcp_process_devirtualization_opportunities): Process thunk deltas. (ipcp_discover_new_direct_edges): Likewise. * ipa-prop.c (ipa_make_edge_direct_to_target): New parameter delta. Updated callers. (ipa_write_indirect_edge_info): Stream thunk_delta. (ipa_read_indirect_edge_info): Likewise. * tree-ssa-ccp.c (ccp_fold_stmt): Use gimple_fold_call instead of gimple_fold_obj_type_ref. * testsuite/g++.dg/ipa/pr46053.C: New test. * testsuite/g++.dg/ipa/pr46287-1.C: Likewise. * testsuite/g++.dg/ipa/pr46287-2.C: Likewise. * testsuite/g++.dg/ipa/pr46287-3.C: Likewise. * testsuite/g++.dg/torture/covariant-1.C: Likewise. * testsuite/g++.dg/torture/pr46287.C: Likewise. From-SVN: r167855
Martin Jambor committed -
re PR rtl-optimization/46649 (ICE: in move_bb_info, at sel-sched-ir.c:5080 with -fschedule-insns -fselective-scheduling) PR rtl-optimization/46649 * sel-sched-ir.c (purge_empty_blocks): Unconditionally skip the first basic block in the region. testsuite: * g++.dg/opt/pr46649.C: New. From-SVN: r167854
Alexander Monakov committed -
2010-12-15 Paolo Carlini <paolo.carlini@oracle.com> * include/ext/vstring.h (operator+(__versa_string<>&&, const __versa_string<>&), operator+(const __versa_string<>&, __versa_string<>&&), operator+(__versa_string<>&&, __versa_string<>&&), operator+(const _CharT*, __versa_string<>&&), operator+(_CharT, __versa_string<>&&), operator+(__versa_string<>&&, const _CharT*), operator+(__versa_string<>&&, _CharT)): Add. * testsuite/ext/vstring/operators/1.cc: New. From-SVN: r167853
Paolo Carlini committed -
* config/stormy16/stormy16.h (LINK_SPEC, WCHAR_TYPE): Define. * config.gcc (xstormy16-*-elf): Don't use svr4.h. From-SVN: r167852
Joseph Myers committed -
* config/rx/rx.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. * config.gcc (rx-*-elf*): Don't use svr4.h. From-SVN: r167851
Joseph Myers committed -
* Makefile.am (liblto_plugin_la_DEPENDENCIES): Define. (liblto_plugin_la_LIBADD): Use -L../libiberty/pic -liberty. (liblto_plugin_la_LDFLAGS): Use -L../libiberty -liberty. * Makefile.in: Regenerate. From-SVN: r167850
Rainer Orth committed -
* decl.c (java_init_decl_processing): Initialise integer_three_node. * lang.c (put_decl_node): Handle nested function decls. From-SVN: r167849
Dave Korn committed -
PR testsuite/46938 * gcc.dg/pr43157.c: Add dg-require-linker-plugin directive. From-SVN: r167848
Dave Korn committed -
From-SVN: r167846
Ian Lance Taylor committed -
From-SVN: r167845
Ian Lance Taylor committed -
2010-12-14 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/46845 * sese.c (scalar_evolution_in_region): Handle scop parameters before scev analysis. * gcc.dg/graphite/id-pr46845.c: New. From-SVN: r167844
Sebastian Pop committed -
2010-12-14 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/46928 * tree-data-ref.c (analyze_overlapping_iterations): Handle "A[p] == A[p]" in data dependence analysis with p a parameter of the loop. * gcc.dg/tree-ssa/ldist-17.c: New. From-SVN: r167843
Sebastian Pop committed -
2010-12-14 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/45948 * tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p): New. (stmt_has_scalar_dependences_outside_loop): New. (stmt_generated_in_another_partition): New. (add_scalar_computations_to_partition): New. (rdg_build_partitions): Call add_scalar_computations_to_partition. * gcc.dg/tree-ssa/ldist-pr45948.c: New. From-SVN: r167842
Sebastian Pop committed -
* config/arc/arc.h (LIB_SPEC): Define. * config.gcc (arc-*-elf*): Don't use svr4.h. From-SVN: r167840
Joseph Myers committed -
2010-12-15 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/46951 * testsuite/30_threads/future/members/45133.cc: Fix dg-options. * testsuite/30_threads/shared_future/members/45133.cc: Likewise. From-SVN: r167839
Jonathan Wakely committed -
From-SVN: r167838
Ian Lance Taylor committed -
In libobjc/: 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com> * ivars.c (class_addIvar): Use the 'size' argument instead of trying to calculate it using objc_sizeof_type(). * objc/runtime.h (class_addIvar): Updated comments. From-SVN: r167837
Nicola Pero committed -
From-SVN: r167836
Ian Lance Taylor committed -
2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com> * sendmsg.c: Reindented some code and tidied up comments. No actual code changes. From-SVN: r167835
Nicola Pero committed -
PR c++/46930 * decl.c (grokdeclarator): Reject uninitialized constexpr static data member. From-SVN: r167834
Jason Merrill committed -
From-SVN: r167833
GCC Administrator committed -
* config/sh/elf.h (LIB_SPEC): Define. * config.gcc (sh-*-elf* | sh[12346l]*-*-elf* | sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | sh-*-linux* | sh[2346lbe]*-*-linux* | sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | sh64-*-netbsd* | sh64l*-*-netbsd*, sh-*-rtems*, sh-wrs-vxworks): Don't use svr4.h. From-SVN: r167829
Joseph Myers committed -
From-SVN: r167828
Ian Lance Taylor committed
-
- 14 Dec, 2010 4 commits
-
-
From-SVN: r167827
Ian Lance Taylor committed -
From-SVN: r167826
Ian Lance Taylor committed -
2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com> * objc/Object.h: Moved all the methods, with the exception of -class and -isEqual:, into ... * objc/deprecated/Object.h: here. * Object.m: Moved all the methods, with the exception of -class and -isEqual: into the 'Deprecated' category. From-SVN: r167825
Nicola Pero committed -
From-SVN: r167824
Ian Lance Taylor committed
-