[Bug debug/104517] '-fcompare-debug' failure w/ -O1 -fopenmp -fno-tree-ter

2022-02-12 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104517 --- Comment #1 from Arseny Solokha --- Created attachment 52430 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52430=edit gkd diff

[Bug debug/104517] New: '-fcompare-debug' failure w/ -O1 -fopenmp -fno-tree-ter

2022-02-12 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104517 Bug ID: 104517 Summary: '-fcompare-debug' failure w/ -O1 -fopenmp -fno-tree-ter Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug c/104510] [9/10/11/12 Regression] ICE: 'verify_gimple' failed: mismatching comparison operand types in verify_gimple_in_seq()

2022-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104510 Andrew Pinski changed: What|Removed |Added Known to fail||5.1.0 Summary|ICE:

[Bug c/104510] ICE: 'verify_gimple' failed: mismatching comparison operand types in verify_gimple_in_seq()

2022-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104510 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-02-13

[Bug c/104491] gcc: internal compiler error: Segmentation fault signal terminated program cc1

2022-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104491 --- Comment #2 from Andrew Pinski --- Also please read https://gcc.gnu.org/bugs/ and add the requested information from that page.

[Bug c/104505] ICE: SIGSEGV in c_pretty_printer::postfix_expression() on invalid code

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

[Bug target/103008] poor inlined builtin_fmod on x86_64

2022-02-12 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103008 --- Comment #14 from Uroš Bizjak --- Created attachment 52428 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52428=edit Proposed patch The attached patch implements: fmod (a, p) = a - trunc (a/p) * p drem (a, p) = a - roundeven (a/p) *

[Bug c++/102637] "Error: ‘reinterpret_cast’ is not a constant expression" when no reinterpret_cast is involved

2022-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102637 Andrew Pinski changed: What|Removed |Added Known to fail||4.6.4, 4.7.1, 4.8.1, 4.9.0,

[Bug c++/104514] add feature to create a pointer to a fixed address as constexpr

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

[Bug target/83670] [9/10/11/12 Regression] m32c ICE in leaf_function_p, at final.c:4368

2022-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83670 Andrew Pinski changed: What|Removed |Added CC||joel at gcc dot gnu.org --- Comment #6

[Bug target/81804] m32c ICE during configure at leaf_function_p, at final.c:4317

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

[Bug target/81804] m32c ICE during configure at leaf_function_p, at final.c:4317

2022-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81804 Andrew Pinski changed: What|Removed |Added CC||rykong at tpg dot com.au --- Comment #2

[Bug target/104516] internal compiler error: in leaf_function_p, at final.c:4491

2022-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104516 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/104516] New: internal compiler error: in leaf_function_p, at final.c:4491

2022-02-12 Thread rykong at tpg dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104516 Bug ID: 104516 Summary: internal compiler error: in leaf_function_p, at final.c:4491 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/102276] -ftrivial-auto-var-init fails to initialize a variable, causes a spurious warning

2022-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102276 Andrew Pinski changed: What|Removed |Added CC||nsz at gcc dot gnu.org --- Comment #5

[Bug middle-end/104504] spurious -Wswitch-unreachable warning with -ftrivial-auto-var-init=zero

2022-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104504 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug rtl-optimization/104515] New: trivially-destructible destructors interfere with loop optimization - maybe related to lifetime-dse.

2022-02-12 Thread gcc at rabensky dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104515 Bug ID: 104515 Summary: trivially-destructible destructors interfere with loop optimization - maybe related to lifetime-dse. Product: gcc Version: og11 (devel/omp/gcc-11)

[Bug sanitizer/104449] [9/10/11 Regression] ICE: verify_gimple failed: dead statement in EH table with -fexceptions -fsanitize=address -fstack-check=generic

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

[Bug sanitizer/104449] [9/10/11/12 Regression] ICE: verify_gimple failed: dead statement in EH table with -fexceptions -fsanitize=address -fstack-check=generic

2022-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104449 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f0c7367b8802c47efaad87b1f2126fe6350d8b47 commit r12-7214-gf0c7367b8802c47efaad87b1f2126fe6350d8b47 Author: Jakub Jelinek Date:

[Bug middle-end/102276] -ftrivial-auto-var-init fails to initialize a variable, causes a spurious warning

2022-02-12 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102276 --- Comment #4 from Kees Cook --- The kernel keeps gaining more of these cases, so it'll be important to get this fixed: https://lore.kernel.org/lkml/200fe5cb203ad5cc00c5c60b7ded2cd85c9b85ea.ca...@perches.com/

[Bug c++/104513] [12 Regression] goto cdtor_label failures on arm since r12-5256

2022-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104513 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug middle-end/104504] spurious -Wswitch-unreachable warning with -ftrivial-auto-var-init=zero

2022-02-12 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104504 --- Comment #4 from Kees Cook --- (Ah, I knew this had been reported before. I found it now...) Duplicate of: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102276

[Bug libstdc++/104508] _GLIBCXX_ASSERTIONS gets ignored with clang with -std=c++2b

2022-02-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104508 --- Comment #2 from cqwrteur --- (In reply to Jonathan Wakely from comment #1) > Not a valid bug report: https://gcc.gnu.org/bugs > > Not a GCC problem anyway. Do you mean it is a clang problem?

[Bug ada/99360] [12 regression] ICE in generalized iteration

2022-02-12 Thread charlet at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99360 Arnaud Charlet changed: What|Removed |Added Target Milestone|11.3|12.0 CC|

[Bug ada/99360] [12 regression] ICE in generalized iteration

2022-02-12 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99360 --- Comment #9 from simon at pushface dot org --- In gcc 12.0.1 of 20220128, we get $ gnatmake -c -u -f iteration.adb gcc -c iteration.adb a-stream.ads:82:04: error: construct not allowed in configurable run-time mode a-stream.ads:82:04: error:

[Bug c++/104514] New: add feature to create a pointer to a fixed address as constexpr

2022-02-12 Thread goswin-v-b at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104514 Bug ID: 104514 Summary: add feature to create a pointer to a fixed address as constexpr Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures

2022-02-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104481 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/104481] gcc.target/i386/pr35513-8.c and g++.target/i386/pr35513-[12].C testsuire failures

2022-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104481 --- Comment #10 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:5c4258d7c78a92ab17c14dec1163d87fc42ff019 commit r12-7213-g5c4258d7c78a92ab17c14dec1163d87fc42ff019 Author: H.J. Lu Date: Thu Feb 10

[Bug tree-optimization/35513] Improve targetm.binds_local_p

2022-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35513 --- Comment #6 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:5c4258d7c78a92ab17c14dec1163d87fc42ff019 commit r12-7213-g5c4258d7c78a92ab17c14dec1163d87fc42ff019 Author: H.J. Lu Date: Thu Feb 10

[Bug rtl-optimization/104484] -freorder-block-and-partition not splitting into sections with __builin_expect()

2022-02-12 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104484 --- Comment #4 from Avi Kivity --- gcc could infer that the check for f2 and the call to very_heavy are cold, and move that little block to a .cold section, whether or not very_heavy is cold.

[Bug c++/104513] [12 Regression] goto cdtor_label failures on arm since r12-5256

2022-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104513 --- Comment #1 from Jakub Jelinek --- --- gcc/cp/constexpr.cc.jj 2022-02-11 13:52:32.697425776 +0100 +++ gcc/cp/constexpr.cc 2022-02-12 13:51:21.000274390 +0100 @@ -9364,7 +9364,7 @@ potential_constant_expression_1 (tree t, {

[Bug sanitizer/104449] [9/10/11/12 Regression] ICE: verify_gimple failed: dead statement in EH table with -fexceptions -fsanitize=address -fstack-check=generic

2022-02-12 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104449 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug libstdc++/104443] common_iterator::operator-> is not correctly implemented

2022-02-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104443 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|SUSPENDED --- Comment #2 from

[Bug c++/104513] [12 Regression] goto cdtor_label failures on arm since r12-5256

2022-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104513 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Target|

[Bug c++/104513] New: [12 Regression] goto cdtor_label failures on arm since r12-5256

2022-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104513 Bug ID: 104513 Summary: [12 Regression] goto cdtor_label failures on arm since r12-5256 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/104502] [12 Regression] ICE: in extract_constrain_insn, at recog.cc:2670: insn does not satisfy its constraints with -O -flive-range-shrinkage -march=barcelona -fstack-protector-all -mavx5

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

[Bug target/104502] [12 Regression] ICE: in extract_constrain_insn, at recog.cc:2670: insn does not satisfy its constraints with -O -flive-range-shrinkage -march=barcelona -fstack-protector-all -mavx5

2022-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104502 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0538d42cdd68f6b65d72ed7768f1d00ba44f8631 commit r12-7212-g0538d42cdd68f6b65d72ed7768f1d00ba44f8631 Author: Jakub Jelinek Date:

[Bug c++/104512] [c++20] consteval constructor does not need to initialize all data members

2022-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104512 --- Comment #1 from Andrew Pinski --- constexpr works but consteval does not. Also I notice ICC rejects the consteval version but accepts the constexpr one.

[Bug target/79754] ICE in type_natural_mode with vector for DFP type

2022-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79754 --- Comment #5 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:edadc7e0510b703d9727cf5ff68d55d84bb95def commit r12-7211-gedadc7e0510b703d9727cf5ff68d55d84bb95def Author: Uros Bizjak Date: Sat

[Bug c++/104512] New: [c++20] consteval constructor does not need to initialize all data members

2022-02-12 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104512 Bug ID: 104512 Summary: [c++20] consteval constructor does not need to initialize all data members Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/104508] _GLIBCXX_ASSERTIONS gets ignored with clang with -std=c++2b

2022-02-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104508 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID

[Bug middle-end/104504] spurious -Wswitch-unreachable warning with -ftrivial-auto-var-init=zero

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

[Bug target/104511] New: [10/11/12 Regression] ICE: in emit_move_insn, at expr.cc:4010 with __builtin_convertvector() at -O

2022-02-12 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104511 Bug ID: 104511 Summary: [10/11/12 Regression] ICE: in emit_move_insn, at expr.cc:4010 with __builtin_convertvector() at -O Product: gcc Version: 12.0 Status: