[Bug libstdc++/121148] Should use modular arithmetic for _Atomic_word

2025-07-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121148 --- Comment #12 from Andreas Schwab --- (In reply to Jonathan Wakely from comment #4) The cpu does not care about overflow, of course, apart from setting the V bit in the CC.

[Bug target/110812] Check availability of builtins at expand time

2025-07-16 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #17 from Andreas Schwab --- libtool: link: gcc -shared -fPIC -DPIC .libs/libgcrypt_la-visibility.o .libs/libgcrypt_la-misc.o .libs/libgcrypt_la-global.o .libs/libgcrypt_la-sexp.o .libs/libgcrypt_la-hwfeatures.o .libs/libgcrypt_la-s

[Bug target/121121] [15/16 regression] [RISC-V] Wrong unwind info with -fstack-clash-protection

2025-07-16 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121121 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug target/121121] New: [15/16 regression] [RISC-V] Wrong unwind info with -fstack-clash-protection

2025-07-16 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121121 Bug ID: 121121 Summary: [15/16 regression] [RISC-V] Wrong unwind info with -fstack-clash-protection Product: gcc Version: 15.1.1 Status: UNCONFIRMED Keywords:

[Bug target/120714] [15 regression] RISC-V: incorrect frame pointer CFA address for stack-clash protection loops

2025-07-16 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120714 Andreas Schwab changed: What|Removed |Added Ever confirmed|0 |1 Status|RESOLVED

[Bug target/120995] New: [RISC-V] ICE: unrecognizable insn UNSPEC_COMPARE_AND_SWAP with rv64gc_zabha_zacas

2025-07-08 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120995 Bug ID: 120995 Summary: [RISC-V] ICE: unrecognizable insn UNSPEC_COMPARE_AND_SWAP with rv64gc_zabha_zacas Product: gcc Version: 15.1.1 Status: UNCONFIRMED Seve

[Bug c/120966] -Waggressive-loop-optimizations warns for int but not for short overflow

2025-07-05 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120966 --- Comment #1 from Andreas Schwab --- There is no short overflow due to integer promotion.

[Bug modula2/120909] Tilde is not recognised in path include

2025-07-01 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120909 Andreas Schwab changed: What|Removed |Added Resolution|--- |INVALID Status|ASSIGNED

[Bug target/120866] [16 Regression] pdp11-aout, powerpc-ibm-aix7.1 and powerpc-ibm-aix7.2 crosscompilers fail to build

2025-06-29 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120866 Andreas Schwab changed: What|Removed |Added Blocks||118904 --- Comment #4 from Andreas Sch

[Bug target/120827] [RISC-V] ICE unrecognizible insn in LTO build

2025-06-25 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120827 --- Comment #1 from Andreas Schwab --- Created attachment 61711 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61711&action=edit Part 1 of libopenvino_riscv_cpu_plugin.so.ltrans117.o.xz

[Bug target/120827] [RISC-V] ICE unrecognizible insn in LTO build

2025-06-25 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120827 Andreas Schwab changed: What|Removed |Added Attachment #61711|0 |1 is obsolete|

[Bug target/120827] [RISC-V] ICE unrecognizible insn in LTO build

2025-06-25 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120827 --- Comment #4 from Andreas Schwab --- The source consists of nearly 300 files.

[Bug target/120827] [RISC-V] ICE unrecognizible insn in LTO build

2025-06-25 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120827 --- Comment #2 from Andreas Schwab --- Created attachment 61712 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61712&action=edit Part 2 of libopenvino_riscv_cpu_plugin.so.ltrans117.o.xz

[Bug target/120827] New: [RISC-V] ICE unrecognizible insn in LTO build

2025-06-25 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120827 Bug ID: 120827 Summary: [RISC-V] ICE unrecognizible insn in LTO build Product: gcc Version: 15.1.1 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c/120801] Using const variables as immediate values in extended assembly constraints with -O0 (x86)

2025-06-24 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120801 --- Comment #1 from Andreas Schwab --- You need to use constexpr from C23.

[Bug target/120733] [16 Regression][aarch64] ICE in gen_highpart, at lra.cc:1484 since r16-1565-g2dcc6dbd8a00ca

2025-06-23 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120733 --- Comment #5 from Andreas Schwab --- Also seen in binutils while building gprofng (only with -g): ../../../gprofng/src/util.cc: In function ‘uint32_t get_cksum(const char*, char**)’: ../../../gprofng/src/util.cc:1562:1: internal compiler erro

[Bug modula2/120761] GM2_FOR_BUILD is not substituted in the toplevel Makefile

2025-06-22 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120761 --- Comment #1 from Andreas Schwab --- Nothing uses it so far.

[Bug middle-end/120629] [16 regression] profiledbootstrap with lto fails

2025-06-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 --- Comment #14 from Andreas Schwab --- It fails also with the generic target. https://build.opensuse.org/package/live_build_log/devel:gcc:next/gcc16/openSUSE_Tumbleweed/x86_64

[Bug tree-optimization/120629] [16 regression] profiledbootstrap with lto fails

2025-06-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 Andreas Schwab changed: What|Removed |Added Blocks||120434 Component|ipa

[Bug ipa/120629] [16 regression] profiledbootstrap with lto fails

2025-06-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629 --- Comment #7 from Andreas Schwab --- There are crashes also on arm64 and ppc64le, while compiling stage1 libstdc++: https://build.opensuse.org/package/live_build_log/devel:gcc:next/gcc16/openSUSE_Factory_ARM/aarch64 https://build.opensuse.org

[Bug bootstrap/120605] [15 Regression] bootstrap fails on riscv64 with error: 'dominated_by_p' was not declared in this scope

2025-06-09 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120605 Andreas Schwab changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/110812] Check availability of builtins at expand time

2025-06-02 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #15 from Andreas Schwab --- I would expect that LTO use the same machinery as the target attribute. #pragma riscv intrinsic "vector" int vl; __attribute__((target("arch=+v"))) void v () { vl = __riscv_vsetvl_e8m8 (0); }

[Bug target/120459] RISC-V: redundant addi

2025-05-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120459 --- Comment #3 from Andreas Schwab --- Before sched2: (insn 2301 536 2302 9 (set (reg:DI 10 a0 [2652]) (plus:DI (reg/f:DI 2 sp) (const_int 2047 [0x7ff]))) "addi.cc":99:73 5 {adddi3} (nil)) (insn 2302 2301 1693 9 (set (r

[Bug target/110812] Check availability of builtins at expand time

2025-05-26 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #12 from Andreas Schwab --- $ echo 'int main () {}' > empty.c $ echo '#pragma riscv intrinsic "vector" void v () { __riscv_vsetvl_e8m8 (0); }' > vector.c $ gcc -flto -c empty.c $ gcc -flto -c -march=rv64gcv vector.c $ gcc empty.o ve

[Bug target/110812] Check availability of builtins at expand time

2025-05-26 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #13 from Andreas Schwab --- $ lto-dump -list vector.o lto-dump: fatal error: target specific builtin not available compilation terminated.

[Bug libstdc++/65909] check_v3_target_namedlocale blows up on targets that don't support command-line arguments

2025-05-15 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65909 --- Comment #9 from Andreas Schwab --- Note that a formal proc argument named "args" is a special case in tcl as it collects all (remaining) arguments as a list. Either the argument needs to be named differently (like "locale") or the proc needs

[Bug target/110812] Check availability of builtins at expand time

2025-05-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #10 from Andreas Schwab --- That doesn't fix anything. https://build.opensuse.org/project/monitor/home:Andreas_Schwab:riscv:gcc

[Bug testsuite/120251] New: cobol tests depend on locale

2025-05-13 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120251 Bug ID: 120251 Summary: cobol tests depend on locale Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal Priority: P3

[Bug target/110812] Check availability of builtins at expand time

2025-05-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #7 from Andreas Schwab --- libgcrypt is the next victim.

[Bug rtl-optimization/120169] [m68k] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.cc:2591 with LRA enabled

2025-05-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120169 --- Comment #7 from Andreas Schwab --- So this is actually a bug in the lra pass: (insn 37 36 39 5 (set (mem:SI (pre_dec:SI (reg/f:SI 15 %sp)) [6 S1 A8]) (sign_extend:SI (reg:QI 52 [ _14 ]))) "Gdecl.ii":24:19 99 {*68k_extendqisi2}

[Bug rtl-optimization/120169] [m68k] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.cc:2591 with LRA enabled

2025-05-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120169 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/120169] [m68k] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.cc:2591 with LRA enabled

2025-05-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120169 --- Comment #6 from Andreas Schwab --- Reduced test case: typedef void *decl_node; bool decl_isRecordField(decl_node); void decl_lookupSym(int); void mcDebug_assert(bool); typedef enum { decl_varient } decl_nodeT; typedef struct decl_nodeRec_r

[Bug rtl-optimization/120169] [m68k] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.cc:2591 with LRA enabled

2025-05-08 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120169 --- Comment #5 from Andreas Schwab --- The csa pass ...

[Bug rtl-optimization/120169] [m68k] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.cc:2591 with LRA enabled

2025-05-08 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120169 Andreas Schwab changed: What|Removed |Added Component|target |rtl-optimization --- Comment #4 from A

[Bug target/120169] [m68k] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.cc:2591 with LRA enabled

2025-05-08 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120169 --- Comment #3 from Andreas Schwab --- Workaround: -fno-combine-stack-adjustments

[Bug target/120169] [m68k] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.cc:2591 with LRA enabled

2025-05-08 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120169 --- Comment #2 from Andreas Schwab --- Inconsistent CFI state! SHOULD have: .cfi_def_cfa 15, 16 .cfi_offset 2, -16 .cfi_offset 10, -12 .cfi_offset 11, -8 .cfi_offset 24, -4 DO have: .cfi_def_cfa 15

[Bug driver/120148] -fno-builtin suppresses -Wformat warnings

2025-05-07 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120148 Andreas Schwab changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug libgdiagnostics/119837] Off-by-one truncation in a warning message from gfortran with quoted string

2025-04-17 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119837 --- Comment #8 from Andreas Schwab --- Probably an interaction with the xn glitch.

[Bug testsuite/119818] New: FAIL: cobol.dg/group2/FUNCTION_DATE___TIME_OMNIBUS.cob -O0 execution test

2025-04-15 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119818 Bug ID: 119818 Summary: FAIL: cobol.dg/group2/FUNCTION_DATE___TIME_OMNIBUS.cob -O0 execution test Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: n

[Bug c++/119627] arm-linux-gnueabihf-g++-12 on Intel generates incorrect code

2025-04-04 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119627 Andreas Schwab changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug target/110812] Check availability of builtins at expand time

2025-04-01 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #6 from Andreas Schwab --- pixman is another victim.

[Bug libstdc++/119550] cross compilation of libstdc++ fail for arm-none-eabi due to tzname tests since g:778c28c70f85

2025-03-31 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119550 --- Comment #6 from Andreas Schwab --- AC_STRUCT_TIMEZONE is trying to do a link check (for the tzname global) if struct tm has no tm_zone, thus the problem only occurs for certain non-linux targets. Since chrono implementation only supports tm

[Bug cobol/119390] stack buffer overflow in gcobol driver

2025-03-24 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119390 Andreas Schwab changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug cobol/119390] stack buffer overflow in gcobol driver

2025-03-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119390 Andreas Schwab changed: What|Removed |Added Summary|cobol compiler crashes with |stack buffer overflow in

[Bug cobol/119390] cobol compiler crashes with buffer overflow

2025-03-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119390 --- Comment #3 from Andreas Schwab --- #9 lang_specific_driver (in_decoded_options=0x7fffd970, in_decoded_options_count=0x7fffd97c, in_added_libraries=) at ../../gcc/cobol/gcobolspec.cc:510 510 strcpy(ach, de

[Bug cobol/119390] New: cobol compiler crashes with buffer overflow

2025-03-20 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119390 Bug ID: 119390 Summary: cobol compiler crashes with buffer overflow Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobo

[Bug ipa/119312] Constant array not allocated in read-only segment

2025-03-17 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119312 --- Comment #7 from Andreas Schwab --- But the callee is still allowed to assign the whole struct through the non-const pointer.

[Bug cobol/119218] cobol, build : conflict between liberty and directly-included system-header.

2025-03-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119218 --- Comment #11 from Andreas Schwab --- There are two other uses of and all three of them are needed for dirname, since basename is declared by default.

[Bug cobol/119217] cobol: build broken on non-linux by unguarded use of Linux-specific facilities.

2025-03-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217 --- Comment #8 from Andreas Schwab --- The compiler should not use any host facilities to parse floating literals in the first place.

[Bug cobol/119218] cobol, build : conflict between liberty and directly-included system-header.

2025-03-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119218 --- Comment #8 from Andreas Schwab --- libiberty.h has been included by system.h forever, why is this happening only now?

[Bug cobol/119218] cobol, build : conflict between liberty and directly-included system-header.

2025-03-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119218 --- Comment #9 from Andreas Schwab --- Looks like gcc/cobol/cdf-copy.cc is the first one to use .

[Bug cobol/119218] cobol, build : conflict between liberty and directly-included system-header.

2025-03-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119218 --- Comment #5 from Andreas Schwab --- Why is HAVE_DECL_BASENAME not defined?

[Bug c++/119236] GCC incorrectly accepts alignof() operator applied to function type

2025-03-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119236 --- Comment #1 from Andreas Schwab --- -Wpointer-arith does not warn.

[Bug cobol/119216] libgcobol support check in configure is broken

2025-03-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119216 --- Comment #2 from Andreas Schwab --- You can't use AC_CHECK_SIZEOF, that would test the host, not the target, and the target compiler hasn't even been built yet.

[Bug cobol/119216] libgcobol support check in configure is broken

2025-03-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119216 --- Comment #1 from Andreas Schwab --- libsanitizer/configure.tgt has a similar problem, it only doesn't fail because the cases that use ac_cv_size_void_p don't set UNSUPPORTED.

[Bug translation/118991] Wrong extracted text in avr.cc

2025-02-24 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118991 --- Comment #2 from Andreas Schwab --- There are more occurrences of this problem: #: config/pru/pru-pragma.cc:61 msgid "% index %" #: config/pru/pru-pragma.cc:64 msgid "redefinition of %

[Bug target/118771] [15 regression] aarch64 bootstrap fails unless --disable-werror

2025-02-06 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118771 --- Comment #1 from Andreas Schwab --- The maybe-uninitialized warning only triggers with release checking.

[Bug target/110812] Check availability of builtins at expand time

2025-02-03 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 Andreas Schwab changed: What|Removed |Added Summary|Missing |Check availability of

[Bug libstdc++/118701] [15 regression] abi_check FAILs on Solaris due to weak version

2025-01-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118701 --- Comment #6 from Andreas Schwab --- And once the ABI is finalized a change similar to commit 6e25ca387fb should be installed.

[Bug middle-end/118684] wrong alignment for stack temporary created during RTL expansion

2025-01-28 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118684 --- Comment #1 from Andreas Schwab --- Does that also happen if you remove the undefined behaviour?

[Bug libstdc++/118563] [15 regression] libstdc++ incompatible ABI change on riscv64

2025-01-27 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118563 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/118563] New: [15 regression] libstdc++ incompatible ABI change on riscv64

2025-01-20 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118563 Bug ID: 118563 Summary: [15 regression] libstdc++ incompatible ABI change on riscv64 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ABI Sev

[Bug target/118418] [15 Regression][gcn] Compiler selftest ICE in assert_rtx_eq_at, at selftest-rtl.cc:57 / FAIL: ASSERT_RTX_EQ (val, folded) since r15-6777-g06c4cf398947b5

2025-01-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118418 Andreas Schwab changed: What|Removed |Added Target|gcn |gcn m68k-*-* --- Comment #1 from Andre

[Bug target/118356] RISC-V: -falign-labels=0 should (probably) default to 4

2025-01-08 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118356 --- Comment #5 from Andreas Schwab --- There are jump_align and loop_align members in the struct riscv_tune_param which set the defaults for -falign-jumps and -falign-loops, but nothing sets them to non-NULL yet.

[Bug target/110812] Missing TARGET_OPTION_SAVE/RESTORE on riscv

2025-01-06 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #3 from Andreas Schwab --- This also breaks openblas.

[Bug other/118223] Improve autodependency generation to avoid full product build

2024-12-28 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118223 --- Comment #6 from Andreas Schwab --- -MP Generate phony targets for all headers.

[Bug c/118191] missing option to read __float128 from command line argument or string

2024-12-24 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118191 Andreas Schwab changed: What|Removed |Added Resolution|WORKSFORME |INVALID

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2024-12-22 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #27 from Andreas Schwab --- Seems likely.

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2024-12-22 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #25 from Andreas Schwab --- 20241220: 2d 06:58:23

[Bug driver/117968] running "cpp" with malformed arguments can cause input file deletion

2024-12-20 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117968 --- Comment #7 from Andreas Schwab --- cpp --help doesn't mention this implicit -o.

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2024-12-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 Andreas Schwab changed: What|Removed |Added Keywords||memory-hog --- Comment #17 from Andrea

[Bug tree-optimization/118032] Bootstrap slowdown for risc-v

2024-12-16 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #10 from Andreas Schwab --- The 64bit location_t is not part of 92e0e0f8177530b8c6fcafe1d61ba03b00dff6a6..b563a3a00db064d4d47fd171379e1d34d0698faa, it was installed three days earlier.

[Bug tree-optimization/118032] Bootstrap slowdown for risc-v

2024-12-15 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #7 from Andreas Schwab --- 20240920: 2d 09:32:07 20240927: 2d 09:49:40 20241004: 2d 10:05:11 20241020: 2d 09:50:24 20241025: 2d 10:01:37 20241101: 2d 10:36:27 20241108: 2d 11:34:26 20241115: 2d 10:59:49 20241130: 2d 11:50:58

[Bug tree-optimization/118032] Bootstrap slowdown for risc-v

2024-12-15 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #6 from Andreas Schwab --- Here are the bootstrap times on the HiFive Unleashed (all languages): 20240920: 3d 09:32:07 20240927: 3d 09:49:40 20241004: 3d 10:05:11 20241020: 3d 09:50:24 20241025: 3d 10:01:37 20241101: 3d 10:36:

[Bug c/118011] -fshort-enums reported as enabled by default

2024-12-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118011 --- Comment #1 from Andreas Schwab --- -fshort-enums has a special "uninitialized" state which is only finalized after target options have been processed.

[Bug testsuite/117961] x86 testsuite: scan-assembler[-not] is bogus for inline asm

2024-12-10 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117961 --- Comment #5 from Andreas Schwab --- It can also happen without inline asm. It is a generic problem with scan-assembler.

[Bug sanitizer/117716] [15 regression] ASAN broken on riscv64

2024-12-04 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117716 Andreas Schwab changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug bootstrap/117893] [15 regression] space before -O0 in CFLAGS incorrectly removed

2024-12-04 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117893 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/80677] LIMITS_H_TEST is wrong

2024-12-02 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80677 --- Comment #9 from Andreas Schwab --- The default value of BUILD_SYSTEM_HEADER_DIR assumes a properly populated sysroot.

[Bug ipa/117862] Missed Optimization: Failure to Inline Functions When Generating Position-Independent Code (PIC)

2024-11-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117862 --- Comment #2 from Andreas Schwab --- Or declare the function with hidden visibility.

[Bug go/117833] [15 regression] Bootstrap failure in gcc/go/gofrontend/go-encode-id.cc

2024-11-28 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117833 --- Comment #5 from Andreas Schwab --- Started with r15-5735-g1046c32de4956c

[Bug go/117833] [15 regression] Bootstrap failure in gcc/go/gofrontend/go-encode-id.cc

2024-11-28 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117833 --- Comment #2 from Andreas Schwab --- See also https://build.opensuse.org/package/live_build_log/devel:gcc:next/gcc15/openSUSE_Tumbleweed/x86_64 (that builds with --disable-werror).

[Bug go/117833] New: [15 regression] Bootstrap failure in gcc/go/gofrontend/go-encode-id.cc

2024-11-28 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117833 Bug ID: 117833 Summary: [15 regression] Bootstrap failure in gcc/go/gofrontend/go-encode-id.cc Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build

[Bug sanitizer/117716] New: [15 regressiion] ASAN broken on riscv64

2024-11-20 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117716 Bug ID: 117716 Summary: [15 regressiion] ASAN broken on riscv64 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitize

[Bug ada/117708] [15 Regression] gnat fails to build on s390x-linux-gnu since r15-5469-g51d12cc4b60896

2024-11-20 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117708 --- Comment #2 from Andreas Schwab --- Missing $(TRASYM_DWARF_UNIX_PAIRS) in LIBGNAT_TARGET_PAIRS. Missing on other targets as well. Note that libgnat/s-mmauni__long.ads may not work on every target.

[Bug target/117649] [15 regression] [RISC-V] binutils miscompiled by r15-4224-gc8957c8779954c

2024-11-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117649 --- Comment #2 from Andreas Schwab --- void __attribute__ ((noinline)) f (unsigned int i) { if ((i & 0xf000) != 0xc000) __builtin_abort (); } int main () { f (0xc022); }

[Bug target/117649] [15 regression] [RISC-V] binutils miscompiled by r15-4224-gc8957c8779954c

2024-11-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117649 --- Comment #1 from Andreas Schwab --- Dump of assembler code for function md_convert_frag: 0x0003ddb8 <+0>: lw a5,96(a2) 0x0003ddba <+2>: addisp,sp,-80 0x0003ddbc <+4>: sd ra,72(sp)

[Bug modula2/117555] [15 regression] libgm2 build failure after r15-5081-g95960cd473297c

2024-11-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117555 Andreas Schwab changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug target/117649] New: [15 regression] [RISC-V] binutils miscompiled by r15-4224-gc8957c8779954c

2024-11-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117649 Bug ID: 117649 Summary: [15 regression] [RISC-V] binutils miscompiled by r15-4224-gc8957c8779954c Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wron

[Bug libstdc++/117630] Useless atexit entry for generic_category_instance and system_category_instance

2024-11-17 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117630 --- Comment #12 from Andreas Schwab --- ld -M or ld --Map=file produces a map file that explains why an object is needed. There is also --cref.

[Bug tree-optimization/117553] [15 regression] stage2 ada compiler miscompiled after r15-5069-g32cf28ccc9e77c

2024-11-13 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117553 --- Comment #5 from Andreas Schwab --- Yes, it does.

[Bug tree-optimization/117553] [15 regression] stage2 ada compiler miscompiled after r15-5069-g32cf28ccc9e77c

2024-11-13 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117553 --- Comment #3 from Andreas Schwab --- Indeed, bootstrapping with -fno-vect-cost-model fails the same way.

[Bug modula2/117555] New: [15 regression] libgm2 build failure after r15-5081-g95960cd473297c

2024-11-13 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117555 Bug ID: 117555 Summary: [15 regression] libgm2 build failure after r15-5081-g95960cd473297c Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build

[Bug tree-optimization/117553] New: [15 regression] stage2 ada compiler miscompiled after r15-5069-g32cf28ccc9e77c

2024-11-13 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117553 Bug ID: 117553 Summary: [15 regression] stage2 ada compiler miscompiled after r15-5069-g32cf28ccc9e77c Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/117475] C++20: Union object with atomic integer cannot be statically initialized

2024-11-07 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117475 --- Comment #13 from Andreas Schwab --- > Note again the only reason clang 17 from opensuse works is because it is > using GCC's libstdc++ from GCC 7 This is not true. $ clang -Wall -Wextra -std=c++20 -pedantic -S atomic.cc -v clang version 17

[Bug middle-end/117384] [15 regression] ICE when building gwenhywfar-5.10.1 (error: non-trivial conversion in ‘var_decl’)

2024-10-31 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117384 --- Comment #4 from Andreas Schwab --- s/unsigned/signed/ to make it fail the same with -funsigned-char.

[Bug middle-end/117359] Stack pointer modifications in asm are not flagged in crtl->sp_is_unchanging

2024-10-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117359 --- Comment #12 from Andreas Schwab --- Neither is clobbering a register.

[Bug middle-end/117359] Stack pointer modifications in asm are not flagged in crtl->sp_is_unchanging

2024-10-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117359 --- Comment #10 from Andreas Schwab --- If you change memory, then that memory needs to be in the output/clobber list.

[Bug middle-end/117359] Stack pointer modifications in asm are not flagged in crtl->sp_is_unchanging

2024-10-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117359 --- Comment #8 from Andreas Schwab --- If sp isn't changed then it should not appear as output.

[Bug middle-end/117359] Stack pointer modifications in asm are not flagged in crtl->sp_is_unchanging

2024-10-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117359 --- Comment #5 from Andreas Schwab --- This should be warned similar to "listing the stack pointer register %qs in a clobber list is deprecated".

  1   2   3   4   5   6   >