[Bug c++/107378] `get_if` implementation "is not a constant expression"

2022-10-24 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107378 --- Comment #3 from Johel Ernesto Guerrero Peña --- MSVC accepts https://godbolt.org/z/nheYz9aez. ```C++ static_assert([i = 0] { return &i != nullptr; }()); ``` ``` : In lambda function: :1:35: warning: the address of 'i' will never be NULL [-

[Bug middle-end/107385] [asm goto] "=r" vs "+r" for outputs along indirect edges

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

[Bug tree-optimization/107386] New: gcc/tree-core.h:588:3: error: element 'OMP_MEMORY_ORDER_UNSPECIFIED' has been implicitly assigned 0 which another element has been assigned [-Werror,-Wduplicate-enu

2022-10-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107386 Bug ID: 107386 Summary: gcc/tree-core.h:588:3: error: element 'OMP_MEMORY_ORDER_UNSPECIFIED' has been implicitly assigned 0 which another element has been assigned

[Bug c/16186] gcc should have an option to warn about enumerations with duplicate values

2022-10-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16186 Martin Liška changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/107380] ICE in coarray_check, at fortran/check.cc:694

2022-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107380 --- Comment #1 from anlauf at gcc dot gnu.org --- Very likely a duplicate. There is a known issue when an attribute of a class variable is given after the declaration.

[Bug tree-optimization/107386] gcc/tree-core.h:588:3: error: element 'OMP_MEMORY_ORDER_UNSPECIFIED' has been implicitly assigned 0 which another element has been assigned [-Werror,-Wduplicate-enum]

2022-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107386 --- Comment #1 from Andrew Pinski --- The value is correct here though. Both should be 0.

[Bug middle-end/107370] long double sqrtl constant folding is wrong

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

[Bug middle-end/105768] Missed optimization: shifting signed to unsigned range before comparison not removed

2022-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105768 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/107386] gcc/tree-core.h:588:3: error: element 'OMP_MEMORY_ORDER_UNSPECIFIED' has been implicitly assigned 0 which another element has been assigned [-Werror,-Wduplicate-enum]

2022-10-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107386 --- Comment #2 from Jakub Jelinek --- Seems the warning is just badly designed. There is nothing wrong in tree-core.h.

[Bug tree-optimization/107386] gcc/tree-core.h:588:3: error: element 'OMP_MEMORY_ORDER_UNSPECIFIED' has been implicitly assigned 0 which another element has been assigned [-Werror,-Wduplicate-enum]

2022-10-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107386 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread orzel at freehackers dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 --- Comment #7 from Thomas Capricelli --- (In reply to Martin Liška from comment #4) > > there's also this command available: > > What command does produce that? Sorry, was supposed to be in the copy/pasted text: sys-apps/cpuid / http://www.e

[Bug c++/106363] [13 Regression] [modules] Can't selectively reexport imported declaration in same namespace

2022-10-24 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106363 Johel Ernesto Guerrero Peña changed: What|Removed |Added Summary|[modules] Can't selectively |[13 Regression] [modules]

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #6 from jacob navia --- mpfr_init2 (m, SIGNIFICAND_BITS); How much is that SIGNIFICAND_BITS? I guess that is the problem.

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #7 from jacob navia --- mpfr_init2 (m, SIGNIFICAND_BITS); How much is that SIGNIFICAND_BITS? I guess that is the problem.

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #8 from joseph at codesourcery dot com --- On Mon, 24 Oct 2022, jacob at jacob dot remcomp.fr via Gcc-bugs wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 > > --- Comment #3 from jacob navia --- > 1 trunk gcc: > 2

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #9 from jacob navia --- Actually, this looks that a bug in all versions of gcc! Using the "GP" calculator I obtain: 1.414213562373095048801688724209698078 Using the "bc" calculator ~ % bc bc 1.06 Copyright 1991-1994, 1997, 1998, 200

[Bug c++/106363] [13 Regression] [modules] ICE using-declaration of imported name in the same namespace

