[Bug tree-optimization/102513] [10/11/12 Regression] Many false positive warnings with recursive function

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102513 --- Comment #2 from Andrew Pinski --- A simple workaround is to add at the begining of the function: if (level == 0) return 0; What I found is since we don't run loop copy header until after IPA-CP, we get some interesting IR where we don't jum

[Bug tree-optimization/102902] [12 Regression] -O3 produces code that uses an uninitialized variable but originally was not used by r12-3876

2021-11-24 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102902 --- Comment #6 from Zhendong Su --- Hi Richard, I just noticed that this issue was mis-categorized as a duplicate of 102920, which was filed later. It's not very important, but it would probably be nice to correctly label the issues in the bug t

[Bug fortran/103389] [9/10/11/12 Regression] ICE in estimate_move_cost, at tree-inline.c:4191 since r9-5784-ga3df90b9672562d0

2021-11-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103389 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2021-11-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 Martin Liška changed: What|Removed |Added Summary|[12 Regression] ICE:|[12 Regression] ICE: |

[Bug fortran/103391] [9/10/11/12 Regression] ICE: gimplification failed since r7-4021-g574284e9c49687d8

2021-11-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103391 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug fortran/103392] [9/10/11 Regression] ICE in simplify_bound, at fortran/simplify.c:4273

2021-11-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103392 Martin Liška changed: What|Removed |Added Summary|[9/10/11/12 Regression] ICE |[9/10/11 Regression] ICE in

[Bug fortran/103392] [9/10/11 Regression] ICE in simplify_bound, at fortran/simplify.c:4273

2021-11-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103392 --- Comment #6 from Martin Liška --- @Anlauf: Heh, you fixed faster than I made bisection :P

[Bug tree-optimization/102902] [12 Regression] -O3 produces code that uses an uninitialized variable but originally was not used by r12-3876

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102902 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug tree-optimization/102902] [12 Regression] -O3 produces code that uses an uninitialized variable but originally was not used by r12-3876

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102902 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/103388] [12 Regression] missed optimization for dead code elimination at -O3 (trunk vs 11.2.0)

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103388 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug c++/103402] New: Compile-time less/more comparison of a pointer vs nullptr

2021-11-24 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103402 Bug ID: 103402 Summary: Compile-time less/more comparison of a pointer vs nullptr Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug fortran/103389] [9/10/11/12 Regression] ICE in estimate_move_cost, at tree-inline.c:4191 since r9-5784-ga3df90b9672562d0

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103389 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.5 Priority|P3

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Priority|P3

[Bug fortran/103391] [9/10/11/12 Regression] ICE: gimplification failed since r7-4021-g574284e9c49687d8

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103391 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.5 Priority|P3

[Bug fortran/103392] [9/10/11 Regression] ICE in simplify_bound, at fortran/simplify.c:4273

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103392 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.5

[Bug tree-optimization/103345] missed optimization: add/xor individual bytes to form a word

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103345 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:04eccbbe3d9a4e9d2f8f43dba8ac4cb686029fb2 commit r12-5492-g04eccbbe3d9a4e9d2f8f43dba8ac4cb686029fb2 Author: Jakub Jelinek Date: W

[Bug tree-optimization/103376] [12 Regression] wrong code at -Os and above on x86_64-linux-gnu since r12-5453-ga944b5dec3adb28e

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103376 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:04eccbbe3d9a4e9d2f8f43dba8ac4cb686029fb2 commit r12-5492-g04eccbbe3d9a4e9d2f8f43dba8ac4cb686029fb2 Author: Jakub Jelinek Date: W

[Bug tree-optimization/103376] [12 Regression] wrong code at -Os and above on x86_64-linux-gnu since r12-5453-ga944b5dec3adb28e

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103376 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/103393] [12 Regression] Generating 256bit register usage with -mprefer-avx128 -mprefer-vector-width=128

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103393 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Ever confirmed|0

[Bug c++/103402] Compile-time less/more comparison of a pointer vs nullptr

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

[Bug middle-end/103365] [12 Regression] ICE in register_scoped_attribute, with attribute starting with underscore: -Wno-attributes=n::_a or #pragma GCC diagnostic ignored_attributes "n::_a"

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103365 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:709716b9f49f2fcf46f319000562cf6e61bd2f71 commit r12-5493-g709716b9f49f2fcf46f319000562cf6e61bd2f71 Author: Jakub Jelinek Date: W

