- 20 Feb, 2015 14 commits
-
-
* tree-streamer.c (preload_common_nodes): Don't preload TI_VA_LIST* for offloading. * tree-stdarg.c (pass_stdarg::gate): Disable for ACCEL_COMPILER in_lto_p. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r220846
Bernd Schmidt committed -
2015-02-20 Eric Botcazou <ebotcazou@adacore.com> * gnat1drv.adb: Minor consistency fix. 2015-02-20 Pascal Obry <obry@adacore.com> * s-osprim-mingw.adb (Get_Base_Time): Properly release lock in all paths. From-SVN: r220845
Arnaud Charlet committed -
2015-02-20 Eric Botcazou <ebotcazou@adacore.com> * inline.adb (Expand_Inlined_Call): Skip again calls to subprogram renamings. * exp_ch6.adb (Expand_Call): Use back-end inlining instead of expansion for simple subprogram renamings. 2015-02-20 Robert Dewar <dewar@adacore.com> * exp_util.adb: Minor reformatting. From-SVN: r220844
Arnaud Charlet committed -
2015-02-20 Vincent Celier <celier@adacore.com> * switch-c.adb (Scan_Front_End_Switches): Do not fail when --RTS= is specified several times with different values that indicates the same runtime directory. 2015-02-20 Ed Schonberg <schonberg@adacore.com> * sem_attr.adb (Check_Not_Incomplete_Type): Clean up code to handle properly illegal uses of attributes on prefixes on an incomplete type, both when the type of the prefix is locally incomplete, and when it is a limited view of a type whose non-limited view is not available. (Analyze_Attribute): Add calls to Check_Not_Incomplete_Type for 'Address and others. 2015-02-20 Eric Botcazou <ebotcazou@adacore.com> * exp_ch6.adb: Fix minor typo in comment. From-SVN: r220843
Arnaud Charlet committed -
2015-02-20 Eric Botcazou <ebotcazou@adacore.com> * sinfo.ads: Add comment. 2015-02-20 Olivier Hainque <hainque@adacore.com> * opt.ads: Replace Opt.Suppress_All_Inlining by two separate flags controlling the actual FE inlining out of pragma Inline and pragma Inline_Always. * adabkend.adb (Scan_Compiler_Arguments): Set both flags to True on -fno-inline, which disables all inlining in compilers with an Ada back-end and without back-end inlining support. * back_end.adb (Scan_Back_End_Switches): Set the Inline related flag to True on -fno-inline and leave Inline_Always alone for gcc back-ends. * back_end.ads (Scan_Compiler_Arguments): Adjust spec wrt the names of the Opt flags it sets. * gnat1drv.adb (Adjust_Global_Switches): Remove test on Opt.Suppress_All_Inlining in the Back_End_Inlining computation. * sem_prag.adb (Make_Inline): Remove early return conditioned on Opt.Suppress_All_Inlining. * sem_ch6.adb (Analyze_Subprogram_Body_Helper): Use the flags to disable the calls to Build_Body_To_Inline otherwise triggered by pragma Inline or Inline_Always. This will prevent actual front-end inlining of the subprogram on calls. From-SVN: r220842
Arnaud Charlet committed -
exp_ch3.adb (Default_Initialize_Object): Call Add_Inlined_Body on the Abort_Undefer_Direct function. 2015-02-20 Eric Botcazou <ebotcazou@adacore.com> * exp_ch3.adb (Default_Initialize_Object): Call Add_Inlined_Body on the Abort_Undefer_Direct function. * exp_ch5.adb (Expand_N_Assignment_Statement): Likewise. * exp_intr.adb (Expand_Unc_Deallocation): Likewise. * exp_prag.adb (Expand_Pragma_Abort_Defer): Likewise. * exp_ch4.adb (Expand_N_Selected_Component): Adjust call to Add_Inlined_Body. * exp_ch6.adb (Expand_Call): Adjust calls to Add_Inlined_Body. Remove call to Register_Backend_Call and move code resetting Needs_Debug_Info on inlined subprograms to... * inline.ads (Add_Inlined_Body): Add N parameter. (Register_Backend_Call): Delete. * inline.adb (Add_Inlined_Body): ...here and simplify. Register the call with Backend_Calls directly. (Register_Backend_Call): Delete. * s-stalib.ads (Abort_Undefer_Direct): Restore pragma Inline. From-SVN: r220841
Eric Botcazou committed -
2015-02-20 Eric Botcazou <ebotcazou@adacore.com> * s-stalib.ads: Fix typo. 2015-02-20 Ed Schonberg <schonberg@adacore.com> * exp_ch3.adb (Default_Initialize_Object): If the object has a delayed freeze, the actions associated with default initialization must be part of the freeze actions, rather that being inserted directly after the object declaration. 2015-02-20 Robert Dewar <dewar@adacore.com> * lib-load.adb: Minor comment update. 2015-02-20 Vincent Celier <celier@adacore.com> * prj-proc.adb (Process_Case_Construction): When there are incomplete withed projects and the case variable is unknown, skip the case construction. 2015-02-20 Ed Schonberg <schonberg@adacore.com> * exp_ch6.adb (Expand_Actuals): Add caller-side invariant checks when an actual is a view conversion, either because the call is to an inherited operation, or because the actual is an explicit type conversion to an ancestor type. Fixes ACATS 4.0D: C732001 From-SVN: r220840
Arnaud Charlet committed -
2015-02-20 Robert Dewar <dewar@adacore.com> * einfo.ads: Minor comment updates Fix missing pragma Inline for Set_Partial_View_Has_Unknown_Discr. * einfo.adb (Write_Entity_Flags): Add missing entry for Partial_View_Has_Unknown_Discr. * sem_ch3.adb: Minor reformatting. 2015-02-20 Vincent Celier <celier@adacore.com> * opt.ads: Minor cleanup: remove mention of gprmake. * s-stalib.ads (Abort_Undefer_Direct): Do not inline. * s-tataat.adb: Do not call System.Tasking.Self but directly System.Task_Primitives.Operations.Self. From-SVN: r220839
Arnaud Charlet committed -
* configure.ac [--enable-as-accelerator-for] (enable_languages): Make sure it contains lto. * configure: Regenerate. From-SVN: r220838
Thomas Schwinge committed -
2015-02-20 Arnaud Charlet <charlet@adacore.com> * gnat_rm.texi, gnat_ugn.texi: Now automatically generated from sphinx in the doc directory. * doc: New directory containing sphinx versions of gnat_rm and gnat_ugn From-SVN: r220837
Arnaud Charlet committed -
2015-02-20 Robert Dewar <dewar@adacore.com> * sem_res.adb: Minor reformatting. * exp_ch9.adb (Build_Protected_Spec): Copy Aliased setting when building spec. * sem_ch13.adb (Analyze_Aspect_Specifications): Exclude Boolean aspects from circuitry setting delay required to false if the argument is an integer literal. 2015-02-20 Ed Schonberg <schonberg@adacore.com> * einfo.ads. einfo.adb (Partial_View_Has_Unknown_Discr): New flag on type entities, to enforce AI12-0133: default initialization of types whose partial view has unknown discriminants does not get an invariant check, because clients of the unit can never declare objects of such types. * sem_ch3.adb (Find_Type_Name); Set new flag Partial_View_Has_Unknown_Discr when needed. * exp_ch3.adb (Expand_N_Object_Declaration): Use flag to suppress generation of invariant call on default-initialized object. From-SVN: r220836
Arnaud Charlet committed -
* config/pa/pa.c (pa_emit_move_sequence): Always force (const (plus (symbol) (const_int))) to const mem. Put REG_EQUAL note on insn. From-SVN: r220833
John David Anglin committed -
From-SVN: r220832
GCC Administrator committed -
* gcc.dg/tree-ssa/20040204-1.c: Don't XFAIL on sh*-*-*. * gcc.dg/tree-ssa/sra-12.c: Skip for sh*-*-*. From-SVN: r220829
Kaz Kojima committed
-
- 19 Feb, 2015 17 commits
-
-
* config/pa/pa.c (pa_reloc_rw_mask): New function. (TARGET_ASM_RELOC_RW_MASK): Define. (pa_cannot_force_const_mem): Revert previous change. From-SVN: r220827
John David Anglin committed -
PR ipa/65028 * ipa-cp.c (propagate_alignment_accross_jump_function): Fix propagation across jump functions. Co-Authored-By: Jan Hubicka <hubicka@ucw.cz> From-SVN: r220826
Martin Jambor committed -
* config/alpha/alpha.c (alpha_in_small_data_p): Reject common symbols. From-SVN: r220825
Uros Bizjak committed -
re PR libstdc++/58357 (In C++11 std::rotate(first, middle, last) now should return a forward iterator to first + (last - middle).) PR libstdc++/58357 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2. * include/bits/stl_algo.h (__rotate, rotate): Likewise. From-SVN: r220823
Jonathan Wakely committed -
Fix PR testsuite/65116 PR testsuite/65116 * lib/target-supports.exp (check_compile): Check whether additional_sources is defined before using it. From-SVN: r220822
Maxim Kuvyrkov committed -
re PR testsuite/65093 (26_numerics/random/binomial_distribution/operators/values.cc times out on slow targets) PR testsuite/65093 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc (test01): Add explanatory comment. Keep only the bd1 sub-test and split out bd2, bd3, bd4, and bd5 sub-tests into... * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc, testsuite/26_numerics/random/binomial_distribution/operators/values3.cc, testsuite/26_numerics/random/binomial_distribution/operators/values4.cc, testsuite/26_numerics/random/binomial_distribution/operators/values5.cc: New separate files with the old parts. From-SVN: r220821
Hans-Peter Nilsson committed -
2015-02-19 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/extend.texi (x86 transactional memory intrinsics): Copy-edit. From-SVN: r220819
Sandra Loosemore committed -
PR middle-end/65074 * g++.dg/opt/pr65074.C: New file. From-SVN: r220817
Jakub Jelinek committed -
PR middle-end/65074 * varasm.c (default_binds_local_p_2): Don't test node->definition; test DECL_EXTERNAL independent of symtab_node. From-SVN: r220816
Richard Henderson committed -
(size_type): New typedef. (operator "" _script): Use it for the last argument. From-SVN: r220814
Andrea Azzarone committed -
Just like libiberty.h. So that C++ programs, such as GDB when built as a C++ program, can use it. include/ChangeLog: 2015-02-19 Pedro Alves <palves@redhat.com> * floatformat.h [__cplusplus]: Wrap in extern "C". From-SVN: r220812
Pedro Alves committed -
From-SVN: r220811
Pedro Alves committed -
re PR lto/65012 (systemd fails to build at least on ppc64el, powerpc, arm-inux-gnueabihf and aarch64 with -flto (ICE)) PR lto/65012 * varpool.c (varpool_node::get_constructor): Return early if this->lto_file_data is NULL. From-SVN: r220810
Jakub Jelinek committed -
Fix PR64935 * haifa-sched.c (enum rfs_decision, rfs_str): Remove RFS_DEBUG. (rank_for_schedule_debug): Update. (ready_sort): Make static. Move sorting logic to ... (ready_sort_debug, ready_sort_real): New static functions. (schedule_block): Sort both debug insns and real insns in preparation for ready list trimming. Improve debug output. * sched-int.h (ready_sort): Remove global declaration. * gcc.dg/pr64935-1.c, gcc.dg/pr64935-2.c: New tests. From-SVN: r220808
Maxim Kuvyrkov committed -
* testsuite/lib/target-supports.exp (check_compile): Save/restore additional_sources that may belong to an actual test. From-SVN: r220807
Maxim Kuvyrkov committed -
bb_dict_test () ment to operate on the callers vector, not a copy of it. gcc/ChangeLog: 2015-02-18 Trevor Saunders <tsaunders@mozilla.com> * ipa-icf.c (sem_function::equals_private): Adjust. (sem_function::bb_dict_test): Take a vec<int> * instead of auto_vec<int>. * ipa-icf.h (bb_dict_test): Likewise. From-SVN: r220806
Trevor Saunders committed -
From-SVN: r220804
GCC Administrator committed
-
- 18 Feb, 2015 9 commits
-
-
PR gcov-profile/64634 * tree-eh.c (frob_into_branch_around): Fix up typos in function comment. (lower_catch): Put eh_seq resulting from EH lowering of the cleanup sequence after the cleanup rather than before it. * g++.dg/gcov/gcov-15.C: New test. From-SVN: r220801
Jakub Jelinek committed -
2015-02-18 Tom de Vries <tom@codesourcery.com> * common.opt (fstdarg-opt): New option. * tree-stdarg.c (pass_stdarg::gate): Use flag_stdarg_opt. * doc/invoke.texi (@item Optimization Options): Add -fstdarg-opt. (@item -fstdarg-opt): New item. From-SVN: r220800
Tom de Vries committed -
2015-02-18 Tom de Vries <tom@codesourcery.com> * gfortran.dg/coarray_35a.f90: Add missing cleanup-modules. From-SVN: r220799
Tom de Vries committed -
2015-02-18 Tom de Vries <tom@codesourcery.com> * gfortran.dg/pr37287-1.f90: Add missing cleanup-modules. From-SVN: r220798
Tom de Vries committed -
2015-02-18 Tom de Vries <tom@codesourcery.com> * gfortran.dg/finalize_28.f90: Add missing cleanup-tree-dump. From-SVN: r220797
Tom de Vries committed -
2015-02-18 Tom de Vries <tom@codesourcery.com> * gfortran.dg/fmt_cache_1.f: Add missing close. From-SVN: r220796
Tom de Vries committed -
* testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint. * testsuite/22_locale/codecvt/char32_t.cc: Likewise. From-SVN: r220795
Jonathan Wakely committed -
2015-02-18 Tom de Vries <tom@codesourcery.com> PR testsuite/65107 * gfortran.dg/read_eof_8.f90: Add missing close. From-SVN: r220794
Tom de Vries committed -
* src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output surrogate pairs. (utf16_in): Pass mode argument to write_utf16_code_point. (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to native byte order. * testsuite/22_locale/codecvt/char16_t.cc: New. * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo. From-SVN: r220793
Jonathan Wakely committed
-