[Bug target/105435] clang warning about Wtautological-constant-compare for a target macro

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

[Bug c++/105436] [13 Regression] parse error with >= operator expression in template argument list in C++14 mode since r13-40

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105436 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/105447] argument passing of packed struct causes aligned read of non-packed struct size with information leak

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105447 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-*

[Bug libstdc++/105441] [12/13 Regression] The floating point overload of from_chars ignores 'P' for hex format

2022-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105441 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:576f975cabb0fd9843de152a2d247d486a967b08 commit r13-69-g576f975cabb0fd9843de152a2d247d486a967b08 Author: Patrick Palka Date:

[Bug libstdc++/103911] std::from_chars shouldn't call isdigit

2022-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103911 --- Comment #6 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:86d821ddf5615e693ead667b2580898f46de8eb9 commit r13-70-g86d821ddf5615e693ead667b2580898f46de8eb9 Author: Patrick Palka Date:

[Bug tree-optimization/104240] SLP discovery does not consider swapping comparisons

2022-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104240 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:41e3db05d697405256b6002d8432955a93d249f1 commit r13-71-g41e3db05d697405256b6002d8432955a93d249f1 Author: Richard Biener Date:

[Bug tree-optimization/104240] SLP discovery does not consider swapping comparisons

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104240 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 104240, which changed state. Bug 104240 Summary: SLP discovery does not consider swapping comparisons https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104240 What|Removed |Added

[Bug tree-optimization/104265] Missed vectorization in 526.blender_r

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104265 Bug 104265 depends on bug 104240, which changed state. Bug 104240 Summary: SLP discovery does not consider swapping comparisons https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104240 What|Removed |Added

[Bug c++/105452] New: static_assert inside nameless nested union: invalid "inaccessible within this context" error

2022-05-02 Thread foobarandfoo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105452 Bug ID: 105452 Summary: static_assert inside nameless nested union: invalid "inaccessible within this context" error Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c++/105436] [13 Regression] parse error with >= operator expression in template argument list in C++14 mode since r13-40

2022-05-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105436 --- Comment #6 from Sergei Trofimovich --- Noticed similar build failure on llvm-13: [ 1%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o In file included from

[Bug tree-optimization/105451] miss optimizations due to inconsistency in complex numbers associativity

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105451 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/105441] [12/13 Regression] The floating point overload of from_chars ignores 'P' for hex format

2022-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105441 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4a6d7da796e456115bbac92e056123f095a3780c commit r12-8327-g4a6d7da796e456115bbac92e056123f095a3780c Author: Patrick Palka

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

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105437 Richard Biener changed: What|Removed |Added Known to fail||11.3.1, 12.0 Known to work|

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

2022-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105437 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3a3eda000fdf4f8754c9a2535191091f1db0c2a2 commit r13-66-g3a3eda000fdf4f8754c9a2535191091f1db0c2a2 Author: Richard Biener Date:

[Bug debug/105415] [9/10/11/12 Regression] '-fcompare-debug' failure w/ -O2 -ftree-parallelize-loops=2 since r7-4900-g59ec925b1199f9

2022-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105415 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11/12/13 Regression] |[9/10/11/12 Regression]

[Bug tree-optimization/105451] New: miss optimizations due to inconsistency in complex numbers associativity

2022-05-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105451 Bug ID: 105451 Summary: miss optimizations due to inconsistency in complex numbers associativity Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug debug/105415] [9/10/11/12/13 Regression] '-fcompare-debug' failure w/ -O2 -ftree-parallelize-loops=2 since r7-4900-g59ec925b1199f9

2022-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105415 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:02f03c5c826d0cb7c32398af0c4282921e6e072a commit r13-68-g02f03c5c826d0cb7c32398af0c4282921e6e072a Author: Jakub Jelinek Date:

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 --- Comment #13 from Jakub Jelinek --- I think this is quite related to the PR98465 discussions. The warning is on dead code, for basic_string at least when using reasonable allocators the _M_dataplus._M_p member will always point either into

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/105438] Incorrect array-bounds warning with array size carried over from a previous template instantiation

2022-05-02 Thread bernie at codewiz dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105438 --- Comment #3 from Bernie Innocenti --- Not sure if this is helpful, but the IPA dump also shows two calls to configure() with N=7 and none with N=2: IPA function summary for int main()/3 inlinable global time: 26.00 self size:

[Bug tree-optimization/105437] [11/12/13 Regression] ICE on GIMPLE pass slp when vectorizer is enabled

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105437 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug ipa/105438] Incorrect array-bounds warning with array size carried over from a previous template instantiation

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105438 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|c++

[Bug c/105444] Support for disabling all warnings

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105444 Richard Biener changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/105438] Incorrect array-bounds warning with array size carried over from a previous template instantiation

2022-05-02 Thread bernie at codewiz dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105438 --- Comment #4 from Bernie Innocenti --- Furthermore, after the inline pass main() has a reference to the shorter array with an annotation of int[7], which is clearly wrong: [local count: 939524097]: _5 = MEM[(const int[7] &)][i_4];

[Bug c++/105438] Incorrect array-bounds warning with array size carried over from a previous template instantiation

2022-05-02 Thread bernie at codewiz dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105438 --- Comment #2 from Bernie Innocenti --- GCC 12.0.1 20220413 (Red Hat 12.0.1-0) gives a more helpful diagnostic with inlining backtrace: In function ‘void configure(const int (&)[N], int) [with int N = 7]’, inlined from ‘void

