[Bug ipa/101362] can_change_signature does not consider 'used' attribute

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101362 --- Comment #3 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > In particular can_change_signature is one of the keys for > ix86_function_regparm to use local calling conventions on i?86 So looking through the code on i386

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-04-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #8 from Kewen Lin --- Hi @Michael, @Martin, could you help to confirm/clarify what triggers you to be interested in this feature, is it for some user space usage or not?

[Bug target/114544] New: [x86] stv should transform (subreg DI (V1TI) 8) as (vec_select:DI (V2DI) (const_int 1))

2024-04-01 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114544 Bug ID: 114544 Summary: [x86] stv should transform (subreg DI (V1TI) 8) as (vec_select:DI (V2DI) (const_int 1)) Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/114544] [x86] stv should transform (subreg DI (V1TI) 8) as (vec_select:DI (V2DI) (const_int 1))

2024-04-01 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114544 --- Comment #1 from Hongtao Liu --- 20590;; Turn SImode or DImode extraction from arbitrary SSE/AVX/AVX512F 20591;; vector modes into vec_extract*. 20592(define_split 20593 [(set (match_operand:SWI48x 0 "nonimmediate_operand") 20594(sub

[Bug target/114544] [x86] stv should transform (subreg DI (V1TI) 8) as (vec_select:DI (V2DI) (const_int 1))

2024-04-01 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114544 --- Comment #2 from Hongtao Liu --- Also for void foo2 (v128_t* a, v128_t* b) { c = (*a & *b)+ *b; } (insn 9 8 10 2 (set (reg:V1TI 108 [ _3 ]) (and:V1TI (reg:V1TI 99 [ _2 ]) (mem:V1TI (reg:DI 113) [1 *a_6(D)+0 S16 A128])

[Bug tree-optimization/114545] New: [11/12/13/14 Regression] Missed optimization for CSE

2024-04-01 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114545 Bug ID: 114545 Summary: [11/12/13/14 Regression] Missed optimization for CSE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/114537] bit_cast does not work NSDMI of bitfields

2024-04-01 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114537 --- Comment #1 from Fedor Chelnokov --- Probably related: ``` #include struct A { int a: 7; }; static_assert( 1 == std::bit_cast(std::bit_cast(A{1})).a ); ``` It looks valid and accepted by MSVC, but GCC prints: error: '__builtin_bit_cast' ac

[Bug tree-optimization/114546] New: Missed optimization: ~m || n || m+2 ==> 1

2024-04-01 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114546 Bug ID: 114546 Summary: Missed optimization: ~m || n || m+2 ==> 1 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-o

[Bug fortran/114535] [13/14 regression] ICE with elemental finalizer

2024-04-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114535 --- Comment #4 from Paul Thomas --- Created attachment 57839 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57839&action=edit "Fix" for this PR Even though no entities of type 'vs' are being referenced in subroutine iss, gfortran currentl

[Bug ipa/114531] Feature proposal for an `-finline-functions-aggressive` compiler option

2024-04-01 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114531 --- Comment #7 from Rama Malladi --- (In reply to Rama Malladi from comment #5) > (In reply to Andrew Pinski from comment #3) > > Also do you have numbers with lto enabled? Or is these without lto? > > > > Does LTO improve the situation for Env

[Bug target/112919] LoongArch: Alignments in tune parameters are not precise and they regress performance

2024-04-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #20 from Xi Ruoyao --- (In reply to chenglulu from comment #19) > (In reply to Xi Ruoyao from comment #18) > > (In reply to chenglulu from comment #17) > > > > > The results of spec2006 on LA464 are: > > > -falign-labels=4 -falign-f

[Bug analyzer/104042] Four memcpy/memset analyzer failures on darwin

2024-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104042 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:a5bc8abef90874e81783e0fa34db133da71d1133 commit r13-8548-ga5bc8abef90874e81783e0fa34db133da71d1133 Author: Francois-Xavier

[Bug target/112919] LoongArch: Alignments in tune parameters are not precise and they regress performance

2024-04-01 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #21 from chenglulu --- (In reply to Xi Ruoyao from comment #20) > (In reply to chenglulu from comment #19) > > (In reply to Xi Ruoyao from comment #18) > > > (In reply to chenglulu from comment #17) > > > > > > > The results of spec

[Bug c++/114537] bit_cast does not work NSDMI of bitfields

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114537 --- Comment #2 from Andrew Pinski --- (In reply to Fedor Chelnokov from comment #1) > Probably related: > ``` > #include > > struct A { int a: 7; }; > > static_assert( 1 == std::bit_cast(std::bit_cast(A{1})).a ); > ``` > It looks valid and ac

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-04-01 Thread giuliano.belinassi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #9 from Giuliano Belinassi --- Hello, Kewen. (In reply to Kewen Lin from comment #8) > Hi @Michael, @Martin, could you help to confirm/clarify what triggers you to > be interested in this feature, is it for some user space usage or

