[Bug target/110027] [11/12/13/14 regression] Misaligned vector store on detect_stack_use_after_return

2024-03-11 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 --- Comment #13 from Hongtao Liu --- So the stack is like --- stack top -32 - (offset -32) -64 (32 bytes redzone) - (offset -64) -128 (64 bytes __m512) (offset -128) (32-bytes redzone) ---(offset

[Bug driver/114314] ICE: in common_handle_option, at opts.cc:3356 with -fno-multiflags

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114314 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.3 Status|ASSIGNED

[Bug driver/114314] ICE: in common_handle_option, at opts.cc:3356 with -fno-multiflags

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114314 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:4bd9d097197334e786690ba1566ccf79396da730 commit r13-8419-g4bd9d097197334e786690ba1566ccf79396da730 Author: Andrew Pinski

[Bug driver/114314] ICE: in common_handle_option, at opts.cc:3356 with -fno-multiflags

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114314 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:c4e5789cede6974b6483c0f82069ff80b5a547e4 commit r14-9434-gc4e5789cede6974b6483c0f82069ff80b5a547e4 Author: Andrew Pinski Date:

[Bug middle-end/111683] [11/12/13/14 Regression] Incorrect answer when using SSE2 intrinsics with -O3 since r7-3163-g973625a04b3d9351f2485e37f7d3382af2aed87e

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111683 --- Comment #10 from Andrew Pinski --- Created attachment 57678 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57678=edit testcase that fails all the way back to GCC 4.8.x This one fails until GCC 4.8.1, works in GCC 4.7.4 but that is

[Bug middle-end/111683] [11/12/13/14 Regression] Incorrect answer when using SSE2 intrinsics with -O3 since r7-3163-g973625a04b3d9351f2485e37f7d3382af2aed87e

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111683 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > Note with the reduced testcase in comment #7, -fno-tree-vrp has no effect on > it any more so it might make sense to do another bisection on that testcase. I

[Bug middle-end/111683] [11/12/13/14 Regression] Incorrect answer when using SSE2 intrinsics with -O3 since r7-3163-g973625a04b3d9351f2485e37f7d3382af2aed87e

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111683 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | --- Comment #8 from Andrew Pinski

[Bug middle-end/111683] [11/12/13/14 Regression] Incorrect answer when using SSE2 intrinsics with -O3 since r7-3163-g973625a04b3d9351f2485e37f7d3382af2aed87e

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111683 --- Comment #7 from Andrew Pinski --- Created attachment 57677 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57677=edit Slightly more reduced Removes the extra induction variables and manually unroll the inner loop. What I am seeing is

[Bug libfortran/105456] Child I/O does not propage iostat

2024-03-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105456 Jerry DeLisle changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/20585] [meta-bug] Fortran 2003 support

2024-03-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20585 Bug 20585 depends on bug 105456, which changed state. Bug 105456 Summary: Child I/O does not propage iostat https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105456 What|Removed |Added

[Bug libfortran/105361] Incorrect end-of-file condition for derived-type I/O

2024-03-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105361 Bug 105361 depends on bug 105456, which changed state. Bug 105456 Summary: Child I/O does not propage iostat https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105456 What|Removed |Added

[Bug tree-optimization/114277] [11/12/13/14 Regression] Missed optimization: x*(x||b) => x

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114277 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug driver/114314] ICE: in common_handle_option, at opts.cc:3356 with -fno-multiflags

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114314 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug driver/114314] ICE: in common_handle_option, at opts.cc:3356 with -fno-multiflags

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114314 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-03-12 Ever confirmed|0

[Bug target/114310] [11/12/13/14 Regression] [aarch64] __sync_val_compare_and_swap fails on __int128_t with newval = 0

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114310 --- Comment #3 from Andrew Pinski --- (In reply to Jeffrey A. Law from comment #2) > !?! That doesn't make any sense to me Andrew. This is a failure to match > the insn, not a constraint error. And given the existence of a zero > register,

[Bug target/114310] [11/12/13/14 Regression] [aarch64] __sync_val_compare_and_swap fails on __int128_t with newval = 0

