aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-17[arm] PR target/89400 fix thumb1 unaligned access expansiongcc-9-branchrearnsha
Armv6 has support for unaligned accesses to memory. However, the thumb1 code patterns were trying to use the 32-bit code constraints. One failure mode from this was that the patterns are designed to be compatible with conditional execution and this was then causing an assert in the compiler. The unaligned_loadhis pattern is only used for expanding extv, which in turn is only enabled for systems supporting thumb2. Given that there is no simple expansion for a thumb1 sign-extending load (the instruction has no immediate offset form and requires two registers in the address) it seems simpler to just disable this for thumb1. Fixed thusly: Backport from trunk: 2019-05-03 Richard Earnshaw <rearnsha@arm.com> PR target/89400 * config/arm/arm.md (unaligned_loadsi): Add variant for thumb1. Restrict 'all' variant to 32-bit configurations. (unaligned_loadhiu): Likewise. (unaligned_storehi): Likewise. (unaligned_storesi): Likewise. (unaligned_loadhis): Disable when compiling for thumb1. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@277123 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-172019-10-17 Steven G. Kargl <kargl@gcc.gnu.org>kargl
PR fortran/83113 PR fortran/89943 decl.c (gfc_match_function_decl): Ignore duplicate BIND(C) for function declaration in submodule. Implement at check for F2018 C1550. (gfc_match_entry): Use temporary for locus, which allows removal of one gfc_error_now(). (gfc_match_subroutine): Ignore duplicate BIND(C) for subroutine declaration in submodule. Implement at check for F2018 C1550. 2019-10-17 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/83113 PR fortran/89943 * gfortran.dg/pr89943_1.f90: New test. * gfortran.dg/pr89943_2.f90: Ditto. * gfortran.dg/pr89943_3.f90: Ditto. * gfortran.dg/pr89943_4.f90: Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@277122 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-172019-10-17 Bill Schmidt <wschmidt@linux.ibm.com>wschmidt
Backport from mainline 2019-10-15 Bill Schmidt <wschmidt@linux.ibm.com> PR target/92093 * gcc.target/powerpc/pr91275.c: Fix type and endian issues. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@277117 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-17Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@277087 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-16[Darwin] Pick up SDKROOT as the sysroot fallback.iains
For compatibility with xcrun and the behaviour of the clang driver, make use of the setting of the SDKROOT environment variable when it is available. This applies to both finding headers and libraries (i.e. it is also passed to ld64). Priority: 1. User's command-line specified --sysroot= or -isysroot. 2. The SDKROOT variable when set, and validated. 3. Any sysroot provided by --with-sysroot= configuration parameter. SDKROOT is checked thus: 1. Presence. 2. That it starts with / (i.e. 'absolute'). 3. That it is not / only (since that's the default). 4. That it is readable by the process executing the driver. This is pretty much the same rule set as used by the clang driver. NOTE: (3) might turn out to be overly restrictive in the case that we have configured with --with-sysroot= and then we want to run on a system with an installation of the headers/libraries in /. We can revisit this if that turns out to be an important use-case. So one can do: xcrun --sdk macosx /path/to/gcc .... and that provides the SDK path as the sysroot to GCC as expected. CAVEAT: An unfortunate effect of the fact that gcc (and g++) are executables in the Xcode installation, which are found ahead of any such named in the /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/usr/local/tools/gcc-2016/bin: PATH=/path/to/gcc/install:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/usr/local/tools/gcc-2016/bin xcrun --sdk macosx gcc .... does *not* work, instead that executes the clang from the xcode/commmand line tools installation. PATH=/path/to/gcc/install:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/usr/local/tools/gcc-2016/bin xcrun --sdk macosx x64_64-apple-darwinXX-gcc ... does work as expected, however. 2019-10-16 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline 2019-10-03 Iain Sandoe <iain@sandoe.co.uk> PR target/87243 * config/darwin-driver.c (maybe_get_sysroot_from_sdkroot): New. (darwin_driver_init): Use the sysroot provided by SDKROOT when that is available and the user has not set one on the command line. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@277079 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-16[Darwin, specs] Backport fixes for driver handling of PIE options.iains
pie, no-pie and rdynamic are driver options, we can process them in the relevant place and drop them once dealt with. There's no need to generate a new header to process the no_compact_unwind which is applied on the basis of the target system. Support for the -pie, -no_pie and -no_compact_unwind options should ideally be checked at configure time, however the status quo is to assert that linkers capable of targeting the relevant systems support these options (i.e. we trust that the user doesn't attempt to configure inappropriately). TODO: check the availability of the linker opts in configure rather than trusting to the user. This will fix the fail of pie-7.c, which is a result of failing to handle the no-pie driver option. 2019-10-16 Iain Sandoe <iain@sandoe.co.uk> Backport from mainline 2019-07-03 Iain Sandoe <iain@sandoe.co.uk> * config/darwin.h (DRIVER_SELF_SPECS): Remove the linker cases. (RDYNAMIC): Rename to, DARWIN_RDYNAMIC. (DARWIN_PIE_SPEC, DARWIN_NOPIE_SPEC): Adjust to remove the Xlinker clauses. (LINK_COMMAND_SPEC_A): Add DARWIN_RDYNAMIC, DARWIN_PIE_SPEC and DARWIN_NOPIE_SPEC. Backport from mainline 2019-06-19 Iain Sandoe <iain@sandoe.co.uk> * config/darwin.h (DRIVER_SELF_SPECS): Add RDYNAMIC, DARWIN_PIE_SPEC and DARWIN_NOPIE_SPEC. (RDYNAMIC): New, modified from DARWIN_EXPORT_DYNAMIC. (DARWIN_PIE_SPEC): Collate from darwin.h and darwin9.h. (DARWIN_NOPIE_SPEC): Collate from darwin10.h. (DARWIN_NOCOMPACT_UNWIND): New from darwin10.h (DARWIN_EXPORT_DYNAMIC): Delete. * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Move no_compact_unwind and pie options processing to darwin.h. * config/darwin9.h (DARWIN_PIE_SPEC): Move pie processing to darwin.h git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@277078 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-162019-10-16 Richard Biener <rguenther@suse.de>rguenth
Backport from mainline 2019-10-04 Richard Biener <rguenther@suse.de> PR lto/91968 * tree.c (find_decls_types_r): Do not remove LABEL_DECLs from BLOCK_VARS. 2019-10-02 Richard Biener <rguenther@suse.de> PR c++/91606 * decl.c (build_ptrmemfunc_type): Mark pointer-to-member fat pointer structure members as DECL_NONADDRESSABLE_P. * g++.dg/torture/pr91606.C: New testcase. 2019-09-19 Richard Biener <rguenther@suse.de> PR tree-optimization/91812 * tree-ssa-phiprop.c (propagate_with_phi): Do not replace volatile loads. * gcc.dg/torture/pr91812.c: New testcase. 2019-09-17 Richard Biener <rguenther@suse.de> PR debug/91772 * dwarf2out.c (dwarf2out_late_global_decl): If early dwarf was missing generate locations only once. 2019-09-17 Richard Biener <rguenther@suse.de> PR tree-optimization/91790 * tree-vect-stmts.c (vectorizable_load): For BB vectorization use the correct DR for setting up realignment. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@277055 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-16Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@277032 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-15 * config/pa/fptr.c (_dl_read_access_allowed): Change argument todanglin
unsigned int. Adjust callers. (__canonicalize_funcptr_for_compare): Change plabel type to volatile unsigned int *. Load relocation offset before function pointer. Add barrier to ensure ordering. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@277016 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-15Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276981 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-14Backport from trunkwillschm
[gcc] 2019-09-26 Will Schmidt <will_schmidt@vnet.ibm.com> * config/rs6000/rs6000-builtin.def: (LVSL, LVSR, LVEBX, LVEHX, LVEWX, LVXL, LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI, LVX, LVX_V1TI, LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, LVLX, LVLXL, LVRX, LVRXL, LXSDX, LXVD2X_V1TI, LXVD2X_V2DF, LXVD2X_V2DI, LXVDSX, LXVW4X_V4SF, LXVW4X_V4SI, LXVW4X_V8HI, LXVW4X_V16QI, LD_ELEMREV_V1TI, LD_ELEMREV_V2DF, LD_ELEMREV_V2DI, LD_ELEMREV_V4SF, LD_ELEMREV_V4SI, LD_ELEMREV_V8HI, LD_ELEMREV_V16QI): Use the PURE attribute. [testsuite] 2019-09-26 Will Schmidt <will_schmidt@vnet.ibm.com> * gcc.target/powerpc/pure-builtin-redundant-load.c: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276966 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-14Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276946 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-13Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276932 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-12 * config/pa/pa.c (pa_output_call): Load descriptor address to registerdanglin
%r22. Load function address before global pointer. (pa_attr_length_indirect_call): Adjust length of inline versions of $$dyncall. (pa_output_indirect_call): Remove fast inline version of $$dyncall before normal cases. Update inline $$dyncall sequences to preserve function descriptor address in register %r22. (TRAMPOLINE_CODE_SIZE): Adjust. (pa_asm_trampoline_template): Revise 32-bit trampoline. Don't assume register %r22 contains trampoline address. (pa_trampoline_init): Adjust offsets. (pa_trampoline_adjust_address): Likewise. * config/pa/pa.h (TRAMPOLINE_SIZE): Adjust 32-bit size. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276929 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-12 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.danglin
Load PIC register after branch target. Fix white space. * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX implementations. Load PIC register after branch target. Don't clobber function pointer when it points to function descriptor. Use nullification instead of branch in LINUX implementation. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276927 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-12 PR ada/91995ebotcazou
* sem_ch8.adb (Chain_Use_Clause): Remove second argument in calls to Defining_Entity. * sem_elab.adb (Find_Unit_Entity): Likewise. Deal with N_Subunit here in lieu of in Defining_Entity. * sem_spark.adb (Check_Callable_Body): Likewise. (Check_Package_Body): Likewise. * sem_util.ads (Defining_Entity): Remove 2nd and 3th parameters. * sem_util.adb (Defining_Entity): Remove 2nd and 3th parameters, and adjust accordingly. Deal with N_Compilation_Unit. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276917 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-12Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276911 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-112019-10-11 Steven G. Kargl <kargl@gcc.gnu.org>kargl
PR fortran/91715 * decl.c (gfc_match_prefix): If matching a type-spec returns an error, it's an error so re-act correctly. 2019-10-11 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/91715 * gfortran.dg/function_kinds_5.f90: Prune run-on error. * gfortran.dg/pr85543.f90: Ditto. * gfortran.dg/pr91715.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276905 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-112019-10-11 Steven G. Kargl <kargl@gcc.gnu.org>kargl
PR fortran/91649 check.c (gfc_check_findloc): Additional checking for valid arguments 2019-10-11 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/91649 * gfortran.dg/pr91649.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276904 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-11 * fi.po: Update.jsm28
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276895 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-11 * gcc-interface/decl.c (annotate_value) <INTEGER_CST>: Really test theebotcazou
sign of the value when deciding to build a NEGATE_EXPR. <PLUS_EXPR>: Remove redundant line. <BIT_AND_EXPR>: Do the negation here. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276867 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-11Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276857 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-102019-10-10 Steven G. Kargl <kargl@gcc.gnu.org>kargl
PR fortran/91801 * simplify.c (gfc_simplify_reshape): Convert a gcc_assert into a gfc_error as a user can easily hit the condition. 2019-10-10 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/91801 * gfortran.dg/pr91801.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276853 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-10 PR target/92022uros
* config/alpha/alpha.c (alpha_handle_trap_shadows): Skip DEBUG_INSN. testsuite/ChangeLog: PR target/92022 * g++.dg/pr92022.C: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276844 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-10gcc/olegendo
Backport from mainline 2019-10-10 Oleg Endo <olegendo@gcc.gnu.org> PR target/88630 * config/sh/sh.h (TARGET_FPU_SH4_300): New macro. * config/sh/sh.c (sh_option_override): Enable fsca and fsrra insns also for TARGET_FPU_SH4_300. (sh_emit_mode_set): Check for TARGET_FPU_SH4_300 instead of TARGET_SH4_300. * config/sh/sh.md (toggle_pr): Add TARGET_FPU_SH4_300 condition. (negsf2): Expand to either negsf2_fpscr or negsf2_no_fpscr. (*negsf2_i): Split into ... (negsf2_fpscr, negsf2_no_fpscr): ... these new patterns. (abssf2): Expand to either abssf2_fpsc or abssf2_no_fpsc. (**abssf2_i): Split into ... (abssf2_fpscr, abssf2_no_fpscr): ... these new patterns. (negdf2): Expand to either negdf2_fpscr or negdf2_no_fpscr. (*negdf2_i): Split into ... (negdf2_fpscr, negdf2_no_fpscr): ... these new patterns. (absdf2): Expand to either absdf2_fpscr or absdf2_no_fpsc. (**abssf2_i): Split into ... (absdf2_fpscr, absdf2_no_fpscr): ... these new patterns. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276825 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-10S/390: Add support for z15 as CPU name.krebbel
So far z15 was identified as arch13. After the machine has been announced we can now add the real name. gcc/ChangeLog: 2019-10-10 Andreas Krebbel <krebbel@linux.ibm.com> Backport from mainline 2019-10-10 Andreas Krebbel <krebbel@linux.ibm.com> * common/config/s390/s390-common.c (PF_ARCH13): Rename to... (PF_Z15): ... this. * config.gcc: Add z15 as option for --with-arch and --with-tune configure switches. * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Add error reporting for unsupported builtins. * config/s390/s390-opts.h (enum processor_type): Rename PROCESSOR_8561_ARCH13 to PROCESSOR_8561_Z15. * config/s390/8561.md: Rename arch13 to z15 throughout the file. * config/s390/driver-native.c (s390_host_detect_local_cpu): Likewise. * config/s390/s390-builtins.def: Likewise. * config/s390/s390.c (processor_table): Add z15 as option and keep arch13 as alternative. (s390_expand_builtin): Add missing check for unsupported builtins. (s390_canonicalize_comparison): Rename TARGET_ARCH13 to TARGET_Z15. (s390_rtx_costs): Likewise. (s390_get_sched_attrmask): Rename arch13 to z15. (s390_get_unit_mask): Likewise. (s390_is_fpd): Likewise. (s390_is_fxd): Likewise. * config/s390/s390.h (enum processor_flags): Likewise. * config/s390/s390.md: Likewise. * config/s390/vector.md: Likewise. * config/s390/vx-builtins.md: Likewise. * config/s390/s390.opt: Add z15 to processor_type value. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276793 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-10Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276785 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-09Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276749 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-08 PR c++/91740 - ICE with constexpr call and ?: in ARRAY_REF.mpolacek
* pt.c (build_non_dependent_expr): Call build_non_dependent_expr for the first operand. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276699 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-08Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276684 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-072019-10-07 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig
Backport from trunk PR fortran/84487 * trans-decl.c (gfc_get_symbol_decl): For __def_init, set DECL_ARTIFICAL and do not set TREE_READONLY. 2019-10-07 Thomas Koenig <tkoenig@gcc.gnu.org> Backport from trunk PR fortran/84487 * gfortran.dg/typebound_call_22.f03: xfail. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276672 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-07[gcc]wschmidt
2019-10-07 Bill Schmidt <wschmidt@linux.ibm.com> Backport from mainline 2019-10-01 Bill Schmidt <wschmidt@linux.ibm.com> PR target/91275 * config/rs6000/rs6000-p8swap.c (rtx_is_swappable_p): Don't swap vpmsumd. [gcc/testsuite] 2019-10-07 Bill Schmidt <wschmidt@linux.ibm.com> Backport from mainline 2019-10-01 Bill Schmidt <wschmdit@linux.ibm.com> PR target/91275 * gcc.target/powerpc/pr91275.c: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276667 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-07Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276643 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-06Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276633 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-052019-10-05 Steven G. Kargl <kargl@gcc.gnu.org>kargl
PR fortran/47054 * decl.c (variable_decl): Do not search parent namespace for symbol. 2019-10-05 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/47054 * gfortran.dg/pr47054_1.f90: New test * gfortran.dg/pr47054_2.f90: Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276628 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-05Backport fix for PR jit/91928akrl
gcc/ChangeLog 2019-10-05 Andrea Corallo <andrea.corallo@arm.com> Backport from mainline 2019-10-03 Andrea Corallo <andrea.corallo@arm.com> * gcc/ipa-cp.c (ipa_cp_c_finalize): Release ipcp_transformation_sum when finished. * ipa-prop.c (ipcp_free_transformation_sum): New function. * ipa-prop.h (ipcp_free_transformation_sum): Add declaration. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276625 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-052019-10-04 Steven G. Kargl <kargl@gcc.gnu.org>kargl
PR fortran/91942 * io.c (match_vtag): Check for non-NULL result->symtree. (match_out_tag): Check for invalid constant due to inquiry parameter. (match_filepos): Instead of a syntax error, go to cleanup to get better error messages. 2019-10-04 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/91942 * gfortran.dg/pr91587.f90: Update dg-error regex. * gfortran.dg/pr91942.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276620 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-052019-10-04 Steven G. Kargl <kargl@gcc.gnu.org>kargl
PR fortran/91785 * primary.c (gfc_match_varspec): Ensure an inquiry parameter has it locus set. 2019-10-04 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/91785 * gfortran.dg/pr91785.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276619 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-05Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276617 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-04Backport fix for PR target/91769draganm
gcc/ChangeLog: 2019-10-04 Dragan Mladjenovic <dmladjenovic@wavecomp.com> Backport from mainline 2019-10-03 Dragan Mladjenovic <dmladjenovic@wavecomp.com> PR target/91769 * config/mips/mips.c (mips_split_move): Use reg_overlap_mentioned_p instead of REGNO equality check on addr.reg. gcc/testsuite/ChangeLog: 2019-10-04 Dragan Mladjenovic <dmladjenovic@wavecomp.com> Backport from mainline 2019-10-03 Dragan Mladjenovic <dmladjenovic@wavecomp.com> PR target/91769 * gcc.target/mips/pr91769.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276570 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-04Backprot fix for uninitialised use in mips_split_movedraganm
Fixes PR target/91474 and PR target/91702. 2019-10-04 Dragan Mladjenovic <dmladjenovic@wavecomp.com> Backport from mainline 2019-07-07 Richard Sandiford <richard.sandiford@arm.com> gcc/ * config/mips/mips.c (mips_split_move): Zero-initialize addr and check whether addr.reg is nonnull before using it. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276569 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-04Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276559 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-03Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276501 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-022019-10-02 Bernd Edlinger <bernd.edlinger@hotmail.de>edlinger
Backport from mainline 2019-09-13 Bernd Edlinger <bernd.edlinger@hotmail.de> PR fortran/91716 * trans-array.c (gfc_conv_array_initializer): Always assign the array type of the field to the string constant. PR fortran/91716 * gfortran.dg/pr91716.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276458 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-02Daily bump.gccadmin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276437 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-012019-10-01 Steven G. Kargl <kargl@gcc.gnu.org>kargl
PR fortran/91864 * gcc/fortran/io.c (match_io_element): An inquiry parameter cannot be read into. * gcc/fortran/match.c (gfc_match_allocate): An inquiry parameter can be neither an allocate-object nor stat variable. (gfc_match_deallocate): An inquiry parameter cannot be deallocated. 2019-10-01 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/91864 * gcc/testsuite/gfortran.dg/pr91864.f90 git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276425 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-012019-10-01 Steven G. Kargl <kargl@gcc.ngu.org>kargl
Backport of r276254+276265 PR fortran/91802 * decl.c (attr_decl1): Check if rank+corank > 15. 2019-10-01 Steven G. Kargl <kargl@gcc.ngu.org> PR fortran/91802 * gfortran.dg/pr91802.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276423 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-012019-10-01 Steven G. Kargl <kargl@gcc.gnu.org>kargl
PR fortran/91714 * decl.c (gfc_match_decl_type_spec): Issue errors for a few mangled types. 2019-10-01 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/91714 * gfortran.dg/dec_type_print_3.f90: Update dg-error regex. * gfortran.dg/pr91714.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276421 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-012019-10-01 Steven G. Kargl <kargl@gcc.gnu.org>kargl
PR fortran/91641 * check.c (gfc_check_is_contiguous): null() cannot be an actual argument to is_contiguous(). 2019-10-01 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/91641 * gfortran.dg/pr91641.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276419 138bc75d-0d04-0410-961f-82ee72b054a4
2019-10-01gcc/olegendo
2019-10-01 Oleg Endo <olegendo@gcc.gnu.org> Backport from mainline 2019-10-01 Oleg Endo <olegendo@gcc.gnu.org> PR target/88562 * config/sh/sh.c (sh_extending_set_of_reg::use_as_extended_reg): Use sh_check_add_incdec_notes to preserve REG_INC notes when replacing a memory access insn. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@276412 138bc75d-0d04-0410-961f-82ee72b054a4