2022-10-24 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106363 Johel Ernesto Guerrero Peña changed: What|Removed |Added Known to work||12.2.0 Known to fail

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #10 from jacob navia --- Please let's use 30 digits after the decimal point not 20. Long double gives 32 digits with 128 bits.

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #11 from jacob navia --- Please let's use 30 digits after the decimal point not 20. Long double gives 32 digits with 128 bits.

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread orzel at freehackers dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 Thomas Capricelli changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #12 from Jakub Jelinek --- I have to agree with Joseph (on x86_64-linux I get): #define _GNU_SOURCE #include #include int main () { volatile _Float128 x = __builtin_sqrtf128(2.0f128); char buf[256]; strfromf128 (buf, 128, "%

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #13 from Jakub Jelinek --- glibc math.h has: # define M_SQRT2f128__f128 (1.414213562373095048801688724209698079) /* sqrt(2) */

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 Martin Liška changed: What|Removed |Added CC||hjl at gcc dot gnu.org --- Comment #9 fr

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #14 from Jakub Jelinek --- (In reply to jacob navia from comment #7) > mpfr_init2 (m, SIGNIFICAND_BITS); > > How much is that SIGNIFICAND_BITS? I guess that is the problem. 160 for 32-bit hosts, 192 for 64-bit hosts.

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 --- Comment #10 from H.J. Lu --- The fix should be backported to release branches.

[Bug c/107387] New: gcc trunk -O2 crashes when enable UBSan

2022-10-24 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107387 Bug ID: 107387 Summary: gcc trunk -O2 crashes when enable UBSan Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/107387] [13 Regression] gcc trunk -O2 crashes when enable UBSan

2022-10-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107387 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-10-24 Summary|gcc trunk

[Bug other/107353] [13 regression] Numerous ICEs after r13-3416-g1d561e1851c466

2022-10-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107353 --- Comment #5 from Segher Boessenkool --- Please revert until it is fixed? It breaks way too many targets.

[Bug c++/107378] `get_if` implementation "is not a constant expression"

2022-10-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107378 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug tree-optimization/107387] [13 Regression] gcc trunk -O2 crashes when enable UBSan

2022-10-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107387 Marek Polacek changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org Co

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread orzel at freehackers dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 Thomas Capricelli changed: What|Removed |Added Version|10.0|unknown --- Comment #11 from Thomas

[Bug analyzer/106300] RFE: analyzer support for more ways of obtaining an open file descriptor

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106300 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:792f039fc37faa3446725a643c8018f084e8ccab commit r13-3466-g792f039fc37faa3446725a643c8018f084e8ccab Author: David Malcolm Date: M

[Bug analyzer/107345] - -Wanayzer-null-dereference false positive with giving weird path infomation

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107345 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:18faaeb3af42f3d7dc609b9b91df77d0d59b16f6 commit r13-3468-g18faaeb3af42f3d7dc609b9b91df77d0d59b16f6 Author: David Malcolm Date: M

[Bug analyzer/107366] ICE with -fanalyzer with -fdiagnostics-format=sarif-file or sarif-stderr

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107366 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:2e8a0553918adc919f98ac5c0224fc6ce1fef68d commit r13-3469-g2e8a0553918adc919f98ac5c0224fc6ce1fef68d Author: Martin Liska Date: Mo

[Bug analyzer/107349] [13 Regression] ICE in get_va_copy_arg, at analyzer/varargs.cc:175

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107349 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:687d11fd74e7de724d46d3e0c58eb012db93ec2b commit r13-3470-g687d11fd74e7de724d46d3e0c58eb012db93ec2b Author: David Malcolm Date: M

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #15 from jacob navia --- > Le 24 oct. 2022 à 22:21, jakub at gcc dot gnu.org > a écrit : > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 > > --- Comment #12 from Jakub Jelinek --- > I have to agree with Joseph (on x86_64

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #16 from jacob navia --- Sorry but the program I used was compiled with gcc. It suffers from lack of precision too. In ANY case, in decimal now, the square root of 2 is 1.414 213 562 373 095 048 801 688 724 209 698 078 GP PARI calcu

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #17 from jacob navia --- Sorry but the program I used was compiled with gcc. It suffers from lack of precision too. In ANY case, in decimal now, the square root of 2 is 1.414 213 562 373 095 048 801 688 724 209 698 078 GP PARI calcu

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #18 from jacob navia --- I can’t reply you because you do not accept accented characters, just plain ascii, and my mailer uses a French Accentuated character to say « You wrote » and the whole message is translated into mime/html. I