2024-03-11 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114310 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #2

[Bug c++/114315] New: Attributes should be diagnosed when placed in the middle of declaration specifiers

2024-03-11 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114315 Bug ID: 114315 Summary: Attributes should be diagnosed when placed in the middle of declaration specifiers Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/114277] [11/12/13/14 Regression] Missed optimization: x*(x||b) => x

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114277 --- Comment #5 from Andrew Pinski --- Thinking about this a little more. ((convert)boolean)*a is not Canonical But `boolean?a:0` is. Due to one expression vs 2. But `zero_one * a` is still Canonical if there is no cast from the boolean type.

[Bug target/114175] [13/14] RISC-V: Execution test failures on gcc.dg/c23-stdarg-6.c

2024-03-11 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114175 --- Comment #19 from Edwin Lu --- While debugging, I found that this testcase also breaks on x86_64 when optimizations are enabled (-O1 -> -O3). Godbolt: https://godbolt.org/z/ecs5MPds8 There may be other targets that fail as well. I

[Bug driver/114314] ICE: in common_handle_option, at opts.cc:3356 with -fno-multiflags

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114314 Andrew Pinski changed: What|Removed |Added Component|middle-end |driver Summary|[14

[Bug c/114314] New: [14 Regression] ICE: in common_handle_option, at opts.cc:3356 with -fno-multiflags

2024-03-11 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114314 Bug ID: 114314 Summary: [14 Regression] ICE: in common_handle_option, at opts.cc:3356 with -fno-multiflags Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug fortran/105473] semicolon allowed when list-directed read integer with decimal='point'

2024-03-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105473 --- Comment #33 from Jerry DeLisle --- (In reply to Tobias Burnus from comment #32) > See PR114304 for an issue that was caused by the fix in comment 27. Reverted portion of offending commit to fix.

[Bug libfortran/114304] [13/14 Regression] libgfortran I/O – bogus "Semicolon not allowed as separator with DECIMAL='point'"

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:824a71f609b37a8121793075b175e2bbe14fdb82 commit r13-8417-g824a71f609b37a8121793075b175e2bbe14fdb82 Author: Jerry DeLisle

[Bug tree-optimization/105437] [11 Regression] ICE on GIMPLE pass slp when vectorizer is enabled since r11-1801-g9e5508c2d006f2d4

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105437 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:824a71f609b37a8121793075b175e2bbe14fdb82 commit r13-8417-g824a71f609b37a8121793075b175e2bbe14fdb82 Author: Jerry DeLisle

[Bug tree-optimization/105437] [11 Regression] ICE on GIMPLE pass slp when vectorizer is enabled since r11-1801-g9e5508c2d006f2d4

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105437 --- Comment #7 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:0c179654c3170749f3fb3232f2442fcbc99bffbb commit r14-9432-g0c179654c3170749f3fb3232f2442fcbc99bffbb Author: Jerry DeLisle Date:

[Bug libfortran/114304] [13/14 Regression] libgfortran I/O – bogus "Semicolon not allowed as separator with DECIMAL='point'"

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304 --- Comment #12 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:0c179654c3170749f3fb3232f2442fcbc99bffbb commit r14-9432-g0c179654c3170749f3fb3232f2442fcbc99bffbb Author: Jerry DeLisle Date:

[Bug c++/109946] [c++modules] linker error undefined reference to `vtable for std::bad_expected_access'

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109946 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/103524] [meta-bug] modules issue

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 109946, which changed state. Bug 109946 Summary: [c++modules] linker error undefined reference to `vtable for std::bad_expected_access' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109946 What|Removed

[Bug sanitizer/111057] [11/12/13 only] build error: libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:180:10: fatal error: crypt.h: No such file or directory

2024-03-11 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111057 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug testsuite/114307] [ARM] GCC generates instruction that assembler rejects

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114307 Andrew Pinski changed: What|Removed |Added Target||arm-linux-gnueabihf

[Bug c++/99573] ICE in module: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in start_enum, at cp/decl.c:15663

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99573 Patrick Palka changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #5

