Skip to content

Commit

Permalink
Merge of 4b8e7b5
Browse files Browse the repository at this point in the history
  • Loading branch information
sys-ceuplift committed Mar 27, 2024
2 parents f23ddf4 + 4b8e7b5 commit 11db272
Show file tree
Hide file tree
Showing 10 changed files with 275 additions and 2 deletions.
54 changes: 54 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
2024-03-26 Richard Sandiford <[email protected]>

* config/aarch64/aarch64-feature-deps.h: Use constexpr for
out-of-line statics.

2024-03-26 Cupertino Miranda <[email protected]>

PR target/114431
* btfout.cc (get_name_for_datasec_entry): Add function.
(btf_asm_datasec_entry): Print label when possible.

2024-03-26 Richard Ball <[email protected]>

PR target/114272
* config/aarch64/aarch64-cores.def (AARCH64_CORE):
Change SCHEDULER_IDENT from cortexa55 to cortexa53
for Cortex-A510 and Cortex-A520.

2024-03-26 Jakub Jelinek <[email protected]>

PR middle-end/111151
* fold-const.cc (extract_muldiv_1) <case MAX_EXPR>: Punt for
MULT_EXPR altogether, or for MAX_EXPR if c is -1.

2024-03-26 Jakub Jelinek <[email protected]>

PR sanitizer/111736
* tsan.cc (instrument_expr): Punt on non-generic address space
accesses.

2024-03-26 Richard Biener <[email protected]>

PR tree-optimization/114471
* tree-vect-stmts.cc (vectorizable_operation): Verify operand
types are compatible with the result type.

2024-03-26 Richard Biener <[email protected]>

PR tree-optimization/114464
* tree-vect-loop.cc (vectorizable_recurr): Verify the latch
vector type is compatible with what we chose for the recurrence.

2024-03-26 Jakub Jelinek <[email protected]>

* cfgloopmanip.cc (update_loop_exit_probability_scale_dom_bbs):
Fix comment typo - multple -> multiple.
* config/i386/x86-tune.def (X86_TUNE_ACCUMULATE_OUTGOING_ARGS):
Likewise.

2024-03-26 YunQiang Su <[email protected]>

* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Predefine
__mips_strict_alignment if STRICT_ALIGNMENT.

2024-03-25 Richard Biener <[email protected]>

* config.gcc (amdgcn): Add gfx1036 entries.
Expand Down
2 changes: 1 addition & 1 deletion gcc/DATESTAMP
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240326
20240327
7 changes: 7 additions & 0 deletions gcc/c-family/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2024-03-26 Jakub Jelinek <[email protected]>

PR c++/112724
* c-pretty-print.cc (pp_c_cast_expression,
c_pretty_printer::expression): Handle EXCESS_PRECISION_EXPR like
NOP_EXPR.

2024-03-19 Jakub Jelinek <[email protected]>

PR c/114364
Expand Down
5 changes: 5 additions & 0 deletions gcc/cp/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024-03-26 Jakub Jelinek <[email protected]>

PR c++/112724
* error.cc (dump_expr): Handle EXCESS_PRECISION_EXPR like NOP_EXPR.

2024-03-25 Marek Polacek <[email protected]>

PR c++/114349
Expand Down
69 changes: 69 additions & 0 deletions gcc/m2/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,72 @@
2024-03-26 Gaius Mulley <[email protected]>

