[Bug middle-end/54666] when do lto opitimizing with attribute (weak,alias), it will produce wrong code

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

[Bug ipa/92932] Optimizers generate wrong code due to aggressive data optimization.

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92932 Bug 92932 depends on bug 54666, which changed state. Bug 54666 Summary: when do lto opitimizing with attribute (weak,alias), it will produce wrong code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54666 What|Removed

[Bug middle-end/54666] when do lto opitimizing with attribute (weak,alias), it will produce wrong code

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54666 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > This was fixed for GCC 5.1.0. The problem is the same as PR 32219 really. That is the patch which fixes PR 32219 fixed this one.

[Bug tree-optimization/102436] [11/12 Regression] Lost Load/Store Motion

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

[Bug middle-end/100357] noinit attribute does not work sometimes (small data or with -fdata-sections)

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100357 --- Comment #2 from Andrew Pinski --- -fdata-sections problem was fixed with r11-5246-gb510765dedfec5.

[Bug middle-end/100357] noinit attribute does not work sometimes (small data)

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100357 Andrew Pinski changed: What|Removed |Added Summary|noinit attribute does not |noinit attribute does not

[Bug rtl-optimization/102441] [10/11/12 Regression] Incorrect location list in debug info

2021-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102441 Richard Biener changed: What|Removed |Added Known to fail||10.3.1, 11.2.1 Target|

[Bug middle-end/102415] [12 Regression] ICE in bb_seq_addr, at gimple.h:1786

2021-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102415 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c4432b2776aeeffee9125bf87ff937e4a8907bbd commit r12-3779-gc4432b2776aeeffee9125bf87ff937e4a8907bbd Author: Jakub Jelinek Date: W

[Bug c++/92981] static anonymous union does not work

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
failure: /opt/compiler-explorer/gcc-trunk-20210922/bin/../lib/gcc/x86_64-linux-gnu/12.0.0/../../../../x86_64-linux-gnu/bin/ld: /tmp/ccBdpNQh.o:(.rodata+0x0): undefined reference to `yz' 4.1.2 produced some interesting assembly too: .local yz .comm yz,4,4 .local yz .comm yz,4,4

[Bug c++/92981] static anonymous union does not work

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

[Bug c++/53932] [9/10/11/12 Regression] C++ reference variable to member of anonymous union in global is error

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53932 Andrew Pinski changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #1 f

[Bug c++/53932] [9/10/11/12 Regression] C++ reference variable to member of anonymous union in global is error

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53932 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #2 from An

[Bug target/102222] ICE on s390 (internal compiler error: in extract_insn, at recog.c:2770)

2021-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 --- Comment #7 from CVS Commits --- The master branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:a9b3c451be58f0fe660154323ace7ba72a4211ec commit r12-3780-ga9b3c451be58f0fe660154323ace7ba72a4211ec Author: Andreas Krebbel Date:

[Bug ipa/102443] New: IPA CP and/or IPA VRP into OpenMP/OpenACC outlined functions

2021-09-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102443 Bug ID: 102443 Summary: IPA CP and/or IPA VRP into OpenMP/OpenACC outlined functions Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/102444] New: class definition not allowed to change meaning of previously used name

2021-09-22 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102444 Bug ID: 102444 Summary: class definition not allowed to change meaning of previously used name Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/102445] New: [meta-bug] std::regex issues

2021-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102445 Bug ID: 102445 Summary: [meta-bug] std::regex issues Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: meta-bug Severity: normal Priority: P3 C

[Bug c++/102444] class definition not allowed to change meaning of previously used name

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

[Bug libstdc++/82164] AddressSanitizer: stack-buffer-overflow while constructing std::regex

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

[Bug tree-optimization/102446] New: wrong code at -O3 on x86_64-linux-gnu

2021-09-22 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210922 (experimental) [master r12-3777-g578b7687338] (GCC) [584] % [584] % gcctk -O2 small.c; ./a.out [585] % [585] % gcctk -O3 small.c [586] % ./a.out Segmentation fault [587] % [587] % cat small.c int a = 1, c

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

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

[Bug libstdc++/86164] std::regex crashes when matching long lines

2021-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86164 Jonathan Wakely changed: What|Removed |Added CC||shaoqin2 at illinois dot edu --- Comme

[Bug libstdc++/77744] Data race on std::regex_iterator using openmp

2021-09-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77744 --- Comment #7 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #3) > More importantly, the OpenMP version does not wait for the loop to finish > (or at least, I see "#pragma omp for nowait" in the GIMPLE dump), so there > is no h

[Bug libstdc++/102445] [meta-bug] std::regex issues

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

[Bug c++/102444] class definition not allowed to change meaning of previously used name

2021-09-22 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102444 gnzlbg changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/96593] No "declaration changes meaning" diagnostic for alias templates

2021-09-22 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96593 gnzlbg changed: What|Removed |Added CC||gonzalo.gadeschi at gmail dot com --- Comment

[Bug c++/96593] No "declaration changes meaning" diagnostic for alias templates

2021-09-22 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96593 --- Comment #3 from gnzlbg --- >From 102444 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102444): See http://eel.is/c++draft/class.member.lookup#6 [class.member.lookup]/p6: "If it [the result of the search] differs from the result of a searc

[Bug libstdc++/102447] New: std::regex incorrectly accepts invalid bracket expression

2021-09-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 Bug ID: 102447 Summary: std::regex incorrectly accepts invalid bracket expression Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug libstdc++/84110] Null character in regex throws std::regex_error

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

[Bug target/102222] ICE on s390 (internal compiler error: in extract_insn, at recog.c:2770)

2021-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:22b25535b8b2f9961e4772b1cc7cce5dc2f60719 commit r11-9025-g22b25535b8b2f9961e4772b1cc7cce5dc2f60719 Author: Andreas Krebb

[Bug tree-optimization/102446] wrong code at -O3 on x86_64-linux-gnu

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

[Bug tree-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Sum

[Bug tree-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 --- Comment #3 from Richard Biener --- void m() { int aa = 0, i = 0; for (; i < 3; i++) if (k < 0) aa |= *j; Dump of assembler code for function m: 0x00400540 <+0>: mov0x200b16(%rip),%edi# 0x60105c 0

Re: [Bug tree-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-22 Thread Jan Hubicka
> Started with r5-6477-g3620b606822f80863488ca4883542d848d41f9f9 This only affects early inlining decisions, so it may be useful to bisect this with --param early-inlining-insns=14 Honza

[Bug tree-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-22 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 --- Comment #4 from Jan Hubicka --- > Started with r5-6477-g3620b606822f80863488ca4883542d848d41f9f9 This only affects early inlining decisions, so it may be useful to bisect this with --param early-inlining-insns=14 Honza

[Bug rtl-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Component|tree-optimizatio

[Bug rtl-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 --- Comment #5 from Richard Biener --- (In reply to Jan Hubicka from comment #4) > > Started with r5-6477-g3620b606822f80863488ca4883542d848d41f9f9 > This only affects early inlining decisions, so it may be useful to > bisect this with --param e

[Bug preprocessor/82469] ICE in _cpp_process_line_notes, at libcpp/lex.c:1066

2021-09-22 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82469 --- Comment #2 from Heiko Eißfeldt --- I took me a while to find a platform of mine where I got this error. Right now it happens here as well: Message: cpp --traditional -ffreestanding -P gcc_82469.c : internal compiler error: in _cpp_process_

[Bug rtl-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 --- Comment #6 from Jakub Jelinek --- int a = 1, c, e, f, *j, k, o, *r = &f, s; char b, l; short d, *g; unsigned h; static void m(void); static inline void n(int); void p(int *q) { while (1) { if (*q) break; if (*g) o = c;

[Bug rtl-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 --- Comment #7 from Jakub Jelinek --- I mean segfaults at runtime, not ICEs.

[Bug rtl-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

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

[Bug rtl-optimization/102446] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102446 --- Comment #9 from Jakub Jelinek --- I think PR23567 is quite different, that was about stores to a place that might not be writable, this is about making a possibly trapping conditional load being unconditional.

[Bug preprocessor/102432] [11/12 Regression] ICE in _cpp_lex_direct with function like macro without arguments within "pragma omp" statement

2021-09-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102432 --- Comment #4 from Jakub Jelinek --- Started with r11-4686-g8bd9a00f4349ebcd65223e3dcdfe83867e417287

[Bug middle-end/102415] [12 Regression] ICE in bb_seq_addr, at gimple.h:1786

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

[Bug tree-optimization/102448] New: [12 Regression] wrong codegen in gcc in spec2017 since 24f99147b9264f8f7d9cfb2fa6bd431edfa252d2

2021-09-22 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102448 Bug ID: 102448 Summary: [12 Regression] wrong codegen in gcc in spec2017 since 24f99147b9264f8f7d9cfb2fa6bd431edfa252d2 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/102449] New: template parameter with default argument is used without being verified during explicit specialization

2021-09-22 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102449 Bug ID: 102449 Summary: template parameter with default argument is used without being verified during explicit specialization Product: gcc Version: 12.0 Status: UNCONFI

[Bug ada/102450] New: GCC error: in set_min_and_max_values_for_integral_type, at stor-layout.c:2851

2021-09-22 Thread danglin at gcc dot gnu.org via Gcc-bugs
-include -fchecking=1 -c -g -O2 -f PIC -W -Wall -gnatpg -nostdinc s-regpat.adb -o s-regpat.o during GIMPLE pass: lower +===GNAT BUG DETECTED==+ | 12.0.0 20210922 (experimental) (hppa2.0w-hp-hpux11.11) GCC error:| | in

[Bug tree-optimization/102448] [12 Regression] wrong codegen in gcc in spec2017 since 24f99147b9264f8f7d9cfb2fa6bd431edfa252d2

2021-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102448 Richard Biener changed: What|Removed |Added Target||aarch64 Target Milestone|---

[Bug tree-optimization/102451] New: Suspicious null-pointer dereference in delete_dead_or_redundant_call

2021-09-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102451 Bug ID: 102451 Summary: Suspicious null-pointer dereference in delete_dead_or_redundant_call Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/102413] [12 Regression] ICE in cp_lexer_consume_token, at cp/parser.c:1172

2021-09-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102413 --- Comment #1 from Jakub Jelinek --- Created attachment 51493 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51493&action=edit gcc12-pr102413.patch Untested fix.

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 --- Comment #12 from CVS Commits --- The master branch has been updated by Jiu Fu Guo : https://gcc.gnu.org/g:3087d1b0a2cbe8880ccbbb67744726ff4e5d390e commit r12-3791-g3087d1b0a2cbe8880ccbbb67744726ff4e5d390e Author: Jiufu Guo Date: Wed Sep

[Bug ada/102450] GCC error: in set_min_and_max_values_for_integral_type, at stor-layout.c:2851

2021-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102450 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/102451] Suspicious null-pointer dereference in delete_dead_or_redundant_call

2021-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102451 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-09-22 CC|

[Bug c/102452] New: Structs with flexible array members are not optimized on stack

2021-09-22 Thread peter at peterzhu dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102452 Bug ID: 102452 Summary: Structs with flexible array members are not optimized on stack Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal

[Bug ada/102450] GCC error: in set_min_and_max_values_for_integral_type, at stor-layout.c:2851

2021-09-22 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102450 --- Comment #2 from dave.anglin at bell dot net --- On 2021-09-22 9:14 a.m., rguenth at gcc dot gnu.org wrote: > what's MAX_BITSIZE_MODE_ANY_INT in insn-modes.h? (in the build directory) > I think it should correspond to TImode and thus be 16 *

[Bug rtl-optimization/102062] powerpc suboptimal unrolling simple array sum

2021-09-22 Thread npiggin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102062 Nicholas Piggin changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/102356] [11/12 Regression] compile-time explosion at -O3 -g in var-tracking since r11-209-g74dc179a6da33cd0

2021-09-22 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102356 --- Comment #3 from Vladimir Makarov --- (In reply to Martin Liška from comment #2) > If I see correctly, it started with r11-209-g74dc179a6da33cd0. Yes, I am confirming that my patch triggered the slow down. But the actual problem is not RA,

[Bug c++/100493] Lambda default copy capture that captures "this" cannot be used in both C++17 and C++20 modes

2021-09-22 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100493 Mathias Stearn changed: What|Removed |Added CC||redbeard0531 at gmail dot com --- Comm

[Bug c++/100493] Lambda default copy capture that captures "this" cannot be used in both C++17 and C++20 modes

2021-09-22 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100493 --- Comment #3 from Mathias Stearn --- When reading https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82611, I noticed that C++17 actually requires the warning on [=, this] from a conforming implementation: https://timsong-cpp.github.io/cppwp/n4659/e

[Bug ada/102450] GCC error: in set_min_and_max_values_for_integral_type, at stor-layout.c:2851

2021-09-22 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102450 --- Comment #3 from dave.anglin at bell dot net --- This occurs in stage3, so it's probably an optimization bug.

[Bug middle-end/102453] New: buffer overflow by atomic built-ins not diagnosed

2021-09-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102453 Bug ID: 102453 Summary: buffer overflow by atomic built-ins not diagnosed Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug middle-end/102453] buffer overflow by atomic built-ins not diagnosed

2021-09-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102453 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug c++/102412] Template argument deduction fails when using concept as defaulted non-type template parameter

2021-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102412 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9329344a6d81a6a5e3bd171167ebc7b158bb44f4 commit r12-3822-g9329344a6d81a6a5e3bd171167ebc7b158bb44f4 Author: Patrick Palka Date: W

[Bug c++/102454] New: [12 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2958

2021-09-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102454 Bug ID: 102454 Summary: [12 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2958 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-va

[Bug c++/102455] New: ICE in verify_ctor_sanity, at cp/constexpr.c:4451

2021-09-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102455 Bug ID: 102455 Summary: ICE in verify_ctor_sanity, at cp/constexpr.c:4451 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug fortran/102456] New: ICE in gfc_check_rank, at fortran/check.c:4594

2021-09-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102456 Bug ID: 102456 Summary: ICE in gfc_check_rank, at fortran/check.c:4594 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: f

[Bug fortran/102457] New: [PDT] ICE in fold_convert_const_int_from_real, at fold-const.c:2034

2021-09-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102457 Bug ID: 102457 Summary: [PDT] ICE in fold_convert_const_int_from_real, at fold-const.c:2034 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102458] New: ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 Bug ID: 102458 Summary: ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136 Product: gcc Version:

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from

[Bug fortran/102459] New: [12 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3549

2021-09-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102459 Bug ID: 102459 Summary: [12 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3549 Product: gcc Version: 12.0 Status: UNCONFIRMED Seve

[Bug ipa/102452] Structs with flexible array members are not optimized on stack

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102452 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization CC|

[Bug c++/102454] [12 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2958

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102454 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/102460] New: fortran internal compile error in coverage.c

2021-09-22 Thread davidsch at fedoraproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102460 Bug ID: 102460 Summary: fortran internal compile error in coverage.c Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: f

[Bug c++/102455] ICE in verify_ctor_sanity with vector types in constexpr and variable template

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102455 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|ICE in verify_ctor

[Bug rtl-optimization/102147] IRA dependent on 32-bit vs 64-bit pointer size

2021-09-22 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102147 --- Comment #7 from Vladimir Makarov --- I've been thinking about ways to fix this problem but only come to the following patch. The patch results in working mostly the same for 64-bit targets and different for 32-bit targets. In any case the p

[Bug middle-end/98865] Missed transform of (a >> 63) * b

2021-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98865 --- Comment #5 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:8f571e64713cc72561f84241863496e473eae4c6 commit r12-3824-g8f571e64713cc72561f84241863496e473eae4c6 Author: Roger Sayle Date: Wed Se

[Bug fortran/102459] [12 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3549

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102459 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/102448] [12 Regression] wrong codegen in gcc in spec2017 since 24f99147b9264f8f7d9cfb2fa6bd431edfa252d2

2021-09-22 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102448 --- Comment #2 from Tamar Christina --- I have double checked the revision and it does start happening with it. Though I can only reproduce it with -flto. the codegen without lto seems the same. Any ideas how to debug further?

[Bug fortran/55534] -Wno-missing-include-dirs does not work with gfortran

2021-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55534 --- Comment #15 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:83aac698835edcdb3e6d96b856bef1c5f92e5e24 commit r12-3825-g83aac698835edcdb3e6d96b856bef1c5f92e5e24 Author: Tobias Burnus Date: W

[Bug target/89954] missed optimization for signed extension for x86-64

2021-09-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89954 --- Comment #7 from Uroš Bizjak --- Created attachment 51496 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51496&action=edit Prototype patch

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/102456] ICE in gfc_check_rank, at fortran/check.c:4594

2021-09-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102456 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to kargl from comment #3) > Well, it is a pure function. Fortran 2018, page 327, > > All standard intrinsic functions are pure. Of course you are correct. I wanted to express tha

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #3) > (In reply to anlauf from comment #2) > > I think the problem is we consider command_argument_count() as a pure > > function, > > so that gfc_is_constant_expr r

[Bug rtl-optimization/7061] Access of bytes in struct parameters

2021-09-22 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7061 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment #

[Bug target/101543] extra zeroing of empty struct argument/return value

2021-09-22 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101543 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug target/101543] extra zeroing of empty struct argument/return value

2021-09-22 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101543 --- Comment #4 from Gabriel Ravier --- Nevermind, didn't see this was an aarch64 bug

[Bug rtl-optimization/78778] non-atomic load moved to before atomic load with std::memory_order_acquire

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

[Bug rtl-optimization/78778] non-atomic load moved to before atomic load with std::memory_order_acquire

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78778 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 --- Comment #6 from Andrew Pinski -

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 --- Comment #6 from anlauf at gcc dot gnu.org --- Created attachment 51497 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51497&action=edit Patch Thanks for the research, Steve. The attached patch fixes the PR by excluding the listed func

[Bug c++/80987] Existence of a std::initializer_list constructor breaks deduction guides

2021-09-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80987 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Target Miles

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 anlauf at gcc dot gnu.org changed: What|Removed |Added Attachment #51497|0 |1 is obsolete|

[Bug c/102461] New: overflow in omp parallel for schedule (static,chunk_size)

2021-09-22 Thread michelemartone at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102461 Bug ID: 102461 Summary: overflow in omp parallel for schedule (static,chunk_size) Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal P

[Bug c/102461] overflow in omp parallel for schedule (static,chunk_size)

2021-09-22 Thread michelemartone at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102461 Michele Martone changed: What|Removed |Added CC||michelemartone at users dot source

[Bug c/102461] overflow in omp parallel for schedule (static,chunk_size)

2021-09-22 Thread michelemartone at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102461 --- Comment #2 from Michele Martone --- Created attachment 51501 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51501&action=edit original *ompexp file with the OMP region tree I am attaching original *ompexp file with the OMP region tree

[Bug c/102461] overflow in omp parallel for schedule (static,chunk_size)

2021-09-22 Thread michelemartone at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102461 --- Comment #3 from Michele Martone --- Created attachment 51502 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51502&action=edit patched gcc *ompexp file with the OMP region tree. I am attaching patched gcc *ompexp file with the OMP regi

[Bug fortran/102458] ICE tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:6136

2021-09-22 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 --- Comment #8 from Steve Kargl --- On Wed, Sep 22, 2021 at 09:17:18PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458 > > anlauf at gcc dot gnu.org changed: > >What|Removed

[Bug middle-end/80270] ICE in extract_bit_field_1 at gcc/expmed.c:1798

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80270 Andrew Pinski changed: What|Removed |Added Known to fail||4.8.1 --- Comment #4 from Andrew Pinski

[Bug middle-end/80270] [9/10/11/12 Regression ICE in extract_bit_field_1 at gcc/expmed.c:1798

2021-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80270 Andrew Pinski changed: What|Removed |Added Summary|ICE in extract_bit_field_1 |[9/10/11/12 Regression ICE

[Bug fortran/101334] gfortran fails to enforce C838 on disallowed uses of assumed-rank variable names + bogus errors

2021-09-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101334 --- Comment #1 from CVS Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:7a40f2e74815a926c5f47416c29efbc17aa1ef43 commit r12-3827-g7a40f2e74815a926c5f47416c29efbc17aa1ef43 Author: Sandra Loosemore Dat

  1   2   >