[Bug middle-end/103365] [12 Regression] ICE in register_scoped_attribute, with attribute starting with underscore: -Wno-attributes=n::_a or #pragma GCC diagnostic ignored_attributes "n::_a"

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103365 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

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

[Bug libstdc++/103340] [12 Regression] constexpr std::string is incompatible with --enable-libstdcxx-allocator

2021-11-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103340 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > Making the others work isn't difficult. HA! Making them usable in constexpr wasn't difficult, but analysing the test results and realising that they're com

[Bug middle-end/103384] [OpenMP] declare variant with device={kind(nohost)} does not use GPU, kind(gpu) works

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103384 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5bca26742cf3357bf4e20ec97eee4c7f7de17ce0 commit r12-5494-g5bca26742cf3357bf4e20ec97eee4c7f7de17ce0 Author: Jakub Jelinek Date: W

[Bug c++/103401] gcc accepts decltype(auto(0)) as the parameter of the function

2021-11-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/103403] New: Decltype of rvalue reference

2021-11-24 Thread enricomaria.dean6elis at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103403 Bug ID: 103403 Summary: Decltype of rvalue reference Product: gcc Version: 11.2.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal Priority: P3

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 --- Comment #3 from Jakub Jelinek --- Note, in qemu it isn't just those newlines but simply a long inline asm. It can very well be something that is empty or very short in the .text section, e.g. can .pushsection; .section whatever; put lots of

[Bug c++/103401] [11/12 Regression] gcc accepts decltype(auto(0)) as the parameter of the function

2021-11-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401 Jonathan Wakely changed: What|Removed |Added Summary|gcc accepts |[11/12 Regression] gcc

[Bug c++/78209] Decltype of rvalue reference

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78209 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0

[Bug rtl-optimization/103404] New: ICE: SIGSEGV in insert_with_costs (cse.c:1569) with custom flags

2021-11-24 Thread zsojka at seznam dot cz via Gcc-bugs
model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211124 (experimental) (GCC)

[Bug c++/103403] Decltype of rvalue reference

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103403 --- Comment #1 from Andrew Pinski --- This is a totally different issue and unrelated issue from PR 78209

[Bug c++/103403] [11/12 Regression] auto return type with a trailing return type of decl(auto) uses rvalue reference type instead of reference type

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103403 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3 Ever confirmed|0

[Bug libstdc++/103340] [12 Regression] constexpr std::string is incompatible with --enable-libstdcxx-allocator

2021-11-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103340 --- Comment #4 from Jonathan Wakely --- Created attachment 51866 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51866&action=edit Make all allocator base classes constexpr This patch would make bitmap_allocator, __mt_alloc and __pool_allo

[Bug middle-end/103384] [OpenMP] declare variant with device={kind(nohost)} does not use GPU, kind(gpu) works

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103384 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/103193] gcc for x86_64: wrong code generation: ucomiss instead of comiss

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d9ca2ca381e44a332703155d07b50b84aa21f80d commit r12-5495-gd9ca2ca381e44a332703155d07b50b84aa21f80d Author: Richard Biener Date:

[Bug ada/103405] New: [12 Regression] c67005c FAILs

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103405 Bug ID: 103405 Summary: [12 Regression] c67005c FAILs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assi

[Bug ada/103405] [12 Regression] c67005c FAILs

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103405 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, |

[Bug middle-end/103193] gcc for x86_64: wrong code generation: ucomiss instead of comiss

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193 Richard Biener changed: What|Removed |Added Known to work||12.0 --- Comment #8 from Richard Biene

[Bug ada/103405] [12 Regression] c67005c FAILs

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103405 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/103403] [11/12 Regression] auto return type with a trailing return type of decl(auto) uses rvalue reference type instead of reference type

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103403 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/103404] ICE: SIGSEGV in insert_with_costs (cse.c:1569) with custom flags

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103404 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug ada/103405] [12 Regression] c67005c FAILs

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103405 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug ipa/103405] [12 Regression] c67005c FAILs

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103405 Andrew Pinski changed: What|Removed |Added Component|ada |ipa CC|

[Bug ipa/103405] [12 Regression] c67005c FAILs

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103405 --- Comment #4 from Andrew Pinski --- DSE removes a few stores even though they are used in the check. _18 = .gnat_malloc (4); MEM[(integer *)_18] = 1; ;; this one FRAME.2.i = _18; _17 = .gnat_malloc (4); MEM[(integer *)_17] = 0; ;; t

