[Bug fortran/121185] [16.0 regression] Numerics of Monte Carlo integrator changed

2025-07-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug tree-optimization/121091] ICE in tree_to_uhwi, at tree.cc:6660 with SVE switch choosing predicate values

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121091 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Patch posted: > https://gcc.gnu.org/pipermail/gcc-patches/2025-July/689666.html I am still working on getting a fixed up patch. Hopefully by the end of the week

[Bug tree-optimization/121183] extra sign extend in some cases

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121183 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/121183] New: extra sign extend in some cases

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Take: ``` long long f(long long l){ if(l>1000) return l; if(l<-1000) return l; int t = l; return t + 2; } long long f

[Bug tree-optimization/83247] simplify (int)a_long < 0 when we know a_long fits in int

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83247 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc

[Bug tree-optimization/83247] simplify (int)a_long < 0 when we know a_long fits in int

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83247 --- Comment #9 from Andrew Pinski --- gnat.dg/opt86[abc].adb still fails.

[Bug tree-optimization/110949] ((cast)cmp) - 1 should be tranformed into -(cast)cmp` where cmp` is the inverse of cmp

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110949 --- Comment #3 from Andrew Pinski --- Created attachment 61919 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61919&action=edit patch which is under testing

[Bug tree-optimization/110949] ((cast)cmp) - 1 should be tranformed into -(cast)cmp` where cmp` is the inverse of cmp

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110949 --- Comment #2 from Andrew Pinski --- I wonder if we should only do this if it is single use ...

[Bug tree-optimization/95906] Failure to recognize max pattern with mask

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95906 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > cmp_8 = -_2; > _3 = cmp_8 & a_6(D); > We convert that into: > _2 * a_6(D); > > And then have: > _11 = _2 + -1; > _5 = b_7(D) & _11; > > This could be c

[Bug tree-optimization/83247] simplify (int)a_long < 0 when we know a_long fits in int

2025-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83247 Andrew Pinski changed: What|Removed |Added Attachment #55714|0 |1 is obsolete|

[Bug c/121181] ICE on x86_64-linux-gnu: in set_fini_priority, at symtab.cc:1903 with destructor

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121181 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/83247] simplify (int)a_long < 0 when we know a_long fits in int

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83247 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > (In reply to Andrew Pinski from comment #5) > > Some failures ... > > > > gnat.dg/opt86a.adb: pattern found 1 times > > FAIL: gnat.dg/opt86a.adb scan-tree-dump-t

[Bug tree-optimization/120867] [metabug] AutoFDO issues

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120867 Bug 120867 depends on bug 120859, which changed state. Bug 120859 Summary: FAIL: gcc.dg/tree-prof/afdo-crossmodule-1b.c compilation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120859 What|Removed |Added --

[Bug testsuite/120859] FAIL: gcc.dg/tree-prof/afdo-crossmodule-1b.c compilation

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120859 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/120555] [15/16 Regression] Use of auto func before deduction of auto

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120555 Andrew Pinski changed: What|Removed |Added CC||terryinzaghi at 163 dot com --- Comment

[Bug c++/121172] [15 Regression] error: use of 'static constexpr method...' before deduction of 'auto' WHEN upgrade to 15.1.0 : different writing order have different impact

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121172 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/121172] [15/16 Regression] error: use of 'static constexpr method...' before deduction of 'auto' WHEN upgrade to 15.1.0 : different writing order have different impact

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121172 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.2 Keywords|

[Bug tree-optimization/80635] [10 regression] std::optional and bogus -Wmaybe-uninitialized warning

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #72 from Andrew Pinski --- (In reply to Milian Wolff from comment #69) > Here's another test case that still emits warnings in latest GCC trunk as > available through godbolt: https://godbolt.org/z/cWaca3s5s I think this is PR 116090

[Bug libstdc++/121180] std::any allows for creating multiple empty objects of the same type at the same address

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121180 --- Comment #3 from Andrew Pinski --- Actually I think this is valid since std::any is in the tail padding of the base class of J here.

[Bug libstdc++/121180] std::any allows for creating multiple empty objects of the same type at the same address

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121180 --- Comment #2 from Andrew Pinski --- So is MSVC. So maybe this is a defect in the standard ...

[Bug libstdc++/121180] std::any allows for creating multiple empty objects of the same type at the same address

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121180 --- Comment #1 from Andrew Pinski --- LLVM's libc++ has the same behavior here ...

[Bug middle-end/109267] generates empty functions with .cfi_startproc/.cfi_endproc that conflict with other functions

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109267 --- Comment #12 from Andrew Pinski --- Update patch: https://gcc.gnu.org/pipermail/gcc-patches/2025-July/690018.html

[Bug tree-optimization/121173] false-positive Wmaybe-uninitialized in std::optional::reset()

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121173 --- Comment #2 from Andrew Pinski --- I am still trying to figure out how to reproduce this since using he trunk on x86_64-linux-gnu does not produce a warning and using GCC 10 from ubuntu 2204 also does not produce a warning.

[Bug middle-end/109267] generates empty functions with .cfi_startproc/.cfi_endproc that conflict with other functions

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109267 --- Comment #11 from Andrew Pinski --- ``` proc check_effective_target_trap { } { return [check_no_messages_and_pattern trap "!\\(call" rtl-expand { void foo () { return __builtin_trap (); } } "" ]

[Bug middle-end/109267] generates empty functions with .cfi_startproc/.cfi_endproc that conflict with other functions

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109267 Andrew Pinski changed: What|Removed |Added Attachment #61200|0 |1 is obsolete|

[Bug c++/121171] Improve diagnostic for parenthesized bit-field names

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121171 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/121176] Missed optimization: vectorization + inline

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121176 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIR

[Bug tree-optimization/121177] Possibly missed allocation elision

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121177 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|

[Bug libstdc++/121174] std::dextents was not exported from std module

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121174 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|std::dextents was

[Bug libstdc++/121174] std::dextents was not found, which prevented std::mdspan from specifying dimensions at runtime

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121174 --- Comment #2 from Andrew Pinski --- >import std; Oh wait, maybe it is because mdspan is not included in bits/std.cc yet.

[Bug libstdc++/121174] std::dextents was not found, which prevented std::mdspan from specifying dimensions at runtime

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121174 --- Comment #1 from Andrew Pinski --- Most likely this feature of c++26 has not been implemented yet ...

[Bug tree-optimization/121173] false-positive Wmaybe-uninitialized in std::optional::reset()

2025-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121173 --- Comment #1 from Andrew Pinski --- Might be related to pr 116090. Will try to reproduce tomorrow.

[Bug c++/121169] OpenACC allows members of strucs in OpenACC constructs. Nvidias nvc++ compiles them, gcc 15.1 rejects valid.

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169 --- Comment #3 from Andrew Pinski --- See https://forums.developer.nvidia.com/t/using-deviceptr-with-structs/136334 also. >member variables of structs Those not member variables but rather member fields and the only variables in your case is t

[Bug c++/121169] OpenACC allows members of strucs in OpenACC constructs. Nvidias nvc++ compiles them, gcc 15.1 rejects valid.

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

[Bug middle-end/121170] gcc refuses to compile if a struct member variable appears in an OpenAcc construct, which nvc++ accepts

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121170 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/121169] OpenACC allows members of strucs in OpenACC constructs. Nvidias nvc++ compiles them, gcc 15.1 rejects valid.

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169 --- Comment #1 from Andrew Pinski --- *** Bug 121170 has been marked as a duplicate of this bug. ***

[Bug sanitizer/104690] UBSan does not detect undefined behavior on function without a specified return value

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104690 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-07-19 Status|UNCONFIRM

