Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Releases/gcc 12 #65

Open
wants to merge 2,557 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
2557 commits
Select commit Hold shift + click to select a range
9e00ae3
s390: Fix output template for movv1qi
Jul 16, 2024
3666b14
Daily bump.
Jul 17, 2024
a98dc99
Daily bump.
Jul 18, 2024
c5a26fc
alpha: Fix duplicate !tlsgd!62 assemble error [PR115526]
ubizjak Jul 17, 2024
b1ec101
Daily bump.
Jul 19, 2024
2c5f48a
Do not use caller-saved registers for COMDAT functions
lhmouse Jul 15, 2024
958c386
Daily bump.
Jul 20, 2024
7ad764f
s390: Fix unresolved iterators bhfgq and xdee
Jul 20, 2024
319b57f
rs6000: Fix .machine cpu selection w/ altivec [PR97367]
rxrbln Jul 12, 2024
a551d03
Avoid undefined behaviour in build_option_suggestions
siddhesh Jul 19, 2024
cf4b402
Daily bump.
Jul 21, 2024
ecc80e1
Fortran: character array constructor with >= 4 constant elements [PR1…
harald-anlauf Jul 18, 2024
5f5c379
Daily bump.
Jul 22, 2024
8d8f804
[PR115565] cse: Don't use a valid regno for non-register in compariso…
maciej-w-rozycki Jun 29, 2024
42016b6
Daily bump.
Jul 23, 2024
e142b66
[powerpc] [testsuite] reorder dg directives [PR106069]
Jul 23, 2024
f78eb95
Fixup unaligned load/store cost for znver4
rguenth Jul 15, 2024
aaa8af5
Daily bump.
Jul 24, 2024
2647b9e
rs6000: Update ELFv2 stack frame comment showing the correct ROP save…
peter-bergner Jun 7, 2024
60e513c
rs6000: Compute rop_hash_save_offset for non-Altivec compiles [PR115389]
peter-bergner Jun 14, 2024
aa293f4
rs6000: ROP - Emit hashst and hashchk insns on Power8 and later [PR11…
peter-bergner Jun 19, 2024
25cf4d2
rs6000: Error on CPUs and ABIs that don't support the ROP protection …
peter-bergner Jul 15, 2024
f7bebf4
rs6000: Catch unsupported ABI errors when using -mrop-protect [PR1147…
peter-bergner Jul 18, 2024
7149e22
Daily bump.
Jul 25, 2024
e8beb05
Daily bump.
Jul 26, 2024
85e3fd8
Daily bump.
Jul 27, 2024
b110b66
Daily bump.
Jul 28, 2024
fc5b4e9
Daily bump.
Jul 29, 2024
bd0fbdc
i386: Fix AVX512 intrin macro typo
jianghc724 Jul 25, 2024
77ad22e
i386: Use _mm_setzero_ps/d instead of _mm_avx512_setzero_ps/d for GCC…
jianghc724 Jul 29, 2024
16ea079
Daily bump.
Jul 30, 2024
3e6b076
Daily bump.
Jul 31, 2024
b0137fe
Daily bump.
Aug 1, 2024
c7d2a41
Daily bump.
Aug 2, 2024
77c8a37
Daily bump.
Aug 3, 2024
2c6bfcd
Daily bump.
Aug 4, 2024
13e6f13
Daily bump.
Aug 5, 2024
0e945f6
Fortran: Suppress bogus used uninitialized warnings [PR108889].
Jul 18, 2024
3f356a8
libgomp: Remove bogus warnings from privatized-ref-2.f90.
Jul 19, 2024
0e2a2b9
Daily bump.
Aug 6, 2024
dfacc02
sh: Don't call make_insn_raw in sh_recog_treg_set_expr [PR116189]
apinski-quic Aug 3, 2024
960e42b
hppa: Fix (plus (plus (mult (a) (mem_shadd_constant)) (b)) (c)) optim…
Aug 6, 2024
df772cc
Daily bump.
Aug 7, 2024
2ad59ea
Daily bump.
Aug 8, 2024
07d7487
Daily bump.
Aug 9, 2024
3a3c11c
Daily bump.
Aug 10, 2024
4b81821
Daily bump.
Aug 11, 2024
0a59397
Daily bump.
Aug 12, 2024
c94738e
Refine constraint "Bk" to define_special_memory_constraint.
algebra84 Jul 24, 2024
1d64d01
Daily bump.
Aug 13, 2024
399acac
Daily bump.
Aug 14, 2024
0906e9b
Daily bump.
Aug 15, 2024
62b4f08
Daily bump.
Aug 16, 2024
2d1b1f4
aarch64: Fix expansion of svsudot [PR114607]
rsandifo-arm Aug 16, 2024
33b11c6
aarch64: Fix bogus cnot optimisation [PR114603]
rsandifo-arm Aug 16, 2024
fed7577
Daily bump.
Aug 17, 2024
4bba0d5
Daily bump.
Aug 18, 2024
7b7608d
Daily bump.
Aug 19, 2024
e861f04
Daily bump.
Aug 20, 2024
30a5a4e
Daily bump.
Aug 21, 2024
881b54f
[testsuite] [arm] [vect] adjust mve-vshr test [PR113281]
Jun 26, 2024
236a832
Daily bump.
Aug 22, 2024
b4bc34d
Align ix86_{move_max,store_max} with vectorizer.
algebra84 Aug 15, 2024
141d8aa
Fix testcase failure.
algebra84 Aug 22, 2024
61d63da
Daily bump.
Aug 23, 2024
15176ab
Daily bump.
Aug 24, 2024
19fedf7
Daily bump.
Aug 25, 2024
84fc228
Daily bump.
Aug 26, 2024
c2305c8
Daily bump.
Aug 28, 2024
9742dbd
Daily bump.
Aug 29, 2024
2875f9f
Daily bump.
Aug 30, 2024
a9284c5
Daily bump.
Aug 31, 2024
bb95e77
Daily bump.
Sep 1, 2024
4dc921b
Daily bump.
Sep 2, 2024
6585b06
Check avx upper register for parallel.
algebra84 Aug 29, 2024
911eadd
Daily bump.
Sep 3, 2024
6e59b18
i386: Fix vfpclassph non-optimizied intrin
jianghc724 Sep 2, 2024
93e66ca
Daily bump.
Sep 4, 2024
87a5641
Daily bump.
Sep 5, 2024
42d4aa0
ipa: Don't disable function parameter analysis for fat LTO
hjl-tools Aug 27, 2024
71f9ca6
Daily bump.
Sep 6, 2024
fc14ff0
Daily bump.
Sep 7, 2024
0f053a8
Daily bump.
Sep 8, 2024
0dba957
Daily bump.
Sep 9, 2024
b48e7c2
Daily bump.
Sep 10, 2024
b64a998
Daily bump.
Sep 11, 2024
682cc3f
Daily bump.
Sep 12, 2024
0344276
Daily bump.
Sep 13, 2024
6aceb85
Daily bump.
Sep 14, 2024
5c8f84c
Daily bump.
Sep 15, 2024
ebdc85b
x86-64: Don't use temp for argument in a TImode register
hjl-tools Sep 6, 2024
772393c
Daily bump.
Sep 16, 2024
46bf97c
Daily bump.
Sep 17, 2024
9046f9a
c++: crash with anon VAR_DECL [PR116676]
mpolacek Sep 16, 2024
0ab2379
Daily bump.
Sep 18, 2024
f467bbb
Daily bump.
Sep 19, 2024
8483527
doc: Add more alias option and reorder Intel CPU -march documentation
jianghc724 Sep 18, 2024
4fe0b88
s390: Fix strict_low_part generation
Sep 20, 2024
0f32c31
Fix small thinko in IPA mod/ref pass
Sep 20, 2024
645a11f
Daily bump.
Sep 20, 2024
cb25c5d
Fortran: fix ICE in gfc_create_module_variable [PR100273]
harald-anlauf Sep 5, 2024
a761f10
Daily bump.
Sep 21, 2024
2a6e9bf
Daily bump.
Sep 22, 2024
917b6c6
Daily bump.
Sep 23, 2024
52bb3a2
Daily bump.
Sep 24, 2024
50c8048
Daily bump.
Sep 25, 2024
596d857
Daily bump.
Sep 26, 2024
63a5a1f
Daily bump.
Sep 27, 2024
8d29e1c
s390: Fix AQ and AR constraints
Sep 27, 2024
7051fa5
s390: Fix TF to FPRX2 conversion [PR115860]
Sep 27, 2024
e282606
Daily bump.
Sep 28, 2024
2e66eb7
x86: Don't use address override with segment regsiter
hjl-tools Sep 25, 2024
5480626
Add AMD znver5 processor enablement with scheduler model
Mar 18, 2024
c77b1c8
Fixup unaligned load/store cost for znver5
rguenth Jul 16, 2024
3cc85e9
Daily bump.
Sep 29, 2024
c44494e
Daily bump.
Sep 30, 2024
be6334f
Zen5 tuning part 1: avoid FMA chains
Sep 3, 2024
3a5daf1
Daily bump.
Oct 1, 2024
4137d48
Daily bump.
Oct 2, 2024
8e5bd9b
tree-optimization/116585 - SSA corruption with split_constant_offset
rguenth Sep 18, 2024
95435a1
Daily bump.
Oct 3, 2024
a5e109c
Daily bump.
Oct 4, 2024
7a51946
x86: Disable stack protector for naked functions
hjl-tools Oct 4, 2024
bcad430
Daily bump.
Oct 5, 2024
0010008
hppa: Fix indirect_goto constraint
Oct 5, 2024
d8ec3da
Daily bump.
Oct 6, 2024
c43ec27
Daily bump.
Oct 7, 2024
c4d2f51
libstdc++: Define __glibcxx_assert_fail for non-verbose build [PR115585]
jwakely Jun 28, 2024
2ab55da
libstdc++: std::string move assignment should not use POCCA trait [PR…
jwakely Sep 10, 2024
f5ffdcf
libstdc++: Fix autoconf check for O_NONBLOCK in <fcntl.h>
jwakely Aug 28, 2024
f6b9603
libstdc++: Use reserved form of [[__likely__]] in <variant>
jwakely Jul 5, 2024
99a3f65
libstdc++: Fix @file for target-specific opt_random.h
kimgr Aug 27, 2024
556051a
libstdc++: Fix @headername for bits/cpp_type_traits.h
kimgr Aug 27, 2024
1f655ef
libstdc++: Fix std::tr2::dynamic_bitset shift operations [PR115399]
jwakely Jun 10, 2024
135be55
libstdc++: Handle EMLINK and EFTYPE in std::filesystem::remove_all
jwakely Apr 8, 2024
595e3fa
libstdc++: Initialize base in test allocator's constructor
jwakely Jun 20, 2024
60e536d
libstdc++: Fix std::string_view for IL32P16 targets
jwakely Nov 28, 2022
5a80492
Daily bump.
Oct 8, 2024
1b708ef
Daily bump.
Oct 9, 2024
3789742
Daily bump.
Oct 10, 2024
ee5c0b8
Daily bump.
Oct 11, 2024
02dcac7
Daily bump.
Oct 12, 2024
ff93bef
Daily bump.
Oct 13, 2024
30e071a
Daily bump.
Oct 14, 2024
fb61a7a
ada: Type conversion in instance incorrectly rejected.
swbaird Jul 8, 2024
3bb9418
Add regression test
Oct 14, 2024
ea7d781
Remove buggy special case in irange::invert [PR109934].
aldyh May 23, 2023
e098149
Fix accounting of offsets in unadjusted_ptr_and_unit_offset
janhubicka Jul 22, 2024
f2686f1
Fix modref_eaf_analysis::analyze_ssa_name handling of values derefere…
janhubicka Jul 22, 2024
9288901
Fix points_to_local_or_readonly_memory_p wrt TARGET_MEM_REF
May 16, 2024
b454ad0
Fix handling of ICF_NOVOPS in ipa-modref
janhubicka Jul 22, 2024
65b6716
Fix modref's iteraction with store merging
janhubicka Jul 22, 2024
0e35801
testsuite: fix PR111613 test
thesamesam Jul 29, 2024
3dc10ba
Daily bump.
Oct 16, 2024
a8bd38d
i386: Fix expand_vector_set for VEC_MERGE/VEC_DUPLICATE RTX [PR117116]
ubizjak Oct 15, 2024
08f1bd1
Daily bump.
Oct 19, 2024
947cb45
Daily bump.
Oct 20, 2024
69c50a3
Daily bump.
Oct 21, 2024
91800a7
Refine splitters related to "combine vpcmpuw + zero_extend to vpcmpuw"
algebra84 Oct 16, 2024
41377d0
rs6000: Correct the function code for _AMO_LD_DEC_BOUNDED
Oct 21, 2024
2db070c
Daily bump.
Oct 22, 2024
45bde60
[GCC13/GCC12] Fix testcase.
algebra84 Oct 22, 2024
fde31ce
Daily bump.
Oct 23, 2024
ac22296
Daily bump.
Oct 24, 2024
ab84a8a
Fix ICE due to isa mismatch for the builtins.
algebra84 Oct 22, 2024
b5211c1
Fortran: Simplify len_trim with array ref and fix mapping bug[PR84868].
Jul 16, 2024
69a55ce
Daily bump.
Oct 26, 2024
56b972d
Daily bump.
Oct 27, 2024
b2cd6ae
Daily bump.
Oct 28, 2024
7f13d07
Daily bump.
Oct 29, 2024
eeb72f2
rs6000: Fix PTImode handling in power8 swap optimization pass [PR116415]
peter-bergner Aug 23, 2024
0711e01
Fix miscompilation of function containing __builtin_unreachable
Oct 29, 2024
0bc4a35
Daily bump.
Oct 30, 2024
d0a932f
Fix ICE due to subreg:us_truncate.
algebra84 Oct 29, 2024
49971d3
Daily bump.
Oct 31, 2024
94334ab
Daily bump.
Nov 1, 2024
5210bf4
Fortran: Fix ICE with structure constructor in data statement [PR79685]
Oct 25, 2024
11af155
Daily bump.
Nov 2, 2024
fd1fb86
Daily bump.
Nov 3, 2024
ea81f22
Daily bump.
Nov 4, 2024
d206181
ada: Fix internal error on concatenation of discriminant-dependent co…
Aug 16, 2024
db2611e
Add regression test
Nov 4, 2024
78d3156
Don't call invert on VARYING.
andrewwmacleod Nov 4, 2024
a48d9c7
Daily bump.
Nov 5, 2024
5fdd38d
c++: Defer -fstrong-eval-order processing to template instantiation t…
simartin Nov 5, 2024
7cf0948
Daily bump.
Nov 6, 2024
6235b58
Daily bump.
Nov 7, 2024
9336065
Daily bump.
Nov 9, 2024
dfea9ab
Daily bump.
Nov 10, 2024
6f01cab
Daily bump.
Nov 11, 2024
a1500fe
Daily bump.
Nov 12, 2024
571a510
hppa: Fix decrement_and_branch_until_zero constraint
Nov 12, 2024
3fd7c03
Daily bump.
Nov 13, 2024
e41fdca
i386: Zero extend 32-bit address to 64-bit with option -mx32 -maddres…
Rejur Nov 6, 2024
424bd4c
hppa: Remove inner `fix:SF/DF` from fixed-point patterns
Nov 13, 2024
169f70a
Daily bump.
Nov 14, 2024
d01a316
Daily bump.
Nov 15, 2024
178b89f
Daily bump.
Nov 16, 2024
d0bb7a1
Daily bump.
Nov 17, 2024
c6646b5
Daily bump.
Nov 18, 2024
a2725b4
AVR: target/117659 - Fix wrong code for u24 << 16.
sprintersb Nov 18, 2024
2bca9b8
Daily bump.
Nov 19, 2024
540c0c7
i386: Enable *rsqrtsf2_sse without TARGET_SSE_MATH [PR117357]
ubizjak Nov 18, 2024
61ce587
Daily bump.
Nov 20, 2024
63d679a
Daily bump.
Nov 21, 2024
f5d64b3
Daily bump.
Nov 22, 2024
5ed7b59
Daily bump.
Nov 23, 2024
7f04fdd
AVR: target/117744 - Fix asm for partial clobber of address reg,
sprintersb Nov 23, 2024
8a4cb2a
Fortran: Fix elemental array refs in SELECT TYPE [PR109345]
Nov 11, 2024
bfe6f62
Daily bump.
Nov 24, 2024
433fcc4
Daily bump.
Nov 25, 2024
1f7aaeb
Daily bump.
Nov 26, 2024
89a27cf
Fix uninitialized operands[2] in vec_unpacks_hi_v4sf.
algebra84 Nov 22, 2024
2897bfe
gnat: fix lto-type-mismatch between C_Version_String and gnat_version…
ArsenArsen Aug 15, 2024
ca8df39
Daily bump.
Nov 27, 2024
2ae871b
Fortran: Partial reversion of r15-5083 [PR117763]
Nov 26, 2024
dc0e962
tree-sra: Avoid SRAing arguments to a function returning_twice (PR 11…
jamborm Nov 15, 2024
aaa935f
Daily bump.
Nov 28, 2024
255b966
Daily bump.
Nov 29, 2024
b44e2ed
Daily bump.
Nov 30, 2024
da848c3
Fortran: Fix failing character pointer fcn assignment [PR105054]
Nov 13, 2024
c669cfd
Daily bump.
Dec 1, 2024
2ab4bee
Daily bump.
Dec 2, 2024
ddfc041
arm, mve: Adding missing Runtime Library Exception to header files
avieira-arm Dec 2, 2024
4dc02ed
Daily bump.
Dec 3, 2024
45bb94e
Daily bump.
Dec 4, 2024
d3fb3db
Daily bump.
Dec 5, 2024
ae8d9d2
c++: Don't reject pointer to virtual method during constant evaluatio…
simartin Dec 3, 2024
499d3dc
AVR: target/64242 - Copy FP to a local reg in nonlocal_goto.
sprintersb Dec 4, 2024
090cd96
Daily bump.
Dec 6, 2024
06fab71
Daily bump.
Dec 7, 2024
6e9f95d
Daily bump.
Dec 8, 2024
20fc5d1
Daily bump.
Dec 9, 2024
60c51f8
Daily bump.
Dec 10, 2024
1cfbb17
Daily bump.
Dec 11, 2024
0e2518c
Daily bump.
Dec 12, 2024
62c1d98
Fix precondition failure with Ada.Numerics.Generic_Real_Arrays.Eigenv…
Dec 12, 2024
c817ba1
Daily bump.
Dec 13, 2024
86c5dbc
Daily bump.
Dec 14, 2024
5f6a72b
Daily bump.
Dec 15, 2024
bdc3759
Daily bump.
Dec 16, 2024
1c6e31a
Daily bump.
Dec 17, 2024
faf432f
Daily bump.
Dec 18, 2024
1851587
Daily bump.
Dec 19, 2024
3b2c5e8
Daily bump.
Dec 20, 2024
5a996b5
Daily bump.
Dec 21, 2024
a03684e
Daily bump.
Dec 22, 2024
7456ecb
Daily bump.
Dec 23, 2024
1eff0e2
Daily bump.
Dec 24, 2024
2a46fb4
Daily bump.
Dec 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 12 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2023-05-08 Release Manager

* GCC 12.3.0 released.

2022-08-19 Release Manager

* GCC 12.2.0 released.

2022-05-06 Release Manager

* GCC 12.1.0 released.

2022-04-19 Richard Henderson <rth@gcc.gnu.org>

* MAINTAINERS: Update my email address.
Expand Down
12 changes: 12 additions & 0 deletions c++tools/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2023-05-08 Release Manager

* GCC 12.3.0 released.

2022-08-19 Release Manager

* GCC 12.2.0 released.

2022-05-06 Release Manager

* GCC 12.1.0 released.

2022-03-18 Iain Sandoe <iain@sandoe.co.uk>

* server.cc (accept_from): Use "1" as the dummy port number.
Expand Down
12 changes: 12 additions & 0 deletions config/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2023-05-08 Release Manager

* GCC 12.3.0 released.

2022-08-19 Release Manager

* GCC 12.2.0 released.

2022-05-06 Release Manager

* GCC 12.1.0 released.

2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
Lulu Cheng <chenglulu@loongson.cn>

Expand Down
19 changes: 19 additions & 0 deletions contrib/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
2023-05-08 Release Manager

* GCC 12.3.0 released.

2022-08-19 Release Manager

* GCC 12.2.0 released.

2022-05-06 Jakub Jelinek <jakub@redhat.com>

Backported from master:
2022-05-06 Jakub Jelinek <jakub@redhat.com>

* gennews (files): Add files for GCC 12.

2022-05-06 Release Manager

* GCC 12.1.0 released.

2022-04-25 Martin Liska <mliska@suse.cz>

* filter-clang-warnings.py: Filter out
Expand Down
3 changes: 2 additions & 1 deletion contrib/gennews
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Script to generate the NEWS file from online release notes.
# Contributed by Joseph Myers <jsm28@cam.ac.uk>.
#
# Copyright (C) 2000-2021 Free Software Foundation, Inc.
# Copyright (C) 2000-2022 Free Software Foundation, Inc.
# This file is part of GCC.
#
# GCC is free software; you can redistribute it and/or modify
Expand All @@ -23,6 +23,7 @@

website=http://gcc.gnu.org/
files="
gcc-12/index.html gcc-12/changes.html
gcc-11/index.html gcc-11/changes.html
gcc-10/index.html gcc-10/changes.html
gcc-9/index.html gcc-9/changes.html
Expand Down
12 changes: 12 additions & 0 deletions contrib/header-tools/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2023-05-08 Release Manager

* GCC 12.3.0 released.

2022-08-19 Release Manager

* GCC 12.2.0 released.

2022-05-06 Release Manager

* GCC 12.1.0 released.

2022-01-17 Martin Liska <mliska@suse.cz>

* README: Rename .c names to .cc.
Expand Down
12 changes: 12 additions & 0 deletions contrib/reghunt/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2023-05-08 Release Manager

* GCC 12.3.0 released.

2022-08-19 Release Manager

* GCC 12.2.0 released.

2022-05-06 Release Manager

* GCC 12.1.0 released.

2010-06-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

* bin/gcc-svn-ids: Fix unportable shell quoting.
Expand Down
12 changes: 12 additions & 0 deletions contrib/regression/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2023-05-08 Release Manager

* GCC 12.3.0 released.

2022-08-19 Release Manager

* GCC 12.2.0 released.

2022-05-06 Release Manager

* GCC 12.1.0 released.

2012-08-26 Hans-Peter Nilsson <hp@axis.com>

* btest-gcc.sh (TESTLOGS): Make gfortran.sum optional.
Expand Down
30 changes: 30 additions & 0 deletions fixincludes/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
2023-12-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

* inclhack.def (darwin_flt_eval_method): Handle macOS 14 guard
variant.
* fixincl.x: Regenerate.
* tests/base/math.h [DARWIN_FLT_EVAL_METHOD_CHECK]: Update test.

2023-05-08 Release Manager

* GCC 12.3.0 released.

2023-03-28 Xi Ruoyao <xry111@xry111.site>

Backported from master:
2023-03-28 Xi Ruoyao <xry111@xry111.site>

PR other/109293
* configure.ac (AC_CHECK_DECLS): Add memmem.
* configure: Regenerate.
* config.h.in: Regenerate.
* system.h (memmem): Declare if HAVE_DECL_MEMMEM is zero.

2022-08-19 Release Manager

* GCC 12.2.0 released.

2022-05-06 Release Manager

* GCC 12.1.0 released.

2022-02-27 John David Anglin <danglin@gcc.gnu.org>

* inclhack.def (hpux_math_constexpr): New hack.
Expand Down
4 changes: 4 additions & 0 deletions fixincludes/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@
#endif


/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
*/
#undef HAVE_DECL_MEMMEM

/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
you don't. */
#ifndef USED_FOR_TARGET
Expand Down
10 changes: 10 additions & 0 deletions fixincludes/configure
Original file line number Diff line number Diff line change
Expand Up @@ -5043,6 +5043,16 @@ fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_VASPRINTF $ac_have_decl
_ACEOF
ac_fn_c_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
if test "x$ac_cv_have_decl_memmem" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi

cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_MEMMEM $ac_have_decl
_ACEOF

ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
Expand Down
2 changes: 1 addition & 1 deletion fixincludes/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ define(fixincludes_UNLOCKED_FUNCS, clearerr_unlocked feof_unlocked dnl
fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked dnl
putchar_unlocked putc_unlocked)
AC_CHECK_FUNCS(fixincludes_UNLOCKED_FUNCS)
AC_CHECK_DECLS([abort, asprintf, basename(char *), errno, vasprintf])
AC_CHECK_DECLS([abort, asprintf, basename(char *), errno, vasprintf, memmem])
AC_CHECK_DECLS(m4_split(m4_normalize(fixincludes_UNLOCKED_FUNCS)))

# Checks for typedefs, structures, and compiler characteristics.
Expand Down
8 changes: 4 additions & 4 deletions fixincludes/fixincl.x
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed February 27, 2022 at 07:47:03 PM by AutoGen 5.18.16
* It has been AutoGen-ed December 11, 2023 at 06:14:06 PM by AutoGen 5.18.16
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT SVN-MERGE THIS FILE, EITHER Sun Feb 27 19:47:03 UTC 2022
/* DO NOT SVN-MERGE THIS FILE, EITHER Mon Dec 11 18:14:06 CET 2023
*
* You must regenerate it. Use the ./genfixes script.
*
Expand Down Expand Up @@ -3587,7 +3587,7 @@ tSCC* apzDarwin_Flt_Eval_MethodMachs[] = {
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Flt_Eval_MethodSelect0[] =
"^#if __FLT_EVAL_METHOD__ == 0$";
"^#if __FLT_EVAL_METHOD__ == 0( \\|\\| __FLT_EVAL_METHOD__ == -1)?$";

#define DARWIN_FLT_EVAL_METHOD_TEST_CT 1
static tTestDesc aDarwin_Flt_Eval_MethodTests[] = {
Expand All @@ -3598,7 +3598,7 @@ static tTestDesc aDarwin_Flt_Eval_MethodTests[] = {
*/
static const char* apzDarwin_Flt_Eval_MethodPatch[] = {
"format",
"#if __FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 16",
"%0 || __FLT_EVAL_METHOD__ == 16",
(char*)NULL };

/* * * * * * * * * * * * * * * * * * * * * * * * * *
Expand Down
7 changes: 4 additions & 3 deletions fixincludes/inclhack.def
Original file line number Diff line number Diff line change
Expand Up @@ -1772,10 +1772,11 @@ fix = {
hackname = darwin_flt_eval_method;
mach = "*-*-darwin*";
files = math.h;
select = "^#if __FLT_EVAL_METHOD__ == 0$";
select = "^#if __FLT_EVAL_METHOD__ == 0( \\|\\| __FLT_EVAL_METHOD__ == -1)?$";
c_fix = format;
c_fix_arg = "#if __FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 16";
test_text = "#if __FLT_EVAL_METHOD__ == 0";
c_fix_arg = "%0 || __FLT_EVAL_METHOD__ == 16";
test_text = "#if __FLT_EVAL_METHOD__ == 0\n"
"#if __FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == -1";
};

/*
Expand Down
4 changes: 4 additions & 0 deletions fixincludes/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ extern int errno;
extern void abort (void);
#endif

#if defined (HAVE_DECL_MEMMEM) && !HAVE_DECL_MEMMEM
extern void *memmem (const void *, size_t, const void *, size_t);
#endif

#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
Expand Down
1 change: 1 addition & 0 deletions fixincludes/tests/base/math.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#if defined( DARWIN_FLT_EVAL_METHOD_CHECK )
#if __FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 16
#if __FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == -1 || __FLT_EVAL_METHOD__ == 16
#endif /* DARWIN_FLT_EVAL_METHOD_CHECK */


Expand Down
2 changes: 1 addition & 1 deletion gcc/BASE-VER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.0.1
12.3.1
Loading