[Bug rtl-optimization/103404] ICE: SIGSEGV in insert_with_costs (cse.c:1569) with custom flags

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103404 --- Comment #2 from Richard Biener --- Program received signal SIGSEGV, Segmentation fault. 0x028071dc in insert_with_costs (x=0x76739090, classp=0x0, hash=13, mode=E_SImode, cost=0, reg_cost=1) at /home/rguenther/src/gcc3/g

[Bug rtl-optimization/103404] ICE: SIGSEGV in insert_with_costs (cse.c:1569) with custom flags

2021-11-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103404 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug testsuite/103244] [12 regression] c-c++-common/goacc/firstprivate-mappings-1.c fails on arm since g:b7e20480630e3eeb9eed8b3941da3b3f0c22c969

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103244 --- Comment #2 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:fdd34569e7a9fc2b6c638a7ef62b965ed7e832ce commit r12-5498-gfdd34569e7a9fc2b6c638a7ef62b965ed7e832ce Author: Thomas Schwinge Date:

[Bug ipa/103405] [12 Regression] c67005c FAILs

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103405 --- Comment #5 from Andrew Pinski --- C testcase: typedef __SIZE_TYPE__ size_t; void *malloc(size_t); static inline int *starter(int a) { int *b = malloc(sizeof(int)); *b = a; return b; } static inline _Bool equal(int *l, int *r) {

[Bug ipa/103405] [12 Regression] c67005c FAILs

2021-11-24 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103405 Jan Hubicka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org

[Bug c/103406] New: gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 Bug ID: 103406 Summary: gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above Product: gcc Version: 11.1.0 Status: UNCONFIRMED Sev

[Bug testsuite/103244] [12 regression] c-c++-common/goacc/firstprivate-mappings-1.c fails in certain configurations since g:b7e20480630e3eeb9eed8b3941da3b3f0c22c969

2021-11-24 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103244 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Summary|[12 regre

[Bug ipa/103405] [12 Regression] c67005c FAILs with -fipa-modref

2021-11-24 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103405 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org

[Bug c/103406] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 --- Comment #1 from Andrew Pinski --- This is interesting. The trunk does 0.0 for both -O0 and -O1. ICC also does 0.0 for both -O0 and -O1 and -0.0 for -O2. clang does -nan for -O1, -O2 and -O0 MSVC does nan for /O2 and /O1 (7ff8) a

[Bug c/103406] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 --- Comment #2 from Uroš Bizjak --- gcc/libgcc/config/i386/sfp-machine.h says: /* Here is something Intel misdesigned: the specs don't define the case where we have two NaNs with same mantissas, but different sign. Different operations pi

[Bug rtl-optimization/103404] ICE: SIGSEGV in insert_with_costs (cse.c:1569) with custom flags

2021-11-24 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103404 Tamar Christina changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug c/103406] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 --- Comment #3 from Andrew Pinski --- Hmm, the trunk is constant folding (maybe wrong?). We used to get for 11.1.0: _1 = 1.79769313486231570814527423731704356798070567525844996599e+308 * 2.0e+0; _2 = 1.79769313486231570814527423731704356798

[Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #18 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:6180f5c8d6d1dc7b6634c41a46f0f8f5ca2e5b9d commit r12-5499-g6180f5c8d6d1dc7b6634c41a46f0f8f5ca2e5b9d Author: Richard Biener Date:

[Bug libstdc++/103086] [11 Regression] std::unique_ptr printer gets confused by [[no_unique_address]] in tuple

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103086 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fa1ea255dba2d44ff22e434ed3d7778e8aaf4b91 commit r11-9275-gfa1ea255dba2d44ff22e434ed3d7778e8aaf4b91 Author: Jonathan Wake

[Bug libstdc++/100117] FAIL testsuite/17_intro/headers/c++1998/49745.cc with trunk glibc

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100117 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:176e55cc28a61b7b246bd9e16ffeaa31367a8985 commit r11-9277-g176e55cc28a61b7b246bd9e16ffeaa31367a8985 Author: Jonathan Wake

[Bug libstdc++/49745] error: ‘int truncate’ redeclared as different kind of symbol

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745 --- Comment #24 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:176e55cc28a61b7b246bd9e16ffeaa31367a8985 commit r11-9277-g176e55cc28a61b7b246bd9e16ffeaa31367a8985 Author: Jonathan Wake

[Bug libstdc++/100153] Undefined behavior in stl_bvector.h

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100153 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c04b0f63243d4d474daa66f84874ebf6b9e7b0cd commit r11-9281-gc04b0f63243d4d474daa66f84874ebf6b9e7b0cd Author: Jonathan Wake

[Bug libstdc++/98421] std::span does not detect invalid range in Debug Mode

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98421 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:238fd13380838ad57d199f3e9ca1d5403f33d381 commit r11-9291-g238fd13380838ad57d199f3e9ca1d5403f33d381 Author: Jonathan Wakel

[Bug libstdc++/102894] make_any is not SFINAE-friendly

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102894 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:88d481c9ee1e6a24dc11ab56d8688308e0211855 commit r11-9293-g88d481c9ee1e6a24dc11ab56d8688308e0211855 Author: Jonathan Wake

[Bug libstdc++/98725] Review what is disabled in libstdc++ by --disable-wchar_t

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98725 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ecc43c92151141e3e862a344f753516dc6d5d967 commit r11-9295-gecc43c92151141e3e862a344f753516dc6d5d967 Author: Jonathan Wake

[Bug libstdc++/98421] std::span does not detect invalid range in Debug Mode

2021-11-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98421 Jonathan Wakely changed: What|Removed |Added Target Milestone|12.0|11.3

[Bug testsuite/100748] [12 regression] 30_threads/jthread/95989.cc fails after r12-843

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100748 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:293075002a7eaf1e9d457a1839bcaf83f8626824 commit r11-9301-g293075002a7eaf1e9d457a1839bcaf83f8626824 Author: Jonathan Wak

[Bug libstdc++/103133] Binary built with -static using std::thread crashes

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:293075002a7eaf1e9d457a1839bcaf83f8626824 commit r11-9301-g293075002a7eaf1e9d457a1839bcaf83f8626824 Author: Jonathan Wake

[Bug c/103406] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

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

[Bug libstdc++/103133] Binary built with -static using std::thread crashes

2021-11-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/103407] New: [12 regression] abi_check FAILs on Solaris

2021-11-24 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 Bug ID: 103407 Summary: [12 regression] abi_check FAILs on Solaris Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libst

[Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris

2021-11-24 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 Rainer Orth changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c/103406] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 --- Comment #5 from Richard Biener --- We are folding (1.79769313486231570814527423731704356798070567525844996599e+308 * 2.0e+0) - (1.79769313486231570814527423731704356798070567525844996599e+308 * 2.0e+0) to 0.0 via (simplify (minus @0 @0)

[Bug c/103406] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 Richard Biener changed: What|Removed |Added CC||sayle at gcc dot gnu.org --- Comment #

[Bug middle-end/103406] [12 Regression] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 Richard Biener changed: What|Removed |Added Summary|gcc -O0 behaves differently |[12 Regression] gcc -O0

[Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Keywords|

[Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

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

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

2021-11-24 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 --- Comment #4 from Richard Earnshaw --- I suspect the best we're likely to be able to do is to downgrade the ICE into an error if there's a long inline ASM in the code, much like the way we handle invalid constraints in inline ASMs.

[Bug libstdc++/101263] non-propagating-cache::emplace-deref missing constexpr

2021-11-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101263 --- Comment #9 from Jonathan Wakely --- Fixed on trunk. It can't be backported without also backporting r12-1068 to fix PR100368.

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 --- Comment #5 from Jakub Jelinek --- That will still mean qemu will not compile. I admit I know next to nothing about the arm minipool stuff, but can't whatever needs to be inserted be inserted either before or after the inline asm, if it is ne

[Bug middle-end/103406] [12 Regression] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/103396] [12 Regression][GCN][BUILD] ICE RTL check: access of elt 4 of vector with last elt 3 in move_callee_saved_registers, at config/gcn/gcn.c:2821

2021-11-24 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103396 Andrew Stubbs changed: What|Removed |Added Last reconfirmed||2021-11-24 Status|UNCONFIRM

[Bug libstdc++/103407] [12 regression] abi_check FAILs on Solaris

2021-11-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407 --- Comment #1 from Jonathan Wakely --- (In reply to Rainer Orth from comment #0) > * something else This one! :-) Patrick is in the process of replacing my janky std::from_chars implementation with something faster and more standards-conformi

[Bug ipa/103227] [12 Regression] 58% exchange2 regression with -Ofast -march=native on zen3 since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

2021-11-24 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103227 --- Comment #12 from Martin Jambor --- Some testing is still underway, but I have proposed the patch (with one minor testsuite change) on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/585337.html

[Bug middle-end/103406] [12 Regression] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 --- Comment #8 from Richard Biener --- And the -nan vs. nan is because we fold x + -y to x - y: /* We can't reassociate at all for saturating types. */ (if (!TYPE_SATURATING (type)) /* Contract negates. */ /* A + (-B) -> A - B */ (simplif

[Bug middle-end/103406] [12 Regression] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 --- Comment #9 from Richard Biener --- simplify_binary_operation_1 has /* ((-a) + b) -> (b - a) and similarly for (a + (-b)). These transformations are safe even for IEEE. */ if (GET_CODE (op0) == NEG) return simp

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

2021-11-24 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 --- Comment #6 from Richard Earnshaw --- It depends on the the reference. Some minipool references can only be forwards due to the nature of the instruction making the reference. I'll need to take a look, and I might also need a real testcase,

[Bug middle-end/103406] [12 Regression] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 Richard Biener changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment #

[Bug target/103395] [9/10/11/12 Regression] ICE on qemu in arm create_fix_barrier

2021-11-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 --- Comment #7 from Jakub Jelinek --- Created attachment 51867 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51867&action=edit qemuice.i.xz Unreduced preprocessed source.

[Bug middle-end/103059] [12 regression][VAX] ICE in postreload with the ASHIFT form of scaled indexed addressing

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103059 --- Comment #1 from CVS Commits --- The master branch has been updated by Maciej W. Rozycki : https://gcc.gnu.org/g:29e1cbdc0c6e7d3de10478ef2b881900545c2a55 commit r12-5500-g29e1cbdc0c6e7d3de10478ef2b881900545c2a55 Author: Maciej W. Rozycki D

[Bug middle-end/103059] [12 regression][VAX] ICE in postreload with the ASHIFT form of scaled indexed addressing

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103059 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Maciej W. Rozycki : https://gcc.gnu.org/g:78421afafde5156d6d4c6c7073653e4b92f88e3d commit r11-9306-g78421afafde5156d6d4c6c7073653e4b92f88e3d Author: Maciej W. R

[Bug middle-end/103059] [12 regression][VAX] ICE in postreload with the ASHIFT form of scaled indexed addressing

2021-11-24 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103059 Maciej W. Rozycki changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/103393] [12 Regression] Generating 256bit register usage with -mprefer-avx128 -mprefer-vector-width=128

2021-11-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103393 --- Comment #2 from H.J. Lu --- (In reply to Richard Biener from comment #1) > It isn't the vectorizer but memmove inline expansion. I'm not sure it's > really a bug, but there isn't a way to disable %ymm use besides disabling > AVX entirely. >

[Bug target/103393] [12 Regression] Generating 256bit register usage with -mprefer-avx128 -mprefer-vector-width=128

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103393 Richard Biener changed: What|Removed |Added CC||rearnsha at gcc dot gnu.org --- Commen

[Bug c++/92145] -Wdeprecated-copy false-positive when inheriting base assignment operators

2021-11-24 Thread nok.raven at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92145 --- Comment #3 from Nikita Kniazev --- (In reply to Marek Polacek from comment #2) > Fixed? It is fixed on trunk but still presented in every release (since the fix landed 9.4 and 11.2 were released). I assume it was not backported, could you pl

[Bug tree-optimization/103231] [12 Regression] ICE (nondeterministic/stack overflow) on valid code at -O1 on x86_64-linux-gnu: Segmentation fault since r12-5014-g6b8b959675a3e14c

2021-11-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103231 --- Comment #13 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:5deacf6058d1bc7261a75c9fd1f116c4442e9e60 commit r12-5505-g5deacf6058d1bc7261a75c9fd1f116c4442e9e60 Author: Andrew MacLeod Date:

[Bug tree-optimization/103231] [12 Regression] ICE (nondeterministic/stack overflow) on valid code at -O1 on x86_64-linux-gnu: Segmentation fault since r12-5014-g6b8b959675a3e14c

2021-11-24 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103231 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/103376] [12 Regression] wrong code at -Os and above on x86_64-linux-gnu since r12-5453-ga944b5dec3adb28e

2021-11-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103376 --- Comment #10 from Roger Sayle --- Many thanks to Jakub for the speedy fix (and Richard B for the speedy review), and my apologies for the inconvenience. As diagnosed by Jakub, I hadn't realized that the bswap pass was performing additional o

[Bug c++/103403] [11/12 Regression] auto return type with a trailing return type of decl(auto) uses rvalue reference type instead of reference type

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103403 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/103401] [11/12 Regression] gcc accepts decltype(auto(0)) as the parameter of the function

2021-11-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103401 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

  1   2   3   >