[Bug ipa/105438] [11/12/13 Regression] Incorrect array-bounds warning with array size carried over from a previous template instantiation

2022-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105438 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.4 Summary|Incorrect

[Bug target/105447] argument passing of packed struct causes aligned read of non-packed struct size with information leak

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105447 --- Comment #2 from Richard Biener --- clang 11 produces movlg_32(%rip), %eax movlg_32+4(%rip), %edi shlq$32, %rdi orq %rax, %rdi callq f1 which does the same just in a less efficient

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 --- Comment #15 from Jakub Jelinek --- Note, while the patch makes the warning go away, it exports _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcmPKcmm@@GLIBCXX_3.4.21

[Bug c++/101133] [coroutines] co_await doesn't accept a valid awaitable object if await_resume()'s return type is not a built-in type.

2022-05-02 Thread s_gccbugzilla at nedprod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101133 Niall Douglas changed: What|Removed |Added CC||s_gccbugzilla at nedprod dot com ---

[Bug c/105453] New: wrong choice of source in load instruction

2022-05-02 Thread absoler at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105453 Bug ID: 105453 Summary: wrong choice of source in load instruction Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug rtl-optimization/105455] New: ICE: verify_flow_info failed (error: verify_flow_info: REG_BR_PROB does not match cfg)

2022-05-02 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105455 Bug ID: 105455 Summary: ICE: verify_flow_info failed (error: verify_flow_info: REG_BR_PROB does not match cfg) Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/105454] New: DWARF has wrong decl_line for type defined inside program

2022-05-02 Thread nils-christian.kempke at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105454 Bug ID: 105454 Summary: DWARF has wrong decl_line for type defined inside program Product: gcc Version: 9.4.1 Status: UNCONFIRMED Keywords: wrong-debug

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

2022-05-02 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105456 Bug ID: 105456 Summary: Child I/O does not propage iostat Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Target

[Bug tree-optimization/104336] bogus -Wrestrict for std::string assignment with

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/84774] [meta-bug] bogus/missing -Wrestrict

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84774 Bug 84774 depends on bug 104336, which changed state. Bug 104336 Summary: bogus -Wrestrict for std::string assignment with https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336 What|Removed |Added

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 Richard Biener changed: What|Removed |Added CC||jwakely at redhat dot com --- Comment

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 Richard Biener changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 --- Comment #11 from Richard Biener --- (In reply to Richard Biener from comment #10) > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336#c1 contains a workaround > for libstdc++ Maybe _GLIBCXX20_CONSTEXPR basic_string&

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 --- Comment #12 from Richard Biener --- (In reply to Richard Biener from comment #11) > (In reply to Richard Biener from comment #10) > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336#c1 contains a workaround > > for libstdc++ > > Maybe

[Bug rtl-optimization/105453] load introduced by ce1 for conditional loads at -O1, might cause issues with the C/C++ memory model

2022-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105453 Andrew Pinski changed: What|Removed |Added Summary|wrong choice of source in |load introduced by ce1 for

[Bug c++/105457] New: error: '__builtin_huge_valq()' is not a constant expression

2022-05-02 Thread zhonghao at pku dot org.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105457 Bug ID: 105457 Summary: error: '__builtin_huge_valq()' is not a constant expression Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105457] error: '__builtin_huge_valq()' is not a constant expression

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

[Bug c++/105324] std::from_chars() assertion at floating_from_chars.cc:78 when parsing 1.11111111....

2022-05-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105324 --- Comment #6 from Jonathan Wakely --- It should depend on: #if __cpp_lib_to_chars >= 201611L

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-05-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 --- Comment #17 from Jonathan Wakely --- That's valid

[Bug rtl-optimization/105459] New: ICE: Segmentation fault (in record_operand_costs)

2022-05-02 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 Bug ID: 105459 Summary: ICE: Segmentation fault (in record_operand_costs) Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug tree-optimization/105458] New: [12/13 Regression] ICE in set_relation, at value-relation.cc:609

2022-05-02 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105458 Bug ID: 105458 Summary: [12/13 Regression] ICE in set_relation, at value-relation.cc:609 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 --- Comment #16 from Jakub Jelinek --- (In reply to Richard Biener from comment #11) > Maybe > > _GLIBCXX20_CONSTEXPR > basic_string& > assign(const _CharT* __s) > { > __glibcxx_requires_string(__s); >

[Bug c++/105324] std::from_chars() assertion at floating_from_chars.cc:78 when parsing 1.11111111....

2022-05-02 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105324 Alexandre Oliva changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Bug testsuite/105433] FAIL: gcc.target/i386/iamcu/test_3_element_struct_and_unions.c

2022-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105433 --- Comment #1 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:7e1f30d7edd433ca0fc28ae9ac1ce9b522790baf commit r13-75-g7e1f30d7edd433ca0fc28ae9ac1ce9b522790baf Author: H.J. Lu Date: Fri Apr 29

[Bug c/105453] wrong choice of source in load instruction

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

[Bug c/105453] wrong choice of source in load instruction

2022-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105453 Andrew Pinski changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

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

2022-05-02 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105456 Thomas Koenig changed: What|Removed |Added Blocks||105361 Keywords|