Guillaume Gomez
2aff4c41cd
Merge commit 'd9fb254f648445b916a2c2182ca3eb834b419221' into HEAD
2026-10-12 10:28:58 +02:00
Guillaume Gomez
9b9dff9b77
Merge commit 'b011f71e23302b6c387a91e3bed7704e6ea53d7a' into HEAD
2026-10-08 21:20:35 +02:00
Trevor Gross
e9b0eeb99d
intrinsics: Rename abort to abort_immediate
...
The semantics of `intrinsics::abort()` are closer to what we have
unstably as `abort_immediate()` than to `process::abort()` or
`libc::abort()`. Rename it to make more clear that the intrinsic is more
of an intentional crash with platform-specific behavior than what
`libc::abort()` tries to be (i.e. raising `SIGABRT`).
2026-10-02 18:56:41 +00:00
bjorn3
d731edabc0
Remove #[linkage = "common"]
...
A common definition is like a weak definition except that it must be a
zero-initialized static and when merging two common symbols with the
same name, the size and alignment are set to the higher of both symbols.
This is used for tentative definitions in C and doesn't have any reason
to exist outside of that. This behavior doesn't work across dylibs and
common symbols have inconsistent behavior across linkers [1]. It is also
fragile to rely on getting the largest size of all common symbol
definitions as a (possibly smaller) global definition can override it.
Link: https://maskray.me/blog/all-about-common-symbols [1]
2026-09-30 16:59:42 +02:00
bjorn3
6d02b772e3
Remove #[linkage = "external"]
...
Rustc already defaults to this for #[no_mangle]/#[export_name] items.
There is no reason to explicitly use it.
2026-09-30 16:59:28 +02:00
bjorn3
7c35df5fd9
Remove #[linkage = "internal"]
...
Rustc already defaults to this for regular items whenever possible.
Overriding it would only lead to linker errors. And for
depending on the exact codegen unit partitioning rustc uses, so there it
is a bad idea to use it too.
2026-09-30 16:59:27 +02:00
Guillaume Gomez
c10c4cf936
Fix source code divergence
2026-09-18 20:56:48 +02:00
Guillaume Gomez
f5965de6c2
Merge commit '39f626bc72757517b75d8e2dde50fa832b8d6c03'
2026-09-18 20:51:24 +02:00
Guillaume Gomez
bf57193d05
Revert "Auto merge of #159844 - GuillaumeGomez:subtree-update_cg_gcc_2026-07-24, r=GuillaumeGomez"
...
This reverts commit 504869653f , reversing
changes made to 7c329d6c76 .
2026-08-03 23:05:36 +02:00
Guillaume Gomez
614d08194e
Merge commit 'b3791c6305afd6ecc3e7f6232487f2bb31aed3e7'
2026-08-02 00:06:25 +02:00
Guillaume Gomez
f3d34dc233
Fix tidy errors in cg_gcc
2026-04-29 23:41:56 +02:00
Guillaume Gomez
4a36bb0299
Merge commit 'd189e9f23c4c971546cb59bf43ab4df0e5552770' into subtree-update_cg_gcc_2026-04-29
2026-04-29 23:12:39 +02:00
Redddy
50db919f5d
Change TODO in compiler to FIXME
2026-03-07 12:12:33 +00:00
Guillaume Gomez
6ea369cfee
Merge commit '70ae207ff5dcd67931c0e67cb62ebceec75a7436' into subtree-update_cg_gcc_2026-02-14
2026-02-14 16:45:12 +01:00
Guillaume Gomez
d5b6bd87ec
Merge commit '02f889aec5dc9b4e51d4cfd86c67ce5e4a0bbf72'
2025-12-21 00:13:38 +01:00
Guillaume Gomez
94f1bfe1fc
Merge commit 'dab6863ce82346cf56c88b6f90a146200358207f' into subtree-update_cg_gcc_2025-12-04
2025-12-04 14:53:08 +01:00
Guillaume Gomez
9fce61b21b
Merge commit '55171cfa8b53970e06dcd2f5f2e2b8d82eeb0885' into subtree-update_cg_gcc_2025-11-26
2025-11-26 19:41:43 +01:00
Guillaume Gomez
ca3e2ea0c2
Merge commit 'e785c50dad2944c7b4fb2d929de531f859db1e99' into subtree-update_cg_gcc_2025-11-04
2025-11-04 16:01:49 +01:00
Guillaume Gomez
17137135ae
Merge commit 'feb42827f11a7ae241ceecc81e9ae556fb6ba214' into subtree-update_cg_gcc_2025-08-26
2025-08-26 17:18:15 +02:00
Guillaume Gomez
21bd67796e
Merge commit '482e8540a1b757ed7bccc2041c5400f051fdb01e' into subtree-update_cg_gcc_2025-08-04
2025-08-04 10:49:43 +02:00
Guillaume Gomez
66017df336
Merge commit 'f682d09eefc6700b9e5851ef193847959acf4fac' into subtree-update_cg_gcc_2025-07-18
2025-07-18 18:31:20 +02:00
Guillaume Gomez
f8491b11f3
Merge commit 'b7091eca6d8eb0fe88b58cc9a7aec405d8de5b85' into subtree-update_cg_gcc_2025-06-28
2025-06-28 23:37:08 +02:00
Guillaume Gomez
c48d8d4d80
Merge commit 'fda0bb9588912a3e0606e880ca9f6e913cf8a5a4' into subtree-update_cg_gcc_2025-06-18
2025-06-18 15:11:44 +02:00
Guillaume Gomez
1c4ab86955
Merge commit '6ba33f5e1189a5ae58fb96ce3546e76b13d090f5' into subtree-update_cg_gcc_2025-05-14
2025-05-14 13:51:02 +02:00
Antoni Boucher
3cd97b644d
Merge commit '4f83a4258deb99f3288a7122c0d5a78200931c61' into subtree-update_cg_gcc_2025-04-25
2025-04-25 10:44:19 -04:00
Guillaume Gomez
c123dc63ea
Fix rustc_codegen_gcc/tests/run/return-tuple.rs test
2025-04-18 21:21:15 +02:00
Guillaume Gomez
e4ea67b3d7
Merge commit 'db1a31c243a649e1fe20f5466ba181da5be35c14' into subtree-update_cg_gcc_2025-04-18
2025-04-18 21:20:11 +02:00
Ralf Jung
6eea027aa9
remove support for rustc_intrinsic_must_be_overridden from the compiler
2025-02-24 07:53:59 +01:00
Trevor Gross
395f0c9ecd
Stabilize const_black_box
...
This has been unstably const since [1], but a tracking issue was never
created. Per discussion on Zulip [2], there should not be any blockers
to making this const-stable. The function does not provide any
functionality at compile time but does allow code reuse between const-
and non-const functions, so stabilize it here.
[1]: https://github.com/rust-lang/rust/pull/92226
[2]: https://rust-lang.zulipchat.com/#narrow/channel/146212-t-compiler.2Fconst-eval/topic/const_black_box
2025-01-27 07:54:58 +00:00
Ralf Jung
56c90dc31e
remove support for the #[start] attribute
2025-01-21 06:59:15 -07:00
Antoni Boucher
cf2f17aeb6
Fix formatting
2025-01-13 11:48:14 -05:00
Antoni Boucher
06f0a9bc78
Merge commit '59a81c2ca1edc88ad3ac4b27a8e03977ffb8e73a' into subtree-update_cg_gcc_2025_01_12
2025-01-13 10:53:58 -05:00
Ben Kimock
711c8cc690
Remove polymorphization
2024-12-06 16:42:09 -05:00
Ralf Jung
e3010e84db
remove support for rustc_safe_intrinsic attribute; use rustc_intrinsic functions instead
2024-11-08 09:16:00 +01:00
Guillaume Gomez
325b70890a
Merge commit '3187d32079b817522cc17413ec9185b130daf693' into subtree-update
2024-09-27 22:00:17 +02:00
Folkert
8419c0956e
stabilize asm_const
2024-08-13 23:18:31 +02:00
Guillaume Gomez
7cbe50e209
Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into master
2024-07-10 12:44:23 +02:00
Nicholas Nethercote
665821cb60
Add blank lines after module-level //! comments.
...
Most modules have such a blank line, but some don't. Inserting the blank
line makes it clearer that the `//!` comments are describing the entire
module, rather than the `use` declaration(s) that immediately follows.
2024-06-20 09:23:20 +10:00
Guillaume Gomez
0d359efbe6
Merge commit 'b385428e3ddf330805241e7758e773f933357c4b' into subtree-update_cg_gcc_2024-03-05
2024-03-05 19:58:36 +01:00
Ralf Jung
0df7810734
remove StructuralEq trait
2024-01-24 07:56:23 +01:00
Antoni Boucher
c797cccda6
Merge commit 'e4fe941b11a55c5005630696e9b6d81c65f7bd04' into subtree-update_cg_gcc_2023-10-25
2023-10-26 17:42:02 -04:00
Antoni Boucher
30290c8b41
Merge commit '11a0cceab966e5ff1058ddbcab5977e8a1d6d290' into subtree-update_cg_gcc_2023-10-09
2023-10-09 15:53:34 -04:00
Antoni Boucher
6bb2af0e6d
Merge commit '08a6d6e16b5efe217123e780398969946266268f' into sync-cg_gcc-2023-03-04
2023-03-05 12:03:19 -05:00
Amanieu d'Antras
430bd6200d
Stabilize asm_sym
2022-10-17 22:38:37 +01:00
Urgau
9ad2f00f6a
Stabilize bench_black_box
2022-09-27 17:38:51 +02:00
Antoni Boucher
3fac982e07
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
2022-06-06 22:04:37 -04:00
bjorn3
bbff48e094
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
2022-03-26 18:29:37 +01:00
bjorn3
b799d6e0a5
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
2021-12-31 16:26:32 +01:00
Amanieu d'Antras
44a3a66ee8
Stabilize asm! and global_asm!
...
They are also removed from the prelude as per the decision in
https://github.com/rust-lang/rust/issues/87228 .
stdarch and compiler-builtins are updated to work with the new, stable
asm! and global_asm! macros.
2021-12-12 11:20:03 +00:00
Antoni Boucher
df487317d0
Merge commit '48d60ab7c505c6c1ebb042eacaafd8dc9f7a9267' into libgccjit-codegen
2021-09-17 17:52:40 -04:00