1. 23 Jun, 2019 5 commits
  2. 22 Jun, 2019 12 commits
    • Fix typo in ChangeLog · 5b635004
      From-SVN: r272595
      Jerry DeLisle committed
    • re PR fortran/89782 (Can do an internal READ of a character array when it is a… · b1be0054
      re PR fortran/89782 (Can do an internal READ of a character array when it is a parameter, but not a scalar character parameter)
      
      2019-06-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/89782
      	* io.c (gfc_resolve_dt): Check that internal units are not
      	character PARAMETER.
      
      	* gfortran.dg/io_constraints.f90: New test.
      
      From-SVN: r272594
      Jerry DeLisle committed
    • [Darwin, PPC, testsuite] Add requires for DFP to two tests. · d9fe6cc4
      The two tests use decimal floating point, add the relevant dg-requires
      so that they are unsupported on platforms without DFP.
      
      2019-06-22  Iain Sandoe  <iain@sandoe.co.uk>
      
      	* gcc.target/powerpc/pr64205.c: Require effective target dfp.
      	* gcc.target/powerpc/pr79909.c: Likewise.
      
      From-SVN: r272592
      Iain Sandoe committed
    • [Darwin, PPC, testsuite] Fix darwin-bool-1.c. · 2d8a7648
      This test is failing because of a pedantic warning that is unrelated to the
      purpose of the test.  Fixed by suppressing that warning.
      
      2019-06-22  Iain Sandoe  <iain@sandoe.co.uk>
      
      	* gcc.target/powerpc/darwin-bool-1.c: Suppress the pedantic
      	warning about _Bool.
      
      From-SVN: r272591
      Iain Sandoe committed
    • * config/avr/avr.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Remove. · f162b26c
      From-SVN: r272590
      Jeff Law committed
    • re PR c++/65707 (internal compiler error: in unify, at cp/pt.c:18577) · 943e7063
      	PR c++/65707
      	PR c++/89480
      	PR c++/58836
      	* g++.dg/cpp0x/nondeduced5.C: New test.
      	* g++.dg/cpp0x/nondeduced6.C: New test.
      	* g++.dg/cpp0x/nondeduced7.C: New test.
      
      From-SVN: r272589
      Marek Polacek committed
    • re PR c++/66256 (noexcept evaluation done before end of class) · ec121f15
      	PR c++/66256
      	* g++.dg/cpp0x/noexcept54.C: New test.
      
      From-SVN: r272588
      Marek Polacek committed
    • alias-access-path-6.c: New testcase. · 1240df7b
      	* gcc.dg/tree-ssa/alias-access-path-6.c: New testcase.
      	* tree-ssa-alias.c (nonoverlapping_component_refs_p): Do not
      	give up on bitfields; continue searching for different refs
      	appearing later.
      
      From-SVN: r272587
      Jan Hubicka committed
    • PR c++/86476 - noexcept-specifier is a complete-class context. · 78f7607d
      	PR c++/52869
      	* cp-tree.def (DEFAULT_ARG): Update commentary.
      	* cp-tree.h (UNPARSED_NOEXCEPT_SPEC_P):	New macro.
      	(tree_default_arg): Use tree_base instead of tree_common.
      	(do_push_parm_decls, maybe_check_overriding_exception_spec): Declare.
      	* decl.c (do_push_parm_decls): New function, broken out of...
      	(store_parm_decls): ...here.  Call it.
      	* except.c (nothrow_spec_p): Accept DEFAULT_ARG in the assert.
      	* parser.c (cp_parser_noexcept_specification_opt,
      	cp_parser_late_noexcept_specifier, noexcept_override_late_checks):
      	Forward-declare.
      	(unparsed_noexcepts): New macro.
      	(push_unparsed_function_queues): Update initializer.
      	(cp_parser_direct_declarator): Pass FRIEND_P to
      	cp_parser_exception_specification_opt.
      	(inject_parm_decls): New.
      	(pop_injected_parms): New.
      	(cp_parser_class_specifier_1): Implement delayed parsing of
      	noexcept-specifiers.
      	(cp_parser_save_noexcept): New.
      	(cp_parser_late_noexcept_specifier): New.
      	(noexcept_override_late_checks): New.
      	(cp_parser_noexcept_specification_opt): Add FRIEND_P parameter.  Call
      	cp_parser_save_noexcept instead of the normal processing if needed.
      	(cp_parser_exception_specification_opt): Add FRIEND_P parameter and
      	pass it to cp_parser_noexcept_specification_opt.
      	(cp_parser_save_member_function_body): Fix comment.
      	(cp_parser_save_default_args): Maybe save the noexcept-specifier to
      	post process.
      	(cp_parser_transaction): Update call to
      	cp_parser_noexcept_specification_opt.
      	(cp_parser_transaction_expression): Likewise.
      	* parser.h (cp_unparsed_functions_entry): Add new field to carry
      	a noexcept-specifier.
      	* pt.c (dependent_type_p_r): Handle unparsed noexcept expression.
      	* search.c (maybe_check_overriding_exception_spec): New function, broken
      	out of...
      	(check_final_overrider): ...here.  Call
      	maybe_check_overriding_exception_spec.
      	* tree.c (canonical_eh_spec): Handle UNPARSED_NOEXCEPT_SPEC_P.
      	(cp_tree_equal): Handle DEFAULT_ARG.
      
      	* g++.dg/cpp0x/noexcept45.C: New test.
      	* g++.dg/cpp0x/noexcept46.C: New test.
      	* g++.dg/cpp0x/noexcept47.C: New test.
      	* g++.dg/cpp0x/noexcept48.C: New test.
      	* g++.dg/cpp0x/noexcept49.C: New test.
      	* g++.dg/cpp0x/noexcept50.C: New test.
      	* g++.dg/cpp0x/noexcept51.C: New test.
      	* g++.dg/cpp0x/noexcept52.C: New test.
      	* g++.dg/cpp0x/noexcept53.C: New test.
      	* g++.dg/eh/shadow1.C: Adjust dg-error.
      
      From-SVN: r272586
      Marek Polacek committed
    • PR c++/90881 - bogus -Wunused-value in unevaluated context. · 7f3db013
      	* cvt.c (convert_to_void): Don't emit unused warnings in
      	an unevaluated context.
      
      	* g++.dg/cpp0x/Wunused-value1.C: New test.
      
      From-SVN: r272585
      Marek Polacek committed
    • decl.c (grokdeclarator): Use id_loc... · 4b3aa535
      /cp
      2019-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* decl.c (grokdeclarator): Use id_loc, typespec_loc, and
      	locations[ds_storage_class] in a few additional places.
      
      /testsuite
      2019-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* g++.dg/diagnostic/auto-storage-1.C: New.
      	* g++.dg/diagnostic/no-type-1.C: Likewise.
      	* g++.dg/diagnostic/no-type-2.C: Likewise.
      	* g++.dg/diagnostic/top-level-auto-1.C: Likewise.
      	* g++.dg/cpp0x/auto9.C: Test some locations too.
      	* g++.dg/cpp1z/register1.C: Likewise.
      	* g++.dg/cpp1z/register2.C: Likewise.
      	* g++.dg/cpp1z/register3.C: Likewise.
      	* g++.dg/other/error34.C: Likewise.
      
      From-SVN: r272584
      Paolo Carlini committed
    • Daily bump. · bd5cb8ed
      From-SVN: r272583
      GCC Administrator committed
  3. 21 Jun, 2019 23 commits