- 19 Sep, 2009 1 commit
-
-
From-SVN: r151876
GCC Administrator committed
-
- 18 Sep, 2009 17 commits
-
-
*restore_gpregs_<mode>, *return_and_restore_gpregs_<mode>, *return_and_restore_fpregs_<mode>, *return_and_restore_fpregs_aix_<mode>): Remove 'z' operand modifier. From-SVN: r151873
Jakub Jelinek committed -
PR bootstrap/41397 * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: Recurse instead of assuming it has always a REG inside of it. From-SVN: r151872
Jakub Jelinek committed -
* config/freebsd.h: Update comment on types. (WINT_TYPE): Define. From-SVN: r151871
Gerald Pfeifer committed -
* decl2.c (determine_visibility): Make anonymous types internal. (mark_used): Complain about types without linkage used in decls with internal linkage. (vague_linkage_fn_p): Split out from... * decl.c (maybe_commonize_var): ...here. (grokdeclarator): Adjust linkage when a typedef gives linkage name. * tree.c (no_linkage_check): Check the enclosing class and template arguments. * cp-tree.h (TYPE_NAMESPACE_SCOPE_P): New. From-SVN: r151868
Jason Merrill committed -
* c.opt: Add -fno-deduce-init-list. * pt.c (get_pattern_parm): New. (listify): Split out from... (listify_autos): ...here. (unify): Deduce std::initializer_list for T. * call.c (build_over_call): Warn about it. From-SVN: r151867
Jason Merrill committed -
2009-09-18 Jan Kratochvil <jan.kratochvil@redhat.com> * python/hook.in: Fix prefix trailing slash on 64bit host arches. From-SVN: r151866
Jan Kratochvil committed -
value-prof.c (interesting_stringop_to_profile_p): Added output argument to indicate which parameter is the size parameter. 2009-09-18 Neil Vachharajani <nvachhar@google.com> * value-prof.c (interesting_stringop_to_profile_p): Added output argument to indicate which parameter is the size parameter. * value-prof.c (gimple_stringop_fixed_value): Use INTERESTING_STRINGOP_TO_PROFILE_P to find size argument. * value-prof.c (gimple_stringops_transform): Update call sites to INTERESTING_STRINGOP_TO_PROFILE_P to reflect parameter change. * testsuite/gcc.dg/tree-prof/val-prof-7.c: Added test case. From-SVN: r151864
Neil Vachharajani committed -
* gcc.dg/dfp/dfp.exp: Also run tests in c-c++-common/dfp. * c-c++-common/dfp: New directory. * c-c++-common/dfp/dfp-dbg.h: New file. * gcc.dg/dfp/call-by-value.c: Move to ... * c-c++-common/call-by-value.c: here. * gcc.dg/dfp/cast.c: Move to ... * c-c++-common/cast.c: here. * gcc.dg/dfp/compare-eq-const.c: Move to ... * c-c++-common/compare-eq-const.c: here. * gcc.dg/dfp/compare-eq-d128.c: Move to ... * c-c++-common/compare-eq-d128.c: here. * gcc.dg/dfp/compare-eq-d32.c: Move to ... * c-c++-common/compare-eq-d32.c: here. * gcc.dg/dfp/compare-eq-d64.c: Move to ... * c-c++-common/compare-eq-d64.c: here. * gcc.dg/dfp/compare-eq-dfp.c: Move to ... * c-c++-common/compare-eq-dfp.c: here. * gcc.dg/dfp/compare-eq.h: Move to ... * c-c++-common/compare-eq.h: here. * gcc.dg/dfp/compare-rel-const.c: Move to ... * c-c++-common/compare-rel-const.c: here. * gcc.dg/dfp/compare-rel-d128.c: Move to ... * c-c++-common/compare-rel-d128.c: here. * gcc.dg/dfp/compare-rel-d32.c: Move to ... * c-c++-common/compare-rel-d32.c: here. * gcc.dg/dfp/compare-rel-d64.c: Move to ... * c-c++-common/compare-rel-d64.c: here. * gcc.dg/dfp/compare-rel-dfp.c: Move to ... * c-c++-common/compare-rel-dfp.c: here. * gcc.dg/dfp/compare-rel.h: Move to ... * c-c++-common/compare-rel.h: here. * gcc.dg/dfp/compare-special-d128.c: Move to ... * c-c++-common/compare-special-d128.c: here. * gcc.dg/dfp/compare-special-d32.c: Move to ... * c-c++-common/compare-special-d32.c: here. * gcc.dg/dfp/compare-special-d64.c: Move to ... * c-c++-common/compare-special-d64.c: here. * gcc.dg/dfp/compare-special.h: Move to ... * c-c++-common/compare-special.h: here. * gcc.dg/dfp/constants-zero.c: Move to ... * c-c++-common/constants-zero.c: here. * gcc.dg/dfp/convert-bfp-10.c: Move to ... * c-c++-common/convert-bfp-10.c: here. * gcc.dg/dfp/convert-bfp-11.c: Move to ... * c-c++-common/convert-bfp-11.c: here. * gcc.dg/dfp/convert-bfp-12.c: Move to ... * c-c++-common/convert-bfp-12.c: here. * gcc.dg/dfp/convert-bfp-13.c: Move to ... * c-c++-common/convert-bfp-13.c: here. * gcc.dg/dfp/convert-bfp-14.c: Move to ... * c-c++-common/convert-bfp-14.c: here. * gcc.dg/dfp/convert-bfp-2.c: Move to ... * c-c++-common/convert-bfp-2.c: here. * gcc.dg/dfp/convert-bfp-3.c: Move to ... * c-c++-common/convert-bfp-3.c: here. * gcc.dg/dfp/convert-bfp-4.c: Move to ... * c-c++-common/convert-bfp-4.c: here. * gcc.dg/dfp/convert-bfp-5.c: Move to ... * c-c++-common/convert-bfp-5.c: here. * gcc.dg/dfp/convert-bfp-6.c: Move to ... * c-c++-common/convert-bfp-6.c: here. * gcc.dg/dfp/convert-bfp-7.c: Move to ... * c-c++-common/convert-bfp-7.c: here. * gcc.dg/dfp/convert-bfp-8.c: Move to ... * c-c++-common/convert-bfp-8.c: here. * gcc.dg/dfp/convert-bfp-9.c: Move to ... * c-c++-common/convert-bfp-9.c: here. * gcc.dg/dfp/convert-bfp.c: Move to ... * c-c++-common/convert-bfp.c: here. * gcc.dg/dfp/convert-bfp-fold.c: Move to ... * c-c++-common/convert-bfp-fold.c: here. * gcc.dg/dfp/convert-dfp.c: Move to ... * c-c++-common/convert-dfp.c: here. * gcc.dg/dfp/convert-dfp-fold-2.c: Move to ... * c-c++-common/convert-dfp-fold-2.c: here. * gcc.dg/dfp/convert-dfp-fold.c: Move to ... * c-c++-common/convert-dfp-fold.c: here. * gcc.dg/dfp/convert.h: Move to ... * c-c++-common/convert.h: here. * gcc.dg/dfp/convert-int.c: Move to ... * c-c++-common/convert-int.c: here. * gcc.dg/dfp/convert-int-fold.c: Move to ... * c-c++-common/convert-int-fold.c: here. * gcc.dg/dfp/convert-int-max.c: Move to ... * c-c++-common/convert-int-max.c: here. * gcc.dg/dfp/convert-int-max-fold.c: Move to ... * c-c++-common/convert-int-max-fold.c: here. * gcc.dg/dfp/convert-int-saturate.c: Move to ... * c-c++-common/convert-int-saturate.c: here. * gcc.dg/dfp/func-array.c: Move to ... * c-c++-common/func-array.c: here. * gcc.dg/dfp/func-deref.c: Move to ... * c-c++-common/func-deref.c: here. * gcc.dg/dfp/func-mixed.c: Move to ... * c-c++-common/func-mixed.c: here. * gcc.dg/dfp/func-pointer.c: Move to ... * c-c++-common/func-pointer.c: here. * gcc.dg/dfp/func-scalar.c: Move to ... * c-c++-common/func-scalar.c: here. * gcc.dg/dfp/func-struct.c: Move to ... * c-c++-common/func-struct.c: here. * gcc.dg/dfp/func-vararg-alternate-d128-2.c: Move to ... * c-c++-common/func-vararg-alternate-d128-2.c: here. * gcc.dg/dfp/func-vararg-alternate-d128.c: Move to ... * c-c++-common/func-vararg-alternate-d128.c: here. * gcc.dg/dfp/func-vararg-alternate-d32.c: Move to ... * c-c++-common/func-vararg-alternate-d32.c: here. * gcc.dg/dfp/func-vararg-alternate-d64.c: Move to ... * c-c++-common/func-vararg-alternate-d64.c: here. * gcc.dg/dfp/func-vararg-alternate.h: Move to ... * c-c++-common/func-vararg-alternate.h: here. * gcc.dg/dfp/func-vararg-dfp.c: Move to ... * c-c++-common/func-vararg-dfp.c: here. * gcc.dg/dfp/func-vararg-mixed-2.c: Move to ... * c-c++-common/func-vararg-mixed-2.c: here. * gcc.dg/dfp/func-vararg-mixed.c: Move to ... * c-c++-common/func-vararg-mixed.c: here. * gcc.dg/dfp/func-vararg-size0.c: Move to ... * c-c++-common/func-vararg-size0.c: here. * gcc.dg/dfp/inf-1.c: Move to ... * c-c++-common/inf-1.c: here. * gcc.dg/dfp/loop-index.c: Move to ... * c-c++-common/loop-index.c: here. * gcc.dg/dfp/modes.c: Move to ... * c-c++-common/modes.c: here. * gcc.dg/dfp/nan-1.c: Move to ... * c-c++-common/nan-1.c: here. * gcc.dg/dfp/nan-2.c: Move to ... * c-c++-common/nan-2.c: here. * gcc.dg/dfp/operator-arith-fold.c: Move to ... * c-c++-common/operator-arith-fold.c: here. * gcc.dg/dfp/operator-assignment.c: Move to ... * c-c++-common/operator-assignment.c: here. * gcc.dg/dfp/operator-comma.c: Move to ... * c-c++-common/operator-comma.c: here. * gcc.dg/dfp/operator-cond.c: Move to ... * c-c++-common/operator-cond.c: here. * gcc.dg/dfp/operator-logical.c: Move to ... * c-c++-common/operator-logical.c: here. * gcc.dg/dfp/operator-unary.c: Move to ... * c-c++-common/operator-unary.c: here. * gcc.dg/dfp/pr31385.c: Move to ... * c-c++-common/pr31385.c: here. * gcc.dg/dfp/pr33466.c: Move to ... * c-c++-common/pr33466.c: here. * gcc.dg/dfp/pr35620.c: Move to ... * c-c++-common/pr35620.c: here. * gcc.dg/dfp/pr36800.c: Move to ... * c-c++-common/pr36800.c: here. * gcc.dg/dfp/pr39034.c: Move to ... * c-c++-common/pr39034.c: here. * gcc.dg/dfp/pr39035.c: Move to ... * c-c++-common/pr39035.c: here. * gcc.dg/dfp/pr39902.c: Move to ... * c-c++-common/pr39902.c: here. * gcc.dg/dfp/pr39986.c: Move to ... * c-c++-common/pr39986.c: here. * gcc.dg/dfp/signbit-1.c: Move to ... * c-c++-common/signbit-1.c: here. * gcc.dg/dfp/signbit-2.c: Move to ... * c-c++-common/signbit-2.c: here. * gcc.dg/dfp/struct-layout-1.c: Move to ... * c-c++-common/struct-layout-1.c: here. * gcc.dg/dfp/usual-arith-conv.c: Move to ... * c-c++-common/usual-arith-conv.c: here. * gcc.dg/dfp/usual-arith-conv-const.c: Move to ... * c-c++-common/usual-arith-conv-const.c: here. From-SVN: r151861
Janis Johnson committed -
re PR testsuite/41288 (gcc.target/x86_64/abi/test_struct_returning.c regressions on *-apple-darwin* at -m64) PR testsuite/41288 * gcc.target/x86_64/abi/asm-support-darwin.s (snapshot_ret): Preserve stack alignment. From-SVN: r151855
Jack Howarth committed -
PR target/38288 From David Binderman <dcb314@hotmail.com>: * gcc/config/i386/i386.c (ix86_function_regparm): Remove useless local variable f. Remove stale comments. (ix86_compute_frame_layout): Remove useless local variable total_size. Remove #if 0'd code. (legitimate_address_p): Remove useless local variables reason_rtx and reason. (ix86_split_copysign_const): Remove useless local variable op1. (scale_counter): Remove useless local variable piece_size_mask. From-SVN: r151854
Uros Bizjak committed -
2009-09-18 Pascal Obry <obry@adacore.com> * mingw32.h: Activate Unicode support for x86-64 Windows platform. 2009-09-18 Vadim Godunko <godunko@adacore.com> * s-oscons-tmplt.c: Add circuit for handling IOV_MAX macro on IRIX. 2009-09-18 Javier Miranda <miranda@adacore.com> * exp_aggr.adb (Backend_Processing_Possible): Disable backend processing for array aggregates in the VM backend if the array has aliased components. 2009-09-18 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Analyze_Indexed_Component): Emit error if the type of the prefix indicates a previous semantic error, and this is the first error in the program. 2009-09-18 Bob Duff <duff@adacore.com> * gnat_ugn.texi: Minor editing. From-SVN: r151844
Arnaud Charlet committed -
2009-09-18 Vincent Celier <celier@adacore.com> * prj.ads, prj.adb (Project_Data): New component Imported_Directories_Switches. 2009-09-18 Pascal Obry <obry@adacore.com> * mingw32.h: Include standard _mingw.h file. Define _WIN32_WINNT only if not already defined. From-SVN: r151843
Arnaud Charlet committed -
2009-09-18 Thomas Quinot <quinot@adacore.com> * g-socket.adb (Is_Open): New function indicating whether a Selector_Type object is open. 2009-09-18 Vincent Celier <celier@adacore.com> * osint-c.adb (Create_Output_Library_Info): Make sure that the ALI file is deleted before creating it. 2009-09-18 Robert Dewar <dewar@adacore.com> * bindgen.adb: Minor reformatting From-SVN: r151842
Arnaud Charlet committed -
2009-09-18 Arnaud Charlet <charlet@adacore.com> * s-taprop-tru64.adb, s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-posix.adb (Abort_Task): Do nothing if no signal handler is installed. * s-tassta.adb (Finalize_Global_Tasks): Do not wait for independent tasks if Abort_Task_Interrupt cannot be used. 2009-09-18 Vincent Celier <celier@adacore.com> * prj-tree.ads: Minor comment update From-SVN: r151841
Arnaud Charlet committed -
* stmt.c (expand_asm_operands): Set REG_ATTRS on the temporary from output decl. From-SVN: r151837
Jakub Jelinek committed -
From-SVN: r151829
GCC Administrator committed -
PR target/40913 * config/pa/t-hpux-shlib: Set soname in libgcc_s.sl. From-SVN: r151826
Michael Haubenwallner committed
-
- 17 Sep, 2009 22 commits
-
-
* testsuite/lib/libstdc++.exp (check_v3_target_binary_io): New. * testsuite/lib/dg-options.exp (dg-require-binary-io): New. * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc, testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc, testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc, testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc, testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc, testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc, testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc, testsuite/27_io/basic_istream/readsome/char/6746-2.cc, testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc, testsuite/27_io/objects/char/10.cc: Use dg-require-binary-io. From-SVN: r151825
Joseph Myers committed -
* include/ext/vstring.h (to_wstring(long long), to_wstring(unsigned long long), to_wstring(long double)): Disable for _GLIBCXX_HAVE_BROKEN_VSWPRINTF. From-SVN: r151824
Joseph Myers committed -
2009-09-17 Andrew Pinski <pinskia@gcc.gnu.org> PR c++/39365 * typeck.c (cp_build_unary_op): Check TREE_CODE for bools instead of using same_type_p. (convert_for_assignment): Likewise. * cvt.c (type_promotes_to): Likewise. 2009-09-17 Andrew Pinski <pinskia@gcc.gnu.org> PR c++/39365 * g++.dg/expr/bool3.C: New test. * g++.dg/expr/bool4.C: New test. From-SVN: r151823
Andrew Pinski committed -
* gcc/testsuite/gcc.dg/dfp/dfp-dbg.h: Define EXTERN. * gcc/testsuite/gcc.dg/dfp/signbit-2.c: Use it. * gcc/testsuite/gcc.dg/dfp/func-vararg-alternate.h: Change two arguments to unsigned int. * gcc/testsuite/gcc.dg/dfp/convert-bfp-10.c: Don't include float.h. * gcc/testsuite/gcc.dg/dfp/convert-bfp-fold.c: Include dfp-dbg.h. * gcc/testsuite/gcc.dg/dfp/convert-dfp-fold.c: Ditto * gcc/testsuite/gcc.dg/dfp/convert-int-max-fold.c: Ditto. * gcc/testsuite/gcc.dg/dfp/operator-arith-fold.c: Ditto. * gcc/testsuite/gcc.dg/dfp/pr39986.c: Ditto. * gcc/testsuite/gcc.dg/dfp/usual-arith-conv-const.c: Ditto. * gcc/testsuite/gcc.dg/dfp/pr31385.c: Use mode in typedef, not C type. * gcc/testsuite/gcc.dg/dfp/pr35620.c: Define typedef for C++. * gcc/testsuite/gcc.dg/dfp/convert-int.c: Define BOOL for C++. * gcc/testsuite/gcc.dg/dfp/convert-int-fold.c: Ditto. From-SVN: r151821
Janis Johnson committed -
2009-09-17 Loren J. Rittle <ljrittle@acm.org> PR testsuite/32843 (strikes again) * src/x86/ffi.c (ffi_prep_cif_machdep): Add X86_FREEBSD to enable proper extension on char and short. From-SVN: r151819
Loren J. Rittle committed -
* c-decl.c (finish_struct): Adjust DECL_SOURCE_LOCATION of TYPE_STUB_DECL. * gcc.dg/debug/dwarf2/struct-loc1.c: New test. From-SVN: r151816
Jakub Jelinek committed -
dwarf2out.c (loc_descriptor): Emit DW_OP_stack_value and DW_OP_implicit_value even without dwarf_version 4. * dwarf2out.c (loc_descriptor): Emit DW_OP_stack_value and DW_OP_implicit_value even without dwarf_version 4. From-SVN: r151815
Alexandre Oliva committed -
* dwarf2out.c: Include tree-pass.h and gimple.h. (loc_list_plus_const): New function. (loc_descriptor_from_tree_1): Rename to ... (loc_descriptor_from_tree): ... remove original. (loc_list_from_tree): New function. (add_AT_location_description): Accept location list. (tls_mem_loc_descriptor): Update call of loc_descriptor_from_tree. (concatn_mem_loc_descriptor): Remove. (mem_loc_descriptor): Handle CONCAT/CONCATN and VAR_LOCATION by returning NULL. (secname_for_decl): Move up. (hidden_reference_p): New function; break out from ... (loc_by_refernece): ... here; move up. (dw_loc_list): New function. (single_element_loc_list): New function. (single_element_loc_list_p): New function. (add_loc_descr_to_each): New function. (add_loc_list): New function. (loc_descr_from_tree): Make wraper of loc_list_from_tree. (loc_list_from_tree): Reroganized from loc_descr_from_tree; add diagnostics why expansion failed. (add_location_or_const_value_attribute): Support location lists. (add_bound_info): Likewise. (descr_info_loc): Update call of loc_descriptor_from_tree. (gen_variable_die): Work on location lists. * final.c (pass_final): Add dump file. * Makefile.in (dwarf2out.o): Add new dependencies. From-SVN: r151807
Jan Hubicka committed -
gcc/ PR c/41049 * real.c decimal_from_integer, decimal_integer_string): New. (real_from_integer): Use them as special case for decimal float. * config/dfp-bit.c (_si_to_sd, _usi_to_sd): Use default rounding. (_di_to_sd, _di_to_dd, _di_to_td, _udi_to_sd, _udi_to_dd, _udi_to_td): Do not append zero after the decimal point in string to convert. gcc/testsuite/ PR c/41049 * dfp/pr41049.c: New test. From-SVN: r151806
Janis Johnson committed -
2009-09-17 H.J. Lu <hongjiu.lu@intel.com> PR testsuite/41385 * gcc.dg/dfp/dfp.exp: Properly save DEFAULT_CFLAGS. From-SVN: r151803
H.J. Lu committed -
2009-09-17 Alexander Monakov <amonakov@ispras.ru> gcc: * graphite-sese-to-poly.c (pdr_add_data_dimensions): Add bounds only for ARRAY_REFs. Use array_ref_{low,up}_bound to determine bounds. libgomp: * testsuite/libgomp.graphite/bounds.c: New test. From-SVN: r151802
Alexander Monakov committed -
2009-09-17 Martin Jambor <mjambor@suse.cz> * common.opt (fipa-sra): New switch. * opts.c (decode_options): Turn flag_ipa_sra on for opt2. * timevar.def (TV_IPA_SRA): New timevar. * params.def (ipa-sra-ptr-growth-factor): New parameter. * doc/invoke.texi: Document -fipa-sra and ipa-sra-ptr-growth-factor. * tree-sra.c: Include cgraph.c. (enum sra_mode): Added SRA_MODE_EARLY_IPA. (struct access): Added fields stmt, grp_maybe_modified, grp_scalar_ptr and grp_not_necessarilly_dereferenced. (func_param_count): New variable. (encountered_apply_args): New variable. (bb_dereferences): New variable. (final_bbs): New variable. (no_accesses_representant): New variable. (no_accesses_p): New function. (dump_access): Dump the new fields. (sra_initialize): Set encountered_apply_args to false. (get_ssa_base_param): New function. (mark_parm_dereference): New function. (create_access): Caring for INIDRECT_REFs and different handling of varialble length accesses in early IPA SRA. Store the stmt - a new parameter - to the new access. (build_access_from_expr_1): New parameter stmt, passed to create_access. Handle INDIRECT_REFs. (build_access_from_expr): Pass the current statement to build_access_from_expr_1. (disqualify_ops_if_throwing_stmt): Trigger only in intraprocedural passes. (build_accesses_from_assign): Pass the current statement to build_access_from_expr_1. Do not create assign links in IPA-SRA. (scan_function): Call handle_ssa_defs on phi nodes. Set bits in final_bbs when necessary. Check for calls to __builtin_apply_args. Fixup EH info if anythng was changed. (is_unused_scalar_param): New function. (ptr_parm_has_direct_uses): New function. (find_param_candidates): New function. (mark_maybe_modified): New function. (analyze_modified_params): New function. (propagate_dereference_distances): New function. (dump_dereferences_table): New function. (analyze_caller_dereference_legality): New function. (unmodified_by_ref_scalar_representative): New function. (splice_param_accesses): New function. (decide_one_param_reduction): New function. (enum ipa_splicing_result): New type. (splice_all_param_accesses): New function. (get_param_index): New function. (turn_representatives_into_adjustments): New function. (analyze_all_param_acesses): New function. (get_replaced_param_substitute): New function. (get_adjustment_for_base): New function. (replace_removed_params_ssa_names): New function. (sra_ipa_reset_debug_stmts): New function. (sra_ipa_modify_expr): New function. (sra_ipa_modify_assign): New function. (convert_callers): New function. (modify_function): New function. (ipa_sra_preliminary_function_checks): New function. (ipa_early_sra): New function. (ipa_early_sra_gate): New function. (pass_early_ipa_sra): New variable. * Makefile.in (tree-sra.o): Add cgraph.h to dependencies. Testsuite: * gcc.dg/struct/wo_prof_escape_arg_to_local.c: Do not run IPA-SRA. * gcc.dg/ipa/ipa-sra-1.c: New test. * gcc.dg/ipa/ipa-sra-2.c: New test. * gcc.dg/ipa/ipa-sra-3.c: New test. * gcc.dg/ipa/ipa-sra-4.c: New test. * gcc.dg/ipa/ipa-sra-5.c: New test. * gcc.c-torture/execute/ipa-sra-1.c: New test. * gcc.c-torture/execute/ipa-sra-2.c: New test. From-SVN: r151800
Martin Jambor committed -
PR middle-end/41347 * tree.c (build_type_attribute_qual_variant): Export. * tree.h (build_type_attribute_qual_variant): Declare. * tree-inline.c (remap_type_1): Use it to build variants with the original qualifiers and attributes. testsuite/ * gfortran.dg/pr41347.f90: New test. From-SVN: r151799
Michael Matz committed -
2009-09-17 Bob Duff <duff@adacore.com> * g-socket.ads: Document the fact that Close_Selector has no effect on a closed selector. * g-socket.adb: Raise an exception when a Selector that should be open is closed. (Check_Selector): Declare RSig as a constant rather than a renames, less confusing. From-SVN: r151798
Bob Duff committed -
From-SVN: r151797
Arnaud Charlet committed -
2009-09-17 Robert Dewar <dewar@adacore.com> * exp_ch9.adb, exp_ch5.adb, exp_ch4.adb, prj-conf.adb, prj-env.ads, prj-ext.adb: Minor reformatting From-SVN: r151796
Robert Dewar committed -
2009-09-17 Emmanuel Briot <briot@adacore.com> * prj-conf.adb, prj-env.adb, prj-env.ads (Create_Temp_File): Moved to spec. (Do_Autoconf): If the object directory does not exists, create auto.cgpr in a temporary directory instead 2009-09-17 Bob Duff <duff@adacore.com> * a-dynpri.adb (Set_Priority): Don't do anything if the task is already terminated. (Get_Priority): Correct message for "terminated" case -- it said "null". 2009-09-17 Robert Dewar <dewar@adacore.com> * exp_ch6.adb: Minor reformatting From-SVN: r151795
Arnaud Charlet committed -
* gnatcmd.adb, make.adb, prj-part.adb, prj-ext.adb, prj-ext.ads, switch-m.adb, switch-m.ads, clean.adb, prj-tree.ads (Project_Node_Tree_Data.Project_Path): New field. * prj-conf.adb (Do_Autoconf): Remove "creating auto.cgpr" message From-SVN: r151794
Emmanuel Briot committed -
2009-09-17 Emmanuel Briot <briot@adacore.com> * prj-ext.adb, prj-ext.ads, makeutl.adb (Is_External_Assignment): Remove duplicate code. (Prj.Ext): Fix memory leak (Check): Now allow the syntax "-Xfoo=" to set an empty value to the variable. This was previously allowed in the code in Is_External_Assignment, and some tests rely on it From-SVN: r151793
Emmanuel Briot committed -
2009-09-17 Bob Duff <duff@adacore.com> * gnat_rm.texi, s-oscons-tmplt.c: Minor typo 2009-09-17 Emmanuel Briot <briot@adacore.com> * gnatcmd.adb, prj-proc.adb, make.adb, prj-ext.adb, prj-ext.ads, makeutl.adb, makeutl.ads, clean.adb, prj-pars.adb, prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-tree.adb, prj-tree.ads, prj-proc.ads, prj-nmsc.ads (Add, Value_Of, Reset): new parameter Tree. Scenario variables are now specific to each project tree loaded in memory. Code clean ups. 2009-09-17 Javier Miranda <miranda@adacore.com> * exp_disp.adb (Make_DT): Remove wrong line of code that was undocumented and probably added by mistake. From-SVN: r151792
Arnaud Charlet committed -
2009-09-17 Johannes Singler <singler@ira.uka.de> * include/parallel/algobase.h: Replace tabs by spaces; correct line breaks. * include/parallel/algorithmfwd.h: Likewise. * include/parallel/balanced_quicksort.h: Likewise. * include/parallel/base.h: Likewise. * include/parallel/checkers.h: Likewise. * include/parallel/compatibility.h: Likewise. * include/parallel/equally_split.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/for_each.h: Likewise. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/iterator.h: Likewise. * include/parallel/list_partition.h: Likewise. * include/parallel/losertree.h: Likewise. * include/parallel/merge.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/numericfwd.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/queue.h: Likewise. * include/parallel/quicksort.h: Likewise. * include/parallel/random_number.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/search.h: Likewise. * include/parallel/set_operations.h: Likewise. * include/parallel/settings.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/types.h: Likewise. * include/parallel/unique_copy.h: Likewise. * include/parallel/workstealing.h: Likewise. * include/parallel/algo.h: Likewise; shorten _ForwardIterator to _FIterator. * include/parallel/find_selectors.h: Likewise. From-SVN: r151791
Johannes Singler committed -
2009-09-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * cfglayout.c (fixup_reorder_chain): Accept conditional jumps without a fallthrough edge. 2009-09-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.c-torture/compile/20090917-1.c: New testcase. From-SVN: r151790
Andreas Krebbel committed
-