PR modula2/114478
* gm2-gcc/m2builtins.cc (struct builtin_macro_definition): New struct.
(lookup_builtin_macro): New function.
(m2builtins_BuildBuiltinTree): Rewrite to lookup builtin function
and builtin macro.
(lookup_builtin_function): New function.
(define_builtin): Rename parameter type to prototype push macro
definition to builtin_macros vector.
(define_builtin_ext): New function.
(define_builtin_math): New function.
(m2builtins_init): Add isgreater, isless, isgreaterequal,
islessequal, islessgreater, isunordered, isnormal to macro definitions.
* gm2-libs/Builtins.def (isgreater): New procedure function.
(isgreaterf): Ditto.
(isgreaterl): Ditto.
(isgreaterequal): Ditto.
(isgreaterequalf): Ditto.
(isgreaterequall): Ditto.
(isless): Ditto.
(islessf): Ditto.
(islessl): Ditto.
(islessequal): Ditto.
(islessequalf): Ditto.
(islessequall): Ditto.
(islessgreater): Ditto.
(islessgreaterf): Ditto.
(islessgreaterl): Ditto.
(isunordered): Ditto.
(isunorderedf): Ditto.
(isunorderedl): Ditto.
(iseqsig): Ditto.
(iseqsigf): Ditto.
(iseqsigl): Ditto.
(isnormal): Ditto.
(isnormalf): Ditto.
(isnormall): Ditto.
(isinf_sign): Ditto.
(isinf_signf): Ditto.
(isinf_signl): Ditto.
* gm2-libs/Builtins.mod (isgreater): New procedure function.
(isgreaterf): Ditto.
(isgreaterl): Ditto.
(isgreaterequal): Ditto.
(isgreaterequalf): Ditto.
(isgreaterequall): Ditto.
(isless): Ditto.
(islessf): Ditto.
(islessl): Ditto.
(islessequal): Ditto.
(islessequalf): Ditto.
(islessequall): Ditto.
(islessgreater): Ditto.
(islessgreaterf): Ditto.
(islessgreaterl): Ditto.
(isunordered): Ditto.
(isunorderedf): Ditto.
(isunorderedl): Ditto.
(iseqsig): Ditto.
(iseqsigf): Ditto.
(iseqsigl): Ditto.
(isnormal): Ditto.
(isnormalf): Ditto.
(isnormall): Ditto.
(isinf_sign): Ditto.
(isinf_signf): Ditto.
(isinf_signl): Ditto.

2024-03-25 Gaius Mulley <[email protected]>

* Make-lang.in (doc/m2.pdf): Add line break.
Expand Down
67 changes: 67 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
2024-03-27 Jerry DeLisle <[email protected]>

PR libfortran/107031
* gfortran.dg/endfile_5.f90: New test.

2024-03-26 Cupertino Miranda <[email protected]>

* gcc.dg/debug/btf/btf-datasec-1.c: Correct for new
implementation.
* gcc.dg/debug/btf/btf-datasec-2.c: Likewise
* gcc.dg/debug/btf/btf-pr106773.c: Likewise

2024-03-26 Jakub Jelinek <[email protected]>

PR middle-end/111151
PR testsuite/114486
* gcc.c-torture/execute/pr111151.c (main): Fix up expected value for
f.

2024-03-26 Gaius Mulley <[email protected]>

PR modula2/114478
* gm2/builtins/run/pass/builtins-run-pass.exp: New test.
* gm2/builtins/run/pass/testcomparisons.mod: New test.
* gm2/builtins/run/pass/testisnormal.mod: New test.
* gm2/pimlib/run/pass/testchar.mod: New test.

2024-03-26 Marek Polacek <[email protected]>

PR c++/100557
* g++.dg/cpp2a/concepts-pr100557.C: New test.

2024-03-26 Patrick Palka <[email protected]>

* g++.dg/modules/decltype-1_a.C: Add missing } to dg-module-do
directive.
* g++.dg/modules/lambda-5_a.C: Likewise.

2024-03-26 Jakub Jelinek <[email protected]>

* gcc.dg/torture/pr113126.c: Add -Wno-psabi as dg-additional-options.

2024-03-26 Jakub Jelinek <[email protected]>

PR middle-end/111151
* gcc.c-torture/execute/pr111151.c: New test.

2024-03-26 Jakub Jelinek <[email protected]>

PR sanitizer/111736
* gcc.dg/tsan/pr111736.c: New test.

2024-03-26 Richard Biener <[email protected]>

