]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
7 years agore PR fortran/65453 (ICE in build_function_decl, at fortran/trans-decl.c:2001)
Steven G. Kargl [Mon, 19 Mar 2018 19:14:06 +0000 (19:14 +0000)] 
re PR fortran/65453 (ICE in build_function_decl, at fortran/trans-decl.c:2001)

2018-03-19  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/65453
* decl.c (get_proc_name): Catch clash between a procedure statement
and a contained subprogram

2018-03-19  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/65453
* gfortran.dg/pr65453.f90: New test.

From-SVN: r258657

7 years agoDaily bump.
GCC Administrator [Mon, 19 Mar 2018 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258638

7 years agobackport: pa.c (pa_callee_copies): New function.
John David Anglin [Sun, 18 Mar 2018 22:13:04 +0000 (22:13 +0000)] 
backport: pa.c (pa_callee_copies): New function.

Backport from mainline
2016-12-11  John David Anglin  <danglin@gcc.gnu.org>

* config/pa/pa.c (pa_callee_copies): New function.
* config/pa/pa.opt (mcaller-copies): New option.
* doc/invoke.texi (mcaller-copies): Document option.

From-SVN: r258635

7 years agoDaily bump.
GCC Administrator [Sun, 18 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258624

7 years agoDaily bump.
GCC Administrator [Sat, 17 Mar 2018 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258615

7 years agoDaily bump.
GCC Administrator [Fri, 16 Mar 2018 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258577

7 years agoDaily bump.
GCC Administrator [Thu, 15 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258544

7 years agore PR target/83451 (FAIL: gfortran.dg/matmul_10.f90 -O3 -fomit-frame-pointer -funro...
John David Anglin [Wed, 14 Mar 2018 23:55:02 +0000 (23:55 +0000)] 
re PR target/83451 (FAIL: gfortran.dg/matmul_10.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE))

PR target/83451
* config/pa/pa.c (pa_emit_move_sequence):  Always emit secondary reload
insn for floating-point loads and stores.

From-SVN: r258543

7 years agoDaily bump.
GCC Administrator [Wed, 14 Mar 2018 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258506

7 years agoDaily bump.
GCC Administrator [Tue, 13 Mar 2018 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258472

7 years agoFix spelling of -mclflushopt in manual
Jonathan Wakely [Mon, 12 Mar 2018 22:35:12 +0000 (22:35 +0000)] 
Fix spelling of -mclflushopt in manual

* doc/invoke.texi (-mclflushopt): Fix spelling of option.

From-SVN: r258465

7 years agore PR fortran/83939 (Constraint C1290 (elemental function cannot be allocatable)...
Steven G. Kargl [Mon, 12 Mar 2018 18:26:28 +0000 (18:26 +0000)] 
re PR fortran/83939 (Constraint C1290 (elemental function cannot be allocatable) not enforced)

2018-03-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/83939
* resolve.c (resolve_fl_procedure): Enforce F2018:C15100.

2018-03-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/83939
* gfortran.dg/pr83939.f90

From-SVN: r258457

7 years agoDaily bump.
GCC Administrator [Mon, 12 Mar 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258439

7 years agobackport: re PR target/83984 (ld: The value 0x8000000000005 does not fit when applyin...
John David Anglin [Sun, 11 Mar 2018 14:44:48 +0000 (14:44 +0000)] 
backport: re PR target/83984 (ld: The value 0x8000000000005 does not fit when applying the relocation DIR21L)

Backport from mainline
2018-02-14  John David Anglin  <danglin@gcc.gnu.org>

PR target/83984
* config/pa/pa.md: Load address of PIC label using the linkage table
if the label is nonlocal.

From-SVN: r258433

7 years agobackport: fptr.c (_dl_read_access_allowed): New.
John David Anglin [Sun, 11 Mar 2018 14:38:50 +0000 (14:38 +0000)] 
backport: fptr.c (_dl_read_access_allowed): New.

Backport from mainline
2018-03-06  John David Anglin  <danglin@gcc.gnu.org>

* config/pa/fptr.c (_dl_read_access_allowed): New.
(__canonicalize_funcptr_for_compare): Use it.

From-SVN: r258431

7 years agobackport: pa.h (ASM_GENERATE_INTERNAL_LABEL): Revise to use sprint_ul.
John David Anglin [Sun, 11 Mar 2018 14:33:56 +0000 (14:33 +0000)] 
backport: pa.h (ASM_GENERATE_INTERNAL_LABEL): Revise to use sprint_ul.

Backport from mainline
2018-03-06  John David Anglin  <danglin@gcc.gnu.org>

* config/pa/pa.h (ASM_GENERATE_INTERNAL_LABEL): Revise to use
sprint_ul.
(ASM_OUTPUT_ADDR_VEC_ELT): Revise for above change.
(ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
* config/pa/pa64-hpux.h (ASM_GENERATE_INTERNAL_LABEL): Revise as above.

From-SVN: r258429

7 years agoDaily bump.
GCC Administrator [Sun, 11 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258421

7 years agore PR fortran/84734 (Compiling codes with insane array dimensions gives an ICE after...
Steven G. Kargl [Sat, 10 Mar 2018 19:00:49 +0000 (19:00 +0000)] 
re PR fortran/84734 (Compiling codes with insane array dimensions gives an ICE after r257971)

2018-03-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/84734
* arith.c (check_result, eval_intrinsic):  If result overflows, pass
the expression up the chain instead of a NULL pointer.

2018-03-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/84734
* gfortran.dg/pr84734.f90: New test.

From-SVN: r258419

7 years agobackport: re PR other/82352 (comdat-local function called by void h::i() outside...
H.J. Lu [Sat, 10 Mar 2018 18:45:55 +0000 (18:45 +0000)] 
backport: re PR other/82352 (comdat-local function called by void h::i() outside its comdat)

Backport r256266 from mainline

Backport from mainline
2018-01-04  Jakub Jelinek  <jakub@redhat.com>

PR ipa/82352
* g++.dg/ipa/pr82352.C (size_t): Define to __SIZE_TYPE__ instead of
long unsigned int.

From-SVN: r258418

7 years agoPR c++/84785 - ICE with alias template and default targs.
Jason Merrill [Sat, 10 Mar 2018 03:35:25 +0000 (22:35 -0500)] 
PR c++/84785 - ICE with alias template and default targs.

* pt.c (type_unification_real): Set processing_template_decl if
saw_undeduced == 1.

From-SVN: r258410

7 years agoDaily bump.
GCC Administrator [Sat, 10 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258403

7 years agoDaily bump.
GCC Administrator [Fri, 9 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258372

7 years ago[multiple changes]
Steven G. Kargl [Thu, 8 Mar 2018 19:06:57 +0000 (19:06 +0000)] 
[multiple changes]

2018-03-08 Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/64124
PR fortran/70409
* decl.c (gfc_match_char_spec): Try to reduce a charlen to a constant.

2018-03-08  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/64124
PR fortran/70409
* gfortran.dg/pr64124.f90: New tests.
* gfortran.dg/pr70409.f90: New tests.

From-SVN: r258368

7 years agoBackport r243662
Martin Liska [Thu, 8 Mar 2018 08:56:45 +0000 (09:56 +0100)] 
Backport r243662

2018-03-08  Martin Liska  <mliska@suse.cz>

Backport from mainline
2016-12-14  Jakub Jelinek  <jakub@redhat.com>

PR debug/77844
* valtrack.c: Include rtl-iter.h.
(struct rtx_subst_pair): Add insn field.
(propagate_for_debug_subst): If pair->to contains at least 2
regs, create a DEBUG_INSN with a debug temp before pair->insn
and replace from with the debug temp instead of pair->to.
(propagate_for_debug): Initialize p.insn.
* combine.c (insn_uid_check): New inline function.
(INSN_COST, LOG_LINKS): Use it instead of INSN_UID.
(find_single_use, combine_instructions,
cant_combine_insn_p, try_combine): Use NONDEBUG_INSN_P instead of
INSN_P.
2018-03-08  Martin Liska  <mliska@suse.cz>

Backport from mainline
2016-12-14  Jakub Jelinek  <jakub@redhat.com>

PR debug/77844
* g++.dg/opt/pr77844.C: New test.

From-SVN: r258359

7 years agoBackport r256226
Martin Liska [Thu, 8 Mar 2018 08:56:20 +0000 (09:56 +0100)] 
Backport r256226

2018-03-08  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-04  Martin Liska  <mliska@suse.cz>

PR ipa/82352
* ipa-icf.c (sem_function::merge): Do not cross comdat boundary.
2018-03-08  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-04  Martin Liska  <mliska@suse.cz>

PR ipa/82352
* g++.dg/ipa/pr82352.C: New test.

From-SVN: r258358

7 years agoBackport r254257
Martin Liska [Thu, 8 Mar 2018 08:55:59 +0000 (09:55 +0100)] 
Backport r254257

2018-03-08  Martin Liska  <mliska@suse.cz>

Backport from mainline
2017-10-31  Martin Liska  <mliska@suse.cz>

PR gcov-profile/82633
* doc/gcov.texi: Document -fkeep-{static,inline}-functions and
their interaction with GCOV infrastructure.
* configure.ac: Add -fkeep-{inline,static}-functions to
coverage_flags.
* configure: Regenerate.

From-SVN: r258357

7 years agoBackport r254137
Martin Liska [Thu, 8 Mar 2018 08:52:39 +0000 (09:52 +0100)] 
Backport r254137

2018-03-08  Martin Liska  <mliska@suse.cz>

Backport from mainline
2017-10-27  Martin Liska  <mliska@suse.cz>

PR gcov-profile/82457
* doc/invoke.texi: Document that one needs a non-strict ISO mode
for fork-like functions to be properly instrumented.

From-SVN: r258356

7 years agoDaily bump.
GCC Administrator [Thu, 8 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258343

7 years agoS/390: Disable branch prediction
Andreas Krebbel [Wed, 7 Mar 2018 13:10:35 +0000 (13:10 +0000)] 
S/390: Disable branch prediction

gcc/ChangeLog:

2018-03-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2018-02-08  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390-opts.h (enum indirect_branch): Define.
* config/s390/s390-protos.h (s390_return_addr_from_memory)
(s390_indirect_branch_via_thunk)
(s390_indirect_branch_via_inline_thunk): Add function prototypes.
(enum s390_indirect_branch_type): Define.
* config/s390/s390.c (struct s390_frame_layout, struct
machine_function): Remove.
(indirect_branch_prez10thunk_mask, indirect_branch_z10thunk_mask)
(indirect_branch_table_label_no, indirect_branch_table_name):
Define variables.
(INDIRECT_BRANCH_NUM_OPTIONS): Define macro.
(enum s390_indirect_branch_option): Define.
(s390_return_addr_from_memory): New function.
(s390_handle_string_attribute): New function.
(s390_attribute_table): Add new attribute handler.
(s390_execute_label): Handle UNSPEC_EXECUTE_JUMP patterns.
(s390_indirect_branch_via_thunk): New function.
(s390_indirect_branch_via_inline_thunk): New function.
(s390_function_ok_for_sibcall): When jumping via thunk disallow
sibling call optimization for non z10 compiles.
(s390_emit_call): Force indirect branch target to be a single
register.  Add r1 clobber for non-z10 compiles.
(s390_emit_epilogue): Emit return jump via return_use expander.
(s390_reorg): Handle JUMP_INSNs as execute targets.
(s390_option_override_internal): Perform validity checks for the
new command line options.
(s390_indirect_branch_attrvalue): New function.
(s390_indirect_branch_settings): New function.
(s390_set_current_function): Invoke s390_indirect_branch_settings.
(s390_output_indirect_thunk_function):  New function.
(s390_code_end): Implement target hook.
(s390_case_values_threshold): Implement target hook.
(TARGET_ASM_CODE_END, TARGET_CASE_VALUES_THRESHOLD): Define target
macros.
* config/s390/s390.h (struct s390_frame_layout)
(struct machine_function): Move here from s390.c.
(TARGET_INDIRECT_BRANCH_NOBP_RET)
(TARGET_INDIRECT_BRANCH_NOBP_JUMP)
(TARGET_INDIRECT_BRANCH_NOBP_JUMP_THUNK)
(TARGET_INDIRECT_BRANCH_NOBP_JUMP_INLINE_THUNK)
(TARGET_INDIRECT_BRANCH_NOBP_CALL)
(TARGET_DEFAULT_INDIRECT_BRANCH_TABLE)
(TARGET_INDIRECT_BRANCH_THUNK_NAME_EXRL)
(TARGET_INDIRECT_BRANCH_THUNK_NAME_EX)
(TARGET_INDIRECT_BRANCH_TABLE): Define macros.
* config/s390/s390.md (UNSPEC_EXECUTE_JUMP)
(INDIRECT_BRANCH_THUNK_REGNUM): Define constants.
(mnemonic attribute): Add values which aren't recognized
automatically.
("*cjump_long", "*icjump_long", "*basr", "*basr_r"): Disable
pattern for branch conversion.  Fix mnemonic attribute.
("*c<code>", "*sibcall_br", "*sibcall_value_br", "*return"): Emit
indirect branch via thunk if requested.
("indirect_jump", "<code>"): Expand patterns for branch conversion.
("*indirect_jump"): Disable for branch conversion using out of
line thunks.
("indirect_jump_via_thunk<mode>_z10")
("indirect_jump_via_thunk<mode>")

2018-03-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2018-02-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR target/PR84295
* config/s390/s390.c (s390_set_current_function): Invoke
s390_indirect_branch_settings also if fndecl didn't change.

gcc/testsuite/ChangeLog:

2018-03-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2018-02-08  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.target/s390/nobp-function-pointer-attr.c: New test.
* gcc.target/s390/nobp-function-pointer-nothunk.c: New test.
* gcc.target/s390/nobp-function-pointer-z10.c: New test.
* gcc.target/s390/nobp-function-pointer-z900.c: New test.
* gcc.target/s390/nobp-indirect-jump-attr.c: New test.
* gcc.target/s390/nobp-indirect-jump-inline-attr.c: New test.
* gcc.target/s390/nobp-indirect-jump-inline-z10.c: New test.
* gcc.target/s390/nobp-indirect-jump-inline-z900.c: New test.
* gcc.target/s390/nobp-indirect-jump-nothunk.c: New test.
* gcc.target/s390/nobp-indirect-jump-z10.c: New test.
* gcc.target/s390/nobp-indirect-jump-z900.c: New test.
* gcc.target/s390/nobp-return-attr-all.c: New test.
* gcc.target/s390/nobp-return-attr-neg.c: New test.
* gcc.target/s390/nobp-return-mem-attr.c: New test.
* gcc.target/s390/nobp-return-mem-nothunk.c: New test.
* gcc.target/s390/nobp-return-mem-z10.c: New test.
* gcc.target/s390/nobp-return-mem-z900.c: New test.
* gcc.target/s390/nobp-return-reg-attr.c: New test.
* gcc.target/s390/nobp-return-reg-mixed.c: New test.
* gcc.target/s390/nobp-return-reg-nothunk.c: New test.
* gcc.target/s390/nobp-return-reg-z10.c: New test.
* gcc.target/s390/nobp-return-reg-z900.c: New test.
* gcc.target/s390/nobp-table-jump-inline-z10.c: New test.
* gcc.target/s390/nobp-table-jump-inline-z900.c: New test.
* gcc.target/s390/nobp-table-jump-z10.c: New test.
* gcc.target/s390/nobp-table-jump-z900.c: New test.

2018-03-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2018-02-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR target/PR84295
* gcc.target/s390/pr84295.c: New test.

From-SVN: r258335

7 years agoBackport r257842
Martin Liska [Wed, 7 Mar 2018 09:49:47 +0000 (10:49 +0100)] 
Backport r257842

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-20  Martin Liska  <mliska@suse.cz>

PR c/84310
PR target/79747
* final.c (shorten_branches): Build align_tab array with one
more element.
* opts.c (finish_options): Add alignment option limit check.
(MAX_CODE_ALIGN): Likewise.
(MAX_CODE_ALIGN_VALUE): Likewise.
* doc/invoke.texi: Document maximum allowed option value for
all -falign-* options.
2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-20  Martin Liska  <mliska@suse.cz>

PR c/84310
PR target/79747
* gcc.target/i386/pr84310.c: New test.
* gcc.target/i386/pr84310-2.c: Likewise.

From-SVN: r258332

7 years agoBackport r257803
Martin Liska [Wed, 7 Mar 2018 09:49:11 +0000 (10:49 +0100)] 
Backport r257803

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-19  Martin Liska  <mliska@suse.cz>

PR other/80589
* doc/invoke.texi: Fix typo.
* params.def (PARAM_MAX_LOOP_HEADER_INSNS): Likewise.

From-SVN: r258331

7 years agoBackport r257384
Martin Liska [Wed, 7 Mar 2018 09:48:44 +0000 (10:48 +0100)] 
Backport r257384

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-05  Martin Liska  <mliska@suse.cz>

PR gcov-profile/84137
* doc/gcov.texi: Fix typo in documentation.

From-SVN: r258330

7 years agoBackport r257383
Martin Liska [Wed, 7 Mar 2018 09:48:02 +0000 (10:48 +0100)] 
Backport r257383

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-05  Martin Liska  <mliska@suse.cz>

PR gcov-profile/83879
* doc/gcov.texi: Document necessity of --dynamic-list-data when
using dlopen functionality.

From-SVN: r258329

7 years agoBackport r256989
Martin Liska [Wed, 7 Mar 2018 09:47:46 +0000 (10:47 +0100)] 
Backport r256989

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-23  Martin Liska  <mliska@suse.cz>

PR lto/81440
* lto-symtab.c (lto_symtab_merge): Handle and do not warn about
trailing arrays at the end of a struct.
2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-23  Martin Liska  <mliska@suse.cz>

PR lto/81440
* gcc.dg/lto/pr81440.h: New test.
* gcc.dg/lto/pr81440_0.c: New test.
* gcc.dg/lto/pr81440_1.c: New test.

From-SVN: r258328

7 years agoBackport r255818
Martin Liska [Wed, 7 Mar 2018 09:47:11 +0000 (10:47 +0100)] 
Backport r255818

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2017-12-19  Martin Liska  <mliska@suse.cz>

PR rtl-optimization/82675
* loop-unroll.c (unroll_loop_constant_iterations): Allocate one
more element in sbitmap.

From-SVN: r258327

7 years agoFix IPA profile merging, fixed in trunk with r253910.
Martin Liska [Wed, 7 Mar 2018 09:46:50 +0000 (10:46 +0100)] 
Fix IPA profile merging, fixed in trunk with r253910.

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-03-05  Martin Liska  <mliska@suse.cz>

* ipa-utils.c (ipa_merge_profiles): Do not merge alias or
a function without profile.

From-SVN: r258326

7 years agoBackport r257939
Martin Liska [Wed, 7 Mar 2018 09:46:21 +0000 (10:46 +0100)] 
Backport r257939

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-08  Jan Hubicka  <hubicka@ucw.cz>

* lto-partition.c (lto_balanced_map): Watch overflow.

From-SVN: r258325

7 years agoBackport r257877
Martin Liska [Wed, 7 Mar 2018 09:46:01 +0000 (10:46 +0100)] 
Backport r257877

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-21  Jan Hubicka  <hubicka@ucw.cz>

PR c/84229
* ipa-cp.c (determine_versionability): Do not version functions caling
va_arg_pack.

From-SVN: r258324

7 years agoBackport r257490
Martin Liska [Wed, 7 Mar 2018 09:45:44 +0000 (10:45 +0100)] 
Backport r257490

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-08  Jan Hubicka  <hubicka@ucw.cz>

PR ipa/81360
* cgraph.h (symtab_node::output_to_lto_symbol_table_p): Declare
* symtab.c: Include builtins.h
(symtab_node::output_to_lto_symbol_table_p): Move here
from lto-streamer-out.c:output_symbol_p.
* lto-streamer-out.c (write_symbol): Turn early exit to assert.
(output_symbol_p): Move all logic to symtab.c
(produce_symtab): Update.
2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-08  Jan Hubicka  <hubicka@ucw.cz>

PR ipa/81360
* lto.c (unify_scc): Register prevailing trees, not trees to be freed.
(read_cgraph_and_symbols): Use
symtab_node::output_to_lto_symbol_table_p.

From-SVN: r258323

7 years agoBackport r257442
Martin Liska [Wed, 7 Mar 2018 09:44:36 +0000 (10:44 +0100)] 
Backport r257442

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-30  Jan Hubicka  <hubicka@ucw.cz>

* lto.c (register_resolution): Remove forgotten sanity check.

From-SVN: r258322

7 years agoBackport r257412
Martin Liska [Wed, 7 Mar 2018 09:44:03 +0000 (10:44 +0100)] 
Backport r257412

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-30  Jan Hubicka  <hubicka@ucw.cz>

PR lto/81004
* lto.c: Include builtins.h
(register_resolution): Merge resolutions in case trees was
merged across units.
(lto_maybe_register_decl): Break out from ...
(lto_read_decls): ... here.
(unify_scc): Also register decls here.
(read_cgraph_and_symbols): Sanity check that all resolutions was
read.

From-SVN: r258321

7 years agoBackport r257343
Martin Liska [Wed, 7 Mar 2018 09:43:49 +0000 (10:43 +0100)] 
Backport r257343

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-02  Eric Botcazou  <ebotcazou@adacore.com>

PR lto/83954
* lto-symtab.c (warn_type_compatibility_p): Do not recurse into the
component type of array types with non-aliased component.

From-SVN: r258320

7 years agoBackport r257183
Martin Liska [Wed, 7 Mar 2018 09:43:23 +0000 (10:43 +0100)] 
Backport r257183

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-30  Jan Hubicka  <hubicka@ucw.cz>

PR lto/83954
* lto-symtab.c (warn_type_compatibility_p): Silence false positive
for type match warning on arrays of pointers.
2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-30  Jan Hubicka  <hubicka@ucw.cz>

PR lto/83954
* gcc.dg/lto/pr83954.h: New testcase.
* gcc.dg/lto/pr83954_0.c: New testcase.
* gcc.dg/lto/pr83954_1.c: New testcase.

From-SVN: r258319

7 years agoBackport r253729
Martin Liska [Wed, 7 Mar 2018 09:42:53 +0000 (10:42 +0100)] 
Backport r253729

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2017-10-13  Jan Hubicka  <hubicka@ucw.cz>

* lto-lang.c (lto_post_options): Clean shlib flag when not doing PIC.

From-SVN: r258318

7 years agoDaily bump.
GCC Administrator [Wed, 7 Mar 2018 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258307

7 years agore PR fortran/56667 (Syntax error causes misleading message: "Expected PARAMETER...
Steven G. Kargl [Tue, 6 Mar 2018 19:30:41 +0000 (19:30 +0000)] 
re PR fortran/56667 (Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant")

2018-03-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/56667
* primary.c (match_sym_complex_part): Give the matcher for an implied
do-loop a chance to run.

2018-03-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/56667
* gfortran.dg/implied_do_2.f90: New test.
* gfortran.dg/coarray_8.f90: Update for new error message.

From-SVN: r258283

7 years agotrans.c (convert_with_check): Fix typo in the condition guarding the overflow check...
Eric Botcazou [Tue, 6 Mar 2018 12:21:50 +0000 (12:21 +0000)] 
trans.c (convert_with_check): Fix typo in the condition guarding the overflow check emitted for the upper...

* gcc-interface/trans.c (convert_with_check): Fix typo in the condition
guarding the overflow check emitted for the upper bound of a floating-
point conversion.

From-SVN: r258279

7 years agoDaily bump.
GCC Administrator [Tue, 6 Mar 2018 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258265

7 years agoPR c++/84686 - missing volatile loads.
Jason Merrill [Mon, 5 Mar 2018 14:28:15 +0000 (09:28 -0500)] 
PR c++/84686 - missing volatile loads.

* cvt.c (convert_to_void): Call maybe_undo_parenthesized_ref.

From-SVN: r258246

7 years agoDaily bump.
GCC Administrator [Mon, 5 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258236

7 years agore PR fortran/71085 (ICE with some intrinsic functions specifying array function...
Harald Anlauf [Sun, 4 Mar 2018 05:11:31 +0000 (05:11 +0000)] 
re PR fortran/71085 (ICE with some intrinsic functions specifying array function result dimension)

2018-03-03  Harald Anlauf  <anlauf@gmx.de>

PR fortran/71085
* trans-expr.c (gfc_apply_interface_mapping_to_expr): Do not
dereference NULL pointer.

2018-03-03  Harald Anlauf  <anlauf@gmx.de>

PR fortran/71085
* gfortran.dg/pr71085.f90: New test.

From-SVN: r258230

7 years agoDaily bump.
GCC Administrator [Sun, 4 Mar 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258225

7 years agore PR fortran/78990 (ICE when assigning polymorphic array function result)
Paul Thomas [Sat, 3 Mar 2018 18:00:39 +0000 (18:00 +0000)] 
re PR fortran/78990 (ICE when assigning polymorphic array function result)

2018-03-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78990
* expr.c (gfc_is_class_array_function): Renamed from
'gfc_is_alloc_class_array_function' and modified to return true
for pointers as well as allocatable results.
* gfortran.h : Change of name for prototype of above function.
* trans-array.c (gfc_add_loop_ss_code): Force finalization of
class array results.
(build_class_array_ref): Change assertion into a condition.
(build_class_array_ref): Set the se class_vptr for class array
function results.
(gfc_walk_function_expr): Reference gfc_is_class_array_function
as above.
* trans-decl.c (get_proc_result): Move it up before
gfc_trans_deferred_vars.
(gfc_trans_deferred_vars): Nullify explicit return class arrays
on entry.
* trans-expr.c (gfc_conv_class_to_class): Allow conversion of
class array functions that have an se class_vptr and use it
for the result vptr.
(gfc_conv_subref_array_arg): Rename reference to the above
function.
(gfc_conv_procedure_call): Ditto. Add the se pre block to the
loop pre block before the function is evaluated. Do not
finalize class pointer results.
(arrayfunc_assign_needs_temporary, gfc_trans_assignment_1) More
renamed references.
* trans-intrinsic.c (gfc_conv_intrinsic_size): Ditto.

2018-03-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78990
* gfortran.dg/class_67.f90: New test.

From-SVN: r258217

7 years agoDaily bump.
GCC Administrator [Sat, 3 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258161

7 years agoPR libstdc++/84671 handle digit separators in duration literals
Jonathan Wakely [Fri, 2 Mar 2018 23:52:06 +0000 (23:52 +0000)] 
PR libstdc++/84671 handle digit separators in duration literals

Backport from mainline
2018-03-02  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/84671
* include/bits/parse_numbers.h (_Number_help): Add partial
specialization to handle digit separators. Adjust partial
specialization for recursion temrination to require _Pow == 1ULL.
* testsuite/20_util/duration/literals/84671.cc: New

From-SVN: r258159

7 years agoPR c++/84489 - dependent default template argument
Jason Merrill [Fri, 2 Mar 2018 18:24:40 +0000 (13:24 -0500)] 
PR c++/84489 - dependent default template argument

* pt.c (type_unification_real): Handle early substitution failure.

From-SVN: r258152

7 years ago[nvptx] Add support for CUDA 9
Thomas Schwinge [Fri, 2 Mar 2018 08:40:04 +0000 (09:40 +0100)] 
[nvptx] Add support for CUDA 9

Backport trunk r256891:

gcc/
2018-01-19  Cesar Philippidis  <cesar@codesourcery.com>

PR target/83790
* config/nvptx/nvptx.c (output_init_frag): Don't use generic address
spaces for function labels.

gcc/testsuite/
2018-01-19  Cesar Philippidis  <cesar@codesourcery.com>

PR target/83790
* gcc.target/nvptx/indirect_call.c: New test.

From-SVN: r258127

7 years agoDaily bump.
GCC Administrator [Fri, 2 Mar 2018 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258118

7 years agoDaily bump.
GCC Administrator [Thu, 1 Mar 2018 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258090

7 years agoPR c++/71784 - ICE with ref-qualifier and explicit specialization.
Jason Merrill [Wed, 28 Feb 2018 21:34:56 +0000 (16:34 -0500)] 
PR c++/71784 - ICE with ref-qualifier and explicit specialization.

* pt.c (determine_specialization): Check ref-qualifier.

From-SVN: r258087

7 years agogcc testsuite changes for new linker messages
Alan Modra [Wed, 28 Feb 2018 08:07:35 +0000 (18:37 +1030)] 
gcc testsuite changes for new linker messages

GNU ld error messages have changed to comply with the GNU coding
standards.

* lib/prune.exp (prune_gcc_output): Match lower case "in function"
GNU ld message.
* g++.dg/other/anon5.C: Match lower case "bad value" GNU ld message.

From-SVN: r258056

7 years agoDaily bump.
GCC Administrator [Wed, 28 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258048

7 years agoPR c++/84441 - ICE with base initialized from ?:
Jason Merrill [Tue, 27 Feb 2018 04:22:31 +0000 (23:22 -0500)] 
PR c++/84441 - ICE with base initialized from ?:

* call.c (unsafe_copy_elision_p): Handle COND_EXPR.

From-SVN: r258028

7 years agoPR c++/84520 - ICE with generic lambda in NSDMI.
Jason Merrill [Tue, 27 Feb 2018 04:22:24 +0000 (23:22 -0500)] 
PR c++/84520 - ICE with generic lambda in NSDMI.

* lambda.c (lambda_expr_this_capture): Don't look for fake NSDMI
'this' in a generic lambda instantiation.

From-SVN: r258027

7 years agoDaily bump.
GCC Administrator [Tue, 27 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258018

7 years agoDaily bump.
GCC Administrator [Mon, 26 Feb 2018 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257976

7 years agore PR fortran/83633 (gfortran internal compiler error for explicit-shape array with...
Steven G. Kargl [Sun, 25 Feb 2018 17:32:36 +0000 (17:32 +0000)] 
re PR fortran/83633 (gfortran internal compiler error for explicit-shape array with non-constant bounds)

2018-02-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/83633
* decl.c (variable_decl): Check that an explicit-shape-array with
nonconstant bounds is allowed.

2018-02-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/83633
* gfortran.dg/explicit_shape_1.f90: New test.
* gfortran.dg/automatic_module_variable.f90: Update regex.
* gfortran.dg/bad_automatic_objects_1.f90: Ditto.

From-SVN: r257974

7 years agoDaily bump.
GCC Administrator [Sun, 25 Feb 2018 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257965

7 years agore PR fortran/30792 (DATA implied-do substring allowed with -std=f95/f2003)
Steven G. Kargl [Sat, 24 Feb 2018 20:24:27 +0000 (20:24 +0000)] 
re PR fortran/30792 (DATA implied-do substring allowed with -std=f95/f2003)

2018-02-24  Steven G. Kargl <kargl@gcc.gnu.org>

PR fortran/30792
* decl.c (gfc_match_data): Check for invalid substring in
data-implied-do

2018-02-24  Steven G. Kargl <kargl@gcc.gnu.org>

PR fortran/30792
* gfortran.dg/data_substring.f90: New test.

From-SVN: r257964

7 years agoDaily bump.
GCC Administrator [Sat, 24 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257958

7 years agobackport: re PR fortran/84506 (INQUIRE(pos=) always sets pos=0 with -fdefault-integer-8)
Jerry DeLisle [Fri, 23 Feb 2018 19:53:04 +0000 (19:53 +0000)] 
backport: re PR fortran/84506 (INQUIRE(pos=) always sets pos=0 with -fdefault-integer-8)

2018-02-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backport from trunk
PR fortran/84506
* trans-io.c (set_parameter_value_inquire): Adjust range check of
negative unit values for kind=8 units to the kind=4 negative limit.

* gfortran.dg/inquire_19.f90: New test.

From-SVN: r257951

7 years agore PR fortran/84511 (Internal compiler error from directly printing return of C_LOC)
Steven G. Kargl [Fri, 23 Feb 2018 19:42:43 +0000 (19:42 +0000)] 
re PR fortran/84511 (Internal compiler error from directly printing return of C_LOC)

2018-02-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/84511
* trans-io.c (transfer_expr): Deal with C_LOC in transfer statement.

From-SVN: r257950

7 years agore PR fortran/84346 (Statement functions should not accept keywords)
Steven G. Kargl [Fri, 23 Feb 2018 19:41:27 +0000 (19:41 +0000)] 
re PR fortran/84346 (Statement functions should not accept keywords)

2018-02-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/84346
* interface.c (compare_actual_formal): Issue error if keyword is
used in a statement function.

2018-02-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/84346
* gfortran.dg/statement_function_1.f90: Update test.

From-SVN: r257949

7 years agoDaily bump.
GCC Administrator [Fri, 23 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257925

7 years agoDaily bump.
GCC Administrator [Thu, 22 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257885

7 years agoFix emit_store_flag_force () function to fix ICE in int_mode_for_mode,
Sudakshina Das [Wed, 21 Feb 2018 12:50:31 +0000 (12:50 +0000)] 
Fix emit_store_flag_force () function to fix ICE in int_mode_for_mode,

at stor-layout.c:403 with arm-linux-gnueabi.

*** gcc/ChangeLog ***

2018-02-21  Sudakshina Das  <sudi.das@arm.com>

Backport from trunk
2018-01-10  Sudakshina Das  <sudi.das@arm.com>

PR target/82096
* expmed.c (emit_store_flag_force): Swap if const op0
and change VOIDmode to mode of op0.

*** gcc/testsuite/ChangeLog ***

2018-02-21  Sudakshina Das  <sudi.das@arm.com>

Backport from trunk
2018-01-12  Sudakshina Das  <sudi.das@arm.com>

* gcc.c-torture/compile/pr82096.c: Add dg-skip-if
directive.

Backport from trunk
2018-01-10  Sudakshina Das  <sudi.das@arm.com>

PR target/82096
* gcc.c-torture/compile/pr82096.c: New test.

From-SVN: r257871

7 years agoDaily bump.
GCC Administrator [Wed, 21 Feb 2018 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257866

7 years agolibgcc: xtensa: fix build with -mtext-section-literals
Max Filippov [Tue, 20 Feb 2018 21:13:03 +0000 (21:13 +0000)] 
libgcc: xtensa: fix build with -mtext-section-literals

libgcc/
2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>

Backport from mainline
2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>

* config/xtensa/ieee754-df.S (__adddf3_aux): Add
.literal_position directive.
* config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.

From-SVN: r257864

7 years agoDaily bump.
GCC Administrator [Tue, 20 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257833

7 years agoPR libstdc++/81797 Add .NOTPARALLEL to include/Makefile for darwin
Jonathan Wakely [Mon, 19 Feb 2018 17:02:38 +0000 (17:02 +0000)] 
PR libstdc++/81797 Add .NOTPARALLEL to include/Makefile for darwin

Backport from mainline
2018-02-15  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/81797
* configure.ac (INCLUDE_DIR_NOTPARALLEL): Define.
* configure: Regenerate.
* include/Makefile.am (INCLUDE_DIR_NOTPARALLEL): Add .NOTPARALLEL when
defined.
* include/Makefile.in: Regenerate.

From-SVN: r257811

7 years agoDaily bump.
GCC Administrator [Mon, 19 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257798

7 years agoDaily bump.
GCC Administrator [Sun, 18 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257785

7 years agoDaily bump.
GCC Administrator [Sat, 17 Feb 2018 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257776

7 years agore PR target/84277 (A lot of new acats testsuite failures)
Eric Botcazou [Fri, 16 Feb 2018 23:27:21 +0000 (23:27 +0000)] 
re PR target/84277 (A lot of new acats testsuite failures)

PR ada/84277
* gnat.dg/array11.adb (Array11): Tweak index and remove warning.
* gnat.dg/dispatch1.adb: Rename into...
* gnat.dg/disp1.adb: ...this.
* gnat.dg/dispatch1_p.ads: Rename into...
* gnat.dg/disp1_pkg.ads: ...this.
* gnat.dg/disp2.adb: Rename into...
* gnat.dg/dispatch2.adb: ...this.
* gnat.dg/dispatch2_p.ads: Rename into...
* gnat.dg/disp2_pkg.ads: ...this.
* gnat.dg/dispatch2_p.adb: Rename into...
* gnat.dg/disp2_pkg.adb: this.
* gnat.dg/generic_dispatch.adb: Rename into...
* gnat.dg/generic_disp.adb: this.
* gnat.dg/generic_dispatch_p.ads: Rename into...
* gnat.dg/generic_disp_pkg.ads: ...this.
* gnat.dg/generic_dispatch_p.adb: Rename into...
* gnat.dg/generic_disp_pkg.adb: ...this.
* gnat.dg/null_pointer_deref1.adb (Null_Pointer_Deref1): Robustify.
* gnat.dg/null_pointer_deref2.adb (Null_Pointer_Deref2): Likewise.
* gnat.dg/object_overflow1.adb: Tweak index.
* gnat.dg/object_overflow2.adb: Likewise.
* gnat.dg/object_overflow3.adb: Likewise.
* gnat.dg/object_overflow4.adb: Likewise.
* gnat.dg/object_overflow5.adb: Likewise.

From-SVN: r257775

7 years agoPR c++/84151 - unnecessary volatile load with static member.
Jason Merrill [Fri, 16 Feb 2018 21:34:57 +0000 (16:34 -0500)] 
PR c++/84151 - unnecessary volatile load with static member.

* call.c (build_new_method_call_1): Avoid loading from a volatile
lvalue used as the object argument for a static member function.

From-SVN: r257768

7 years agoDaily bump.
GCC Administrator [Fri, 16 Feb 2018 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257716

7 years agobackport: re PR target/84154 (PowerPC GCC 7 and 8 have regression in converting fp...
Michael Meissner [Thu, 15 Feb 2018 19:57:46 +0000 (19:57 +0000)] 
backport: re PR target/84154 (PowerPC GCC 7 and 8 have regression in converting fp to short/char and returning it)

2018-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from trunk
2018-02-06  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/84154
* config/rs6000/rs6000.md (su code attribute): Use "u" for
unsigned_fix, not "s".

From-SVN: r257707

7 years agobackport: re PR debug/83758 (ICE building gccgo on powerpc64le --with-cpu=power8)
Aaron Sawdey [Thu, 15 Feb 2018 18:36:20 +0000 (18:36 +0000)] 
backport: re PR debug/83758 (ICE building gccgo on powerpc64le --with-cpu=power8)

2018-02-15  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>

Back port from mainline
2018-01-30  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>

PR target/83758
* config/rs6000/rs6000.c (rs6000_internal_arg_pointer): Only return
a reg rtx.

From-SVN: r257701

7 years agoDaily bump.
GCC Administrator [Thu, 15 Feb 2018 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257677

7 years agobackport: re PR target/84390 (test case gcc.target/powerpc/vsxcopy.c fails for gcc...
Peter Bergner [Wed, 14 Feb 2018 20:03:21 +0000 (14:03 -0600)] 
backport: re PR target/84390 (test case gcc.target/powerpc/vsxcopy.c fails for gcc 7 and gcc 6 on power9)

Backport from GCC 7 branch
2018-02-14  Peter Bergner  <bergner@vnet.ibm.com>

PR target/84390
* gcc.target/powerpc/vsxcopy.c: Also match lxv when compiling
with -mcpu=power9.

From-SVN: r257671

7 years agoDaily bump.
GCC Administrator [Wed, 14 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257649

7 years agoMake module files reproducible
Alastair McKinstry [Tue, 13 Feb 2018 08:06:02 +0000 (08:06 +0000)] 
Make module files reproducible

Using lbasename ensures that the build path does not end up in the
module file.

Regtested on x86_64-pc-linux-gnu. Backport from trunk.

2018-02-13  Alastair McKinstry  <alastair.mckinstry@sceal.ie>
    Janne Blomqvist  <jb@gcc.gnu.org>

* module.c (dump_module): Use lbasename to ensure that module
files are reproducible.

Co-Authored-By: Janne Blomqvist <jb@gcc.gnu.org>
From-SVN: r257615

7 years agoDaily bump.
GCC Administrator [Tue, 13 Feb 2018 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257608

7 years agore PR fortran/68560 (The test gfortran.dg/shape_8.f90 now fails when compiled with...
Thomas Koenig [Mon, 12 Feb 2018 20:27:11 +0000 (20:27 +0000)] 
re PR fortran/68560 (The test gfortran.dg/shape_8.f90 now fails when compiled with -flto)

2018-02-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/68560
* trans-intrinsic.c (gfc_conv_intrinsic_shape): New function.
(gfc_conv_intrinsic_function): Call it.

2018-02-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/68560
* gfortran.dg/shape_9.f90: New test.

From-SVN: r257603

7 years agore PR fortran/35299 (scope of variables in statement function do not acquire rank...
Francois-Xavier Coudert [Mon, 12 Feb 2018 18:26:44 +0000 (18:26 +0000)] 
re PR fortran/35299 (scope of variables in statement function do not acquire rank from host)

2018-02-12  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

PR fortran/35299
ChangeLog for r257566
* gfortran.dg/statement_function_3.f: New test.

2018-02-12  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

PR fortran/35299
ChangeLog for r257566
* resolve.c (resolve_formal_arglist): Update error message.

From-SVN: r257597

7 years agore PR fortran/54223 (Statement function statement with dummy arguments that are also...
Steven G. Kargl [Mon, 12 Feb 2018 18:25:41 +0000 (18:25 +0000)] 
re PR fortran/54223 (Statement function statement with dummy arguments that are also OPTIONAL may crash in wrong calls)

2018-02-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/54223
PR fortran/84276
* interface.c (compare_actual_formal): Add in_statement_function
bool parameter.  Skip check of INTENT attribute for statement
functions.  Arguments to a statement function cannot be optional,
issue error for missing argument.
(gfc_procedure_use, gfc_ppc_use, gfc_arglist_matches_symbol): Use
in_statement_function.

2018-02-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/54223
PR fortran/84276
* gfortran.dg/statement_function_1.f90: New test.
* gfortran.dg/statement_function_2.f90: New test.

From-SVN: r257596

7 years agoDaily bump.
GCC Administrator [Mon, 12 Feb 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257572

7 years agoDaily bump.
GCC Administrator [Sun, 11 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257557

7 years agopa.c (hppa_profile_hook): Mark SYMBOL_REF for _mcount as function label.
John David Anglin [Sat, 10 Feb 2018 23:38:37 +0000 (23:38 +0000)] 
pa.c (hppa_profile_hook): Mark SYMBOL_REF for _mcount as function label.

* config/pa/pa.c (hppa_profile_hook): Mark SYMBOL_REF for _mcount as
function label.

From-SVN: r257556

7 years agobackport: re PR middle-end/84089 (FAIL: g++.dg/cpp1y/lambda-generic-x.C -std=gnu...
John David Anglin [Sat, 10 Feb 2018 20:04:59 +0000 (20:04 +0000)] 
backport: re PR middle-end/84089 (FAIL: g++.dg/cpp1y/lambda-generic-x.C  -std=gnu++14 (internal compiler error))

Backport from mainline
2018-02-01  Aldy Hernandez  <aldyh@redhat.com>

PR target/84089
* config/pa/predicates.md (base14_operand): Handle VOIDmode.

From-SVN: r257553