[Bug c/111400] Missing return sanitization only works in C++

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111400 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug sanitizer/104690] UBSan does not detect undefined behavior on function without a specified return value

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104690 Andrew Pinski changed: What|Removed |Added CC||david at westcontrol dot com --- Commen

[Bug tree-optimization/121168] New: missed optimization with ubsan at -O3

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Blocks: 121165 Target Milestone: --- Take: ``` int f1(int a, char *p) { char y = 0; __SIZE_TYPE__ ttt = a != 0; if (ttt == 1

[Bug tree-optimization/121165] false positive Warray-bounds while building openmpt with -O3 -fsanitize=undefined

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121165 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug sanitizer/117881] Emit diagnostic note wrt FPs for middle-end warnings with sanitizers

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117881 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug sanitizer/121167] New: The documentation warning about fsanitize= and false warnings should be improved

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Keywords: documentation Severity: enhancement Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org

[Bug tree-optimization/121165] false positive Warray-bounds while building openmpt with -O3 -fsanitize=undefined

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121165 --- Comment #2 from Andrew Pinski --- Created attachment 61914 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61914&action=edit testcase Warnings happen with `-std=c++23 -O3 -W -Wall -fsanitize=undefined` but without `-fsanitize=undefined

[Bug tree-optimization/121165] false positive Warray-bounds while building openmpt with -O3 -fsanitize=undefined

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121165 Andrew Pinski changed: What|Removed |Added Summary|false positive |false positive |Warra

[Bug tree-optimization/121165] New: false positive Warray-bounds while building openmpt

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Blocks: 56456 Target Milestone: --- Originally reported via masterdon: https://hachyderm.io/@manx

[Bug libgcc/121149] [13/14/15/16 Regression] build broken for bpf in libgcc

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 --- Comment #7 from Andrew Pinski --- I think the canonical is the right fix. Most likely the other needs to be changed too. Of nobody gets to it before tomorrow i will handle it.

[Bug libgcc/121149] [13/14/15/16 Regression] build broken for bpf in libgcc

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 --- Comment #6 from Andrew Pinski --- Then maybe target_cannonical or something like that instead.

[Bug libgcc/121149] [13/14/15/16 Regression] build broken for bpf in libgcc

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|[16 Regression]

[Bug libgcc/121149] [16 Regression] build broken for bpf in libgcc

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libgcc/121149] [16 Regression] build broken for bpf in libgcc

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||pinskia at gcc dot gnu.org Summary|build broken for bpf in |[16 Regression] build |libgcc |broken for bpf in libgcc

[Bug testsuite/121153] [16 Regression] gcc.dg/vect/vect-reduc-cond-[12].c FAIL

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121153 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/121153] [16 Regression] gcc.dg/vect/vect-reduc-cond-[12].c FAIL

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121153 --- Comment #3 from Andrew Pinski --- vect_condition

[Bug middle-end/121158] Missed optimization for condition before access to union elements of the same layout

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

[Bug middle-end/121158] Missed optimization for condition before access to union elements of the same layout

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||pinskia at gcc dot gnu.org Severity|normal |enhancement Component|target |middle-end

[Bug target/121160] [16 Regression] RISC-V: ICE in 538.imagick with -O3 -ffast-math

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121160 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0 Summary|RISC-V: ICE in

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment #

[Bug middle-end/121159] [[noreturn]] pessimizes code size and performance

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 Andrew Pinski changed: What|Removed |Added Resolution|WONTFIX |DUPLICATE --- Comment #4 from Andrew Pi

[Bug middle-end/121159] [[noreturn]] pessimizes code size and performance

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |middle-end --- Comment #1 from Andrew P

[Bug testsuite/121153] [16 Regression] gcc.dg/vect/vect-reduc-cond-[12].c FAIL

2025-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||2025-07-18 Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED --- Comment #2 from Andrew Pinski --- Looks like i missed some testsuite dg-requires for the condition. Will look into which one

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #8 from Andrew Pinski --- (In reply to terryinzaghi from comment #5) > Created attachment 61900 [details] > auto-host.hWHEN do ./configure --disable-multilib This looks correct has the defines as expected. Do you have the full

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

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121148 --- Comment #8 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #7) > Nearly all the plain C++ code can be fixed just by compiling it with > -ftrapv, there's only one inline function where we can't control the > compiler flags th

[Bug target/121095] [15 Regression] Possibly unnecessary PRE pass on aarch64 for fpmr

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121095 Andrew Pinski changed: What|Removed |Added Summary|[15/16 Regression] Possibly |[15 Regression] Possibly

[Bug middle-end/117756] [13/14/15/16 Regression] ICE: in analyze_functions, at cgraphunit.cc:1404 with (invalid) extern nested function

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117756 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c/95145] [13/14/15/16 Regression]internal compiler error: in analyze_functions, at cgraphunit.c:1380

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95145 Andrew Pinski changed: What|Removed |Added CC||xieym3 at zohomail dot com --- Comment #

[Bug c/121140] [ICE] cc1: internal compiler error: in analyze_functions, at cgraphunit.cc:1418

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121140 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug middle-end/117756] [13/14/15/16 Regression] ICE: in analyze_functions, at cgraphunit.cc:1404

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117756 Andrew Pinski changed: What|Removed |Added CC||njuwy at smail dot nju.edu.cn --- Comme

[Bug middle-end/117756] [13/14/15/16 Regression] ICE: in analyze_functions, at cgraphunit.cc:1404

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117756 --- Comment #3 from Andrew Pinski --- Reduced to: ``` void bar ( void ) { extern inline void check3 ( void ) {} check3(); } ```

[Bug middle-end/121146] memcpy does not recognize alignas

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121146 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/121146] memcpy does not recognize alignas

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121146 --- Comment #1 from Andrew Pinski --- Adding: x = (B*)__builtin_assume_aligned (x, 16); y = (B*)__builtin_assume_aligned (y, 16); At the begining of the function fixes the issue ... There might be another bug about memcpy with argumen

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #4 from Andrew Pinski --- So auto-host.h should include the define: from config.in: ``` /* Define this to enable support for offloading. */ #ifndef USED_FOR_TARGET #undef ENABLE_OFFLOADING #endif ``` The correctly generated auto-ho

[Bug tree-optimization/120003] [13/14 Regression] missed optimization around a loop with a checker since r12-3453-g01b5038718056b

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120003 Bug 120003 depends on bug 121138, which changed state. Bug 121138 Summary: [16 Regression] missed optimization in the loop caused by r16-303-g1a13684dfc7286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138 What|Removed

[Bug tree-optimization/121138] [16 Regression] missed optimization in the loop caused by r16-303-g1a13684dfc7286

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug tree-optimization/121138] [16 Regression] missed optimization in the loop caused by r16-303-g1a13684dfc7286

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138 --- Comment #5 from Andrew Pinski --- So looking again, it just peeled off one iteration. So there is no missed-optimization. Can you explain why you think it is worse. Both are infinite loops too.

[Bug tree-optimization/121138] [16 Regression] missed optimization in the loop caused by r16-303-g1a13684dfc7286

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138 --- Comment #4 from Andrew Pinski --- >From the looks of it, the loop got copied.

[Bug tree-optimization/121138] [16 Regression] missed optimization in the loop caused by r16-303-g1a13684dfc7286

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-07-17 Ever confirmed|0

[Bug tree-optimization/121138] [16 Regression] missed optimization in the loop caused by r16-303-g1a13684dfc7286

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138 --- Comment #1 from Andrew Pinski --- This looks reduced too much.

[Bug middle-end/121136] Missed optimization: (x <= 0xFFFFF) in '-Os' mode can convert to ((x >> 20) == 0)

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121136 Andrew Pinski changed: What|Removed |Added Component|other |middle-end Keywords|

[Bug target/121095] [15/16 Regression] Possibly unnecessary PRE pass on aarch64 for fpmr

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121095 --- Comment #5 from Andrew Pinski --- (In reply to lucier from comment #4) > Thanks for the explanation. > > Now that I understand the issue better, this whole approach---hijacking and > hacking the PRE infrastructure to elide unnecessary reads

[Bug c++/121133] [13/14/15/16 Regression] __extension__ no longer silences the pedwarn for long long

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121133 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.5 Known to fail|

[Bug c++/121133] New: [13/14/15/16 Regression] __extension__ no longer silences the pedwarn for long long

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Take: ``` __extension__ typedef long long tt; ``` With `-std=c++98 -pedantic

[Bug preprocessor/121132] `__extension__` doesn't silence -pedantic warning for hex float in C++<17

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121132 Andrew Pinski changed: What|Removed |Added Depends on||71003 --- Comment #2 from Andrew Pinski

[Bug preprocessor/121132] `__extension__` doesn't silence -pedantic warning for hex float in C++<17

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121132 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/121131] ICE at O2: in as_a, at machmode.h:391

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

[Bug tree-optimization/121131] ICE at O2: in as_a, at machmode.h:391

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121131 Andrew Pinski changed: What|Removed |Added Known to fail||14.1.0 --- Comment #1 from Andrew Pinsk

[Bug tree-optimization/121130] [15/16 Regression] ICE at O2: in operator[], at vec.h:911

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121130 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-07-16 Status|UNCONFIRM

[Bug tree-optimization/121130] [15/16 Regression] ICE at O2: in operator[], at vec.h:911

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121130 Andrew Pinski changed: What|Removed |Added Known to work||14.3.0 Known to fail|

[Bug c/121129] [15/16 Regression] segmentation fault at process_init_element(unsigned long, c_expr, bool, obstack*)

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121129 Andrew Pinski changed: What|Removed |Added Summary|segmentation fault at |[15/16 Regression] |p

[Bug tree-optimization/121127] ICE at O2: in handle_operand_addr, at gimple-lower-bitint.cc:2525 with an uninitialized _BitInt and multiply

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121127 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Summary|IC

[Bug c++/121125] [13/14/15/16 Regression] ICE: canonical types differ for identical types 'auto

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121125 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.5

[Bug c++/121125] [13/14/15/16 Regression] ICE: canonical types differ for identical types 'auto

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121125 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-07-16 Status|UNCONFIRM

[Bug c/121100] [13/14/15/16 Regression] ICE: Segmentation fault at contains_struct_check

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121100 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/108953] inefficient codegen for trivial equality (defaulted operator==)

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108953 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > LLVM has a full pass that does this: > https://reviews.llvm.org/D33987 https://github.com/llvm/llvm-project/blob/b470ac419d7e8eec6c8a27539096e38a1751ee12/llvm/l

[Bug c/121111] [13/14/15/16 Regression] ICE: Segmentation fault with vector_size on array

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

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 121120, which changed state. Bug 121120 Summary: Missed vectorization of default struct equality operator https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121120 What|Removed |Added

[Bug c++/108953] inefficient codegen for trivial equality (defaulted operator==)

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108953 --- Comment #8 from Andrew Pinski --- *** Bug 121120 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/121120] Missed vectorization of default struct equality operator

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121120 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|WAITING

[Bug gcov-profile/121123] [16 regression] some gcc.misc-tests/gcov-*.c fail starting with r16-2197-g385d9937f0e23c

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121123 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug ipa/121112] alias and ifunc attribute together incorrectly causes inlining of the resolver

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121112 Andrew Pinski changed: What|Removed |Added Keywords|documentation |wrong-code Ever confirmed|0

[Bug c++/121117] Wrong overload resolution for function templates with packs

2025-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121117 --- Comment #1 from Andrew Pinski --- Created attachment 61884 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61884&action=edit testcase Please attach the testcase next time rather than just link to godbolt.

  1   2   3   4   5   6   7   8   9   10   >