- 24 Jan, 2010 4 commits
-
-
From-SVN: r156198
Joseph Myers committed -
2010-01-24 Paul Thomas <pault@gcc.gnu.org> PR fortran/41044 PR fortran/41167 * expr.c (remove_subobject_ref): If the constructor is NULL use the expression as the source. (simplify_const_ref): Change the type of expression if there are component references. Allow for substring to be at the end of an arbitrarily long chain of references. If an element is found that is not in an EXPR_ARRAY, assume that this is scalar initialization of array. Call remove_subobject_ref in this case with NULL second argument. 2010-01-24 Paul Thomas <pault@gcc.gnu.org> PR fortran/41044 * gfortran.dg/parameter_array_ref_2.f90 : New test. PR fortran/41167 * gfortran.dg/char_array_arg_1.f90 : New test. * gfortran.dg/pr25923.f90 : Remove XFAIL. From-SVN: r156197
Paul Thomas committed -
2010-01-24 Tobias Burnus <burnus@net-b.de> PR fortran/39304 * array.c (gfc_array_dimen_size): Use correct specific function in the check. 2010-01-24 Tobias Burnus <burnus@net-b.de> PR fortran/39304 * gfortran.dg/generic_20.f90: New test. From-SVN: r156195
Tobias Burnus committed -
From-SVN: r156194
GCC Administrator committed
-
- 23 Jan, 2010 4 commits
-
-
ChangeLog * tree-predcom.c (combine_chains): Return NULL, not false. From-SVN: r156191
Toon Moene committed -
tree-loop-distribution.c (distribute_loop): Fix declaration and initialization of variable res to agree with return type. * tree-loop-distribution.c (distribute_loop): Fix declaration and initialization of variable res to agree with return type. From-SVN: r156190
Joern Rennecke committed -
PR libstdc++/36101, PR libstdc++/42813 * configure.ac (bootstrap_target_libs): Include target-libgomp. * configure: Regenerate. From-SVN: r156189
Joern Rennecke committed -
From-SVN: r156184
GCC Administrator committed
-
- 22 Jan, 2010 11 commits
-
-
2010-01-22 Steve Ellcey <sje@cup.hp.com> * Makefile.in (tree-sra.o): Add $(EXPR_H) dependency. * tree-sra.c: Add include of expr.h. From-SVN: r156181
Steve Ellcey committed -
From-SVN: r156179
Joern Rennecke committed -
2010-01-22 Daniel Frey <d.frey@gmx.de> * include/std/functional (_Index_tuple, _Build_index_tuple): Simplify and speed-up. From-SVN: r156178
Daniel Frey committed -
tree-into-ssa.c (maybe_register_def): If stmt ends the bb, insert the debug stmt on the single non-EH edge from the stmt. * tree-into-ssa.c (maybe_register_def): If stmt ends the bb, insert the debug stmt on the single non-EH edge from the stmt. From-SVN: r156177
Jakub Jelinek committed -
PR tree-opt/42833 * tree-sra.c (sra_modify_assign): Delay re-gimplification of the RHS until after generate_subtree_copies has insertted its code before the current statement. From-SVN: r156176
Richard Henderson committed -
From-SVN: r156175
Joern Rennecke committed -
PR libstdc++/36101, PR libstdc++/42813 [toplevel]: * configure.ac (target_configdirs): Substitute. * Makefile.def: Bootstrap target module libgomp. Add dependency of all-target-libstdc++-v3 on configure-target-libgomp. * Makefile.tpl (TARGET_CONFIGDIRS): New makefile variable. (BASE_TARGET_EXPORTS): Export TARGET_CONFIGDIRS. * configure, Makefile.in: Regenerate. libstdc++-v3: * acinclude.m4: (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of loking for omp.h . * configure: Regenerate. From-SVN: r156172
Joern Rennecke committed -
* gfortran.dg/vect/fast-math-mgrid-resid.f: Limit to x86, add -msse2. From-SVN: r156170
Michael Matz committed -
* system-linux-armel.ads (Stack_Check_Probes): Set to True. * system-linux-armeb.ads (Stack_Check_Probes): Likewise. From-SVN: r156169
Eric Botcazou committed -
2010-01-22 Shujing Zhao <pearly.zhao@oracle.com> * exgettext: Handle the functions and the macro definitions that the arguments are broken into more than one line. From-SVN: r156168
Shujing Zhao committed -
From-SVN: r156164
GCC Administrator committed
-
- 21 Jan, 2010 14 commits
-
-
2010-01-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/42736 * trans-stmt.c (gfc_conv_elemental_dependencies): If temporary is required, turn any trailing array elements after a range into ranges so that offsets can be calculated. 2010-01-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/42736 * gfortran.dg/dependency_25.f90 : New test. From-SVN: r156161
Paul Thomas committed -
2010-01-21 Martin Jambor <mjambor@suse.cz> PR tree-optimization/42585 * tree-sra.c (struct access): New field grp_total_scalarization. (dump_access): Dump the new field. (should_scalarize_away_bitmap): New variable. (cannot_scalarize_away_bitmap): Likewise. (sra_initialize): Allocate new bitmaps. (sra_deinitialize): Free new bitmaps. (create_access_1): New function. (create_access): Parts moved to create_access_1. (type_consists_of_records_p): New function. (completely_scalarize_record): Likewise. (build_access_from_expr): Set bit in cannot_scalarize_away_bitmap. (build_accesses_from_assign): Set bits in should_scalarize_away_bitmap. (sort_and_splice_var_accesses): Hint groups with a total_scalarization access. (analyze_all_variable_accesses): Completely scalarize small eligible records. * testsuite/gcc.dg/tree-ssa/pr42585.c: New test. From-SVN: r156156
Martin Jambor committed -
2010-01-21 Martin Jambor <mjambor@suse.cz> * tree-sra.c (build_ref_for_offset_1): Allow for zero size fields. From-SVN: r156155
Martin Jambor committed -
2010-01-21 Andrew Haley <aph@redhat.com> * gcc.c (process_command): Move lang_specific_driver before setting cc_libexec_prefix. From-SVN: r156154
Andrew Haley committed -
2010-01-21 Richard Guenther <rguenther@suse.de> PR middle-end/19988 * fold-const.c (negate_expr_p): Pretend only negative real constants are easily negatable. * gcc.dg/pr19988.c: New testcase. From-SVN: r156152
Richard Guenther committed -
2010-01-20 Eric B. Weddington <eric.weddington@atmel.com> * MAINTAINERS (CPU Port Maintainers): Add myself for avr port. From-SVN: r156107
Eric B. Weddington committed -
* tree.h (TYPE_TRANSPARENT_UNION): Replace with ... (TYPE_TRANSPARENT_AGGR): this, for union and record. * calls.c (initialize argument_information): Handle it. * c-common.c (handle_transparent_union_attribute): Use new name. * c-decl.c (finish_struct): Ditto. * c-typeck.c (type_lists_compatible_p): Ditto. (convert_for_assignment): Use new name and also handle record. * function.c (aggregate_value_p): Handle it. (pass_by_reference): Ditto. (assign_parm_data_types): Ditto. * print-tree.c (print_node): Ditto. * lto-streamer-in.c (unpack_ts_type_value_fields): Ditto. * lto-streamer-out.c (pack_ts_type_value_fields): Ditto. * tree.c (first_field): New fn. gcc/cp/ * mangle.c (write_type): Mangle transparent record as member type. * semantics.c (begin_class_definition): Recognize decimal classes and set TYPE_TRANSPARENT_AGGR. Co-Authored-By: Jason Merrill <jason@redhat.com> From-SVN: r156106
Janis Johnson committed -
re PR target/42818 (Static C++ linking breakage "undefined reference to ___real__Znwj" and others in libcygwin.a(_cygwin_crt0_common.o)) PR target/42818 * config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers, even when linking statically, for now. From-SVN: r156105
Dave Korn committed -
* MAINTAINERS: Adjust my details. From-SVN: r156104
Dave Korn committed -
PR c++/42338 * mangle.c (write_expression): Handle tree codes that have extra arguments in the middle-end. * cp-demangle.c (d_print_comp): Fix array index printing. From-SVN: r156103
Jason Merrill committed -
PR debug/42715 * var-tracking.c (use_type): Choose MO_VAL_SET for REGs set without a cselib val. (count_uses): Accept MO_VAL_SET with no val on stores. (add_stores): Likewise. * gcc.dg/pr42715.c: New. From-SVN: r156102
Alexandre Oliva committed -
* var-tracking.c (check_value_val): Add a compile time assertion. (dv_is_decl_p): Simplify. (dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use gcc_assert if ENABLE_CHECKING. From-SVN: r156101
Jakub Jelinek committed -
From-SVN: r156100
GCC Administrator committed -
2010-01-21 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/42201 * include/std/future: Update to latest WP. * src/functexcept.cc (__throw_future_error): Use make_error_code. * testsuite/30_threads/async/any.cc: New. * testsuite/30_threads/async/async.cc: New. * testsuite/30_threads/async/sync.cc: New. * testsuite/30_threads/packaged_task/cons/alloc.cc: New. * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust. * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Adjust. * testsuite/30_threads/packaged_task/members/get_future.cc: Adjust. * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise. * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust. * testsuite/30_threads/packaged_task/members/invoke2.cc: Adjust. * testsuite/30_threads/packaged_task/members/invoke3.cc: Adjust. * testsuite/30_threads/packaged_task/members/invoke4.cc: Adjust. * testsuite/30_threads/packaged_task/members/reset.cc: Adjust. * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust. * testsuite/30_threads/shared_future/cons/assign_neg.cc: Remove. * testsuite/30_threads/shared_future/cons/default_neg.cc: Remove. * testsuite/30_threads/shared_future/cons/default.cc: New. * testsuite/30_threads/shared_future/cons/assign.cc: New. * testsuite/30_threads/shared_future/cons/copy.cc: Adjust. * testsuite/30_threads/shared_future/cons/move.cc: Adjust. * testsuite/30_threads/shared_future/cons/move_assign.cc: New. * testsuite/30_threads/shared_future/members/is_ready.cc: Remove. * testsuite/30_threads/shared_future/members/has_value.cc: Remove. * testsuite/30_threads/shared_future/members/has_exception.cc: Remove. * testsuite/30_threads/shared_future/members/valid.cc: New. * testsuite/30_threads/unique_future/cons/default_neg.cc: Remove. * testsuite/30_threads/unique_future/cons/default.cc: New. * testsuite/30_threads/unique_future/cons/move_assign.cc: New. * testsuite/30_threads/unique_future/cons/assign_neg.cc: Adjust. * testsuite/30_threads/unique_future/cons/copy_neg.cc: Adjust. * testsuite/30_threads/unique_future/cons/move.cc: Adjust. * testsuite/30_threads/unique_future/requirements/ explicit_instantiation.cc: Adjust. * testsuite/30_threads/unique_future/members/is_ready.cc: Remove. * testsuite/30_threads/unique_future/members/has_value.cc: Remove. * testsuite/30_threads/unique_future/members/has_exception.cc: Remove. * testsuite/30_threads/unique_future/members/valid.cc: New. * testsuite/30_threads/unique_future/members/get.cc: Adjust. * testsuite/30_threads/unique_future/members/get2.cc: Adjust. * testsuite/30_threads/unique_future/members/wait.cc: Adjust. * testsuite/30_threads/unique_future/members/wait_for.cc: Adjust. * testsuite/30_threads/unique_future/members/wait_until.cc: Adjust. * testsuite/30_threads/headers/future/types_std_c++0x.cc: Adjust. * testsuite/30_threads/promise/cons/alloc.cc: New. * testsuite/30_threads/promise/cons/assign_neg.cc: Adjust. * testsuite/30_threads/promise/cons/copy_neg.cc: Adjust. * testsuite/30_threads/promise/cons/move.cc: Adjust. * testsuite/30_threads/promise/cons/move_assign.cc: Adjust. * testsuite/30_threads/promise/members/get_future.cc: Adjust. * testsuite/30_threads/promise/members/set_value.cc: Adjust. * testsuite/30_threads/promise/members/set_exception.cc: Adjust. * testsuite/30_threads/promise/members/set_exception2.cc: Adjust. * testsuite/30_threads/promise/members/set_value2.cc: Adjust. * testsuite/30_threads/promise/members/set_value3.cc: Adjust. * testsuite/30_threads/promise/members/swap.cc: Adjust. From-SVN: r156097
Jonathan Wakely committed
-
- 20 Jan, 2010 7 commits
-
-
re PR c++/42038 (ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p) /cp 2010-01-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42038 * except.c (expand_start_catch_block): Deal correctly with do_begin_catch returning error_mark_node. /testsuite 2010-01-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42038 * g++.dg/parse/crash55.C: New. From-SVN: r156094
Paolo Carlini committed -
PR debug/42782 * var-tracking.c: Include tree-flow.h. (mem_dies_at_call): New. (dataflow_set_preserve_mem_locs): Use it. (dataflow_set_remove_mem_locs): Likewise. (dump_var): Renamed from dump_variable. Adjust all callers. (dump_var_slot): Renamed from dump_variable_slot. Likewise. * Makefile.in (var-tracking.o): Adjust deps. * gcc.dg/guality/pr42782.c: New. From-SVN: r156092
Alexandre Oliva committed -
From-SVN: r156091
Joern Rennecke committed -
From-SVN: r156089
Jason Merrill committed -
PR c++/41788 * class.c (layout_class_type): Set packed_maybe_necessary for packed non-PODs. From-SVN: r156088
Jason Merrill committed -
PR c++/41920 * semantics.c (build_lambda_object): Call mark_used on captured variables. From-SVN: r156085
Jason Merrill committed -
PR c++/40750 * decl.c (grokdeclarator): Clear type_quals for a member function declared using a typedef. Don't complain about adding cv-quals to a function typedef in C++0x mode. From-SVN: r156084
Jason Merrill committed
-