Skip to content

Bump test. #3860

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

Draft
wants to merge 1,127 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1127 commits
Select commit Hold shift + click to select a range
b52b3c0
Missing plugin-dev to provide insn-modes.h for workflow github env
Apr 13, 2020
1e42ead
paralellized builds causes problems in workflow
Apr 13, 2020
e49ca8a
Add Docker file for automated images to allow for easier testing
philberty Nov 27, 2020
cc4d492
Turn on make check-rust
philberty Nov 30, 2020
9920ad6
Update Automations to only build rust to improve build times
philberty Dec 4, 2020
157b5d8
Add missing Dejagnu dependancy to run test suite.
philberty Dec 16, 2020
148c9eb
Seperate build and Test steps in the build
philberty Dec 22, 2020
b143428
Create new Greetings automation on github
philberty Jan 5, 2021
f83c366
Change CI to look for any unexpected failures to fail the build.
philberty Jan 5, 2021
bb4e4c0
Add clang format GitHub Action
akshatagarwl Feb 17, 2021
cc3390b
Run clang-format CI on every push on master branch
akshatagarwl Feb 20, 2021
d01545e
CI: build using -j (nproc)
therealansh Mar 13, 2021
df79d33
Fix CI checks
dkm Mar 31, 2021
9591712
Add bootstrap build based off our normal build which tests the status…
philberty Apr 5, 2021
b194a92
Initial bors-ng integration
dkm Apr 1, 2021
5a91fc2
remove greetings yml
philberty May 14, 2021
bd441fc
Add PR template
philberty May 14, 2021
0f49185
Add issue templates ported from rust-clippy
philberty May 14, 2021
730dfb8
Create CODE_OF_CONDUCT.md
philberty Apr 15, 2021
0eda1fb
Re-organize GCC/Rust testsuites
tschwinge Jun 2, 2021
726f233
Update PULL_REQUEST_TEMPLATE.md
dkm Jun 18, 2021
08e27eb
Update PULL_REQUEST_TEMPLATE.md
dkm Jun 19, 2021
ed626bd
Add docker image builds though github actions.
philberty Aug 11, 2021
4536caa
Update docker build workflow
philberty Sep 24, 2021
751bb05
Try again for docker image build workflow
philberty Sep 24, 2021
35ce04d
GCC allows for the DCO sign-off.
philberty Oct 13, 2021
311f0fe
Align DCO wording in '.github/PULL_REQUEST_TEMPLATE.md'
tschwinge Oct 14, 2021
77fa51b
gha: save `check-rust` results as artifacts
mathstuf Nov 1, 2021
ca6c359
Remove clang-format from bors
philberty Nov 5, 2021
291fdce
Added Remark.yml and .remarkrc
mvvsmk Nov 6, 2021
1849eb8
Running `clang-format` locally [#242]
tschwinge Nov 5, 2021
92e38ef
Add script to generate gource
philberty Dec 9, 2021
fb34046
add script to graph the changes over time
philberty Dec 17, 2021
6c2b220
dockerfile: Install cargo-gccrs alongside gccrs
CohenArthur Feb 16, 2022
920a64a
ci: Do not allow unresolved test cases
CohenArthur Feb 21, 2022
bfcc5dd
Add a check for new warnings to the CI
CastilloDel Mar 17, 2022
e373dda
Force 'LC_ALL=C' for all steps of '.github/workflows/ccpp.yml:jobs.bu…
tschwinge Mar 22, 2022
69fb6a1
Force 'LC_ALL=C.UTF-8' for all steps of '.github/workflows/ccpp.yml:j…
tschwinge Mar 22, 2022
56f45e0
Merge 'Build logs' into 'Build' in '.github/workflows/ccpp.yml:jobs.b…
tschwinge Mar 22, 2022
82d42e2
Tune '.github/workflows/ccpp.yml:jobs.build-and-check', 'Check for ne…
tschwinge Mar 22, 2022
705f60b
ci: Add job for building gccrs with older gcc
CohenArthur Mar 24, 2022
21e0026
ci: Run tests with gccrs compiled under gcc-4.8
CohenArthur Mar 29, 2022
77397cc
rust: Clang/macOS Testing
simonpcook Apr 12, 2022
a862a8f
rust: Use -Otarget when building and logging warnings
simonpcook Apr 13, 2022
175ad75
CI: do not push Docker image ...
liushuyu Apr 17, 2022
1d32630
CI: catch malformed test cases
liushuyu Apr 22, 2022
1ea678a
dockerfile: change the base image ...
liushuyu Apr 25, 2022
087517f
docker: Add commit information to Docker image
CohenArthur May 30, 2022
eff483d
docker: Fix GCCRS_BUILD info
CohenArthur Jun 8, 2022
55a67ff
ci: Temporarily disable Remark CI
CohenArthur Jun 28, 2022
a4e3527
CI: fix remark installation pre-condition ...
liushuyu Jul 20, 2022
2b9fd28
Add in -m32,-m64 configuration to make check-rust
philberty Aug 9, 2022
bf44298
Seperate 64 and 32 bit testing combos into seperate jobs
philberty Aug 10, 2022
b908882
Update expected warnings post cleanup
philberty Aug 17, 2022
fce0ed2
ci: Apply warnings in CI
CohenArthur Oct 12, 2022
b6dddfb
bors: Fix warning list
CohenArthur Oct 24, 2022
bc96743
ci: Use same CXXFLAGS in bootstrap workflow
CohenArthur Oct 28, 2022
1a8b334
ci: Update expected warnings
CohenArthur Nov 3, 2022
4f77d0f
Join justforfun.dev
philberty Dec 1, 2022
014bb0a
ci: Lock Ubuntu version to 20.04
CohenArthur Dec 7, 2022
b047cd5
ci: gcc-4.8 package is only available in Ubuntu 18.04
CohenArthur Dec 7, 2022
8abeb06
bors: Expect ubuntu32bit and gcc48 jobs to succeed
CohenArthur Dec 6, 2022
af9687f
Revert "ci: Use same CXXFLAGS in bootstrap workflow"
tschwinge Dec 14, 2022
eae8a13
Revert "ci: Apply warnings in CI"
tschwinge Dec 14, 2022
379599c
Revert "bors: Fix warning list"
tschwinge Dec 14, 2022
d304355
Really fix up '.github/bors_log_expected_warnings'
tschwinge Dec 14, 2022
0579caa
Adjust '.github/bors_log_expected_warnings'
tschwinge Dec 15, 2022
1327cf2
README.md: Added experimental flag & updated gccrs path
MahadMuhammad Jan 17, 2023
364d0f2
ci: Add commit format checker
CohenArthur Jan 31, 2023
b6ed615
ci: update ubuntu version
ArshErgon Dec 13, 2022
380721e
ci: Require commits check to pass for bors to merge and fix CI names
CohenArthur Feb 1, 2023
3ce7e36
ci: Revert bors running of commit checkers
CohenArthur Feb 8, 2023
b877393
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 12, 2023
669d8e8
ci: Add missing `merge_group` trigger for workflow
CohenArthur Feb 14, 2023
4a465c9
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 18, 2023
9806dcd
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 21, 2023
c0b94b5
ci: Run GCC 4.8 job in Ubuntu 18.04 container
CohenArthur Feb 21, 2023
5e59c0b
ci: Do not run `check-gccrs-prefix` on PRs to master
CohenArthur Mar 15, 2023
fa8cb73
ci: check Signed-off-by lines (and others) are at the end
dkm Mar 11, 2023
3155518
docker: Do not run update-alternatives on invalid path
CohenArthur Mar 28, 2023
ed3f9e7
Adjust '.github/bors_log_expected_warnings'
tschwinge Apr 8, 2023
41c84a6
ci: Add libgrust to clang-format checker
P-E-P Apr 24, 2023
287adc7
Run bootstrap builds on a schedule
powerboat9 Jul 20, 2023
057c6fd
Use checkout@v3 in workflows
powerboat9 Aug 29, 2023
03a1b9a
Bump docker workflow dependencies
powerboat9 Aug 29, 2023
f643b44
Bump docker/build-push-action to v4
powerboat9 Sep 1, 2023
c379429
Bump our docker build's debian base image version to match rust:latest's
powerboat9 Sep 1, 2023
09de060
Bump actions/upload-artifact from v2 to v3
powerboat9 Nov 8, 2023
5514aad
ci: Install cargo on ubuntu 18.04 container.
CohenArthur Feb 26, 2024
23f6ce4
Adjust '.github/bors_log_expected_warnings'
tschwinge Mar 11, 2024
13d3e7b
Adjust '.github/bors_log_expected_warnings'
tschwinge Mar 24, 2024
2d7eda5
ci: Install Rust directly from rustup instead of apt
CohenArthur Mar 18, 2024
109985b
fixed README.md , dump ast using correct option
zhanghe9702 Mar 16, 2024
2749a67
Add an alternative solution on MacOS
Apr 5, 2024
c87a5ad
Fix grammar as pointed out by Marc
Apr 5, 2024
7c865c9
Adjust '.github/bors_log_expected_warnings'
tschwinge Apr 10, 2024
b6487a6
chore: Fix Remark CI
CohenArthur Apr 12, 2024
b1a1b4f
Pin macos CI to version 13
P-E-P Apr 30, 2024
efe409f
Pin node16 by allowing old version
badumbatish Jul 10, 2024
0f96a04
ci: switch to nightly rustc
braw-lee Jun 5, 2024
c22cd07
Fix CI bootstrap build with a nightly rust compiler
P-E-P Jul 18, 2024
70be5db
Change bug report issue template
P-E-P Jul 22, 2024
c88eab1
github: Remove nightly Rust installation
CohenArthur Jul 26, 2024
16f89c3
Add running cicd 32bit
badumbatish Aug 4, 2024
5a3d899
Add glibcxx_assertion check
badumbatish Aug 23, 2024
254b173
Bump action version to avoid missing distutils
P-E-P Sep 5, 2024
6f28207
Compile using ASAN on the github CI
powerboat9 Aug 27, 2024
1ebfef4
github: adjust footer detection for Tested-by
dkm Sep 9, 2024
c073bae
Change upload artifact github action version
P-E-P Sep 17, 2024
c5a050f
Adjust expected warnings for alpine 32 bit
powerboat9 Sep 18, 2024
8952ba5
Change alpine allowed warning list
P-E-P Sep 27, 2024
11d3709
Check for writes outside of the build directory
powerboat9 Apr 25, 2024
98093a6
Add a new CI step to detect raw issue references
P-E-P Nov 20, 2024
cf956a7
ci: remove bors mention
dkm Nov 23, 2024
d8a4ee0
CI: upgrade GCC baseline from 4.8 -> 5.4 (5.5)
thesamesam Nov 22, 2024
b530037
ci: bump actions/checkout from v3 to v4
dkm Nov 27, 2024
46c3e6e
ci: change the gcc-5 testing
dkm Nov 27, 2024
117b18c
Add build dependencies for Fedora
jarkkojs Sep 5, 2024
76ca011
ci: Update expected warnings list for 32 bits build.
CohenArthur Dec 9, 2024
5593d96
ci: update warnings after C++14 change
thesamesam Dec 10, 2024
6b52837
gccrs: disable macos github workflow
philberty Dec 19, 2024
c0866bd
Update upload-artifact to v4
powerboat9 Jan 23, 2025
72e44d4
ci: disable network
thesamesam Mar 17, 2025
435a91a
ci: Update warnings for new location in install.texi
CohenArthur Apr 14, 2025
c1679b4
nr2.0: late: Correctly initialize funny_error member
CohenArthur Apr 28, 2025
c4b1469
backend: Refactor struct pattern compilation
CohenArthur Apr 16, 2025
a454acc
backend: Compile struct rebinding patterns
CohenArthur Apr 16, 2025
d9112ea
ast: builder: Allow building struct ident patterns
CohenArthur Apr 16, 2025
5caa68d
derive(PartialEq): Allow deriving enum structs
CohenArthur Apr 16, 2025
3729330
derive(PartialEq): Fix raw strings in test
CohenArthur Apr 24, 2025
793c69e
gccrs: Emit error diagnostic for bad impl type usage
philberty May 5, 2025
daa55b1
gccrs: desugar APIT impl traits
philberty Apr 30, 2025
6cf14f8
Improve canonical path handling for impl items
powerboat9 May 3, 2025
80963d4
Improve struct pattern compilation
powerboat9 May 1, 2025
a310687
nr2.0: Adjust enum item visitors
powerboat9 May 2, 2025
d291c65
gccrs: Prevent passing generic arguments to impl traits in argument p…
philberty May 7, 2025
2f402ea
gccrs: fix ICE on empty constexpr loops
tommyscholly May 8, 2025
72ee33f
ast: collector: visit InlineAsm node during ast dump
0xn4utilus May 7, 2025
03b6efc
nr2.0: Adjust resolution of impl items
powerboat9 Apr 25, 2025
79487fc
gccrs: Adapt attribute lang hook and do some cleanup
dkm May 9, 2025
8771c7c
gccrs: We cant clone types as it will dup the node-id
philberty May 11, 2025
90f4b38
nr2.0: Fix borrow checking
powerboat9 May 9, 2025
c3f0ce5
Fix test same_field_name.rs
powerboat9 May 10, 2025
2b47151
Fix Attr metavariable binding
powerboat9 May 10, 2025
f5fc2a1
ci: use clang-format 16
dkm May 10, 2025
871f673
gccrs: remove unused file
dkm May 13, 2025
95de27b
gccrs: Reindent using last clang-format configuration
dkm May 10, 2025
2c5837a
gccrs: remove now useless clang-format comments
dkm May 13, 2025
87f85a4
Small improvements to DefaultASTVisitor and nr2.0
powerboat9 May 8, 2025
8a8fcda
Rust: Move 'libformat_parser' build into the GCC build directory
tschwinge Feb 28, 2024
50eae50
Remove rvalue reference binding
powerboat9 May 13, 2025
ca3f49a
gccrs: Fix NR2 ICE in visit_attributes
tommyscholly May 12, 2025
4f91748
nr2.0: Fix test builtin_abort.rs
powerboat9 May 15, 2025
d7c5578
nr2.0: Fix some paths in test files
powerboat9 May 14, 2025
c9b9c7b
Revert 10-second timeout for each test
ptdatta Jan 21, 2023
072aa29
gccrs: refactor default infer vars to be its own function
philberty May 19, 2025
45382ba
gccrs: Remove unneeded clones untill we have an arena allocator for t…
philberty May 19, 2025
6e58159
gccrs: Fix non canonical type bug with tuples
philberty May 26, 2025
4abfcde
gccrs: Initial support for Return Position Impl Trait
philberty May 19, 2025
d81111e
nr2.0: Fix IfLet pattern handling
powerboat9 May 15, 2025
09f1f86
gccrs: Always emit the error highest in the type hierarchy
philberty May 20, 2025
19b5bf2
ast: Add ConstBlock and AnonConst nodes
CohenArthur Apr 9, 2025
e64d816
parser: Add base for parsing const blocks
CohenArthur Apr 15, 2025
c269022
hir: Add const blocks
CohenArthur Apr 15, 2025
3de5c50
const-block: Add testcase
CohenArthur Apr 15, 2025
b38e8f0
Make ConstantItem use Identifier
powerboat9 Jun 4, 2025
9ad2019
parser: fix ICE std::out_of_range with path attrs to nonexisting path
vishruth-thimmaiah Apr 22, 2025
8b1b245
nr2.0: Improve visibility path handling
powerboat9 May 9, 2025
fe4494a
nr2.0: Catch Self in impl block self types
powerboat9 May 16, 2025
2cf57dd
fix: ICE when parsing unterminated raw byte strings
vishruth-thimmaiah May 28, 2025
2261a41
gccrs: Lower IdentifierPattern's to_bind to HIR
Polygonalr Jun 7, 2025
6c747b6
nr2.0: Separate out canonical path handling
powerboat9 May 2, 2025
15bc0b0
ci: adjust expected warnings after upstream sync
dkm May 12, 2025
6ec1a47
Add new function ClosureExpr::get_definition_expr
powerboat9 Jun 9, 2025
15709f6
nr2.0: Improve StructPatternFieldIdent handling
powerboat9 May 23, 2025
18f4dc0
nr2.0: Adjust pub_restricted tests
powerboat9 May 18, 2025
72aeafa
nr2.0: Improve handling of single segment paths
powerboat9 Mar 29, 2025
64e5eb3
nr2.0: Fix closure parameter scoping
powerboat9 May 15, 2025
4c20e46
gccrs: Support compilation of IdentifierPattern's subpatterns
Polygonalr Jun 7, 2025
6a793fe
gccrs: Rename IdentifierPattern's to_bind to subpattern
Polygonalr Jun 9, 2025
6d6ce12
nr2.0: Adjust alternate identifier handling
powerboat9 May 23, 2025
e2006db
gccrs: Fix bad type canonicalization on ARRAY_TYPES
philberty May 27, 2025
a763675
gccrs: Fix bug in query type stopping PartialOrd
philberty Jun 14, 2025
4bceeb3
rib: Add all kinds of Ribs to pretty-printing
CohenArthur May 27, 2025
7b71a99
derive: chore: Add missing override qualifiers
CohenArthur Mar 7, 2025
f6ff842
derive(Ord, PartialOrd): Add base for deriving them.
CohenArthur Mar 7, 2025
1dbb6cd
derive: Add const generics when deriving impls
CohenArthur Apr 9, 2025
1ed0122
builder: Add match_case() function and new block() one
CohenArthur Apr 18, 2025
489413b
derive: Add common comparison derive class
CohenArthur Apr 18, 2025
2489e5d
derive(PartialEq): Use that common class
CohenArthur Apr 18, 2025
b2a9bf9
derive(Ord, PartialOrd): Implement proper recursive match logic
CohenArthur Apr 18, 2025
9557f96
derive(PartialEq): chore: Refactor using new SelfOther APIs
CohenArthur Apr 18, 2025
a4a4067
derive(Ord, PartialOrd): Handle tuples properly
CohenArthur Apr 18, 2025
1cba968
builder: Add Builder::discriminant_value
CohenArthur Apr 22, 2025
a2662f6
derive(Hash): Use new Builder API
CohenArthur Apr 22, 2025
9b149fb
derive(Ord): Add handling for ordering of discriminant values
CohenArthur Apr 22, 2025
4776d27
ast-builder: Make location public
CohenArthur Apr 22, 2025
3457d6c
derive-cmp: Add EnumMatchBuilder class
CohenArthur Apr 22, 2025
f418fda
derive(PartialEq): Implement proper discriminant comparison
CohenArthur Apr 22, 2025
f9eac6f
[NEEDS TEST] derive(Ord, PartialOrd): Finish implementation
CohenArthur Apr 22, 2025
506ba3d
derive(Ord): Fix condition for matching on Option::Some instead
CohenArthur Apr 23, 2025
1a232c4
derive(Ord): Fix cmp call to use references instead of values
CohenArthur Apr 28, 2025
2665f34
derive(Ord): Handle unit structs properly
CohenArthur May 27, 2025
75ed42d
derive(Ord, Eq): Use different node IDs for variant paths
CohenArthur Jun 10, 2025
e9c48b5
chore: Fix formatting
CohenArthur Jun 11, 2025
a21841f
gccrs: Improve HIR dumps for patterns
Polygonalr Jun 15, 2025
e23b198
nr2.0: Adjust lookup of associated items
powerboat9 May 9, 2025
8b631eb
gccrs: Rename get_pattern_to_bind to get_subpattern
Polygonalr Jun 11, 2025
9c11276
gccrs: Implement name resolution for IdentifierPattern's subpattern
Polygonalr Jun 13, 2025
1478550
gccrs: Implement compilation of IdentifierPattern's subpattern bindings
Polygonalr Jun 13, 2025
0ded2de
nr2.0: Update IdentifierPattern's subpattern name resolution
Polygonalr Jun 16, 2025
4a1d99a
gccrs: Fix issues around PartialEq Eq Ord Partial Ord
philberty Jun 17, 2025
8818b68
Fix execute testsuite
powerboat9 Jun 17, 2025
8d21645
Adjust external crate lowering and type checking
powerboat9 Jun 16, 2025
f102c78
gccrs: Fix ICE when constant is missing and expression
philberty Jun 18, 2025
35854df
gccrs: Add test case showing RPIT working to close issue
philberty Jun 19, 2025
354d9d3
Move AST desugaring into expansion phase
powerboat9 May 24, 2025
c8aab56
gccrs: Ensure we look at the bounds behind a reference
philberty Jun 20, 2025
77673cf
gccrs: Fix cyclical projection to placeholder
philberty Jun 21, 2025
fad4c36
gccrs: Cleanup and refactor method resolution
philberty Jun 17, 2025
5ed18dd
gccrs: Refactor marker builtin trait assembly
philberty Jun 21, 2025
fd63ec4
gccrs: Fix bug with bad type bindings not looking at super traits
philberty Jun 21, 2025
1b86750
gccrs: Fix silly ordering bug in trait reference resolution
philberty Jun 20, 2025
979d162
gccrs: Add unify rules for fnptr and closures
philberty Jun 21, 2025
f10b6ab
nr2.0: Fix resolution of constant items
powerboat9 Jun 20, 2025
f4728be
gccrs: Fix TupleStructPattern compilation throwing error
Polygonalr Jun 22, 2025
138d814
gccrs: check for invalid const calls during code-gen
philberty Jun 23, 2025
6c8aa4c
gccrs: Fix bug with non compiled const decl
philberty Jun 23, 2025
8f7d70a
Fix scan-assembler regexp in recurse2.rs
powerboat9 Jun 23, 2025
0fd3d18
CI: Reenable macos runner
powerboat9 Jun 22, 2025
aa2d9ae
gccrs: Add getter for outer attributions
sakupan102 Jun 24, 2025
7bc3974
gccrs: Add getter for non const lifetime object
sakupan102 Jun 24, 2025
97550f4
Create Rust::GGC::Ident
powerboat9 Jun 24, 2025
60e6f32
gccrs: Implement default HIR visitor class
sakupan102 Jun 24, 2025
cf0d2a4
ci: Ignore non-rust warnings
powerboat9 Jun 26, 2025
49c1e14
Update C++ version check in rust-lang.cc
powerboat9 Jun 24, 2025
50b64a1
gccrs: Implement type checking for ItemType::RANGED in TuplePattern
Polygonalr Jun 26, 2025
eb28068
nr2.0: Adjust resolution of external crates
powerboat9 Jun 16, 2025
e42846e
Add locus getters
P-E-P Jun 27, 2025
55d535b
nr2.0: Add more checks for alternate patterns
powerboat9 May 24, 2025
e2e8417
nr2.0: Adjust resolution of modules
powerboat9 May 29, 2025
78ec572
ast: reconstruct: Add base for reconstructing and asserting different…
CohenArthur May 20, 2025
5a27665
ast: Add reconstruct() method for Type nodes
CohenArthur May 20, 2025
8e1e9d0
ast: builder: Remove ASTTypeBuilder
CohenArthur May 20, 2025
1fef877
reconstruct_vec: Allocate size when creating the vector
CohenArthur May 26, 2025
785e2ac
chore: ast: Fix formatting and includes
CohenArthur Jun 13, 2025
b472143
gccrs: Fix type checking logic for TuplePattern
Polygonalr Jun 28, 2025
4ae6720
gccrs: Implement compilation support for TuplePatternItems::RANGED
Polygonalr Jun 29, 2025
a56b8c3
nr2.0: Enable by default
powerboat9 May 9, 2025
5399542
Merge remote-tracking branch 'upstream-gccrs/master' into dkm/bump-20…
dkm Jul 3, 2025
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
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
2025-06-22 Nicolas Boulenguez <[email protected]>

PR ada/120106
* Makefile.tpl: Add GNATMAKE_FOR_BUILD to {HOST,BASE_TARGET}_EXPORTS
* Makefile.in: Regenerate.
* configure.ac: Set the default and substitute the variable.
* configure: Regenerate.

2025-06-09 Kugan Vivekanandarajah <[email protected]>

* configure.ac: Special case cpu_type for x86_64.
* configure: Regenerate.

2025-06-09 Peter Bergner <[email protected]>

* MAINTAINERS: Update my email address and add myself to DCO.

2025-05-28 Kugan Vivekanandarajah <[email protected]>

* Makefile.def: Fix typo in cpu_type
Expand Down
6 changes: 4 additions & 2 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ check in changes outside of the parts of the compiler they maintain.

Reviewers

aarch64 port Andrew Pinski <[email protected]>
arm port (MVE) Christophe Lyon <[email protected]>
callgraph Martin Jambor <[email protected]>
C front end Marek Polacek <[email protected]>
Expand Down Expand Up @@ -308,7 +309,7 @@ loop optimizer Zdenek Dvorak <[email protected]>
LTO Richard Biener <[email protected]>
LTO plugin Cary Coutant <[email protected]>
Plugin Le-Chun Wu <[email protected]>
register allocation Peter Bergner <bergner@linux.ibm.com>
register allocation Peter Bergner <bergner@tenstorrent.com>
register allocation Kenneth Zadeck <[email protected]>
register allocation Seongbae Park <[email protected]>
riscv port Robin Dapp <[email protected]>
Expand Down Expand Up @@ -358,7 +359,7 @@ Serge Belyshev - <[email protected]>
Jon Beniston jbeniston <[email protected]>
Andrew Bennett - <[email protected]>
Andrew Benson abensonca <[email protected]>
Peter Bergner bergner <bergner@linux.ibm.com>
Peter Bergner bergner <bergner@tenstorrent.com>
Daniel Berlin dberlin <[email protected]>
Pat Bernardi - <[email protected]>
Jan Beulich - <[email protected]>
Expand Down Expand Up @@ -934,6 +935,7 @@ information.


Soumya AR <[email protected]>
Peter Bergner <[email protected]>
Dhruv Chawla <[email protected]>
Juergen Christ <[email protected]>
Giuseppe D'Angelo <[email protected]>
Expand Down
3 changes: 3 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ HOST_EXPORTS = \
GOC="$(GOC)"; export GOC; \
GDC="$(GDC)"; export GDC; \
GM2="$(GM2)"; export GM2; \
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
AR="$(AR)"; export AR; \
AS="$(AS)"; export AS; \
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
Expand Down Expand Up @@ -312,6 +313,7 @@ BASE_TARGET_EXPORTS = \
GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
GM2="$(GM2_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GM2; \
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
Expand Down Expand Up @@ -381,6 +383,7 @@ GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
GOC_FOR_BUILD = @GOC_FOR_BUILD@
GDC_FOR_BUILD = @GDC_FOR_BUILD@
GM2_FOR_BUILD = @GM2_FOR_BUILD@
GNATMAKE_FOR_BUILD = @GNATMAKE_FOR_BUILD@
LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
LD_FOR_BUILD = @LD_FOR_BUILD@
NM_FOR_BUILD = @NM_FOR_BUILD@
Expand Down
3 changes: 3 additions & 0 deletions Makefile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ HOST_EXPORTS = \
GOC="$(GOC)"; export GOC; \
GDC="$(GDC)"; export GDC; \
GM2="$(GM2)"; export GM2; \
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
AR="$(AR)"; export AR; \
AS="$(AS)"; export AS; \
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
Expand Down Expand Up @@ -315,6 +316,7 @@ BASE_TARGET_EXPORTS = \
GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
GM2="$(GM2_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GM2; \
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
Expand Down Expand Up @@ -384,6 +386,7 @@ GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
GOC_FOR_BUILD = @GOC_FOR_BUILD@
GDC_FOR_BUILD = @GDC_FOR_BUILD@
GM2_FOR_BUILD = @GM2_FOR_BUILD@
GNATMAKE_FOR_BUILD = @GNATMAKE_FOR_BUILD@
LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
LD_FOR_BUILD = @LD_FOR_BUILD@
NM_FOR_BUILD = @NM_FOR_BUILD@
Expand Down
12 changes: 10 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ RANLIB_FOR_BUILD
NM_FOR_BUILD
LD_FOR_BUILD
LDFLAGS_FOR_BUILD
GNATMAKE_FOR_BUILD
GDC_FOR_BUILD
GOC_FOR_BUILD
GFORTRAN_FOR_BUILD
Expand Down Expand Up @@ -3397,6 +3398,10 @@ case "${target}" in
esac

cpu_type=`echo ${host} | sed 's/-.*$//'`
# Special case cpu_type for x86_64 as it shares AUTO_PROFILE from i386.
if test "${cpu_type}" = "x86_64" ; then
cpu_type="i386"
fi


# Disable libssp for some systems.
Expand Down Expand Up @@ -4249,11 +4254,12 @@ if test "${build}" != "${host}" ; then
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
CPP_FOR_BUILD="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
DSYMUTIL_FOR_BUILD=${DSYMUTIL_FOR_BUILD-dsymutil}
GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
GDC_FOR_BUILD=${GDC_FOR_BUILD-gdc}
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
GNATMAKE_FOR_BUILD=${GNATMAKE_FOR_BUILD-gnatmake}
LD_FOR_BUILD=${LD_FOR_BUILD-ld}
NM_FOR_BUILD=${NM_FOR_BUILD-nm}
RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
Expand All @@ -4264,11 +4270,12 @@ else
AS_FOR_BUILD="\$(AS)"
CC_FOR_BUILD="\$(CC)"
CXX_FOR_BUILD="\$(CXX)"
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
DSYMUTIL_FOR_BUILD="\$(DSYMUTIL)"
GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
GOC_FOR_BUILD="\$(GOC)"
GDC_FOR_BUILD="\$(GDC)"
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
GNATMAKE_FOR_BUILD="\$(GNATMAKE)"
LD_FOR_BUILD="\$(LD)"
NM_FOR_BUILD="\$(NM)"
RANLIB_FOR_BUILD="\$(RANLIB)"
Expand Down Expand Up @@ -11691,6 +11698,7 @@ done





# Generate default definitions for YACC, M4, LEX and other programs that run
# on the build machine. These are used if the Makefile can't locate these
Expand Down
11 changes: 9 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,10 @@ case "${target}" in
esac

cpu_type=`echo ${host} | sed 's/-.*$//'`
# Special case cpu_type for x86_64 as it shares AUTO_PROFILE from i386.
if test "${cpu_type}" = "x86_64" ; then
cpu_type="i386"
fi
AC_SUBST(cpu_type)

# Disable libssp for some systems.
Expand Down Expand Up @@ -1446,11 +1450,12 @@ if test "${build}" != "${host}" ; then
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
CPP_FOR_BUILD="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
DSYMUTIL_FOR_BUILD=${DSYMUTIL_FOR_BUILD-dsymutil}
GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
GDC_FOR_BUILD=${GDC_FOR_BUILD-gdc}
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
GNATMAKE_FOR_BUILD=${GNATMAKE_FOR_BUILD-gnatmake}
LD_FOR_BUILD=${LD_FOR_BUILD-ld}
NM_FOR_BUILD=${NM_FOR_BUILD-nm}
RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
Expand All @@ -1461,11 +1466,12 @@ else
AS_FOR_BUILD="\$(AS)"
CC_FOR_BUILD="\$(CC)"
CXX_FOR_BUILD="\$(CXX)"
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
DSYMUTIL_FOR_BUILD="\$(DSYMUTIL)"
GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
GOC_FOR_BUILD="\$(GOC)"
GDC_FOR_BUILD="\$(GDC)"
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
GNATMAKE_FOR_BUILD="\$(GNATMAKE)"
LD_FOR_BUILD="\$(LD)"
NM_FOR_BUILD="\$(NM)"
RANLIB_FOR_BUILD="\$(RANLIB)"
Expand Down Expand Up @@ -3911,6 +3917,7 @@ AC_SUBST(DSYMUTIL_FOR_BUILD)
AC_SUBST(GFORTRAN_FOR_BUILD)
AC_SUBST(GOC_FOR_BUILD)
AC_SUBST(GDC_FOR_BUILD)
AC_SUBST(GNATMAKE_FOR_BUILD)
AC_SUBST(LDFLAGS_FOR_BUILD)
AC_SUBST(LD_FOR_BUILD)
AC_SUBST(NM_FOR_BUILD)
Expand Down
23 changes: 23 additions & 0 deletions contrib/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
2025-06-29 Filip Kastl <[email protected]>

* mklog.py: In 'main()', specify variable 'root' as global.

2025-06-26 Alex Coplan <[email protected]>

* mklog.py (main): New.

2025-06-23 David Malcolm <[email protected]>

PR other/116792
PR testsuite/116163
PR sarif-replay/120792
* dg-lint/dg-lint: Add -fdiagnostics-add-output.
* dg-lint/libgdiagnostics.py: Add
diagnostic_manager_add_sink_from_spec.
(Manager.add_sink_from_spec): New.

2025-06-23 Andrew Burgess <[email protected]>

* dg-extract-results.py: Handle GDB's unexpected core file count.
* dg-extract-results.sh: Likewise.

2025-05-27 Jan Hubicka <[email protected]>

* gen_autofdo_event.py: Add support for AMD Zen 3 and
Expand Down
3 changes: 2 additions & 1 deletion contrib/dg-extract-results.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def __init__ (self):
'# of unresolved testcases\t',
'# of unsupported tests\t\t',
'# of paths in test names\t',
'# of duplicate test names\t'
'# of duplicate test names\t',
'# of unexpected core files\t'
]
self.runs = dict()

