[Bug target/107359] [aarch64] should avoid the punpklo/punpkhi compare to llvm

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107359 --- Comment #1 from Andrew Pinski --- Options: -O3 -march=armv8.2-a+sve

[Bug target/107316] [aarch64] Init big const value should be improved compare to llvm

2022-10-22 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107316 --- Comment #2 from vfdff --- (In reply to Andrew Pinski from comment #1) > I suspect this is just a dup of bug 106583 and will be fixed by the patch > which was submitted recently > (https://gcc.gnu.org/pipermail/gcc-patches/2022-October/603905

[Bug c/107359] New: [aarch64] should avoid the punpklo/punpkhi compare to llvm

2022-10-22 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107359 Bug ID: 107359 Summary: [aarch64] should avoid the punpklo/punpkhi compare to llvm Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/105823] -Wrestrict / -Wstringop-overflow / -Warray-bounds warnings for uninitialized values

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105823 --- Comment #1 from Andrew Pinski --- Note the parentheses changes from a xvalue to an rvalue in C++11+ IIRC which might be why there is an effect here ...

[Bug target/106095] Some AVX builtins produce invalid asm with -masm=intel

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

[Bug c++/104490] Cannot inherit consteval constructor

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

[Bug libstdc++/104056] --disable-hosted-libstdcxx does not work for x86_64-linux-gnu

2022-10-22 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104056 --- Comment #3 from cqwrteur --- Can --disable-hosted-libstdcxx disable Link tests are not allowed after GCC_NO_EXECUTABLES. on all targets???

[Bug c++/107358] [13 Regression] i686-linux: Since r13-3290-g98e341130f8798 code fails to build libjxl-0/7.0 (vector float code)

2022-10-22 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107358 --- Comment #3 from Sergei Trofimovich --- (In reply to Jakub Jelinek from comment #2) > Created attachment 53757 [details] > gcc13-pr107358.patch > > Untested fix. The proposed patch fixes libjxl-0.7.0 build for me.

[Bug c++/102258] dynamic_cast to derived type fails during constant evaluation

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102258 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/106107] dynamic_cast for polymorphic types fail within constant expression

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106107 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/106109] [12/13 Regression] ICE with auto and pointer to method

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.2 Summary|Internal compil

[Bug tree-optimization/101991] bit_and or bit_ior with an invariant inside loop is not pulled out of the loop

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

[Bug target/107356] -fcompare-debug failure (length) with -fsanitize=undefined

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107356 --- Comment #1 from Andrew Pinski --- long double uses x87 and reg-stack.cc still. So a target issue.

[Bug target/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 --- Comment #45 from Segher Boessenkool --- Yes, that is fine afaics.

[Bug c++/105774] Bogus overflow in constant expression with signed char++

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105774 --- Comment #4 from Andrew Pinski --- And one for short: constexpr signed short f(void){ signed short x = 0x7fff; return ++x; } int main() { constexpr auto _ = f(); }

[Bug c++/105774] Bogus overflow in constant expression with signed char++

2022-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105774 Andrew Pinski changed: What|Removed |Added Summary|Bogus overflow in constant |Bogus overflow in constant

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2022-10-22 Thread cgreeley at student dot bridgew.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 --- Comment #7 from Christopher Greeley --- Created attachment 53759 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53759&action=edit The pre processed header I tried to import into my module and the module code This is the preprocessed h

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2022-10-22 Thread cgreeley at student dot bridgew.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 --- Comment #6 from Christopher Greeley --- When I say the compiler segfaulted, it is similar too: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2022-10-22 Thread cgreeley at student dot bridgew.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 Christopher Greeley changed: What|Removed |Added CC||cgreeley at student dot bridgew.ed

[Bug preprocessor/88974] [9 Regression] ICE: Segmentation fault (in linemap_resolve_location)

2022-10-22 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88974 --- Comment #7 from David Binderman --- (In reply to Jakub Jelinek from comment #6) > And this updated patch, while it bootstrapped, had quite a few testsuite > regressions. So, I'm afraid I don't know where would in some cases the > src_loc be

[Bug tree-optimization/107342] Optimization opportunity where integer '/' corresponds to '>>'

2022-10-22 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107342 Aldy Hernandez changed: What|Removed |Added Attachment #53749|0 |1 is obsolete|

[Bug c++/107358] [13 Regression] i686-linux: Since r13-3290-g98e341130f8798 code fails to build libjxl-0/7.0 (vector float code)

2022-10-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107358 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2022-10-22 Status|UNCONFIRM

[Bug c++/107358] [13 Regression] i686-linux: Since r13-3290-g98e341130f8798 code fails to build libjxl-0/7.0 (vector float code)

2022-10-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107358 Jakub Jelinek changed: What|Removed |Added CC|jakub at redhat dot com| --- Comment #1 from Jakub Jelin

[Bug c++/106644] [C++23] P2468R2 - The Equality Operator You Are Looking For

2022-10-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106644 --- Comment #3 from Jakub Jelinek --- As for implementation, I'd say in call.cc (add_candidates) we could do something like: if ((flags & (LOOKUP_REWRITTEN | LOOKUP_REVERSE)) && DECL_OVERLOADED_OPERATOR_IS (fn, EQ_EXPR)) { } bef

[Bug c++/106644] [C++23] P2468R2 - The Equality Operator You Are Looking For

2022-10-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106644 --- Comment #2 from Jakub Jelinek --- The A-J cases are from the paper to be precise.

[Bug c++/107358] New: [13 Regression] i686-linux: Since r13-3290-g98e341130f8798 code fails to build libjxl-0/7.0 (vector float code)

2022-10-22 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107358 Bug ID: 107358 Summary: [13 Regression] i686-linux: Since r13-3290-g98e341130f8798 code fails to build libjxl-0/7.0 (vector float code) Product: gcc Version: 13.

[Bug c++/106644] [C++23] P2468R2 - The Equality Operator You Are Looking For

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

[Bug middle-end/106799] `forming offset [32, 36] is out of the bounds` error with precompiled headers

2022-10-22 Thread michal at sawicz dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106799 --- Comment #4 from michal at sawicz dot net --- Created attachment 53756 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53756&action=edit Preprocessed header source I believe that should be it.

[Bug other/107357] New: [RISC-V]RVV broken with zve32x/f

2022-10-22 Thread jiawei at iscas dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107357 Bug ID: 107357 Summary: [RISC-V]RVV broken with zve32x/f Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

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

2022-10-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107353 --- Comment #4 from Iain Sandoe --- Emulated TLS targets can test targetm.have_tls. The patch below fixes the fails on Fortran for x86_64-darwin, libgomp in test now. I do not really like that it means pulling in the whole of target.h, and ima

[Bug ada/107309] GNAT does not apply type conversion to dependent expressions of conditional expressions

2022-10-22 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107309 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug ada/107309] GNAT does not apply type conversion to dependent expressions of conditional expressions

2022-10-22 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107309 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug debug/107356] New: -fcompare-debug failure (length) with -fsanitize=undefined

2022-10-22 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107356 Bug ID: 107356 Summary: -fcompare-debug failure (length) with -fsanitize=undefined Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: compare-debug-failu

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

2022-10-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107353 Iain Sandoe changed: What|Removed |Added Host|powerpc64le-linux-gnu |powerpc64le-linux-gnu,*-*-d

[Bug fortran/107317] [10/11/12/13 Regression] ICE in emit_redzone_byte, at asan.cc:1508

2022-10-22 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107317 Thomas Koenig changed: What|Removed |Added Priority|P2 |P3