[Bug c++/101093] C++20 Module ICE cannot define 'enum class std::align_val_t' in different module

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101093 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/103524] [meta-bug] modules issue

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 101093, which changed state. Bug 101093 Summary: C++20 Module ICE cannot define 'enum class std::align_val_t' in different module https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101093 What|Removed

[Bug fortran/110826] Fortran array of derived type with a pointer to function with dimensional arguments fails

2024-03-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110826 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libfortran/114304] [13/14 Regression] libgfortran I/O – bogus "Semicolon not allowed as separator with DECIMAL='point'"

2024-03-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304 --- Comment #11 from Jerry DeLisle --- Created attachment 57676 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57676=edit Proposed patch This patch fixes the issue by reverting the troublesome hunk and regression tests OK on x86_64. The

[Bug c++/103754] [11,12][ice][modules] import bits/stdc++.h and map

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Target

[Bug c++/103524] [meta-bug] modules issue

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 103754, which changed state. Bug 103754 Summary: [11,12][ice][modules] import bits/stdc++.h and map https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754 What|Removed |Added

[Bug c++/103524] [meta-bug] modules issue

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 102525, which changed state. Bug 102525 Summary: error: failed to read compiled module: Bad file data when trying to use modules possible 98944 regression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102525

[Bug c++/102525] error: failed to read compiled module: Bad file data when trying to use modules possible 98944 regression

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102525 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/114311] Possibly wrong "error: ‘this’ is not a constant expression" with consteval member function

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311 --- Comment #4 from Andrew Pinski --- I thought I saw this before ...

[Bug middle-end/114313] ICE: in limb_access_type, at gimple-lower-bitint.cc:591 with _BitInt() in a bitfield

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114313 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/114312] ICE: SIGSEGV: infinite recursion in chrec_fold_plus_1 (tree-chrec.cc:336) at -O3 with _BitInt()

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114312 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-03-11 Ever confirmed|0

[Bug fortran/110826] Fortran array of derived type with a pointer to function with dimensional arguments fails

2024-03-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110826 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/114311] Possibly wrong "error: ‘this’ is not a constant expression" with consteval member function

2024-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311 --- Comment #3 from Jonathan Wakely --- MSVC compiles it but Clang and EDG agree with GCC: $ clang++ c.cc -std=c++2b c.cc:12:22: error: non-type template argument is not a constant expression return SymbolRefid_>{};

[Bug libgcc/111731] [13/14 regression] gcc_assert is hit at libgcc/unwind-dw2-fde.c#L291

2024-03-11 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111731 Thomas Neumann changed: What|Removed |Added Attachment #57669|0 |1 is obsolete|

[Bug libfortran/114304] [13/14 Regression] libgfortran I/O – bogus "Semicolon not allowed as separator with DECIMAL='point'"

2024-03-11 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304 --- Comment #10 from rguenther at suse dot de --- > Am 11.03.2024 um 20:03 schrieb jvdelisle at gcc dot gnu.org > : > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304 > > --- Comment #9 from Jerry DeLisle --- > Patch on comment #8

[Bug c++/114311] Possibly wrong "error: ‘this’ is not a constant expression" with consteval member function

2024-03-11 Thread carlo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311 --- Comment #2 from Carlo Wood --- I meant `constexpr Symbol x;` inside main - with the same error.

[Bug tree-optimization/114313] New: ICE: in limb_access_type, at gimple-lower-bitint.cc:591 with _BitInt() in a bitfield

2024-03-11 Thread zsojka at seznam dot cz via Gcc-bugs
9f5ae0455-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240311 (experimental) (GCC)

[Bug libfortran/114304] [13/14 Regression] libgfortran I/O – bogus "Semicolon not allowed as separator with DECIMAL='point'"

2024-03-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304 --- Comment #9 from Jerry DeLisle --- Patch on comment #8 breaks all sorts of things. Not so obvious. I will try reverting the original hunk from pr105473 and then work from there.

[Bug middle-end/114312] New: ICE: SIGSEGV: infinite recursion in chrec_fold_plus_1 (tree-chrec.cc:336) at -O3 with _BitInt()