Expand Down
8 changes: 6 additions & 2 deletions contrib/dg-extract-results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ BEGIN {
variant="$VAR"
tool="$TOOL"
passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; kpasscnt=0; kfailcnt=0; unsupcnt=0; unrescnt=0; dgerrorcnt=0;
pathcnt=0; dupcnt=0
pathcnt=0; dupcnt=0; corecnt=0
curvar=""; insummary=0
}
/^Running target / { curvar = \$3; next }
Expand All @@ -420,6 +420,7 @@ BEGIN {
/^# of unsupported tests/ { if (insummary == 1) unsupcnt += \$5; next; }
/^# of paths in test names/ { if (insummary == 1) pathcnt += \$7; next; }
/^# of duplicate test names/ { if (insummary == 1) dupcnt += \$6; next; }
/^# of unexpected core files/ { if (insummary == 1) corecnt += \$6; next; }
/^$/ { if (insummary == 1)
{ insummary = 0; curvar = "" }
next
Expand All @@ -439,6 +440,7 @@ END {
if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt)
if (pathcnt != 0) printf ("# of paths in test names\t%d\n", pathcnt)
if (dupcnt != 0) printf ("# of duplicate test names\t%d\n", dupcnt)
if (corecnt != 0) printf ("# of unexpected core files\t%d\n", corecnt)
}
EOF

Expand All @@ -460,7 +462,7 @@ cat << EOF > $TOTAL_AWK
BEGIN {
tool="$TOOL"
passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; kfailcnt=0; unsupcnt=0; unrescnt=0; dgerrorcnt=0
pathcnt=0; dupcnt=0
pathcnt=0; dupcnt=0; corecnt=0
}
/^# of DejaGnu errors/ { dgerrorcnt += \$5 }
/^# of expected passes/ { passcnt += \$5 }
Expand All @@ -474,6 +476,7 @@ BEGIN {
/^# of unsupported tests/ { unsupcnt += \$5 }
/^# of paths in test names/ { pathcnt += \$7 }
/^# of duplicate test names/ { dupcnt += \$6 }
/^# of unexpected core files/ { corecnt += \$6 }
END {
printf ("\n\t\t=== %s Summary ===\n\n", tool)
if (dgerrorcnt != 0) printf ("# of DejaGnu errors\t\t%d\n", dgerrorcnt)
Expand All @@ -488,6 +491,7 @@ END {
if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt)
if (pathcnt != 0) printf ("# of paths in test names\t%d\n", pathcnt)
if (dupcnt != 0) printf ("# of duplicate test names\t%d\n", dupcnt)
if (corecnt != 0) printf ("# of unexpected core files\t%d\n", corecnt)
}
EOF

Expand Down
8 changes: 8 additions & 0 deletions contrib/dg-lint/dg-lint
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,17 @@ def skip_file(filename):
def main(argv):
parser = argparse.ArgumentParser()#usage=__doc__)
parser.add_argument('paths', nargs='+', type=pathlib.Path)
parser.add_argument('-fdiagnostics-add-output', action='append')
opts = parser.parse_args(argv[1:])

ctxt = Context()
control_mgr = libgdiagnostics.Manager()
control_mgr.add_text_sink()
for scheme in opts.fdiagnostics_add_output:
ctxt.mgr.add_sink_from_spec("-fdiagnostics-add-output=",
scheme,
control_mgr)

for path in opts.paths:
if path.is_dir():
for dirpath, dirnames, filenames in os.walk(path):
Expand Down
17 changes: 17 additions & 0 deletions contrib/dg-lint/libgdiagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@ class c_diagnostic_physical_location(ctypes.Structure):
ctypes.c_char_p]
cdll.diagnostic_add_fix_it_hint_replace.restype = None

cdll.diagnostic_manager_add_sink_from_spec.argtypes \
= [c_diagnostic_manager_ptr,
ctypes.c_char_p,
ctypes.c_char_p,
c_diagnostic_manager_ptr]
cdll.diagnostic_manager_add_sink_from_spec.restype = ctypes.c_int

# Helper functions

def _to_utf8(s: str):
Expand Down Expand Up @@ -156,6 +163,16 @@ def add_text_sink(self):
c_stderr,
DIAGNOSTIC_COLORIZE_IF_TTY)

def add_sink_from_spec(self, option_name: str, scheme: str, control_mgr):
assert self.c_mgr
assert control_mgr.c_mgr
res = cdll.diagnostic_manager_add_sink_from_spec (self.c_mgr,
_to_utf8(option_name),
_to_utf8(scheme),
control_mgr.c_mgr)
if res:
raise RuntimeError()

def get_file(self, path: str, sarif_lang: str = None):
assert self.c_mgr
assert path
Expand Down
6 changes: 5 additions & 1 deletion contrib/mklog.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def skip_line_in_changelog(line):
return FIRST_LINE_OF_END_RE.match(line) is None


if __name__ == '__main__':
def main():
extra_args = os.getenv('GCC_MKLOG_ARGS')
if extra_args:
sys.argv += json.loads(extra_args)
Expand Down Expand Up @@ -389,6 +389,7 @@ def skip_line_in_changelog(line):
if args.input == '-':
args.input = None
if args.directory:
global root
root = args.directory

data = open(args.input, newline='\n') if args.input else sys.stdin
Expand Down Expand Up @@ -447,3 +448,6 @@ def skip_line_in_changelog(line):
f.write('\n'.join(end))
else:
print(output, end='')

if __name__ == '__main__':
main()
Loading
Loading