Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1284 commits
Select commit Hold shift + click to select a range
1d7d9d3
Add a check for new warnings to the CI
CastilloDel Mar 17, 2022
127dd69
Force 'LC_ALL=C' for all steps of '.github/workflows/ccpp.yml:jobs.bu…
tschwinge Mar 22, 2022
d2b8a0d
Force 'LC_ALL=C.UTF-8' for all steps of '.github/workflows/ccpp.yml:j…
tschwinge Mar 22, 2022
851b934
Merge 'Build logs' into 'Build' in '.github/workflows/ccpp.yml:jobs.b…
tschwinge Mar 22, 2022
e83ad3b
Tune '.github/workflows/ccpp.yml:jobs.build-and-check', 'Check for ne…
tschwinge Mar 22, 2022
a0fd70d
ci: Add job for building gccrs with older gcc
CohenArthur Mar 24, 2022
2b180ec
ci: Run tests with gccrs compiled under gcc-4.8
CohenArthur Mar 29, 2022
0975f51
rust: Clang/macOS Testing
simonpcook Apr 12, 2022
cb30a8b
rust: Use -Otarget when building and logging warnings
simonpcook Apr 13, 2022
a52ed0d
CI: do not push Docker image ...
liushuyu Apr 17, 2022
f03f7d0
CI: catch malformed test cases
liushuyu Apr 22, 2022
5c1b2a2
dockerfile: change the base image ...
liushuyu Apr 25, 2022
e946794
docker: Add commit information to Docker image
CohenArthur May 30, 2022
2ded515
docker: Fix GCCRS_BUILD info
CohenArthur Jun 8, 2022
5632f16
ci: Temporarily disable Remark CI
CohenArthur Jun 28, 2022
fa4d7e2
CI: fix remark installation pre-condition ...
liushuyu Jul 20, 2022
089fe4c
Add in -m32,-m64 configuration to make check-rust
philberty Aug 9, 2022
4df01bc
Seperate 64 and 32 bit testing combos into seperate jobs
philberty Aug 10, 2022
a076525
Update expected warnings post cleanup
philberty Aug 17, 2022
a81e88f
ci: Apply warnings in CI
CohenArthur Oct 12, 2022
5d2e153
bors: Fix warning list
CohenArthur Oct 24, 2022
f09a868
ci: Use same CXXFLAGS in bootstrap workflow
CohenArthur Oct 28, 2022
6542861
ci: Update expected warnings
CohenArthur Nov 3, 2022
8e1b0b9
Join justforfun.dev
philberty Dec 1, 2022
d093a73
ci: Lock Ubuntu version to 20.04
CohenArthur Dec 7, 2022
148d520
ci: gcc-4.8 package is only available in Ubuntu 18.04
CohenArthur Dec 7, 2022
0b2bb63
bors: Expect ubuntu32bit and gcc48 jobs to succeed
CohenArthur Dec 6, 2022
73fab46
Revert "ci: Use same CXXFLAGS in bootstrap workflow"
tschwinge Dec 14, 2022
f40b9f0
Revert "ci: Apply warnings in CI"
tschwinge Dec 14, 2022
faf0294
Revert "bors: Fix warning list"
tschwinge Dec 14, 2022
75bac4b
Really fix up '.github/bors_log_expected_warnings'
tschwinge Dec 14, 2022
347bbd8
Adjust '.github/bors_log_expected_warnings'
tschwinge Dec 15, 2022
e1b61bd
README.md: Added experimental flag & updated gccrs path
MahadMuhammad Jan 17, 2023
9bb7f6c
ci: Add commit format checker
CohenArthur Jan 31, 2023
ec89f8b
ci: update ubuntu version
ArshErgon Dec 13, 2022
62f9a80
ci: Require commits check to pass for bors to merge and fix CI names
CohenArthur Feb 1, 2023
545405a
ci: Revert bors running of commit checkers
CohenArthur Feb 8, 2023
9423351
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 12, 2023
642ecfe
ci: Add missing `merge_group` trigger for workflow
CohenArthur Feb 14, 2023
38c96a4
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 18, 2023
497bf0c
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 21, 2023
dd0d611
ci: Run GCC 4.8 job in Ubuntu 18.04 container
CohenArthur Feb 21, 2023
8b39ef2
ci: Do not run `check-gccrs-prefix` on PRs to master
CohenArthur Mar 15, 2023
b37c66a
ci: check Signed-off-by lines (and others) are at the end
dkm Mar 11, 2023
235754c
docker: Do not run update-alternatives on invalid path
CohenArthur Mar 28, 2023
1026d07
Adjust '.github/bors_log_expected_warnings'
tschwinge Apr 8, 2023
729cf64
ci: Add libgrust to clang-format checker
P-E-P Apr 24, 2023
f0d19e1
Run bootstrap builds on a schedule
powerboat9 Jul 20, 2023
9d03a15
Use checkout@v3 in workflows
powerboat9 Aug 29, 2023
afa504b
Bump docker workflow dependencies
powerboat9 Aug 29, 2023
7f7f76a
Bump docker/build-push-action to v4
powerboat9 Sep 1, 2023
6a80bf6
Bump our docker build's debian base image version to match rust:latest's
powerboat9 Sep 1, 2023
598810d
Bump actions/upload-artifact from v2 to v3
powerboat9 Nov 8, 2023
7688529
ci: Install cargo on ubuntu 18.04 container.
CohenArthur Feb 26, 2024
1e9d6f1
Adjust '.github/bors_log_expected_warnings'
tschwinge Mar 11, 2024
cee2632
Adjust '.github/bors_log_expected_warnings'
tschwinge Mar 24, 2024
83b6b22
ci: Install Rust directly from rustup instead of apt
CohenArthur Mar 18, 2024
e8da4d0
fixed README.md , dump ast using correct option
zhanghe9702 Mar 16, 2024
061f644
Add an alternative solution on MacOS
Apr 5, 2024
68d2789
Fix grammar as pointed out by Marc
Apr 5, 2024
3a24b01
Adjust '.github/bors_log_expected_warnings'
tschwinge Apr 10, 2024
1090ec6
chore: Fix Remark CI
CohenArthur Apr 12, 2024
326457c
Pin macos CI to version 13
P-E-P Apr 30, 2024
b3f1641
Pin node16 by allowing old version
badumbatish Jul 10, 2024
0a98b95
ci: switch to nightly rustc
braw-lee Jun 5, 2024
abadee8
Fix CI bootstrap build with a nightly rust compiler
P-E-P Jul 18, 2024
d87490a
Change bug report issue template
P-E-P Jul 22, 2024
26b4052
github: Remove nightly Rust installation
CohenArthur Jul 26, 2024
23e31ef
Add running cicd 32bit
badumbatish Aug 4, 2024
1e20611
Add glibcxx_assertion check
badumbatish Aug 23, 2024
e5f8e1b
Bump action version to avoid missing distutils
P-E-P Sep 5, 2024
381cd5d
Compile using ASAN on the github CI
powerboat9 Aug 27, 2024
0bcf5ac
github: adjust footer detection for Tested-by
dkm Sep 9, 2024
c747a43
Change upload artifact github action version
P-E-P Sep 17, 2024
2e8952e
Adjust expected warnings for alpine 32 bit
powerboat9 Sep 18, 2024
a45b189
Change alpine allowed warning list
P-E-P Sep 27, 2024
bcc800d
Check for writes outside of the build directory
powerboat9 Apr 25, 2024
3abaea3
Add a new CI step to detect raw issue references
P-E-P Nov 20, 2024
c987135
ci: remove bors mention
dkm Nov 23, 2024
101162c
CI: upgrade GCC baseline from 4.8 -> 5.4 (5.5)
thesamesam Nov 22, 2024
4421632
ci: bump actions/checkout from v3 to v4
dkm Nov 27, 2024
8f216de
ci: change the gcc-5 testing
dkm Nov 27, 2024
f77b1c7
Add build dependencies for Fedora
jarkkojs Sep 5, 2024
91db613
ci: Update expected warnings list for 32 bits build.
CohenArthur Dec 9, 2024
96cd1ca
ci: update warnings after C++14 change
thesamesam Dec 10, 2024
0f8de8f
gccrs: disable macos github workflow
philberty Dec 19, 2024
200c1f6
Update upload-artifact to v4
powerboat9 Jan 23, 2025
ed3d654
ci: disable network
thesamesam Mar 17, 2025
80ecda4
ci: Update warnings for new location in install.texi
CohenArthur Apr 14, 2025
184f931
ci: use clang-format 16
dkm May 10, 2025
86d50b2
ci: adjust expected warnings after upstream sync
dkm May 12, 2025
b45f109
CI: Reenable macos runner
powerboat9 Jun 22, 2025
fff5b47
ci: Ignore non-rust warnings
powerboat9 Jun 26, 2025
dd9d9ca
ci: remove warnings from expected file
dkm Jul 8, 2025
510e20c
Explicitly use an empty vector for structural eq
P-E-P Aug 5, 2025
00474cc
gccrs: Refactor HIR::PatternItem class and its derivatives
Polygonalr Aug 2, 2025
44f51e9
Improve handling of AttrInputLiteral
powerboat9 Aug 5, 2025
8058076
ci: Bump from macos-13 to macos-15
powerboat9 Jul 23, 2025
a5f27bb
Add missing header inclusion
P-E-P Aug 5, 2025
2e18543
Copy cfg_attrs instead setting it to itself
P-E-P Aug 5, 2025
a6c1620
Avoid transitive declaration
P-E-P Aug 5, 2025
dee1c44
Move vector of unique_ptr
P-E-P Aug 5, 2025
7e0560c
Fix variadic member flag value in constructor
P-E-P Aug 5, 2025
444ef0d
Prevent copy from vector implementation
P-E-P Aug 5, 2025
8ba5b6f
Remove cyclic inclusion and unused headers.
P-E-P Aug 5, 2025
c4bc3d8
Fix friendly class to friendly struct qualification
P-E-P Aug 6, 2025
c829646
Add header guards
P-E-P Aug 6, 2025
3f94646
Add missing direct include
P-E-P Aug 6, 2025
3a3f4e1
Improve vector usages and avoid copies.
P-E-P Aug 6, 2025
3e2dc90
Handle attributes in expression macros
powerboat9 Jul 12, 2025
fe5d27f
Exclude some inline assembly test
P-E-P Aug 8, 2025
1a3159b
gccrs: Fix ICE on exclusive_range_pattern lowering
Lishin1215 Aug 8, 2025
9c5a462
Add checks to ExpandVisitor
powerboat9 Aug 9, 2025
4648a6f
Refactor inline assembly constructor
P-E-P Aug 11, 2025
b761508
Fix infinite loop on inline assembly clobbers
P-E-P Aug 11, 2025
45a58a6
Emit an error message on unsupported llvm_asm
P-E-P Aug 11, 2025
592e257
Remove abort on wildcard patterns
P-E-P Aug 11, 2025
8a32c0a
Add test for multiple wildcard use declaration.
P-E-P Aug 12, 2025
e512280
CfgStrip AST nodes marked with #[test]
powerboat9 Aug 12, 2025
4367434
fix error number
sakupan102 Mar 11, 2025
fe297fc
Add name resolution processing for discriminant values
sakupan102 Aug 8, 2025
7d7e463
Detect failure to match an ident metavariable
powerboat9 Aug 10, 2025
92ca5fa
ast: Cleanup SingleASTNode::NodeType
CohenArthur Aug 12, 2025
11c2349
expand: Add handling for macro expansion in pattern context
CohenArthur Aug 13, 2025
236a299
Fix Self macro invocation parsing failure
P-E-P Aug 12, 2025
a6c81e9
nr2.0: Fix ChangeLog entry
powerboat9 Jul 31, 2025
8c4a3eb
Improve handling of non-final path segments
powerboat9 Aug 11, 2025
9ebff2c
Reject empty cfg_attr
P-E-P Aug 13, 2025
df2e4a1
gccrs: fix ICE for empty enum variant
Lishin1215 Aug 14, 2025
3a062b3
gccrs: fix ICE by skipping invalid (non-FNDEF) candidates
Lishin1215 Aug 13, 2025
cc4afd0
gccrs: Implement let statement support for IdentifierPattern's subpat…
Polygonalr Aug 12, 2025
fbc052e
gccrs: Add IdentifierPattern subpattern support for ClosureParamInfer
Polygonalr Aug 12, 2025
5ae7a13
Read-only check if the variable is mutable type.
sakupan102 Aug 12, 2025
3d8f4b2
Replace old read-only checker with new implementation.
sakupan102 Aug 12, 2025
de13ede
Collect lang items after expansion
powerboat9 Jul 10, 2025
52b3a48
gccrs: Implement rest pattern support for slice patterns
Polygonalr Aug 11, 2025
c7223ab
gccrs: fix ICE in convert_tree for tuple destructuring with ref
Lishin1215 Aug 10, 2025
977770d
Improve libformat_parser FFI
powerboat9 Aug 13, 2025
63d7087
Expect identifier subpatterns to be non-alt
powerboat9 Aug 18, 2025
8ec8ccc
Remove #[simd_test] support
powerboat9 Jul 12, 2025
528e63f
ci: Fix arm64 ci
powerboat9 Aug 21, 2025
b3db087
Add null check to reconstruct
P-E-P Aug 18, 2025
da9a92b
Fix generic type constraints
P-E-P Aug 19, 2025
7385d82
Treat function pointers like pointers for cast
P-E-P Aug 19, 2025
29184b7
Convert lookup return type to optional
P-E-P Aug 19, 2025
7f34fbc
Remove unused copy
P-E-P Aug 21, 2025
64e6de5
Avoid copy when constructing TypeBoundPredicate
P-E-P Aug 21, 2025
94cf0b2
Remove unused variable assignments
P-E-P Aug 21, 2025
3b74da8
Refactor return statements
P-E-P Aug 21, 2025
3b84cef
Change coerce_unsize error handling
P-E-P Aug 21, 2025
d6b1211
Put nevertype cercion into it's own function
P-E-P Aug 21, 2025
372b3eb
Use as member function instead of static cast
P-E-P Aug 22, 2025
805aece
Add fn pointer implementation test
P-E-P Aug 22, 2025
5e57295
Remove Parser::parse_path_in_expression_pratt
powerboat9 Aug 21, 2025
a35234c
Eagerly expand format_args macro
powerboat9 Aug 22, 2025
2d29cb3
Avoid std::unique_ptr<std::string> in Token
powerboat9 Aug 24, 2025
8be618f
gccrs: Refactor AST Patterns that hold multiple pattern items
Polygonalr Aug 24, 2025
ebad3b0
nr1.0: Remove support in privacy checker
powerboat9 Aug 23, 2025
6c01021
nr1.0: Remove support in rust-session-manager.cc
powerboat9 Aug 23, 2025
6ee5e9a
nr1.0: Remove support in pattern checker
powerboat9 Aug 23, 2025
4dd6611
nr1.0: Remove support in borrow checker
powerboat9 Aug 23, 2025
d6cb9c3
Separate strip information from internal state
P-E-P Aug 25, 2025
0f75947
ast: Add PointerVisitor
CohenArthur Aug 13, 2025
22e2515
desugar: Use PointerVisitor for ExpressionYeast
CohenArthur Aug 14, 2025
df65188
Do not dump the AST if the parser emit errors
P-E-P Aug 26, 2025
cee2387
Remove Parser::parse_tuple_index_expr_float
powerboat9 Aug 23, 2025
a380828
Allow early resolution to use the language prelude
powerboat9 Aug 10, 2025
c60976e
Emit error on lonely self use declaration
P-E-P Aug 26, 2025
8cafd5d
Error out on unsuffixed self list use declaration
P-E-P Aug 26, 2025
238c008
gccrs: Make the coerce borrowed pointer consistent with try flag
philberty Aug 25, 2025
a4374fb
gccrs: Remove some const usage so we can get rid of more can_eq usage
philberty Aug 25, 2025
f07e1dd
gccrs: respect the unify rules commit flag
philberty Aug 25, 2025
1fbba77
gccrs: Update can_eq to be a types_compatable interface
philberty Aug 25, 2025
6feeebb
gccrs: Add check bounds flag to unify rules for compatability checks
philberty Aug 29, 2025
1c1f821
gccrs: remove 2nd last usage of can_eq
philberty Aug 29, 2025
23affaf
gccrs: simplify cloning of types during unify
philberty Aug 29, 2025
141cd3f
gccrs: reuse an error mark node instead of new ones each failure
philberty Aug 29, 2025
791744b
gccrs: get rid of last can_eq usage finally
philberty Aug 29, 2025
b9dceb5
gccrs: Remove fully the can_eq TyTy::BaseType::can_eq interface
philberty Aug 29, 2025
1324ad7
gccrs: Fix formatting of tyty code
philberty Aug 29, 2025
a2252ad
gccrs: track generic const generics properly
philberty Aug 3, 2025
8c0e617
gccrs: Fix bug with unconstrained const generic
philberty Aug 3, 2025
69526fb
gccrs: allow unifications against non const types
philberty Aug 3, 2025
e1e87df
gccrs: Add implicit infer support for unify on const types
philberty Aug 19, 2025
da1ff53
Recognize rustc_allow_const_fn_unstable
powerboat9 Jul 3, 2025
abfe2e9
nr1.0: Remove support in expansion phase
powerboat9 Aug 28, 2025
230f2c4
Implement missing var decl case for TuplePatternItemsHasRest
Polygonalr Aug 27, 2025
a42948f
Implement missing read-only checker case for TuplePatternItemsHasRest
Polygonalr Aug 28, 2025
47580f0
gccrs: Fix segv when handling invalid array capacities
philberty Aug 31, 2025
e2d0bd6
gccrs: Fix crash on break outside of loop context
philberty Aug 31, 2025
a2fa5bf
Unify path-to-type handling in Late resolver
powerboat9 Jul 1, 2025
2741582
nr1.0: Remove chunks of resolution phase
powerboat9 Aug 28, 2025
d3c59e7
Add test to confirm Rust-GCC/gccrs#3924 fix
P-E-P Sep 2, 2025
8c68ee7
Add test to confirm Rust-GCC/gccrs#3922 fix
P-E-P Sep 2, 2025
14f4a54
gccrs: Remove the template parameter so clang format stops barfing on…
philberty Sep 3, 2025
09f14db
gccrs: Revert "gccrs: Remove the template parameter
philberty Sep 3, 2025
1237580
gccrs: get rid of more clones in unify path
philberty Sep 3, 2025
ce37384
gccrs: remove docker github workflow
philberty Sep 3, 2025
1b06c4f
gccrs: Revert "nr1.0: Remove support in expansion phase"
philberty Sep 3, 2025
7d0b3e1
gccrs: track abi and unsafety on fnptrs for proper type checking
philberty Sep 3, 2025
a55f0ce
Add libcore to the list of ignored prefixes
powerboat9 Aug 11, 2025
cd5be44
Import libcore 1.49.0
powerboat9 Aug 11, 2025
828d40f
ci: Bump commit to merge in arm64 ci
powerboat9 Sep 1, 2025
13d9db2
nr1.0: Remove EarlyNameResolver
powerboat9 Sep 1, 2025
3683a49
Create subdirectory checks/errors/feature
powerboat9 Aug 27, 2025
540b536
Remove AST::TraitItemConst
powerboat9 Sep 15, 2025
976607c
Protect from errors in alternate pattern parsing
powerboat9 Sep 14, 2025
93379a8
gccrs: Fix ICE with invalid const expression
philberty Sep 12, 2025
1682866
gccrs: Fix ICE handling division by zero in const eval
philberty Sep 15, 2025
f648333
Add stdarch to the list of ignored prefixes
powerboat9 Sep 17, 2025
3e20c85
Import stdarch 1.49.0
powerboat9 Sep 17, 2025
2fe323d
gccrs: Fix ICE for invalid const capacity expression handling
philberty Sep 17, 2025
a5ee567
Implement TokenCollector::visit(AST::FormatArgs&)
Magnus-Mage Sep 7, 2025
fad7d06
Improve FFIOpt
powerboat9 Sep 16, 2025
1e16fae
gccrs: fnptr types can hold onto generic params so it needs to handle…
philberty Sep 3, 2025
a73ea52
gccrs: Remove old hack from resolve operator overload
philberty Sep 3, 2025
b14db71
gccrs: Fix ICE on copied array expressions
philberty Sep 21, 2025
c74e563
gccrs: Add error diag for self params on plain functions
philberty Sep 22, 2025
97c2aa1
gccrs: Fix ICE where we expect a num enum variant
philberty Sep 22, 2025
c313420
ci: new workflow for sending emails after merging a PR
dkm Sep 17, 2025
a6947fa
Prevent segfault on builtin metavars
P-E-P Sep 18, 2025
7a600fb
Emit errors from the transcriber when they occur
P-E-P Sep 18, 2025
67ad7a6
Add origin location to expanded tokens
P-E-P Sep 18, 2025
f767081
expand: Inherit from PointerVisitor
CohenArthur Aug 22, 2025
d7a5956
Handle link_name attribute
powerboat9 Sep 14, 2025
c1f9dc3
Add HIR lowering support for rest pattern in struct patterns' AST
Polygonalr Sep 22, 2025
319b28b
Fix StructPattern type checking rejecting tuple struct scrutinee
Polygonalr Sep 28, 2025
5edbc24
Test libcore
powerboat9 Sep 17, 2025
5cc7c17
tests: added extra parens compile test
0xllx0 Sep 30, 2025
2a67e42
Implement lowering of AST::TupleStructItemsHasRest
Polygonalr Aug 25, 2025
cdd542b
Implement compilation support for HIR::TupleStructItemsHasRest
Polygonalr Aug 25, 2025
c5649cf
Use rich_location for TupleStructPattern type check num field error
Polygonalr Sep 2, 2025
7e8431c
Emit an error on malformed path
P-E-P Oct 1, 2025
5a7ebd1
Add override modifier
P-E-P Oct 1, 2025
4920e34
Force crash when retrieving meta item location
P-E-P Oct 1, 2025
e9d350a
Avoid malformed attribute conversion
P-E-P Oct 1, 2025
ba04e54
Add doc attribute checking on traits
P-E-P Oct 1, 2025
35abba8
fix: add early return for empty module file
0xllx0 Oct 3, 2025
8ba991d
test: add a regression test for issue #4145
0xllx0 Sep 30, 2025
eb7e567
gccrs: Refactor TyTy::ConstType into separate types
philberty Oct 4, 2025
7b59bf5
gccrs: Emit error when tuple-indexing on non-tuples
lowr Oct 12, 2025
d739329
Bump clang-format version to use in CONTRIBUTING.md
lowr Oct 13, 2025
de63553
gccrs: fix ICE in TyVar constructor
Lishin1215 Sep 27, 2025
b911f0d
gccrs: fix inner attr derive doesn't show error
Oct 15, 2025
b8ece56
Fix ICE for repr attribute malformation
Polygonalr Oct 18, 2025
15073b7
gccrs: Fix ICE on enum in tuple struct pattern
lowr Oct 19, 2025
9baaff3
Attempt to resolve pattern items in tuple pattern with a rest pattern
Polygonalr Oct 18, 2025
fdf45f5
Improve ErrorPropagationExpr handling
powerboat9 Oct 2, 2025
dbc2821
ci: bump hardcoded macos revision
dkm Oct 27, 2025
7572fd7
Merge remote-tracking branch 'upstream-gccrs/master' into gerris/reba…
dkm Oct 27, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
142 changes: 142 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Copyright 2025 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# This file helps editors auto-configure whitespace settings.
#
# See here for more information about the format and editor support:
#
# https://editorconfig.org/

# This file is common to the GCC and GDB/Binutils projects. If you
# update one, please sync it with the other.

# top-most EditorConfig file
root = true

[*]
end_of_line = lf
insert_final_newline = true
tab_width = 8

# EditorConfig files
[.editorconfig]
charset = utf-8
trim_trailing_whitespace = true

# Makefile
[{Makefile,*.mk,*.am}*]
indent_style = tab
indent_size = 8
trim_trailing_whitespace = true

# ChangeLogs
[ChangeLog*]
indent_style = tab
indent_size = 8
trim_trailing_whitespace = true
charset = utf-8

# C/C++
[*.{c,h,cc}]
charset = utf-8
indent_style = tab
indent_size = 2
trim_trailing_whitespace = true

# GCC .def files. These are generally C fragments that get included
# one or more times
[gcc/**.def]
charset = utf-8
indent_style = tab
indent_size = 2
trim_trailing_whitespace = true

# Texinfo files
[*.texi]
charset = utf-8
indent_size = 2
trim_trailing_whitespace = true

# Expect / TCL
[*.{exp,tcl}]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true

# Python
[*.py]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

# Assembler
[*.{s,S,asm}]
indent_style = tab
indent_size = 8
trim_trailing_whitespace = true

# GCC Machine description files
[gcc/config/**.md]
indent_style = tab
indent_size = 2
trim_trailing_whitespace = true

# Awk
[*.awk]
indent_style = tab
indent_size = 2
trim_trailing_whitespace = true

# Autoconf
[*.{ac,m4}]
indent_style = tab
indent_size = 2
trim_trailing_whitespace = true

# Shell scripts
[*.sh]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true

# Ada
[*.ad[bs]]
indent_style = space
indent_size = 3
trim_trailing_whitespace = true

# D
[*.d]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

# Go
[*.go]
indent_style = tab
indent_size = 8
trim_trailing_whitespace = true

# Fortran
[*.[Ff]90]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

# Cobol
[*.cbl]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
49 changes: 49 additions & 0 deletions .forgejo/workflows/sanity-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
testjob:
runs-on: sourceware-runner
outputs:
styleoutput: ${{ steps.check_gnu_style.outputs.styleresult }}
verifyoutput: ${{ steps.gcc_verify.outputs.verifyresult }}
steps:
- name: install dependencies
run: |
echo "Installing node.js"
apt-get update
apt-get install -qq -y nodejs git python3 python3-git python3-termcolor python3-unidiff

# Checkout GCC sources, request an history depth of 100,
# hopefully sufficient for all patch series (the default is 1)
- uses: actions/checkout@v4
with:
fetch-depth: 100

- name: check GNU style
id: check_gnu_style
continue-on-error: true
run: |
echo "Running check_GNU_style.py"
git fetch origin ${FORGEJO_BASE_REF}:${FORGEJO_BASE_REF}
for sha in $(git rev-list ${FORGEJO_BASE_REF}..${FORGEJO_SHA})
do
echo "Checking GNU style for $sha"
git show $sha | ./contrib/check_GNU_style.py -
done
echo "styleresult=pass" | tee -a $FORGEJO_OUTPUT

- name: gcc-verify
id: gcc_verify
continue-on-error: true
run: |
echo "Running gcc-verify check"
./contrib/gcc-changelog/git_check_commit.py ${FORGEJO_BASE_REF}..${FORGEJO_SHA}
echo "verifyresult=pass" | tee -a $FORGEJO_OUTPUT

- name: final-result
run: |
echo "Computing final result"
test "${{ steps.check_gnu_style.outputs.styleresult }}" = "pass"
test "${{ steps.gcc_verify.outputs.verifyresult }}" = "pass"
2 changes: 1 addition & 1 deletion .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ jobs:
git fetch arm-ian;
GIT_AUTHOR_NAME=CI \
GIT_AUTHOR_EMAIL='ci@invalid' \
git merge --no-edit e110b7b04a6df1275330455aa886a6e283d06e48;
git merge --no-edit 5335688e426583c2f4703e25cc24c69cf74280ed;

- name: Install Deps
run: |
Expand Down
66 changes: 66 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,69 @@
2025-10-24 Thomas Schwinge <[email protected]>

PR driver/81358
* Makefile.tpl: Move generation of dependencies for libatomic out
of loop over 'target_modules'.
* Makefile.in: Regenerate.

2025-10-22 Josef Melcr <[email protected]>

* MAINTAINERS: Update my contact information.

2025-10-20 Tamar Christina <[email protected]>

* MAINTAINERS (Various Maintainers): Add myself for the vectorizer.

2025-10-20 Christophe Lyon <[email protected]>

* .forgejo/workflows/sanity-checks.yaml: New file.

2025-10-20 Richard Biener <[email protected]>

* MAINTAINERS (auto-vectorizer): Change attribution to
vectorizer (+ tree-if-conv).

2025-10-15 Basil Milanich <[email protected]>

* Makefile.tpl (distclean): Remove extraenous semicolon.
* Makefile.in: Rebuilt.

2025-10-11 Ben Boeckel <[email protected]>

* config-ml.in: Update patch email address.
* symlink-tree: Ditto.

2025-10-09 Prathamesh Kulkarni <[email protected]>
Matthew Malcolmson <[email protected]>

PR driver/81358
* Makefile.def: Add no_atomic=true for libraries that don't depend on
libatomic.
* Makefile.tpl: Export TARGET_CONFIGDIRS and create rule to
add dependencies for libatomic.
* configure.ac: Add libatomic to bootstrap_target_libs.
* Makefile.in: Regenerate.
* configure: Regenerate.

2025-10-02 H.J. Lu <[email protected]>

* Makefile.in: Regenerated.
* configure: Likewise.
* Makefile.tpl: Synced from binutils-gdb.
* configure.ac: Likewise.
* libtool.m4: Likewise.

2025-10-01 Richard Earnshaw <[email protected]>

* .editorconfig: Unify the GCC and GDB/binutils root config.

2025-09-23 Richard Earnshaw <[email protected]>

* .editorconfig: Fix glob patterns.

2025-09-22 Jonathan Wakely <[email protected]>

* .editorconfig: New file.

2025-09-04 Wilco Dijkstra <[email protected]>

* MAINTAINERS (Reviewers): Add myself for the aarch64 port.
Expand Down
10 changes: 5 additions & 5 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,9 @@ reload Ulrich Weigand <[email protected]>
RTL optimizers Eric Botcazou <[email protected]>
instruction combiner Segher Boessenkool <[email protected]>
pair fusion Alex Coplan <[email protected]>
auto-vectorizer Richard Biener <[email protected]>
auto-vectorizer Zdenek Dvorak <[email protected]>
vectorizer (+ tree-if-conv) Richard Biener <[email protected]>
vectorizer (+ tree-if-conv) Tamar Christina <[email protected]>
vectorizer (+ tree-if-conv) Zdenek Dvorak <[email protected]>
loop infrastructure Zdenek Dvorak <[email protected]>
loop ivopts Bin Cheng <[email protected]>
loop optimizer Bin Cheng <[email protected]>
Expand Down Expand Up @@ -678,7 +679,7 @@ Bryce McKinlay bryce <[email protected]>
Adam Megacz - <[email protected]>
Bingfeng Mei meibf <[email protected]>
Michael Meissner meissner <[email protected]>
Josef Melcr - <[email protected]>
Josef Melcr jmelcr <[email protected]>
Jason Merrill jason <[email protected]>
Jim Meyering - <[email protected]>
Martin Michlmayr tbm <[email protected]>
Expand Down Expand Up @@ -791,7 +792,7 @@ Roger Sayle sayle <[email protected]>
Tobias Schlüter tobi <[email protected]>
Bernd Schmidt bernds <[email protected]>
Will Schmidt willschm <[email protected]>
Jennifer Schmitz jschmitz <jschmitz@nvidia.com>
Jennifer Schmitz jschmitz <jschmitz@mailbox.org>
Stefan Schulze Frielinghaus stefansf <[email protected]>
Andreas Schwab schwab <[email protected]>
Tilo Schwarz tiloschwarz <[email protected]>
Expand Down Expand Up @@ -972,7 +973,6 @@ Navid Rahimi <[email protected]>
Rishi Raj <[email protected]>
Trevor Saunders <[email protected]>
Bill Schmidt <[email protected]>
Jennifer Schmitz <[email protected]>
Nathaniel Shead <[email protected]>
Nathan Sidwell <[email protected]>
Edward Smith-Rowland <[email protected]>
Expand Down
18 changes: 10 additions & 8 deletions Makefile.def
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ flags_to_pass = { flag= GNATBIND ; };
flags_to_pass = { flag= GNATMAKE ; };
flags_to_pass = { flag= GDC ; };
flags_to_pass = { flag= GDCFLAGS ; };
flags_to_pass = { flag= GUILE ; };

// Target tools
flags_to_pass = { flag= AR_FOR_TARGET ; };
Expand Down Expand Up @@ -463,9 +462,11 @@ dependencies = { module=all-gdb; on=all-libbacktrace; };

// Host modules specific to gdbserver.
dependencies = { module=configure-gdbserver; on=all-gnulib; };
dependencies = { module=configure-gdbserver; on=all-libiconv; };
dependencies = { module=all-gdbserver; on=all-gdbsupport; };
dependencies = { module=all-gdbserver; on=all-gnulib; };
dependencies = { module=all-gdbserver; on=all-libiberty; };
dependencies = { module=all-gdbserver; on=all-libiconv; };

dependencies = { module=configure-libgui; on=configure-tcl; };
dependencies = { module=configure-libgui; on=configure-tk; };
Expand Down Expand Up @@ -524,7 +525,7 @@ dependencies = { module=install-bfd; on=install-libsframe; };
dependencies = { module=install-strip-bfd; on=install-strip-libsframe; };

// libopcodes depends on libbfd
dependencies = { module=configure-opcodes; on=configure-bfd; hard=true; };
dependencies = { module=configure-opcodes; on=all-bfd; hard=true; };
dependencies = { module=install-opcodes; on=install-bfd; };
dependencies = { module=install-strip-opcodes; on=install-strip-bfd; };

Expand All @@ -550,8 +551,8 @@ dependencies = { module=install-gprofng; on=install-opcodes; };
dependencies = { module=install-gprofng; on=install-bfd; };

dependencies = { module=configure-ld; on=configure-gettext; };
dependencies = { module=configure-ld; on=all-bfd; };
dependencies = { module=all-ld; on=all-libiberty; };
dependencies = { module=all-ld; on=all-bfd; };
dependencies = { module=all-ld; on=all-opcodes; };
dependencies = { module=all-ld; on=all-build-bison; };
dependencies = { module=all-ld; on=all-build-flex; };
Expand Down Expand Up @@ -649,14 +650,15 @@ dependencies = { module=all-m4; on=all-build-texinfo; };
// on libgcc and newlib/libgloss.
lang_env_dependencies = { module=libitm; cxx=true; };
lang_env_dependencies = { module=libffi; cxx=true; };
lang_env_dependencies = { module=newlib; no_c=true; };
lang_env_dependencies = { module=libgloss; no_c=true; };
lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
lang_env_dependencies = { module=newlib; no_c=true; no_atomic=true; };
lang_env_dependencies = { module=libgloss; no_c=true; no_atomic=true; };
lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; no_atomic=true; };
// libiberty does not depend on newlib or libgloss because it must be
// built newlib on some targets (e.g. Cygwin). It still needs
// a dependency on libgcc for native targets to configure.
lang_env_dependencies = { module=libiberty; no_c=true; };
lang_env_dependencies = { module=libgcobol; cxx=true; };
lang_env_dependencies = { module=libiberty; no_c=true; no_atomic=true; };
lang_env_dependencies = { module=libgcobol; cxx=true; no_atomic=true; };
lang_env_dependencies = { module=libatomic; no_atomic=true; };

dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
dependencies = { module=all-target-fastjar; on=all-target-zlib; };
Expand Down
Loading
Loading