mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
Daily bump.
This commit is contained in:
1523
gcc/ChangeLog
1523
gcc/ChangeLog
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
20231205
|
||||
20231206
|
||||
|
||||
@@ -1,3 +1,23 @@
|
||||
2023-12-06 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
* gcc-interface/trans.cc: Include ipa-strub.h.
|
||||
(gigi): Make internal decls for targets of compiler-generated
|
||||
calls strub-callable too.
|
||||
(build_raise_check): Likewise.
|
||||
* gcc-interface/utils.cc: Include ipa-strub.h.
|
||||
(handle_strub_attribute): New.
|
||||
(gnat_internal_attribute_table): Add strub.
|
||||
|
||||
2023-12-05 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* gcc-interface/utils.cc (gnat_internal_attribute_table): Add extra
|
||||
braces to work around PR 16333 in older compilers.
|
||||
|
||||
2023-12-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* adaint.c: Include <signal.h>.
|
||||
* expect.c: Include <string.h>.
|
||||
|
||||
2023-12-02 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* gcc-interface/gigi.h (gnat_internal_attribute_table): Change
|
||||
|
||||
@@ -1,3 +1,29 @@
|
||||
2023-12-06 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
* c-attribs.cc: Include ipa-strub.h.
|
||||
(handle_strub_attribute): New.
|
||||
(c_common_attribute_table): Add strub.
|
||||
|
||||
2023-12-05 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* c-attribs.cc (c_common_gnu_attribute_table): Add extra
|
||||
braces to work around PR 16333 in older compilers.
|
||||
|
||||
2023-12-05 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR c/89270
|
||||
* c-common.cc (c_common_type_for_size): Consider
|
||||
registered_builtin_types.
|
||||
|
||||
2023-12-05 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/107687
|
||||
PR c++/110997
|
||||
* c-cppbuiltin.cc (c_cpp_builtins): Update __cpp_consteval.
|
||||
* c-opts.cc (c_common_post_options): Pre-C++20, unset
|
||||
flag_immediate_escalation.
|
||||
* c.opt (fimmediate-escalation): New option.
|
||||
|
||||
2023-12-02 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* c-common.h (c_common_attribute_table): Replace with...
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
2023-12-05 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* c-decl.cc (std_attribute_table): Add extra braces to work
|
||||
around PR 16333 in older compilers.
|
||||
|
||||
2023-12-05 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR c/86869
|
||||
* c-typeck.cc (c_build_qualified_type): Preserve address-space
|
||||
info for ARRAY_TYPE.
|
||||
|
||||
2023-12-02 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* c-tree.h (std_attribute_table): Declare.
|
||||
|
||||
@@ -1,3 +1,68 @@
|
||||
2023-12-05 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/112795
|
||||
* cp-tree.h (cp_check_pragma_unroll): Declare.
|
||||
* semantics.cc (cp_check_pragma_unroll): New function.
|
||||
* parser.cc (cp_parser_pragma_unroll): Use cp_check_pragma_unroll.
|
||||
* pt.cc (tsubst_expr) <case ANNOTATE_EXPR>: Likewise.
|
||||
(tsubst_stmt) <case RANGE_FOR_STMT>: Likwsie.
|
||||
|
||||
2023-12-05 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* tree.cc (cxx_gnu_attribute_table): Add extra braces to work
|
||||
around PR 16333 in older compilers.
|
||||
|
||||
2023-12-05 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/110734
|
||||
* parser.cc (cp_parser_block_declaration): Implement C++ DR 2262
|
||||
- Attributes for asm-definition. Call cp_parser_asm_definition
|
||||
even if RID_ASM token is only seen after sequence of standard
|
||||
attributes.
|
||||
(cp_parser_asm_definition): Parse standard attributes before
|
||||
RID_ASM token and warn for them with -Wattributes.
|
||||
|
||||
2023-12-05 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/107687
|
||||
PR c++/110997
|
||||
* call.cc (in_immediate_context): No longer static.
|
||||
* constexpr.cc (cxx_eval_call_expression): Adjust assert.
|
||||
* cp-gimplify.cc (deferred_escalating_exprs): New vec.
|
||||
(remember_escalating_expr): New.
|
||||
(enum fold_flags): Remove ff_fold_immediate.
|
||||
(immediate_escalating_function_p): New.
|
||||
(unchecked_immediate_escalating_function_p): New.
|
||||
(promote_function_to_consteval): New.
|
||||
(cp_fold_immediate): Move above. Return non-null if any errors were
|
||||
emitted.
|
||||
(maybe_explain_promoted_consteval): New.
|
||||
(cp_gimplify_expr) <case CALL_EXPR>: Assert we've handled all
|
||||
immediate invocations.
|
||||
(taking_address_of_imm_fn_error): New.
|
||||
(cp_fold_immediate_r): Merge ADDR_EXPR and PTRMEM_CST cases. Implement
|
||||
P2564 - promoting functions to consteval.
|
||||
<case CALL_EXPR>: Implement P2564 - promoting functions to consteval.
|
||||
(cp_fold_r): If an expression turns into a CALL_EXPR after cp_fold,
|
||||
call cp_fold_immediate_r on the CALL_EXPR.
|
||||
(cp_fold_function): Set DECL_ESCALATION_CHECKED_P if
|
||||
deferred_escalating_exprs does not contain current_function_decl.
|
||||
(process_and_check_pending_immediate_escalating_fns): New.
|
||||
* cp-tree.h (struct lang_decl_fn): Add escalated_p bit-field.
|
||||
(DECL_ESCALATION_CHECKED_P): New.
|
||||
(immediate_invocation_p): Declare.
|
||||
(process_pending_immediate_escalating_fns): Likewise.
|
||||
* decl2.cc (c_parse_final_cleanups): Set at_eof to 2 after all
|
||||
templates have been instantiated; and to 3 at the end of the function.
|
||||
Call process_pending_immediate_escalating_fns.
|
||||
* error.cc (dump_template_bindings): Check at_eof against an updated
|
||||
value.
|
||||
* module.cc (trees_out::lang_decl_bools): Stream escalated_p.
|
||||
(trees_in::lang_decl_bools): Likewise.
|
||||
* pt.cc (push_tinst_level_loc): Set at_eof to 3, not 2.
|
||||
* typeck.cc (cp_build_addr_expr_1): Don't check
|
||||
DECL_IMMEDIATE_FUNCTION_P.
|
||||
|
||||
2023-12-04 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* constexpr.cc (potential_constant_expression_1): Fix
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2023-12-05 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* d-attribs.cc (d_langhook_common_attribute_table): Add extra braces
|
||||
to work around PR 16333 in older compilers.
|
||||
(d_langhook_gnu_attribute_table): Likewise.
|
||||
|
||||
2023-12-02 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* d-tree.h (d_langhook_attribute_table): Replace with...
|
||||
|
||||
@@ -1,3 +1,18 @@
|
||||
2023-12-05 Harald Anlauf <anlauf@gmx.de>
|
||||
Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
PR fortran/100988
|
||||
* gfortran.h (IS_PROC_POINTER): New macro.
|
||||
* trans-types.cc (gfc_sym_type): Use macro in determination if the
|
||||
restrict qualifier can be used for a dummy variable. Fix logic to
|
||||
allow the restrict qualifier also for optional arguments, and to
|
||||
not apply it to pointer or proc_pointer arguments.
|
||||
|
||||
2023-12-05 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* f95-lang.cc (gfc_gnu_attribute_table): Add extra braces to work
|
||||
around PR 16333 in older compilers.
|
||||
|
||||
2023-12-02 Harald Anlauf <anlauf@gmx.de>
|
||||
|
||||
PR fortran/93762
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2023-12-05 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* dummy-frontend.cc (jit_gnu_attribute_table): Add extra braces
|
||||
to work around PR 16333 in older compilers.
|
||||
(jit_format_attribute_table): Likewise.
|
||||
|
||||
2023-12-02 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* dummy-frontend.cc (jit_format_attribute_table): Change type to
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2023-12-05 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* lto-lang.cc (lto_gnu_attribute_table): Add extra braces to work
|
||||
around PR 16333 in older compilers.
|
||||
(lto_format_attribute_table): Likewise.
|
||||
|
||||
2023-12-02 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* lto-lang.cc (lto_format_attribute_table): Change type to
|
||||
|
||||
@@ -1,3 +1,18 @@
|
||||
2023-12-05 Gaius Mulley <gaiusmod2@gmail.com>
|
||||
|
||||
PR modula2/112865
|
||||
* gm2-compiler/M2Quads.mod (BuildReFunction): Use
|
||||
GetDType to retrieve the type of the operand when
|
||||
converting the complex type to its scalar equivalent.
|
||||
(BuildImFunction): Use GetDType to retrieve the type of the
|
||||
operand when converting the complex type to its scalar
|
||||
equivalent.
|
||||
|
||||
2023-12-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* mc/mc.flex [__GNUC__]: Define alloca as __builtin_alloca.
|
||||
(handleDate): Use strchr instead of index.
|
||||
|
||||
2023-12-04 Gaius Mulley <gaiusmod2@gmail.com>
|
||||
|
||||
PR modula2/112825
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,12 @@
|
||||
2023-12-06 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
* Makefile.in (LIB2ADD): Add strub.c.
|
||||
* libgcc2.h (__strub_enter, __strub_update, __strub_leave):
|
||||
Declare.
|
||||
* strub.c: New.
|
||||
* libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
|
||||
(__strub_update, __strub_leave): Likewise.
|
||||
|
||||
2023-12-03 Jeff Law <jlaw@ventanamicro.com>
|
||||
|
||||
* unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
2023-12-05 Florian Weimer <fweimer@redhat.com>
|
||||
Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* io/list_read.c (list_formatted_read_scalar) <case BT_CLASS>:
|
||||
Change types of unit and noiostat to GFC_INTEGER_4 from int, change
|
||||
type of child_iostat from to GFC_INTEGER_4 * from int *, formatting
|
||||
fixes.
|
||||
(nml_read_obj): Likewise.
|
||||
* io/write.c (list_formatted_write_scalar) <case BT_CLASS>: Likewise.
|
||||
(nml_write_obj): Likewise.
|
||||
* io/transfer.c (unformatted_read, unformatted_write): Likewise.
|
||||
|
||||
2023-11-08 Mikael Morin <mikael@gcc.gnu.org>
|
||||
|
||||
PR fortran/112371
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
2023-12-05 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* configure.ac (HAVE_X86_SHA1_HW_SUPPORT): Verify __get_cpuid and
|
||||
__get_cpuid_count are not implicitly declared.
|
||||
* configure: Regenerated.
|
||||
|
||||
2023-12-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* pex-unix.c (pex_unix_wait): Change return type to pid_t.
|
||||
|
||||
2023-12-01 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* cp-demangle.c (d_make_comp): Handle
|
||||
|
||||
@@ -1,3 +1,70 @@
|
||||
2023-12-05 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/111948
|
||||
* include/bits/ranges_util.h (subrange): Add constructor to
|
||||
_Size to aoid setting member in constructor.
|
||||
* testsuite/std/ranges/subrange/111948.cc: New test.
|
||||
|
||||
2023-12-05 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/std/ranges (__detail::__container_insertable): Remove.
|
||||
(__detail::__container_inserter): Remove.
|
||||
(ranges::to): Use emplace_back or emplace, as per LWG 4016.
|
||||
* testsuite/std/ranges/conv/1.cc (Cont4, test_2_1_4): Check for
|
||||
use of emplace_back and emplace.
|
||||
|
||||
2023-12-05 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/c++config (__glibcxx_assert_fail): Declare even
|
||||
when assertions are not enabled.
|
||||
(__glibcxx_constexpr_assert): Remove macro.
|
||||
(__glibcxx_assert_impl): Remove macro.
|
||||
(_GLIBCXX_ASSERT_FAIL): New macro.
|
||||
(_GLIBCXX_DO_ASSERT): New macro.
|
||||
(__glibcxx_assert): Simplify to a single definition that works
|
||||
at runtime and during constant evaluation.
|
||||
* testsuite/21_strings/basic_string_view/element_access/char/back_constexpr_neg.cc:
|
||||
Adjust expected errors.
|
||||
* testsuite/21_strings/basic_string_view/element_access/char/constexpr_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string_view/element_access/char/front_constexpr_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string_view/element_access/wchar_t/back_constexpr_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string_view/element_access/wchar_t/constexpr_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string_view/element_access/wchar_t/front_constexpr_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string_view/modifiers/remove_prefix/debug.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string_view/modifiers/remove_suffix/debug.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/span/back_neg.cc: Likewise.
|
||||
* testsuite/23_containers/span/front_neg.cc: Likewise.
|
||||
* testsuite/23_containers/span/index_op_neg.cc: Likewise.
|
||||
* testsuite/26_numerics/lcm/105844.cc: Likewise.
|
||||
|
||||
2023-12-05 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/112832
|
||||
* include/std/format (formatter::set_debug_format): Ensure this
|
||||
member is defined conditionally for all specializations.
|
||||
* testsuite/std/format/formatter/112832.cc: New test.
|
||||
|
||||
2023-12-05 Will Hawkins <hawkinsw@obs.cr>
|
||||
Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/20_util/smartptr.adapt/inout_ptr/2.cc: Add check
|
||||
for LWG Issue 3897.
|
||||
|
||||
2023-12-05 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/107687
|
||||
PR c++/110997
|
||||
* testsuite/18_support/comparisons/categories/zero_neg.cc: Add
|
||||
dg-prune-output.
|
||||
* testsuite/std/format/string_neg.cc: Add dg-error.
|
||||
|
||||
2023-12-02 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
* libsupc++/atexit_thread.cc [__GXX_WEAK__]: Add dynamic
|
||||
|
||||
Reference in New Issue
Block a user