Matthew Lugg
f3445f8f69
Merge pull request #21423 from mlugg/field-init-resolution
...
compiler: always resolve field inits, remove unncecessary eager resolution
2024-09-16 17:39:56 +01:00
mlugg
258236ec1b
Sema: don't emit instruction when casting @min/@max result to OPV type
...
Resolves : #21408
2024-09-15 17:52:35 +01:00
mlugg
19924ca289
Sema: give try operand error{} result type in non-errorable functions
...
Resolves : #21414
2024-09-15 16:51:26 +01:00
mlugg
8ff2f1057a
Revert "Dwarf: prevent crash on missing field inits"
...
This reverts commit faafc4132731e854a471ad4c4bb231efb525ea9a.
2024-09-15 16:03:56 +01:00
mlugg
bab6bf4194
compiler: always resolve field inits, remove unnecessary eager resolution
...
Resolves : #21362
2024-09-15 16:03:56 +01:00
Matthew Lugg
4d81e8ee91
Merge pull request #21390 from xdBronch/push-tvovpsxztrqn
...
make decl literals work with single item pointers
2024-09-14 06:24:24 +01:00
mlugg
54611e32d7
Package.Fetch: add another non-standard Content-Type
...
For instance, the official download site for libvterm uses this MIME
type for tar.gz tarballs.
2024-09-12 19:53:02 -07:00
David Rubin
bc161430b0
riscv: implement optional_payload_ptr_set
2024-09-12 20:29:10 -04:00
xdBronch
0329b8387c
make decl literals work with single item pointers
2024-09-12 20:29:10 -04:00
mlugg
55250a9370
Sema: perform requested coercion when decl literal demoted to enum literal
...
Resolves : #21392
2024-09-12 23:46:00 +01:00
Linus Groh
9271a89c65
InternPool: Replace default values with a .empty declaration
2024-09-12 16:01:23 +01:00
Linus Groh
8588964972
Replace deprecated default initializations with decl literals
2024-09-12 16:01:23 +01:00
Andrew Kelley
4fba7336a9
Merge pull request #21269 from alexrp/soft-float
...
Fix soft float support, split musl triples by float ABI, and enable CI
2024-09-11 17:41:55 -07:00
Alex Rønne Petersen
2fc1f9b971
llvm: Don't use the optimized jump table construction logic for wasm.
2024-09-10 16:09:43 -07:00
Jacob Young
faafc41327
Dwarf: prevent crash on missing field inits
...
Workaround for #21362
2024-09-10 13:06:08 -04:00
Jacob Young
0f0142527a
Dwarf: implement default field values
2024-09-10 13:06:08 -04:00
Jacob Young
cdaf3154ee
Dwarf: implement variables without runtime bits
2024-09-10 12:27:57 -04:00
Jacob Young
e048e78886
Dwarf: implement and test multi array list
2024-09-10 12:27:57 -04:00
Jacob Young
e046977354
codegen: implement output to the .debug_info section
2024-09-10 12:27:57 -04:00
Jacob Young
f34b198251
Dwarf: implement and test decls
2024-09-10 12:27:56 -04:00
Jacob Young
778519bb0d
Dwarf: fix missing padding before incrementally updated entries
2024-09-10 08:29:31 -04:00
Alex Rønne Petersen
4fcd3e00fa
musl: Build with -ffp-contract=off.
...
https://www.openwall.com/lists/musl/2024/08/28/1
2024-09-10 08:53:30 +02:00
Alex Rønne Petersen
f9455511fa
Compilation: Work around llvm/llvm-project#105972 by defining the macros.
...
https://github.com/llvm/llvm-project/issues/105972
2024-09-10 08:53:30 +02:00
Alex Rønne Petersen
77c8f4b671
Compilation: Pass hard/soft float flags to Clang as appropriate.
2024-09-10 08:53:30 +02:00
Alex Rønne Petersen
70c92331c7
llvm: Limit f16/f128 lowering on arm to fp_armv8 and soft float.
2024-09-10 08:53:30 +02:00
Alex Rønne Petersen
6836799935
llvm: Set use-soft-float and noimplicitfloat on functions for soft float.
...
Closes #10961 .
2024-09-10 08:53:30 +02:00
Alex Rønne Petersen
95bb53653d
zig cc: Support -rtlib=none for disabling compiler-rt.
2024-09-09 10:47:35 -07:00
Veikka Tuominen
de8cece6e7
sync Aro dependency
...
ref: adfd13c6ffb563b1379052b92f6ae4148b91cc12
2024-09-09 12:35:49 +03:00
David Rubin
9e6d167bb7
comp: populateTestFunctions shouldn't bubble up AnalysisFail
...
`ensureCauAnalyzed` adds the anal_unit to the transitive failures, so we don't need to do anything here. The errors will be handled after this function.
2024-09-09 10:05:42 +01:00
Maciej 'vesim' Kuliński
fb0028a0d7
mips: fix C ABI compatibility
2024-09-07 23:46:30 -07:00
Andrew Kelley
5f3d9e0b7a
Merge pull request #21261 from alexrp/riscv32
...
More `riscv32-linux` port work
2024-09-06 17:43:10 -07:00
Alex Rønne Petersen
92517fbd62
llvm: Set float ABI based on std.Target.floatAbi().
2024-09-06 20:11:47 +02:00
Alex Rønne Petersen
ae10adb6ef
llvm: Don't lower to f16 for riscv32.
...
This causes so many test failures that I doubt this has been tested at all.
2024-09-06 20:03:15 +02:00
Andrew Kelley
f29bdd6746
Merge pull request #21263 from alexrp/thumb-fixes
...
Some fixes for `thumb-linux-*` support
2024-09-06 10:55:45 -07:00
Andrew Kelley
96fcc8d63b
Merge pull request #21195 from alexrp/glibc-fixes
...
`glibc`: Some bug fixes, plus arc and csky start files
2024-09-06 10:50:56 -07:00
Andrew Kelley
1511a4171f
Merge pull request #21310 from alexrp/ppc64-tests
...
Force ELFv2 for PPC64 and add `powerpc64-linux-(none,musl)` to CI
2024-09-06 10:48:21 -07:00
Travis Staloch
204107c499
package-manager: add application/x-tar-gz mime type
...
Closes #21314
This allows the package manger to download tar.gz bitbucket urls.
2024-09-06 10:37:29 -07:00
Alex Rønne Petersen
27c72c555a
glibc: Fix an edge case leading to duplicate stub symbols.
...
Closes #20376 .
Closes #21076 .
2024-09-05 06:16:26 +02:00
Alex Rønne Petersen
1773a88ab1
glibc: Set asm and include paths for csky.
2024-09-05 06:16:26 +02:00
Alex Rønne Petersen
4b4fce3e89
glibc: Set asm and include paths for arc.
2024-09-05 06:16:26 +02:00
Alex Rønne Petersen
9eb66ab3fb
glibc: Set asm and include paths for m68k.
2024-09-05 06:16:26 +02:00
Alex Rønne Petersen
0bbfa199e9
glibc: Add include path for gnux32.
2024-09-05 06:16:26 +02:00
Alex Rønne Petersen
e492e7232f
glibc: Set asm and include paths for s390x.
2024-09-05 06:16:25 +02:00
Alex Rønne Petersen
c852992c7e
glibc: Also pass -Wno-unsupported-floating-point-opt when building libc_nonshared.a.
...
Apparently 3fb6e46f6e4231b9569193a15a4357a2ae11fb0f wasn't enough.
2024-09-05 06:16:25 +02:00
Andrew Kelley
3929cac154
Merge pull request #21257 from mlugg/computed-goto-3
...
compiler: implement labeled switch/continue
2024-09-04 18:31:28 -07:00
Alex Rønne Petersen
19895834b9
compiler: Force ELFv2 for powerpc64.
...
LLD does not support ELFv1. By forcing ELFv2, we can at least build working
binaries for triples like `powerpc64-linux-none`.
2024-09-05 01:15:33 +02:00
Jakub Konka
e1d5bb365b
elf: fix 32bit build
2024-09-04 15:55:38 +02:00
Jakub Konka
b6caab63cb
elf: actually commit AtomList.zig
2024-09-04 13:44:06 +02:00
Jakub Konka
f3d527c082
elf: migrate thunks to the new mechanism (AtomList)
2024-09-04 13:34:26 +02:00
Jakub Konka
d302a1068e
elf: rename SectionChunk into AtomList and store as part of Section
2024-09-04 13:34:26 +02:00