PR tree-optimization/114471
* gcc.dg/vect/pr114471.c: New testcase.

2024-03-26 Richard Biener <[email protected]>

PR tree-optimization/114464
* g++.dg/vect/pr114464.cc: New testcase.

2024-03-26 Richard Biener <[email protected]>

PR tree-optimization/114027
* gcc.dg/vect/pr114027.c: Fix iteration count.

2024-03-25 Marek Polacek <[email protected]>

PR c++/114349
Expand Down
30 changes: 30 additions & 0 deletions gcc/testsuite/gfortran.dg/endfile_5.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
! { dg-do run }
! PR107031 Check that endfile truncates at end of record 5.
program test_truncate
integer :: num_rec, tmp, i, nr, j
open(10, file="in.dat", action='readwrite')

do i=1,10
write(10, *) i
end do

rewind (10)

num_rec = 5
i = 1
ioerr = 0
do while (i <= num_rec .and. ioerr == 0)
read(10, *, iostat=ioerr) tmp
i = i + 1
enddo
endfile(10)
rewind (10)
i = 0
ioerr = 0
do while (i <= num_rec + 1 .and. ioerr == 0)
read(10, *, iostat=ioerr) j
i = i + 1
end do
close(10, status='delete')
if (i - 1 /= 5) stop 1
end program test_truncate
5 changes: 5 additions & 0 deletions libgfortran/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024-03-27 Jerry DeLisle <[email protected]>

PR libfortran/107031
* io/file_pos.c (st_endfile): Remove call to next_record().

2024-03-11 Jerry DeLisle <[email protected]>

PR libfortran/105437
Expand Down
1 change: 0 additions & 1 deletion libgfortran/io/file_pos.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ st_endfile (st_parameter_filepos *fpp)
dtp.common = fpp->common;
memset (&dtp.u.p, 0, sizeof (dtp.u.p));
dtp.u.p.current_unit = u;
next_record (&dtp, 1);
}

unit_truncate (u, stell (u->s), &fpp->common);
Expand Down
37 changes: 37 additions & 0 deletions libstdc++-v3/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
2024-03-26 Arsen Arsenović <[email protected]>

* include/std/generator (generator::_Iterator::operator*): Fix
return type.
* testsuite/24_iterators/range_generators/iter_deref_return.cc:
New test.

2024-03-26 Arsen Arsenović <[email protected]>

* include/std/generator: Fix _V badname.

2024-03-26 Jonathan Wakely <[email protected]>

* testsuite/19_diagnostics/stacktrace/current.cc: Check for
__cpp_lib_stacktrace instead of check for stacktrace ET.
* testsuite/19_diagnostics/stacktrace/entry.cc: Likewise.
* testsuite/19_diagnostics/stacktrace/hash.cc: Likewise.
* testsuite/19_diagnostics/stacktrace/output.cc: Likewise.
* testsuite/19_diagnostics/stacktrace/stacktrace.cc: Likewise.
* testsuite/19_diagnostics/stacktrace/synopsis.cc: Likewise.
* testsuite/19_diagnostics/stacktrace/version.cc: Likewise.
* testsuite/23_containers/vector/debug/assign4_backtrace_neg.cc:
Likewise.
* testsuite/lib/libstdc++.exp (check_effective_target_stacktrace):
Remove.

2024-03-26 Jonathan Wakely <[email protected]>

* testsuite/lib/dg-options.exp (dg-require-cpp-feature-test):
New proc.
* testsuite/lib/libstdc++.exp (check_v3_target_cpp_feature_test):
New proc.
* testsuite/std/text_encoding/cons.cc: Use new directive to skip
the test if the __cpp_lib_text_encoding feature test macro is
not defined.
* testsuite/std/text_encoding/requirements.cc: Likewise.

2024-03-25 Jonathan Wakely <[email protected]>

* testsuite/std/text_encoding/requirements.cc: #undef the
Expand Down

0 comments on commit 11db272

Please sign in to comment.