[Bug analyzer/106003] RFE: -fanalyzer could complain about misuse of file-descriptors

2022-10-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106003 Bug 106003 depends on bug 106300, which changed state. Bug 106300 Summary: RFE: analyzer support for more ways of obtaining an open file descriptor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106300 What|Removed

[Bug analyzer/106300] RFE: analyzer support for more ways of obtaining an open file descriptor

2022-10-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106300 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #19 from jacob navia --- Sorry but the program I used was compiled with gcc. It suffers from lack of precision too. In ANY case, in decimal now, the square root of 2 is 1.414 213 562 373 095 048 801 688 724 209 698 078 GP PARI calcu

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #20 from Jakub Jelinek --- All I'm arguing is that everything I see from gcc seems to be correct. 30 digits precision is not enough for IEEE quad, 36 is enough. If I try your sqrt (2^255) case on x86_64, I see: #define _GNU_SOURCE #i

[Bug analyzer/107345] - -Wanayzer-null-dereference false positive with giving weird path infomation

2022-10-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107345 --- Comment #3 from David Malcolm --- Fixed on trunk for GCC 13 by the above patch. Keeping open for backporting to GCC 12.

[Bug analyzer/107366] ICE with -fanalyzer with -fdiagnostics-format=sarif-file or sarif-stderr

2022-10-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107366 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #21 from jacob navia --- When I post I come to a page MIDAIR COLLISION DETECTED and that provokes these repeated messages Sorry but there is a bug in the bug reporting software... Gosh! :-)

[Bug analyzer/107349] [13 Regression] ICE in get_va_copy_arg, at analyzer/varargs.cc:175

2022-10-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107349 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #22 from jacob navia --- (In reply to Jakub Jelinek from comment #20) > All I'm arguing is that everything I see from gcc seems to be correct. > 30 digits precision is not enough for IEEE quad, 36 is enough. > If I try your sqrt (2^2

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #23 from Jakub Jelinek --- > OK, but you are NOT RUNNING IN AN ARM 64 do you? Because that's the machine > I am using... So that would point to glibc's printf then. Try to use %a to see the hex values, those are much more easily ver

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread jacob at jacob dot remcomp.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #24 from jacob navia --- Sorry, you are right. This is a terrible mistake FROM MY PART! I am using the raspberry pi through ssh and I had several shells open, using my Macintosh ARM 64 as the machine where I started those shells. B

[Bug middle-end/107370] long double sqrtl constant folding is wrong

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

[Bug middle-end/107370] long double sqrtl constant folding is wrong

2022-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107370 --- Comment #26 from Andrew Pinski --- (In reply to Andrew Pinski from comment #25) > Note the darwin (mac OS X) aarch64 (arm64) ABI says long double is 64bits. > It would be implemented that way even in GCC for Mac OS X ARM64. > clang/llvm for

[Bug libgcc/105708] libgcc: aarch64: init_lse_atomics can race with user-defined constructors

2022-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105708 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/107378] `get_if` implementation "is not a constant expression"

2022-10-24 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107378 --- Comment #5 from Johel Ernesto Guerrero Peña --- I think so. My actual use case looks like `constexpr auto v = E;` at global scope, where `E` creates a temporary with a subobject of `std::variant`. Wrapping `E` in an IILE is a workaround for

[Bug c++/107388] New: GCC should diagnose unsigned to signed conversion with -Wconversion

2022-10-24 Thread nikolasklauser at berlin dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107388 Bug ID: 107388 Summary: GCC should diagnose unsigned to signed conversion with -Wconversion Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/107388] GCC should diagnose unsigned to signed conversion with -Wconversion

2022-10-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107388 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/107388] GCC should diagnose unsigned to signed conversion with -Wconversion

2022-10-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107388 Marek Polacek changed: What|Removed |Added Resolution|INVALID |WORKSFORME

[Bug libstdc++/107376] regex executor requires allocator to be default constructible

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

[Bug libstdc++/107367] All standard library algorithms should optimize to pointers internally when they are contiguous iterators after C++20

2022-10-24 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107367 --- Comment #2 from cqwrteur --- (In reply to cqwrteur from comment #1) > This optimization will prevent duplications of templates over iterators and > pointers. (vector::iterator and int* duplications for example) > > For example: > > https:/

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Liska : https://gcc.gnu.org/g:d771f7c8fb780243abf5a333435cde05c20f017d commit r11-10334-gd771f7c8fb780243abf5a333435cde05c20f017d Author: Martin Liska

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 --- Comment #13 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Liska : https://gcc.gnu.org/g:4db0753959dc7aeff567c689be6c4eb611aea8ee commit r12-8863-g4db0753959dc7aeff567c689be6c4eb611aea8ee Author: Martin Liska D

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Liska : https://gcc.gnu.org/g:7cee6ad35eb0fd9f79100e5fa7b6560b8ea7fe10 commit r10-11058-g7cee6ad35eb0fd9f79100e5fa7b6560b8ea7fe10 Author: Martin Liska

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 --- Comment #15 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:f3f000b7689ce9eb6364808072025672af1e4e1b commit r13-3472-gf3f000b7689ce9eb6364808072025672af1e4e1b Author: Martin Liska Date: Tu

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 --- Comment #16 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Liska : https://gcc.gnu.org/g:6b01a5dca7f766f1bfeff969e8f089c6992aef88 commit r11-10335-g6b01a5dca7f766f1bfeff969e8f089c6992aef88 Author: Martin Liska

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 --- Comment #17 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Liska : https://gcc.gnu.org/g:2a2093a9d40b5bc97b970fca9c02ff64056f3ed0 commit r12-8864-g2a2093a9d40b5bc97b970fca9c02ff64056f3ed0 Author: Martin Liska D

[Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native

2022-10-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 --- Comment #18 from Martin Liška --- (In reply to H.J. Lu from comment #10) > The fix should be backported to release branches. Done.

[Bug testsuite/107338] new test case gcc.dg/vect/vect-bitfield-read-7.c in r13-3413-ge10ca9544632db fails

2022-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107338 --- Comment #5 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:958014f369c8817184af110f8eb2c433a712fd0a commit r13-3474-g958014f369c8817184af110f8eb2c433a712fd0a Author: Kewen Lin Date: Tue Oct 2

[Bug tree-optimization/107338] new test case gcc.dg/vect/vect-bitfield-read-7.c in r13-3413-ge10ca9544632db fails

2022-10-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107338 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/54346] combine permutations

2022-10-24 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54346 --- Comment #9 from Hongtao.liu --- (In reply to Hongtao.liu from comment #7) > (In reply to Marc Glisse from comment #6) > > The log says that this breaks tree-ssa/forwprop-19.c, but I don't see any > > xfail or anything. Does it only fail becau

[Bug other/107353] [13 regression] Numerous ICEs after r13-3416-g1d561e1851c466

2022-10-24 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107353 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug other/107353] [13 regression] Numerous ICEs after r13-3416-g1d561e1851c466

2022-10-24 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107353 --- Comment #7 from Arseny Solokha --- (In reply to Alexander Monakov from comment #6) > Presumably powerpc64le doesn't use emutls, so there might be two issues. I have it on x86_64-pc-linux-gnu…

[Bug c++/107378] `get_if` implementation "is not a constant expression"

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

[Bug c++/85944] Address of temporary bound to a function parameter at global scope not considered constexpr

2022-10-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 Richard Biener changed: What|Removed |Added CC||johelegp at gmail dot com --- Comment #

[Bug c++/107382] [13 Regression] ICE in cp_common_type, at cp/typeck.cc:436

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

[Bug c++/107383] [13 Regression] ICE in cp_build_binary_op, at cp/typeck.cc:6181

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

<    1   2