[Bug middle-end/105204] -Wuse-after-free=1 inconsistency with conditional free

2022-04-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105204 Richard Biener changed: What|Removed |Added Keywords||diagnostic CC|

[Bug target/104613] ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1189

2022-04-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104613 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-04-11 Status|UNCONFIRME

[Bug middle-end/105206] mis-optimization with -ffast-math and __builtin_powf

2022-04-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105206 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org K

[Bug target/105215] New: IA64: ICE on openssl-1.1.1n in create_block_for_bookkeeping, at sel-sched.cc:4549 -O3 -g3

2022-04-11 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105215 Bug ID: 105215 Summary: IA64: ICE on openssl-1.1.1n in create_block_for_bookkeeping, at sel-sched.cc:4549 -O3 -g3 Product: gcc Version: 12.0 Status:

[Bug target/105209] internal compiler error: in store_data_bypass_p_1

2022-04-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105209 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to fail|

[Bug target/105213] Extend __builtin_{un,}pack_{longdouble,ibm128} valid for soft-float

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

[Bug target/105214] [12 Regression] ICE: in connect_traces, at dwarf2cfi.cc:3074 with custom flags

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

[Bug rtl-optimization/105203] [11/12 Regression] '-fcompare-debug' failure w/ -O2 -ftracer -fPIC since r11-3078-g69ca5f3a988266da

2022-04-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105203 --- Comment #6 from Martin Liška --- @Segher: Have you tried running it on x86_64-linux-gnu? gcc -O2 -fcompare-debug -ftracer -fPIC -w -c gcc/testsuite/gfortran.dg/g77/pr9258.f --save-temps --verbose Using built-in specs. COLLECT_GCC=gcc OFFLOA

[Bug tree-optimization/105216] New: [12 regression] 8% regression for m-queens compared to gcc11 O2

2022-04-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 Bug ID: 105216 Summary: [12 regression] 8% regression for m-queens compared to gcc11 O2 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/105197] [12 Regression] SVE: wrong code with -O -ftree-vectorize

2022-04-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105197 --- Comment #4 from Richard Biener --- The following improves the output from if-conversion by simplifying ~cond ? a : b to cond ? b : a, possibly reducing the number of conds. Ideally if-conversion would track predicates in a more concious way

[Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2

2022-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 --- Comment #1 from Andrew Pinski --- Does -fno-tree-vectorizer help? There is definitely another big recording the fact pre had to turn something off while vectorization is turned on.

[Bug gcov-profile/105210] gcc/auto-profile.cc:391:11: warning: variable 'level' set but not used

2022-04-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105210 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2

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

[Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2

2022-04-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 --- Comment #3 from Hongtao.liu --- (In reply to Andrew Pinski from comment #1) > Does -fno-tree-vectorizer help? There is definitely another big recording > the fact pre had to turn something off while vectorization is turned on. No, not relat

[Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2

2022-04-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #2) > I suppose it's good again with -fno-tree-vectorize? With vectorization > enabled we tame down PRE to avoid creating loop carried dependences the > vectorizer

[Bug c++/105186] [9/10/11/12 Regression] ICE in canonicalize_attr_name, at attribs.h:146

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105186 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:083e8e66d2e90992fa83a53bfc3553dfa91abda1 commit r12-8077-g083e8e66d2e90992fa83a53bfc3553dfa91abda1 Author: Jakub Jelinek Date: M

[Bug tree-optimization/104639] [12 Regression] Useless loop not fully optimized anymore

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104639 --- Comment #14 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a42aa68bf1ad745a6b36ab9beed1fc2e77ac3f88 commit r12-8078-ga42aa68bf1ad745a6b36ab9beed1fc2e77ac3f88 Author: Jakub Jelinek Date:

[Bug tree-optimization/104639] [12 Regression] Useless loop not fully optimized anymore

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

[Bug c++/105186] [9/10/11 Regression] ICE in canonicalize_attr_name, at attribs.h:146

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

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-04-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #45 from Jakub Jelinek --- I'd like to ping the #c44 question. Thanks.

[Bug rtl-optimization/105211] ICE: SIGSEGV in contains_struct_check (tree.h:3570) with -Os -ffast-math and __builtin_roundf()

2022-04-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105211 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2 on CLX.

2022-04-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 --- Comment #5 from Hongtao.liu --- My bisect shows it's caused by r12-3876-g4a960d548b7d7d942f316c5295f6d849b74214f5

[Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2 on CLX.

2022-04-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 --- Comment #6 from Hongtao.liu --- (In reply to Hongtao.liu from comment #5) > My bisect shows it's caused by > r12-3876-g4a960d548b7d7d942f316c5295f6d849b74214f5 pre dump before vs after -goto ; [11.00%] - - [local count: 105119324]: -

[Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2 on CLX.

2022-04-11 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 --- Comment #7 from rguenther at suse dot de --- On Mon, 11 Apr 2022, crazylht at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 > > --- Comment #5 from Hongtao.liu --- > My bisect shows it's caused by > r12-3876-g

[Bug target/105214] [12 Regression] ICE: in connect_traces, at dwarf2cfi.cc:3074 with custom flags

2022-04-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105214 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Priority|P3

[Bug rtl-optimization/85409] [9/10/11/12 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730

2022-04-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 Jiu Fu Guo changed: What|Removed |Added CC||guojiufu at gcc dot gnu.org --- Comment #9

[Bug target/105209] internal compiler error: in store_data_bypass_p_1

2022-04-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105209 --- Comment #2 from Uroš Bizjak --- Created attachment 52780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52780&action=edit Proposed patch This patch introduces alpha-specific version of store_data_bypass_p that ignores TRAP_IF that wou

[Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2 on CLX.

2022-04-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 --- Comment #8 from Hongtao.liu --- (In reply to rguent...@suse.de from comment #7) > On Mon, 11 Apr 2022, crazylht at gmail dot com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 > > > > --- Comment #5 from Hongtao.liu ---

[Bug sanitizer/105214] [12 Regression] ICE: in connect_traces, at dwarf2cfi.cc:3074 with custom flags

2022-04-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105214 Richard Biener changed: What|Removed |Added CC||dodji at gcc dot gnu.org,

[Bug sanitizer/105214] [12 Regression] ICE: in connect_traces, at dwarf2cfi.cc:3074 with custom flags

2022-04-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105214 --- Comment #3 from Richard Biener --- possibly started earlier if you also add -fexceptions

[Bug target/105214] [12 Regression] ICE: in connect_traces, at dwarf2cfi.cc:3074 with custom flags

2022-04-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105214 Richard Biener changed: What|Removed |Added Component|sanitizer |target --- Comment #4 from Richard Bie

[Bug tree-optimization/105216] [12 regression] 8% regression for m-queens compared to gcc11 O2 on CLX.

2022-04-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105216 --- Comment #9 from Hongtao.liu --- (In reply to Hongtao.liu from comment #8) > (In reply to rguent...@suse.de from comment #7) > > On Mon, 11 Apr 2022, crazylht at gmail dot com wrote: > > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105

[Bug libstdc++/97841] [C++17] is_invocable handling of incomplete return type is wrong

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

[Bug libstdc++/104301] --enable-cstdio=stdio_pure not passed down to libstdc++-v3

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

[Bug c++/100370] [11/12 Regression] Incorrect -Wplacement-new with union

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100370 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:790b02af6a1fcfa07dba6129909b3578a55a51fa commit r12-8079-g790b02af6a1fcfa07dba6129909b3578a55a51fa Author: Jason Merrill Date: T

[Bug c/50486] No warning at signed -> unsigned casting

2022-04-11 Thread manu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50486 --- Comment #3 from Manuel López-Ibáñez --- Clang warns: :16:18: warning: implicit conversion changes signedness: 'int' to 'enum e' [-Wsign-conversion] return a(-1); ~ ^~ Not sure why gcc doesn't but it should.

[Bug tree-optimization/105217] New: Likely wrong code with -D_FORTIFY_SOURCE=3

2022-04-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105217 Bug ID: 105217 Summary: Likely wrong code with -D_FORTIFY_SOURCE=3 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priorit

[Bug tree-optimization/105217] Likely wrong code with -D_FORTIFY_SOURCE=3

2022-04-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105217 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-04-11 Target Milestone|---

[Bug rtl-optimization/102178] [12 Regression] SPECFP 2006 470.lbm regressions on AMD Zen CPUs after r12-897-gde56f95afaaa22

2022-04-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102178 Richard Biener changed: What|Removed |Added Last reconfirmed|2021-09-03 00:00:00 |2022-4-11 --- Comment #31 from Richard

[Bug bootstrap/105218] New: [12 regression] bootstrap build error in mpc in stage3

2022-04-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105218 Bug ID: 105218 Summary: [12 regression] bootstrap build error in mpc in stage3 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/105217] Likely wrong code with -D_FORTIFY_SOURCE=3

2022-04-11 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105217 Siddhesh Poyarekar changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |siddhesh at gcc dot gnu.org

[Bug target/105214] [12 Regression] ICE: in connect_traces, at dwarf2cfi.cc:3074 with custom flags

2022-04-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105214 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/105219] New: [12 Regression] SVE: Wrong code with -O3 -msve-vector-bits=128 -mtune=thunderx

2022-04-11 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105219 Bug ID: 105219 Summary: [12 Regression] SVE: Wrong code with -O3 -msve-vector-bits=128 -mtune=thunderx Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug bootstrap/105218] [12 regression] bootstrap build error in mpc in stage3

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

[Bug tree-optimization/105217] Likely wrong code with -D_FORTIFY_SOURCE=3 since r12-6482-g06bc1b0c539e3a60

2022-04-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105217 Martin Liška changed: What|Removed |Added Summary|Likely wrong code with |Likely wrong code with

[Bug bootstrap/105218] [12 regression] bootstrap build error in mpc in stage3

2022-04-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105218 --- Comment #2 from Jakub Jelinek --- Actually, I've managed to reproduce even on x86_64-linux.

[Bug c++/105220] New: Incorrect concept evaluation when friend class is involved

2022-04-11 Thread martin.koch at bachmann dot info via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105220 Bug ID: 105220 Summary: Incorrect concept evaluation when friend class is involved Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pr

[Bug bootstrap/105218] [12 regression] bootstrap build error in mpc in stage3

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

[Bug target/105197] [12 Regression] SVE: wrong code with -O -ftree-vectorize

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105197 --- Comment #5 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:78c718490bc2843d4dadcef8a0ae14aed1d15a32 commit r12-8080-g78c718490bc2843d4dadcef8a0ae14aed1d15a32 Author: Tamar Christina Date:

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-04-11 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #46 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #44 from Jakub Jelinek --- > Rainer, for pr80334.C, have you been able to test the #c43 patch? I did: the test FAILs (SEGV) at -m32 -O0 only, same as for unmodified trun

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-04-11 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #47 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #45 from Jakub Jelinek --- > I'd like to ping the #c44 question. Thanks. Sorry for the delay: I haven't been well lately.

[Bug analyzer/105103] RFE: detect bogus use of varargs in analyzer

2022-04-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105103 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug gcov-profile/105210] gcc/auto-profile.cc:391:11: warning: variable 'level' set but not used

2022-04-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105210 Martin Liška changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/105197] [12 Regression] SVE: wrong code with -O -ftree-vectorize

2022-04-11 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105197 Tamar Christina changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105221] New: gcc rejects true ? [](auto) noexcept {} : [](int) {}

2022-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105221 Bug ID: 105221 Summary: gcc rejects true ? [](auto) noexcept {} : [](int) {} Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug bootstrap/105218] [12 regression] bootstrap build error in mpc in stage3

2022-04-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105218 --- Comment #4 from Jakub Jelinek --- Created attachment 52783 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52783&action=edit gcc12-pr105218.patch Untested fix.

[Bug c++/105222] New: gcc rejects valid syntax of ternary operator for lambda in requires clause

2022-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105222 Bug ID: 105222 Summary: gcc rejects valid syntax of ternary operator for lambda in requires clause Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: nor

[Bug c++/105222] gcc rejects valid syntax of ternary operator for lambda in requires clause

2022-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105222 --- Comment #1 from 康桓瑋 --- gcc rejects this valid syntax with source>:2:32: error: expected ':' before '{' token 2 | auto b = requires { true ? [] {} : [] {}; }; |^~ |

[Bug c++/105222] gcc rejects valid syntax of ternary operator for lambda in requires clause

2022-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105222 --- Comment #2 from 康桓瑋 --- And gcc accepts the following invalid syntax: int main() { auto b = requires { true ? [] : [] {}; }; } https://godbolt.org/z/xeE1oYs1Y

[Bug middle-end/105206] mis-optimization with -ffast-math and __builtin_powf

2022-04-11 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105206 --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to Richard Biener from comment #2) > Hm, it works for me on linux with glibc, can you be more specific as to what > OS/libc (version) you are using? > > foof: > .LFB0: > .cfi_sta

[Bug c++/105222] gcc rejects valid syntax of ternary operator for lambda in requires clause

2022-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105222 --- Comment #3 from 康桓瑋 --- (In reply to 康桓瑋 from comment #2) > And gcc accepts the following invalid syntax: > > int main() { > auto b = requires { true ? [] : [] {}; }; > } > > https://godbolt.org/z/xeE1oYs1Y It seems like the single [] m

[Bug target/104853] [RISC-V] -march=rv64g not including extension Zifencei

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104853 --- Comment #11 from CVS Commits --- The master branch has been updated by Kito Cheng : https://gcc.gnu.org/g:4132f6ba9583e128a00d55961ae8c8e7245b2223 commit r12-8084-g4132f6ba9583e128a00d55961ae8c8e7245b2223 Author: Kito Cheng Date: Mon Ap

[Bug c++/105220] Incorrect concept evaluation when friend class is involved

2022-04-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105220 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/104253] libgcc missing __floatdiif

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104253 --- Comment #22 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:ab0f04e4df1b7b312a4c9fa9b4d675778a0bae86 commit r12-8087-gab0f04e4df1b7b312a4c9fa9b4d675778a0bae86 Author: Alexandre Oliva Date

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-04-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #48 from Jakub Jelinek --- (In reply to r...@cebitec.uni-bielefeld.de from comment #47) > Sorry for the delay: I haven't been well lately. I'm sorry to hear that. Anyway, I'm out of ideas and unfortunately Solaris/x86 is not on GCC

[Bug target/105219] [12 Regression] SVE: Wrong code with -O3 -msve-vector-bits=128 -mtune=thunderx

2022-04-11 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105219 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org Last re

[Bug tree-optimization/105217] Likely wrong code with -D_FORTIFY_SOURCE=3 since r12-6482-g06bc1b0c539e3a60

2022-04-11 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105217 --- Comment #2 from Siddhesh Poyarekar --- OK, taking a closer look, it looks like clang simply fails to fortify fread (probably due to https://reviews.llvm.org/D109967 or something similar). Modifying the code to use __fread_chk directly:

[Bug ipa/103818] [12 Regression] ICE: in insert, at ipa-modref-tree.c:591 since r12-3202-gf5ff3a8ed4ca9173

2022-04-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103818 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/105219] [12 Regression] SVE: Wrong code with -O3 -msve-vector-bits=128 -mtune=thunderx

2022-04-11 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105219 ktkachov at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCON

[Bug target/104853] [RISC-V] -march=rv64g not including extension Zifencei

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104853 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:fa21fcfb67587837c1704703a710496999393c1d commit r11-9809-gfa21fcfb67587837c1704703a710496999393c1d Author: Kito Cheng Date:

[Bug target/104853] [RISC-V] -march=rv64g not including extension Zifencei

2022-04-11 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104853 --- Comment #13 from Kito Cheng --- Hi rvalue: Pushed the fix to trunk and GCC 11 branch for fixing both arch-canonicalize and multilib-generator script. Tested GCC 11/trunk with --with-isa-spec=2.2/20191213. Could you try that to make sure t

[Bug target/105219] [12 Regression] SVE: Wrong code with -O3 -msve-vector-bits=128 -mtune=thunderx

2022-04-11 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105219 --- Comment #3 from Alex Coplan --- (In reply to Tamar Christina from comment #1) > Smaller reproducer getting rid of the loop nest and simplify the inner > condition. Hmm, I can't reproduce the issue with this locally (with or without the -mtu

[Bug c++/105223] New: [12 Regression] filter_memfn_lookup internal compiler error

2022-04-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105223 Bug ID: 105223 Summary: [12 Regression] filter_memfn_lookup internal compiler error Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/105223] [12 Regression] filter_memfn_lookup internal compiler error

2022-04-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105223 Marek Polacek changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug target/105219] [12 Regression] SVE: Wrong code with -O3 -msve-vector-bits=128 -mtune=thunderx

2022-04-11 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105219 --- Comment #4 from Tamar Christina --- (In reply to Alex Coplan from comment #3) > (In reply to Tamar Christina from comment #1) > > Smaller reproducer getting rid of the loop nest and simplify the inner > > condition. > > Hmm, I can't reprodu

[Bug c++/105224] New: [modules] g++.dg/modules/virt-2_a.C: inline key methods: c++ modules and arm aapcs clash

2022-04-11 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105224 Bug ID: 105224 Summary: [modules] g++.dg/modules/virt-2_a.C: inline key methods: c++ modules and arm aapcs clash Product: gcc Version: unknown URL: https://gcc.gnu.or

[Bug c++/105222] gcc totally broken with ternary operator for lambda in requires clause

2022-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105222 --- Comment #4 from 康桓瑋 --- maybe dup of PR99546.

[Bug c++/105223] [12 Regression] filter_memfn_lookup internal compiler error

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

[Bug go/105225] New: build failure with musl libc 1.2.3 due to sysinfo.go error: redefinition of 'SYS_SECCOMP'

2022-04-11 Thread ncopa at alpinelinux dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105225 Bug ID: 105225 Summary: build failure with musl libc 1.2.3 due to sysinfo.go error: redefinition of 'SYS_SECCOMP' Product: gcc Version: 11.2.1 Status: UNCONFIRMED

[Bug c/105226] New: [10/11/12 Regression] ICE in gimple_split_edge, at tree-cfg.cc:2960

2022-04-11 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105226 Bug ID: 105226 Summary: [10/11/12 Regression] ICE in gimple_split_edge, at tree-cfg.cc:2960 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105227] New: [12 Regression] ICE in type_in_anonymous_namespace_p, at ipa-utils.h:233

2022-04-11 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105227 Bug ID: 105227 Summary: [12 Regression] ICE in type_in_anonymous_namespace_p, at ipa-utils.h:233 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug c++/105228] New: [9/10/11/12 Regression] ICE tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.cc:3826

2022-04-11 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105228 Bug ID: 105228 Summary: [9/10/11/12 Regression] ICE tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.cc:3826

[Bug c++/105229] New: [11/12 Regression] ICE in lookup_template_class_1, at cp/pt.cc:10111

2022-04-11 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229 Bug ID: 105229 Summary: [11/12 Regression] ICE in lookup_template_class_1, at cp/pt.cc:10111 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105228] [9/10/11/12 Regression] ICE tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.cc:3826

2022-04-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105228 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/105230] New: [9/10/11/12 Regression] ICE in find_array_section, at fortran/expr.cc:1634

2022-04-11 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105230 Bug ID: 105230 Summary: [9/10/11/12 Regression] ICE in find_array_section, at fortran/expr.cc:1634 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: nor

gcc-bugs@gcc.gnu.org

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105031 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:73da9ec55609efa532b9ac85ac2dbe121c134e18 commit r12-8089-g73da9ec55609efa532b9ac85ac2dbe121c134e18 Author: Jonathan Wakely Date:

gcc-bugs@gcc.gnu.org

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

[Bug c++/98249] [9/10/11/12 Regression] Improper ADL on the `arg` in `new (arg) T`

2022-04-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98249 Jason Merrill changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug bootstrap/105218] [12 regression] bootstrap build error in mpc in stage3

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105218 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1774ab84863202f5db694914b67e3aef8c6dd807 commit r12-8090-g1774ab84863202f5db694914b67e3aef8c6dd807 Author: Jakub Jelinek Date: M

[Bug bootstrap/105218] [12 regression] bootstrap build error in mpc in stage3

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

[Bug c++/105229] [11/12 Regression] ICE in lookup_template_class_1, at cp/pt.cc:10111

2022-04-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/104253] libgcc missing __floatdiif

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104253 --- Comment #23 from CVS Commits --- The releases/gcc-11 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:20bde90da2ac415d4a06e7a8b2ba770d50385208 commit r11-9810-g20bde90da2ac415d4a06e7a8b2ba770d50385208 Author: Alexandre Ol

[Bug c++/105223] [12 Regression] filter_memfn_lookup internal compiler error

2022-04-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105223 --- Comment #2 from Patrick Palka --- The implicitly declared ServiceReference::operator= members lack a TEMPLATE_INFO, but filter_memfn_lookup expects it (along with all other non-template member functions from the instantiated class) to have o

[Bug target/104253] libgcc missing __floatdiif

2022-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104253 --- Comment #24 from CVS Commits --- The releases/gcc-10 branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:3ebf64eaf264e1dcb4e72b77f67308fe58d993f8 commit r10-10530-g3ebf64eaf264e1dcb4e72b77f67308fe58d993f8 Author: Alexandre O

[Bug c++/105223] [12 Regression] filter_memfn_lookup internal compiler error

2022-04-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105223 --- Comment #3 from Patrick Palka --- FWIW, the problematic hunk from r12-7714 appears to be: --- a/gcc/cp/class.cc +++ b/gcc/cp/class.cc ... @@ -7700,14 +7723,17 @@ finish_struct (tree t, tree attributes) lookup not to fail or recurse

[Bug tree-optimization/105227] [12 Regression] ICE in type_in_anonymous_namespace_p, at ipa-utils.h:233

2022-04-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105227 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/105230] [9/10/11/12 Regression] ICE in find_array_section, at fortran/expr.cc:1634

2022-04-11 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105230 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFI

[Bug ipa/105227] [12 Regression] ICE in type_in_anonymous_namespace_p, at ipa-utils.h:233

2022-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105227 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Component|tree-optimizati

[Bug c++/104142] [9/10/11/12 Regression] Spurios warning unused-variable on const static variable and defaulted constructor

2022-04-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104142 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org St

[Bug rtl-optimization/105231] New: [12 Regression] ICE: in rtl_verify_bb_insns, at cfgrtl.cc:2797 (flow control insn inside a basic block) with custom flags

2022-04-11 Thread zsojka at seznam dot cz via Gcc-bugs
659-g1774ab84863-checking-yes-rtl-df-extra-nobootstrap-pr105211-pr105214-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220411 (experimental) (GCC) Both vanilla gcc r12-8090 and with pr105211 and pr105214 patches applies ICE the same way.

  1   2   >