2024-03-11 Thread zsojka at seznam dot cz via Gcc-bugs
-pc-linux-gnu-as --enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-9425-2024032226-g119f5ae0455-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240311 (experimental) (GCC)

[Bug c++/114311] Possibly wrong "error: ‘this’ is not a constant expression" with consteval member function

2024-03-11 Thread carlo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311 Carlo Wood changed: What|Removed |Added Summary|wrong "error: ‘this’ is not |Possibly wrong "error:

[Bug c++/114311] New: wrong "error: ‘this’ is not a constant expression" with consteval member function

2024-03-11 Thread carlo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114311 Bug ID: 114311 Summary: wrong "error: ‘this’ is not a constant expression" with consteval member function Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug libfortran/114304] [13/14 Regression] libgfortran I/O – bogus "Semicolon not allowed as separator with DECIMAL='point'"

2024-03-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug c++/114309] Undesirable warning with [[unlikely]]

2024-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 --- Comment #10 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #6) > Maybe it should have its own enable/disable and not tied to -Wattribute > though. Yes, -Wattributes is going to keep covering more and more different things

[Bug c++/114309] Undesirable warning with [[unlikely]]

2024-03-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 --- Comment #9 from Jonathan Wakely --- (In reply to M Welinder from comment #0) > The standard, quoted from > https://en.cppreference.com/w/cpp/language/attributes/likely, clearly > contemplates this case: N.B. cppreference is not the

[Bug target/114310] [11/12/13/14 Regression] [aarch64] __sync_val_compare_and_swap fails on __int128_t with newval = 0

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114310 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.5 Status|UNCONFIRMED

[Bug libgcc/111731] [13/14 regression] gcc_assert is hit at libgcc/unwind-dw2-fde.c#L291

2024-03-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111731 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/109966] [13/14 Regression] ICE in gimplify_var_or_parm_decl, à gimplify.cc:3058

2024-03-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109966 --- Comment #6 from Marek Polacek --- This looks like a failure of potential_prvalue_result_of to notice that there's copy elision taking place (when initializing a field of the array arr).

[Bug analyzer/114285] Use of uninitialized value when copying a struct field by field

2024-03-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114285 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/114309] Undesirable warning with [[unlikely]]

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/114310] New: [aarch64] __sync_val_compare_and_swap fails on __int128_t with newval = 0

2024-03-11 Thread p.nguyen at yahooinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114310 Bug ID: 114310 Summary: [aarch64] __sync_val_compare_and_swap fails on __int128_t with newval = 0 Product: gcc Version: 8.5.0 Status: UNCONFIRMED Severity:

[Bug c++/114309] Undesirable warning with [[unlikely]]

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 --- Comment #7 from Andrew Pinski --- Also this works just fine to disable the warning around the unlikely: #define push_warning _Pragma("GCC diagnostic push") #define pop_warning _Pragma("GCC diagnostic pop") #define disable_warning

[Bug middle-end/111126] Not always using czero.eqz

2024-03-11 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26 --- Comment #5 from Jeffrey A. Law --- Multiply as a canonical form of a conditional move/zero seems fairly non-obvious relative to a conditional expression. But I don't mind going with consensus on a canonical form. After all we just need to

[Bug c++/114309] Undesirable warning with [[unlikely]]

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 --- Comment #6 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #4) > I think the warning is very much desirable. It is not an error, just a > warning that the code does something weird. Maybe it should have its own

[Bug target/114307] [ARM] GCC generates instruction that assembler rejects

2024-03-11 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114307 --- Comment #2 from Richard Earnshaw --- Note that it's clear from the .syntax markers that this is inline assembler that's the source of the invalid instructions.

[Bug target/114307] [ARM] GCC generates instruction that assembler rejects

2024-03-11 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114307 Richard Earnshaw changed: What|Removed |Added Last reconfirmed||2024-03-11

[Bug tree-optimization/114277] [11/12/13/14 Regression] Missed optimization: x*(x||b) => x

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114277 --- Comment #4 from Andrew Pinski --- (In reply to Raphael M Zinsly from comment #3) > Created attachment 57670 [details] > proposed patch > > I created this patch using the approach Jeff mentioned, I tested and it > fixes this bug. As I

[Bug c++/114309] Undesirable warning with [[unlikely]]

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 --- Comment #5 from Andrew Pinski --- Speficially this email: https://gcc.gnu.org/pipermail/gcc-patches/2018-November/511208.html

[Bug c++/114309] Undesirable warning with [[unlikely]]

2024-03-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/114309] Undesirable warning with [[unlikely]]

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2018-November/510776.html ``` Would you please consider an error diagnostics for situations written in test4.C? Such situation is then silently ignored in

[Bug libfortran/114304] [13/14 Regression] libgfortran I/O – bogus "Semicolon not allowed as separator with DECIMAL='point'"

2024-03-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/114309] Undesirable warning with [[unlikely]]

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 --- Comment #2 from Andrew Pinski --- The warning was added when this attribute was added in r9-4186-g2674fa47de9ecf and even added a testcase for this warning g++.dg/cpp2a/attr-likely4.C .

[Bug c++/114309] Undesirable warning with [[unlikely]]

2024-03-11 Thread terra at gnome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 --- Comment #1 from M Welinder --- Created attachment 57672 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57672=edit Preprocessed source code

[Bug middle-end/111126] Not always using czero.eqz

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26 --- Comment #4 from Andrew Pinski --- (In reply to Raphael M Zinsly from comment #3) > Created attachment 57671 [details] > proposed patch > > This is the same patch I posted in PR114277, it fixes this bug as well. The question is which is

[Bug c++/114309] New: Undesirable warning with [[unlikely]]

2024-03-11 Thread terra at gnome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114309 Bug ID: 114309 Summary: Undesirable warning with [[unlikely]] Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug testsuite/113428] [14 regression] gcc.dg/gomp/bad-array-section-c-3.c fails after r14-7158-gb5476e4c881b0d

2024-03-11 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113428 Richard Earnshaw changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/111126] Not always using czero.eqz

2024-03-11 Thread rzinsly at ventanamicro dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26 --- Comment #3 from Raphael M Zinsly --- Created attachment 57671 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57671=edit proposed patch This is the same patch I posted in PR114277, it fixes this bug as well.

[Bug tree-optimization/114277] [11/12/13/14 Regression] Missed optimization: x*(x||b) => x

2024-03-11 Thread rzinsly at ventanamicro dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114277 --- Comment #3 from Raphael M Zinsly --- Created attachment 57670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57670=edit proposed patch I created this patch using the approach Jeff mentioned, I tested and it fixes this bug.

[Bug libfortran/114304] [14 Regression] libgfortran I/O – bogus "Semicolon not allowed as separator with DECIMAL='point'"

2024-03-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304 --- Comment #6 from Tobias Burnus --- [For completeness: The LAPACK testsuite change Richard mentioned in comment 2 is https://github.com/Reference-LAPACK/lapack/commit/64e8a7500d817869e5fcde35afd39af8bc7a8086 - That's for g95 and was applied

[Bug fortran/114308] ICE in fold_convert_loc, at fold-const.cc:2627

2024-03-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114308 --- Comment #1 from Andrew Pinski --- GCC before 7 didn't support this feature: Error: Assignment to an allocatable polymorphic variable at (1) is not yet supported

[Bug middle-end/114198] [14] RISC-V fixed-length vector -flto ICE: in vectorizable_load, at tree-vect-stmts.cc:10570

2024-03-11 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114198 Patrick O'Neill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/114261] [13/14 Regression] Scheduling takes excessive time (97%)

2024-03-11 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114261 Alexander Monakov changed: What|Removed |Added CC||mkuvyrkov at gcc dot gnu.org ---

[Bug middle-end/114198] [14] RISC-V fixed-length vector -flto ICE: in vectorizable_load, at tree-vect-stmts.cc:10570

2024-03-11 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114198 --- Comment #3 from Patrick O'Neill --- Fixed!

[Bug middle-end/114195] [14] RISC-V vector ICE: in vectorizable_store, at tree-vect-stmts.cc:8690

2024-03-11 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114195 Patrick O'Neill changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/114308] New: ICE in fold_convert_loc, at fold-const.cc:2627

2024-03-11 Thread asiancorporator at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114308 Bug ID: 114308 Summary: ICE in fold_convert_loc, at fold-const.cc:2627 Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/114307] New: [ARM] GCC generates instruction that assembler rejects

2024-03-11 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114307 Bug ID: 114307 Summary: [ARM] GCC generates instruction that assembler rejects Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug testsuite/113428] [14 regression] gcc.dg/gomp/bad-array-section-c-3.c fails after r14-7158-gb5476e4c881b0d

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113428 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:c27b30552e6cc789425d3628d294dafc5f3a0861 commit r14-9430-gc27b30552e6cc789425d3628d294dafc5f3a0861 Author: Richard Earnshaw

[Bug modula2/114295] incorrect error location if attempting to compile implementation module without a definition module

2024-03-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114295 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/114295] incorrect error location if attempting to compile implementation module without a definition module

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114295 --- Comment #2 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:8410402272038aae7e4b2bd76df38607a78cad95 commit r14-9429-g8410402272038aae7e4b2bd76df38607a78cad95 Author: Gaius Mulley Date:

[Bug middle-end/96564] [11/12/13/14 Regression] New maybe use of uninitialized variable warning since r11-959

2024-03-11 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96564 --- Comment #15 from Andrew Macleod --- (In reply to Richard Biener from comment #13) > (In reply to Jeffrey A. Law from comment #12) > > So I think we could solve this with a bit of help from the alias oracle. We > > have the routine

[Bug c++/111284] [11/12/13/14 Regression] Some passing-by-value parameters are mishandled since GCC 9, affecting libstdc++'s constexpr std::string

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111284 --- Comment #9 from Patrick Palka --- (In reply to Jakub Jelinek from comment #8) > Created attachment 57648 [details] > gcc14-pr111284.patch > > So, I've tried to fix this by constexpr evaluating the arguments passed to > PARM_DECLs with

[Bug testsuite/96109] [11 Regression] gcc.dg/vect/slp-47.c etc. FAIL

2024-03-11 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96109 --- Comment #18 from Rainer Orth --- SPARC testsuite failures fixed for GCC 14.0.1.

[Bug tree-optimization/113557] gcc.dg/vect/vect-multi-peel-gaps.c FAILs

2024-03-11 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113557 Rainer Orth changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED URL|

[Bug tree-optimization/114071] gcc.dg/vect/pr37027.c etc. FAIL

2024-03-11 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114071 Rainer Orth changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL

2024-03-11 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238 Rainer Orth changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ro at gcc dot gnu.org Target

[Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238 --- Comment #7 from GCC Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:4e1fcf44bdc582e71408175d75e025f5be8b0e55 commit r14-9428-g4e1fcf44bdc582e71408175d75e025f5be8b0e55 Author: Rainer Orth Date: Mon

[Bug testsuite/96109] [11 Regression] gcc.dg/vect/slp-47.c etc. FAIL

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96109 --- Comment #17 from GCC Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:96b63fa255e343bb9b3e7f77302213a91ce96293 commit r14-9427-g96b63fa255e343bb9b3e7f77302213a91ce96293 Author: Rainer Orth Date: Mon

[Bug tree-optimization/114071] gcc.dg/vect/pr37027.c etc. FAIL

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114071 --- Comment #2 from GCC Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:96b63fa255e343bb9b3e7f77302213a91ce96293 commit r14-9427-g96b63fa255e343bb9b3e7f77302213a91ce96293 Author: Rainer Orth Date: Mon

[Bug tree-optimization/113557] gcc.dg/vect/vect-multi-peel-gaps.c FAILs

2024-03-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113557 --- Comment #3 from GCC Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:96b63fa255e343bb9b3e7f77302213a91ce96293 commit r14-9427-g96b63fa255e343bb9b3e7f77302213a91ce96293 Author: Rainer Orth Date: Mon

[Bug c++/114303] [11/12/13/14 Regression] ICE with constexpr if and accessing captures across nested generic lambdas

2024-03-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114303 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

  1   2   >