[Bug c++/114479] [14 Regression] std::is_array_v changed from false to true in GCC 14

2024-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114479 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/114479] [14 Regression] std::is_array_v changed from false to true in GCC 14

2024-04-01 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114479 Arthur O'Dwyer changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com ---

[Bug bootstrap/105474] GCC fails to bootstrap with --disable-libstdcxx

2024-04-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105474 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/114547] New: missed-optimization: use sign flag

2024-04-01 Thread goon.pri.low at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114547 Bug ID: 114547 Summary: missed-optimization: use sign flag Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug middle-end/114547] missed-optimization: use sign flag

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114547 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Se

[Bug modula2/114548] New: gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 Bug ID: 114548 Summary: gm2 fails to identify variable in a const expression Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 --- Comment #2 from Gaius Mulley --- This is true for many of the standard procedure functions.

[Bug middle-end/114547] comparison than less than 0 (or greater or equal to than 0) after a subtraction does not use the flags regster

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114547 Andrew Pinski changed: What|Removed |Added Summary|missed-optimization: use|comparison than less than 0

[Bug c++/110338] Implement C++26 language features

2024-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 114455, which changed state. Bug 114455 Summary: [C++26] P2748R5 - Disallow binding a returned reference to a temporary https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114455 What|Removed

[Bug c++/114455] [C++26] P2748R5 - Disallow binding a returned reference to a temporary

2024-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114455 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/114547] comparison than less than 0 (or greater or equal to than 0) after a subtraction does not use the flags regster

2024-04-01 Thread goon.pri.low at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114547 --- Comment #2 from gooncreeper --- (In reply to Andrew Pinski from comment #1) > I am not sure this is always better ... sets and setns are 1 uop, just like any other setcc why wouldn't it be better?

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 --- Comment #3 from Gaius Mulley --- Created attachment 57840 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57840&action=edit Proposed fix Here is a proposed patch (which fixes all the standard procedure function const/var parameter chec

[Bug tree-optimization/114546] Missed optimization: ~m || n || m+2 ==> 1

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114546 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug tree-optimization/114546] Missed optimization: ~m || n || m+2 ==> 1

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

[Bug c++/114549] New: GCC >= 10.1 selects the wrong overload of C++20 reversed operator== function

2024-04-01 Thread cpeterson at mozilla dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114549 Bug ID: 114549 Summary: GCC >= 10.1 selects the wrong overload of C++20 reversed operator== function Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity:

[Bug c++/114549] [11/12/13 Regression] GCC >= 10.1 selects the wrong overload of C++20 reversed operator== function

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114549 Andrew Pinski changed: What|Removed |Added Known to fail||10.1.0, 13.1.0, 13.2.0 Summa

[Bug c++/114549] [11/12/13 Regression] GCC >= 10.1 selects the wrong overload of C++20 reversed operator== function

2024-04-01 Thread cpeterson at mozilla dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114549 Chris Peterson changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/114549] [11/12/13 Regression] GCC >= 10.1 selects the wrong overload of C++20 reversed operator== function

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114549 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-04-01 Resolution|FIXED

[Bug c++/114549] [11/12/13 Regression] GCC >= 10.1 selects the wrong overload of C++20 reversed operator== function

2024-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114549 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org K

[Bug sanitizer/114494] false-positive with -O2 -Wstringop-overflow=2 -fsanitize=address

2024-04-01 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114494 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 --- Comment #4 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:4bd2f59af4a78cdc80039cffa51c1d9ad91081a3 commit r14-9739-g4bd2f59af4a78cdc80039cffa51c1d9ad91081a3 Author: Gaius Mulley Date: Mon

[Bug modula2/114548] gm2 fails to identify variable in a const expression

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

[Bug ada/114550] New: Weird error when iterating over a character container.

2024-04-01 Thread p.p11 at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114550 Bug ID: 114550 Summary: Weird error when iterating over a character container. Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug tree-optimization/114551] New: wrong code at -O3 on x86_64-linux-gnu

2024-04-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.1 20240401 (experimental) (GCC) [588] % [588] % gcctk -O2 small.c; ./a.out [589] % [589] % gcctk -O3 small.c [590] % ./a.out

[Bug tree-optimization/114552] New: wrong code at -O1 and above on x86_64-linux-gnu

2024-04-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.1 20240401 (experimental) (GCC) [657] % [657] % gcctk -O0 small.c; ./a.out [658] % [658] % gcctk -O1 small.c [659] % ./a.out Segmentation

[Bug tree-optimization/114552] wrong code at -O1 and above on x86_64-linux-gnu

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114552 --- Comment #1 from Andrew Pinski --- Not this might not be a bug as pragma pack(1) changes the alignment of the fields.

