2017-01-09 22:48:33 +01:00
|
|
|
|
2017-01-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR translation/79019
|
|
|
|
|
PR translation/79020
|
|
|
|
|
* decl.c (attr_decl1): Fix spelling in translatable string.
|
|
|
|
|
* intrinsic.texi: Fix spelling - invokation -> invocation.
|
|
|
|
|
* lang.opt (faggressive-function-elimination, gfc_convert): Fix
|
|
|
|
|
typos in descriptions.
|
|
|
|
|
* openmp.c (resolve_omp_clauses): Add missing whitespace to
|
|
|
|
|
translatable strings.
|
|
|
|
|
|
2017-01-09 00:42:09 +01:00
|
|
|
|
2017-01-08 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/78913
|
|
|
|
|
PR middle-end/77708
|
|
|
|
|
* trans-common.c (build_equiv_decl): Increase buffer size to avoid
|
|
|
|
|
truncation for any argument.
|
|
|
|
|
* trans-types.c (gfc_build_logical_type): Same.
|
|
|
|
|
|
2017-01-07 18:26:58 +01:00
|
|
|
|
2017-01-07 Andre Vehreschild <vehre@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR fortran/78781
|
|
|
|
|
PR fortran/78935
|
|
|
|
|
* expr.c (gfc_check_pointer_assign): Return the same error message for
|
|
|
|
|
rewritten coarray pointer assignments like for plain ones.
|
|
|
|
|
* gfortran.h: Change prototype.
|
|
|
|
|
* primary.c (caf_variable_attr): Set attributes used ones only only
|
|
|
|
|
ones. Add setting of pointer_comp attribute.
|
|
|
|
|
(gfc_caf_attr): Add setting of pointer_comp attribute.
|
|
|
|
|
* trans-array.c (gfc_array_allocate): Add flag that the component to
|
|
|
|
|
allocate is not an ultimate coarray component. Add allocation of
|
|
|
|
|
pointer arrays.
|
|
|
|
|
(structure_alloc_comps): Extend nullify to treat pointer components in
|
|
|
|
|
coarrays correctly. Restructure nullify to remove redundant code.
|
|
|
|
|
(gfc_nullify_alloc_comp): Allow setting caf_mode flags.
|
|
|
|
|
* trans-array.h: Change prototype of gfc_nullify_alloc_comp ().
|
|
|
|
|
* trans-decl.c (generate_coarray_sym_init): Call nullify_alloc_comp for
|
|
|
|
|
derived type coarrays with pointer components.
|
|
|
|
|
* trans-expr.c (gfc_trans_structure_assign): Also treat pointer
|
|
|
|
|
components.
|
|
|
|
|
(trans_caf_token_assign): Handle assignment of token of scalar pointer
|
|
|
|
|
components.
|
|
|
|
|
(gfc_trans_pointer_assignment): Call above routine.
|
|
|
|
|
* trans-intrinsic.c (conv_expr_ref_to_caf_ref): Add treating pointer
|
|
|
|
|
components.
|
|
|
|
|
(gfc_conv_intrinsic_caf_get): Likewise.
|
|
|
|
|
(conv_caf_send): Likewise.
|
|
|
|
|
* trans-stmt.c (gfc_trans_allocate): After allocating a derived type in
|
|
|
|
|
a coarray pre-register the tokens.
|
|
|
|
|
(gfc_trans_deallocate): Simply determining the coarray type (scalar or
|
|
|
|
|
array) and deregistering it correctly.
|
|
|
|
|
* trans-types.c (gfc_typenode_for_spec): Replace in_coarray flag by the
|
|
|
|
|
actual codim to allow lookup of array types in the cache.
|
|
|
|
|
(gfc_build_array_type): Likewise.
|
|
|
|
|
(gfc_get_array_descriptor_base): Likewise.
|
|
|
|
|
(gfc_get_array_type_bounds): Likewise.
|
|
|
|
|
(gfc_get_derived_type): Likewise.
|
|
|
|
|
* trans-types.h: Likewise.
|
|
|
|
|
* trans.c (gfc_deallocate_with_status): Enable deregistering of all kind
|
|
|
|
|
of coarray components.
|
|
|
|
|
(gfc_deallocate_scalar_with_status): Use free() in fcoarray_single mode
|
|
|
|
|
instead of caf_deregister.
|
|
|
|
|
|
2017-01-06 19:41:23 +01:00
|
|
|
|
2017-01-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* simplify.c (simplify_transformation_to_array): Use
|
|
|
|
|
GCC_DIAGNOSTIC_PUSH_IGNORED and GCC_DIAGNOSTIC_POP instead of
|
|
|
|
|
#pragma GCC diagnostic {push,ignored,pop}.
|
|
|
|
|
|
[bootstrap-O3,fortran] silence warning in simplify_transformation_to_array
simplify_transformation_to_array had the nested loop unrolled 7 times,
which is reasonable given that it iterates over arrays of size
GFC_MAX_DIMENSIONS == 7.
The problem is that the last iteration increments the index, tests
that it's less than result->rank, and then accesses the arrays with
the incremented index.
We did not optimize out that part in the 7th iteration, so VRP flagged
the unreachable code as accessing arrays past the end.
It couldn't possibly know that we'd never reach that part, since the
test was on result->rank, and it's not obvious (for the compiler) that
result->rank <= GFC_MAX_DIMENSIONS.
Even an assert to that effect before the enclosing loop didn't avoid
the warning turned to error, though; I suppose there might be some
aliasing at play, because moving the assert into the loop does. An
assert on the index itself would also work, even more efficiently, but
we're just silencing the warning instead.
for gcc/fortran/ChangeLog
* simplify.c (simplify_transformation_to_array): Silence
array bounds warning. Fix whitespace.
From-SVN: r244122
2017-01-06 04:34:37 +01:00
|
|
|
|
2017-01-06 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* simplify.c (simplify_transformation_to_array): Silence
|
|
|
|
|
array bounds warning. Fix whitespace.
|
|
|
|
|
|
2017-01-05 02:46:01 +01:00
|
|
|
|
2017-01-04 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* module.c (load_omp_udrs): Initialize name.
|
|
|
|
|
|
2017-01-02 21:00:18 +01:00
|
|
|
|
2017-01-02 Janne Blomqvist <jb@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR fortran/78534
|
|
|
|
|
* trans-expr.c (gfc_trans_string_copy): Rework string copy
|
|
|
|
|
algorithm to avoid -Wstringop-overflow warning.
|
|
|
|
|
|
2017-01-01 12:31:28 +01:00
|
|
|
|
2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
2016-01-04 15:30:50 +01:00
|
|
|
|
|
2017-01-01 13:07:43 +01:00
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2015-01-05 13:05:46 +01:00
|
|
|
|
* gfortranspec.c (lang_specific_driver): Update copyright notice
|
|
|
|
|
dates.
|
|
|
|
|
* gfc-internals.texi: Bump @copying's copyright year.
|
|
|
|
|
* gfortran.texi: Ditto.
|
|
|
|
|
* intrinsic.texi: Ditto.
|
|
|
|
|
* invoke.texi: Ditto.
|
2016-01-04 14:03:35 +01:00
|
|
|
|
|
2017-01-01 12:31:28 +01:00
|
|
|
|
Copyright (C) 2017 Free Software Foundation, Inc.
|
ABOUT-GCC-NLS, [...]: Add copyright and license notices.
* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
ChangeLog-1999, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008, ChangeLog.dataflow, ChangeLog.lib,
ChangeLog.ptr, ChangeLog.tree-ssa, ChangeLog.tuples, FSFChangeLog,
FSFChangeLog.10, FSFChangeLog.11, LANGUAGES, ONEWS, acinclude.m4,
config/alpha/gnu.h, config/alpha/libgcc-alpha-ldbl.ver,
config/alpha/t-osf4, config/alpha/t-vms, config/alpha/va_list.h,
config/alpha/x-vms, config/arc/t-arc,
config/arm/README-interworking, config/arm/arm-c.c,
config/arm/gentune.sh, config/arm/libgcc-bpabi.ver,
config/arm/t-arm, config/arm/t-arm-elf, config/arm/t-arm-softfp,
config/arm/t-bpabi, config/arm/t-linux, config/arm/t-linux-eabi,
config/arm/t-netbsd, config/arm/t-pe, config/arm/t-strongarm-elf,
config/arm/t-symbian, config/arm/t-vxworks, config/arm/t-wince-pe,
config/avr/t-avr, config/bfin/elf.h, config/bfin/libgcc-bfin.ver,
config/bfin/linux.h, config/bfin/t-bfin, config/bfin/t-bfin-elf,
config/bfin/t-bfin-linux, config/bfin/t-bfin-uclinux,
config/bfin/uclinux.h, config/cris/mulsi3.asm, config/cris/t-cris,
config/cris/t-elfmulti, config/crx/t-crx,
config/darwin-ppc-ldouble-patch.def, config/darwin-sections.def,
config/divmod.c, config/fr30/t-fr30, config/frv/libgcc-frv.ver,
config/frv/t-frv, config/frv/t-linux, config/h8300/genmova.sh,
config/h8300/t-h8300, config/i386/athlon.md,
config/i386/darwin-libgcc.10.4.ver,
config/i386/darwin-libgcc.10.5.ver, config/i386/libgcc-glibc.ver,
config/i386/mach.h, config/i386/netbsd.h, config/i386/t-crtpc,
config/i386/t-cygming, config/i386/t-cygwin, config/i386/t-i386,
config/i386/t-linux64, config/i386/t-nwld,
config/i386/t-rtems-i386, config/i386/t-sol2-10,
config/i386/x-mingw32, config/ia64/div.md, config/ia64/elf.h,
config/ia64/ia64.opt, config/ia64/libgcc-glibc.ver,
config/ia64/libgcc-ia64.ver, config/ia64/linux.h,
config/ia64/sysv4.h, config/ia64/t-hpux, config/ia64/t-ia64,
config/iq2000/abi, config/iq2000/lib2extra-funcs.c,
config/iq2000/t-iq2000, config/libgcc-glibc.ver,
config/m32r/libgcc-glibc.ver, config/m32r/t-linux,
config/m32r/t-m32r, config/m68hc11/t-m68hc11,
config/m68k/t-floatlib, config/m68k/t-linux, config/m68k/t-mlibs,
config/m68k/t-uclinux, config/mcore/t-mcore,
config/mcore/t-mcore-pe, config/mips/20kc.md, config/mips/4130.md,
config/mips/5400.md, config/mips/5500.md, config/mips/crti.asm,
config/mips/crtn.asm, config/mips/irix-crti.asm,
config/mips/irix-crtn.asm, config/mips/libgcc-mips16.ver,
config/mips/mips-dsp.md, config/mips/mips-dspr2.md,
config/mips/mips-fixed.md, config/mips/sb1.md,
config/mips/sr71k.md, config/mips/t-elf, config/mips/t-gofast,
config/mips/t-iris6, config/mips/t-isa3264,
config/mips/t-libgcc-mips16, config/mips/t-linux64,
config/mips/t-mips, config/mips/t-r3900, config/mips/t-rtems,
config/mips/t-sb1, config/mips/t-sde, config/mips/t-sdemtk,
config/mips/t-slibgcc-irix, config/mips/t-sr71k, config/mips/t-st,
config/mips/t-vr, config/mips/t-vxworks, config/mmix/t-mmix,
config/mn10300/t-linux, config/mn10300/t-mn10300,
config/pa/pa32-regs.h, config/pa/t-hpux-shlib, config/pa/t-linux,
config/pa/t-linux64, config/pa/t-pa64, config/pdp11/t-pdp11,
config/picochip/libgccExtras/clzsi2.asm,
config/picochip/t-picochip, config/rs6000/darwin-ldouble-format,
config/rs6000/darwin-libgcc.10.4.ver,
config/rs6000/darwin-libgcc.10.5.ver,
config/rs6000/libgcc-ppc-glibc.ver, config/rs6000/ppc-asm.h,
config/rs6000/t-aix43, config/rs6000/t-aix52,
config/rs6000/t-darwin, config/rs6000/t-fprules,
config/rs6000/t-fprules-fpbit, config/rs6000/t-linux64,
config/rs6000/t-lynx, config/rs6000/t-netbsd,
config/rs6000/t-ppccomm, config/rs6000/t-ppcendian,
config/rs6000/t-ppcgas, config/rs6000/t-rs6000,
config/rs6000/t-rtems, config/rs6000/t-spe,
config/rs6000/t-vxworks, config/s390/libgcc-glibc.ver,
config/score/t-score-elf, config/sh/divcost-analysis,
config/sh/libgcc-glibc.ver, config/sh/t-netbsd, config/sh/t-sh,
config/sh/t-sh64, config/sh/t-superh, config/sh/t-symbian,
config/sparc/libgcc-sparc-glibc.ver, config/sparc/sol2-bi.h,
config/sparc/sol2-gas.h, config/sparc/sol2-gld-bi.h,
config/sparc/t-elf, config/sparc/t-linux64, config/sparc/t-sol2,
config/stormy16/stormy-abi, config/stormy16/t-stormy16,
config/t-darwin, config/t-libunwind, config/t-libunwind-elf,
config/t-linux, config/t-lynx, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld, config/t-sol2, config/t-vxworks,
config/udivmod.c, config/udivmodsi4.c, config/v850/t-v850,
config/v850/t-v850e, config/xtensa/t-xtensa, diagnostic.def,
gdbinit.in, glimits.h, gstab.h, gsyms.h, java/ChangeLog,
java/ChangeLog.ptr, java/ChangeLog.tree-ssa, libgcc-std.ver,
limitx.h, version.c, xcoff.h: Add copyright and license notices.
* config/h8300/genmova.sh: Include copyright and license notices
in generated output.
* config/h8300/mova.md: Regenerate.
* doc/install.texi2html: Include word "Copyright" in copyright
notice and use name "Free Software Foundation, Inc.".
* ChangeLog, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008: Correct dates.
ada:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
cp:
* ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995,
ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999,
ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003,
ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS,
cfns.gperf: Add copyright and license notices.
* cfns.h: Regenerate.
* ChangeLog, ChangeLog-2004: Correct dates.
fortran:
* ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
copyright and license notices.
* ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008: Correct dates.
java:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
objc:
* ChangeLog: Add copyright and license notices.
objcp:
* ChangeLog: Add copyright and license notices.
po:
* ChangeLog, EXCLUDES: Add copyright and license notices.
testsuite:
* ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr,
ChangeLog.tree-ssa, README, README.QMTEST, README.compat,
README.gcc, g++.dg/README, g++.dg/compat/break/README,
g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README,
g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README,
gcc.c-torture/ChangeLog.0,
gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README,
gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp,
gcc.target/i386/math-torture/math-torture.exp,
gcc.target/mips/inter/mips16-inter.exp,
gcc.target/mips/mips-nonpic/README,
gcc.target/x86_64/abi/README.gcc,
gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README,
gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp,
gfortran.fortran-torture/ChangeLog.g95: Add copyright and license
notices.
* ChangeLog-1993-2007, ChangeLog: Correct dates.
From-SVN: r146533
2009-04-21 21:03:23 +02:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|