[Bug middle-end/114552] [13/14 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114552 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.3 Last reconfirmed|

[Bug fortran/106987] [11/12/13/14 Regression] ICE in simplify_intrinsic_op, at fortran/expr.cc:1305

2024-04-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106987 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #6 from

[Bug tree-optimization/114551] [14 Regression] wrong code at -O3 on x86_64-linux-gnu

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114551 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Target|

[Bug tree-optimization/114545] [11/12/13/14 Regression] Missed optimization for CSE

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114545 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.5 Keywords|

[Bug tree-optimization/114545] [11/12/13/14 Regression] Missed optimization for CSE

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114545 --- Comment #1 from Andrew Pinski --- I am not sure this is worse. In the GCC 7 case we have: ``` sub eax, DWORD PTR a[rip] mov edx, eax ... neg edx ``` While in GCC 8+ we get: ``` movl%e

[Bug c++/111132] [11/12/13/14 Regression] Function redeclaration in local scope breaks constant expression evaluation

2024-04-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug target/35294] iwmmxt intrinsics, internal compiler error

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35294 Andrew Pinski changed: What|Removed |Added Known to work||5.1.0 Status|NEW

[Bug rtl-optimization/41188] move_invariant_reg() damages CBRANCH instructions with CLOBBER attribute

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41188 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug rtl-optimization/41188] move_invariant_reg() damages CBRANCH instructions with CLOBBER attribute

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41188 --- Comment #15 from Andrew Pinski --- (In reply to Andrew Pinski from comment #14) > (In reply to Joseph S. Myers from comment #13) > > ARC support has been removed for GCC 4.7, but it looks like there's an issue > > here potentially relevant to

[Bug rtl-optimization/43809] ICE on unconditional divide trap

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

[Bug target/63902] ix86_valid_target_attribute_tree frees memory still being used

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

[Bug target/71652] [5/6/7 Regression] ICE in in ix86_target_macros_internal, at config/i386/i386-c.c:187

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71652 Andrew Pinski changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #

[Bug middle-end/80411] DCE vs. offloading

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80411 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libgomp/83046] ICE in nvptx offloading, C++ compilation of libgomp.oacc-c-c++-common/gang-static-2.c

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83046 --- Comment #21 from Andrew Pinski --- *** Bug 80411 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/79688] ICE with a RTL test-case and -O1 provided

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79688 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking --- Comment #4 from Andrew

[Bug analyzer/101713] -Wanalyzer-malloc-leak false positive with GNU coreutils hash table code

2024-04-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101713 Eric Gallager changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/114553] New: Undefined symbol in directory_iterator move assignment operator with -Os

2024-04-01 Thread toni.lammi at kone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114553 Bug ID: 114553 Summary: Undefined symbol in directory_iterator move assignment operator with -Os Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: nor

[Bug libstdc++/114553] Undefined symbol in directory_iterator move assignment operator with -Os

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114553 --- Comment #1 from Andrew Pinski --- Just FYI. this is the uninclude example: ``` #include "filesystem" namespace fs = std::filesystem; int main() { auto iter = fs::directory_iterator(); iter = fs::directory_iterator(); } ``` Because thi

[Bug c/100661] ICE in omp-low.c / refs_may_alias_p_2, at tree-ssa-alias.c:2460 with nested function in OMP region

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100661 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/85000] OpenMP and nested functions

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85000 --- Comment #3 from Andrew Pinski --- *** Bug 100661 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/85426] ICE in patch_jump_insn, at cfgrtl.c:1271

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85426 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-04-02 Known to fail|

[Bug c/114554] New: In O2-3 optimization, this code runs in an infinite loop.

2024-04-01 Thread nmodnation at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114554 Bug ID: 114554 Summary: In O2-3 optimization, this code runs in an infinite loop. Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal P

[Bug c/114554] In O2-3 optimization, this code runs in an infinite loop.

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

[Bug c/114554] In O2-3 optimization, this code runs in an infinite loop.

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114554 --- Comment #2 from Andrew Pinski --- Plus I get the following warnings at -O2: In function 'wyrand', inlined from 'main' at :84:5: :76:7: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] 76 | *p1 += 325

[Bug c/114554] In O2-3 optimization, this code runs in an infinite loop.

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114554 --- Comment #3 from Andrew Pinski --- Also didn't you read https://gcc.gnu.org/bugs/ or even what is mentioned on the bug entry web page? https://gcc.gnu.org/bugs/ says: Before reporting that GCC compiles your code incorrectly, compile it with g

[Bug c/114554] In O2-3 optimization, this code runs in an infinite loop.

2024-04-01 Thread nmodnation at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114554 --- Comment #4 from nmodnation n --- I apologize for taking up your time because of my mistake. I will be careful from next time. thank you 2024년 4월 2일 (화) 오후 3:35, pinskia at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org>님이 작성: > https://gcc.gnu

[Bug c/31128] __builtin_stack_restore/__builtin_stack_save should not be exposed to the user

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31128 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill