[Bug middle-end/41098] We should be better in folding pow with integer powers

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41098 --- Comment #3 from Andrew Pinski --- So we have in forwprop4: powmult_14 = x_8(D) * x_8(D); powmult_3 = powmult_14 * powmult_14; powroot_16 = __builtin_sqrt (powmult_3); powroot_17 = __builtin_sqrt (powroot_16); if (x_8(D) != powroot_1

[Bug rtl-optimization/102254] [12 Regression] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-09-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102254 --- Comment #10 from Hongtao.liu --- (In reply to Arseny Solokha from comment #9) > Should this PR be closed now? I think so, the guilty patch has been reverted.

[Bug fortran/102314] [11/12 Regression] ICE in verify_ssa, at tree-ssa.c:1076

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

[Bug tree-optimization/102318] [12 Regression] ICE: verify_gimple failed (error: incompatible types in 'PHI' argument 1)

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

[Bug tree-optimization/52904] -Wstrict-overflow false alarm with bounded loop

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

[Bug rtl-optimization/99015] [9/10/11/12 Regression] ICE: Max. number of generated reload insns per insn is achieved (90)

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99015 Andrew Pinski changed: What|Removed |Added Summary|ICE: Max. number of |[9/10/11/12 Regression]

[Bug ipa/102310] [11/12 Regression] ICE in visit_ref_for_mod_analysis with OpenACC

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102310 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-09-14 Ever confirmed|0

[Bug fortran/102311] [11/12 Regression] ICE in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102311 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug fortran/102312] [9/10/11/12 Regression] ICE in gfc_get_dtype_rank_type, at fortran/trans-types.c:1558 since r9-5424-g92f3a180aaf6f3cd

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102312 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102313 Martin Liška changed: What|Removed |Added Summary|[12 Regression] ICE in |[12 Regression] ICE in

[Bug rtl-optimization/102254] [12 Regression] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-09-14 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102254 Arseny Solokha changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/102314] [12 Regression] ICE in verify_ssa, at tree-ssa.c:1076 since r12-1319-gd4d38135b3137f1d

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102314 Martin Liška changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug fortran/102315] ICE tree check: expected integer_cst, have save_expr in gfc_trans_array_constructor_value, at fortran/trans-array.c:2056

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

[Bug tree-optimization/102318] [12 Regression] ICE: verify_gimple failed (error: incompatible types in 'PHI' argument 1) since r12-3381-g843068149ec8fcaa

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102318 Martin Liška changed: What|Removed |Added Summary|[12 Regression] ICE:|[12 Regression] ICE: |

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

2021-09-14 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86164 Boris Kolpackov changed: What|Removed |Added CC||boris at kolpackov dot net --- Comment

[Bug target/98991] ICE: Max. number of generated reload insns per insn is achieved (90)

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98991 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW Component|inline-asm

[Bug ipa/102310] [11/12 Regression] ICE in visit_ref_for_mod_analysis with OpenACC

2021-09-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102310 Thomas Schwinge changed: What|Removed |Added Keywords||openacc CC|

[Bug c++/102319] New: [12 Regression] ICE in cpp_atomic_builtins, at c-family/c-cppbuiltin.c:746 since r12-3495-g76b75018b3d053a8

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102319 Bug ID: 102319 Summary: [12 Regression] ICE in cpp_atomic_builtins, at c-family/c-cppbuiltin.c:746 since r12-3495-g76b75018b3d053a8 Product: gcc Version: 12.0

[Bug c++/102319] [12 Regression] ICE in cpp_atomic_builtins, at c-family/c-cppbuiltin.c:746 since r12-3495-g76b75018b3d053a8

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102319 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-09-14 Ever confirmed|0

[Bug fortran/102311] [11/12 Regression] ICE in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278

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

[Bug c++/102319] ICE in cpp_atomic_builtins, at c-family/c-cppbuiltin.c:746 since r12-3495-g76b75018b3d053a8

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102319 Andrew Pinski changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code Summary|

[Bug inline-asm/98096] Inconsistent operand numbering for asm goto with in-out operands

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

[Bug c/102245] [12 Regression] false int-in-bool-context warning with shift

2021-09-14 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102245 --- Comment #8 from Roger Sayle --- Alternate patch proposed: https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579378.html

[Bug ada/101385] -Werror doesn't have effect on Ada frontend

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101385 --- Comment #4 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:f3922acfdfff1e426bd1238cf09eeb84332464c9 commit r12-3513-gf3922acfdfff1e426bd1238cf09eeb84332464c9 Author: Eric Botcazou Date: T

[Bug ada/101385] -Werror doesn't have effect on Ada frontend

2021-09-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101385 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug inline-asm/59155] ICE: in reg_overlap_mentioned_p, at rtlanal.c:1473

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

[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941 Andrew Pinski changed: What|Removed |Added CC||glisse at gcc dot gnu.org --- Comment #1

[Bug ipa/102310] [11/12 Regression] ICE in visit_ref_for_mod_analysis with OpenACC

2021-09-14 Thread tetra2005 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102310 Yuri Gribov changed: What|Removed |Added CC||tetra2005 at gmail dot com --- Comment #4

[Bug libgomp/102320] New: Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 Bug ID: 102320 Summary: Set cpu affinity error Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assi

[Bug c++/102321] New: A partial comment at the end of file should be ill-formed

2021-09-14 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102321 Bug ID: 102321 Summary: A partial comment at the end of file should be ill-formed Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/102319] ICE in cpp_atomic_builtins, at c-family/c-cppbuiltin.c:746 since r12-3495-g76b75018b3d053a8

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102319 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug ada/101970] [11/12 regression] ICE on 'Enum_Rep for the enum that filled its representation range

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101970 --- Comment #3 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:bd55fa102715c7442c050b193dadfdb5337e2377 commit r12-3522-gbd55fa102715c7442c050b193dadfdb5337e2377 Author: Eric Botcazou Date: T

[Bug ada/101970] [11/12 regression] ICE on 'Enum_Rep for the enum that filled its representation range

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101970 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:40c0122a1c5c364346d2d1c96dce66aea2e5032c commit r11-8991-g40c0122a1c5c364346d2d1c96dce66aea2e5032c Author: Eric Botcazou

[Bug ada/101970] [11/12 regression] ICE on 'Enum_Rep for the enum that filled its representation range

2021-09-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101970 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/98778] asm() accepts certain "i" (symbol) constructs despite -fpie for x86-64

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98778 Andrew Pinski changed: What|Removed |Added Component|inline-asm |target --- Comment #4 from Andrew Pinski

[Bug c/57950] wrong line numbers in error messages for inline assembler statements

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57950 Andrew Pinski changed: What|Removed |Added Component|inline-asm |c Severity|normal

[Bug target/62144] "Frame pointer required, but reserved" error with -fomit-frame-pointer but only with -m32 -O2

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62144 Andrew Pinski changed: What|Removed |Added Target||x86_64-*-* i?86-*-* Component|i

[Bug modula2/101391] Unresolved reference to module getopt

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101391 Rainer Orth changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug modula2/101391] Unresolved reference to module getopt

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101391 --- Comment #4 from Rainer Orth --- Created attachment 51457 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51457&action=edit Additonal patch providing cgetopt_*

[Bug modula2/101388] Unconditional use of __MAX_BAUD

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101388 --- Comment #3 from Rainer Orth --- Created attachment 51458 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51458&action=edit Missed part of patch

[Bug modula2/101388] Unconditional use of __MAX_BAUD

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101388 Rainer Orth changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug modula2/101392] cc1gm2 -fdump-system-exports SEGV on Solaris/SPARC

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101392 Rainer Orth changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug modula2/101389] Parallel build doesn't work

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389 --- Comment #2 from Rainer Orth --- (In reply to Gaius Mulley from comment #1) > Thanks for the report - I've pushed some fixes to various Makefiles. I've > tested it using make -j48 and believe it is fixed. A -j48 build on x86_64-pc-linux-gnu

[Bug modula2/102322] New: libgm2 Makefiles should be self-contained

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102322 Bug ID: 102322 Summary: libgm2 Makefiles should be self-contained Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula

[Bug modula2/102323] New: gm2 testsuite needs to be parallelized

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102323 Bug ID: 102323 Summary: gm2 testsuite needs to be parallelized Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug tree-optimization/102324] New: ICE in initialize_matrix_A, at tree-data-ref.c:3959

2021-09-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102324 Bug ID: 102324 Summary: ICE in initialize_matrix_A, at tree-data-ref.c:3959 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug tree-optimization/102324] ICE in initialize_matrix_A, at tree-data-ref.c:3959

2021-09-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102324 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |10.4 Target|

[Bug modula2/102325] New: gm2 testsuite drivers should be unique

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102325 Bug ID: 102325 Summary: gm2 testsuite drivers should be unique Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/102325] gm2 testsuite drivers should be unique

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

[Bug tree-optimization/102324] ICE in initialize_matrix_A, at tree-data-ref.c:3959

2021-09-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102324 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Commen

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #1 from zhuguanghong --- fix? like this ? while(gomp_places_list_len-- ){ *(gomp_places_list[0]) | = *(gomp_places_list[gomp_places_list_len])

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #2 from Jakub Jelinek --- I'm sorry but from the above it is impossible to decipher what do you think is a bug and why. Can you write a few sentences about what env var or cpu configuration do you think misbehaves and why?

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #3 from zhuguanghong --- hi ,thanks for your reply initialize_env (void) 1 { 0 1 if (parse_affinity (ignore)) 2 { 3 if (gomp_global_

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #4 from zhuguanghong --- This leads to when I set the environment variable "GOMP_CPU_AFFINITY=0-7" and call the initialize_env function, the thread will be automatically bound to one cpu and cannot be scheduled to other cpu.

[Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102313 --- Comment #2 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:33fdbbe4ce6055eb858096d01720ccf94aa854ec commit r12-3524-g33fdbbe4ce6055eb858096d01720ccf94aa854ec Author: Tobias Burnus Date: T

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #5 from zhuguanghong --- But what I want is that 0-7cpu can run this thread

[Bug c++/77565] `typdef int Int;` --> did you mean `typeof`?

2021-09-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77565 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c

2021-09-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102313 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/102242] [12 regression] analyzer/engine.cc built with clang: /usr/include/c++/v1/typeinfo:346:5: error: no member named 'fancy_abort'

2021-09-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102242 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #4 f

[Bug libgomp/102320] Set cpu affinity error

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

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #7 from zhuguanghong --- I get it, thank you for your answer

[Bug target/101981] GCC10 produces bigger asm for simple switch than GCC7 - cortexM4 since r8-2701-g9dc3d6a96167b4c8

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101981 --- Comment #8 from Martin Liška --- > > Not a big difference in term of instructions is this case but as much as the > switch increases, the difference becomes huge (in my case it switched from > 75 to 94 lines) > Code size increases of about

[Bug c++/102326] New: ICE in tree_to_uhwi, at tree.c:4520

2021-09-14 Thread pc.wang at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102326 Bug ID: 102326 Summary: ICE in tree_to_uhwi, at tree.c:4520 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/101981] GCC10 produces bigger asm for simple switch than GCC7 - cortexM4 since r8-2701-g9dc3d6a96167b4c8

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101981 --- Comment #9 from Martin Liška --- So GCC 7 emits: $ nm --print-size pr101981-2.o 0034 T big_switch and GCC master emits: nm --print-size pr101981-2.o 0030 T big_switch So the code is smaller with the current mast

[Bug rtl-optimization/102306] Volatile pointer dereferenced twice

2021-09-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Commen

[Bug rtl-optimization/102306] Volatile pointer dereferenced twice

2021-09-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 --- Comment #4 from Eric Botcazou --- There is substantial checking for volatile references in can_combine_p but it implicitly assumes that the combination reduces the number of instructions.

[Bug rtl-optimization/102306] Volatile pointer dereferenced twice

2021-09-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 --- Comment #5 from Eric Botcazou --- Created attachment 51460 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51460&action=edit Tentative fix To be tested.

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

2021-09-14 Thread chip.kerchner at ibm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 --- Comment #21 from Chip Kerchner --- I'm also seeing MMA problems with LTO. With this simple program (main.ii) -- int main() { float *b; __vector_quad c; __builtin_mma_disassemble_acc(b, &c); return 0; } -

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

2021-09-14 Thread chip.kerchner at ibm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 --- Comment #22 from Chip Kerchner --- (In reply to Chip Kerchner from comment #21) - Forgot one line of code > -- > #pragma GCC target "cpu=power10" > int main() { > float *b; > __vector_quad c; > __builtin_mma_disasse

[Bug c++/102305] intrinsic __is_constructible is wrong for templated abstract classes

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102305 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f008fd3a480e3718436156697ebe7eeb47841457 commit r12-3525-gf008fd3a480e3718436156697ebe7eeb47841457 Author: Jakub Jelinek Date: T

[Bug c++/102295] ELF symbol sizes for variable-length objects are too small (C++)

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102295 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:818c505188ff5cd8eb048eb0e614c4ef732225bd commit r12-3526-g818c505188ff5cd8eb048eb0e614c4ef732225bd Author: Jakub Jelinek Date: T

[Bug c++/102305] intrinsic __is_constructible is wrong for templated abstract classes

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102305 --- Comment #4 from Jakub Jelinek --- Fixed for 12.0 so far. Do we want to backport it?

[Bug c++/102295] ELF symbol sizes for variable-length objects are too small (C++)

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102295 --- Comment #6 from Jakub Jelinek --- Fixed for 12+ so far.

[Bug target/102327] New: gcc/config/i386/i386-expand.c:14678: Suspicious coding ?

2021-09-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102327 Bug ID: 102327 Summary: gcc/config/i386/i386-expand.c:14678: Suspicious coding ? Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[Bug target/102327] gcc/config/i386/i386-expand.c:14678: Suspicious coding ?

2021-09-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102327 David Binderman changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comme

[Bug c++/102305] intrinsic __is_constructible is wrong for templated abstract classes

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102305 --- Comment #5 from Jakub Jelinek --- On one side, some code could be relying on bug compatibility and so it would be undesirable to change it on release branches, on the other side the current behavior there is just weird, #include template

[Bug c++/102305] intrinsic __is_constructible is wrong for templated abstract classes

2021-09-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102305 --- Comment #6 from Jonathan Wakely --- It should be backported IMHO. I don't see how anybody can be relying on is_default_constructible being wrong, that doesn't make much sense. You check that trait in SFINAE contexts to see if you can constr

[Bug c++/102163] [10/11/12 Regression] std::variant rejects valid constant expression

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102163 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:de07cff96abd43f6f65dcf333958899c2ec42598 commit r12-3527-gde07cff96abd43f6f65dcf333958899c2ec42598 Author: Patrick Palka Date: T

[Bug c++/102257] call of overloaded 'tuple' is ambiguous

2021-09-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102257 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-14 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #7 from Kees Cook --- The problem the kernel needs to solve is basically having our cake and eating it too. :) In _most_ situations, we want signed overflows to trap (i.e. get caught by "-fsanitize=signed-integer-overflow"). In som

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #8 from Jakub Jelinek --- So, instead (when building the kernel with sanitization) build with -fsanitize=signed-integer-overflow and no -fno-strict-overflow, and the routines where you want wrapv behavior and not runtime traps build

[Bug target/102327] gcc/config/i386/i386-expand.c:14678: Suspicious coding ?

2021-09-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102327 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com Target Milestone

[Bug analyzer/102328] New: ICE when compare std::list iterator

2021-09-14 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102328 Bug ID: 102328 Summary: ICE when compare std::list iterator Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug tree-optimization/102324] ICE in initialize_matrix_A, at tree-data-ref.c:3959

2021-09-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102324 --- Comment #2 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > So likely we're seeing a POLY_INT here which could eventually be handled the > same as an INTEGER_CST but the question is what to do else (well,

[Bug c/102329] New: pointer "maybe uninitialized" right after assignment

2021-09-14 Thread hv at crypt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102329 Bug ID: 102329 Summary: pointer "maybe uninitialized" right after assignment Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c/102329] pointer "maybe uninitialized" right after assignment

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

[Bug fortran/102330] New: [12 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3932

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102330 Bug ID: 102330 Summary: [12 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3932 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102331] New: ICE in attr_decl1, at fortran/decl.c:8691

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102331 Bug ID: 102331 Summary: ICE in attr_decl1, at fortran/decl.c:8691 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortra

[Bug fortran/102331] ICE in attr_decl1, at fortran/decl.c:8691

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

[Bug fortran/102332] New: ICE in select_type_set_tmp, at fortran/match.c:6366

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102332 Bug ID: 102332 Summary: ICE in select_type_set_tmp, at fortran/match.c:6366 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug fortran/102332] ICE in select_type_set_tmp, at fortran/match.c:6366

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

[Bug fortran/102333] New: [9/10/11/12 Regression] ICE in gfc_generate_function_code, at fortran/trans-decl.c:6941

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102333 Bug ID: 102333 Summary: [9/10/11/12 Regression] ICE in gfc_generate_function_code, at fortran/trans-decl.c:6941 Product: gcc Version: 12.0 Status: UN

[Bug fortran/102333] [9/10/11/12 Regression] ICE in gfc_generate_function_code, at fortran/trans-decl.c:6941

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102333 --- Comment #1 from G. Steinmetz --- Compiles with "allocatable" instead : $ cat z2.f90 function f(x) result(y) class(*), allocatable :: y contains function g() result(z) procedure(f), allocatable :: z end end

[Bug fortran/102334] New: [12 Regression] ICE in trans_associate_var, at fortran/trans-stmt.c:1794

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102334 Bug ID: 102334 Summary: [12 Regression] ICE in trans_associate_var, at fortran/trans-stmt.c:1794 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug rtl-optimization/78963] [missed optimization] using 3-byte instead of 4-byte variables causes unnecessary work on the stack

2021-09-14 Thread eyalroz1 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78963 --- Comment #1 from Eyal Rozenberg --- ... and perhaps I should add that, under certain circumstances, perhaps it should be possible to just mov four bytes from memory and ignore one of the bytes. On platforms where access must be aligned that wo

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

2021-09-14 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102276 Kees Cook changed: What|Removed |Added CC||kees at outflux dot net --- Comment #3 from

[Bug c++/102335] New: gcc misses -Wunused-value

2021-09-14 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102335 Bug ID: 102335 Summary: gcc misses -Wunused-value Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee

[Bug c++/102335] gcc misses -Wunused-value

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102335 Andrew Pinski changed: What|Removed |Added Severity|normal |minor Keywords|

[Bug c++/102335] gcc misses -Wunused-value

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102335 --- Comment #1 from Andrew Pinski --- Internal GCC details: Most likely because there is a TARGET_EXPR in the IR which causes it to be considered a side effect: <) >;

[Bug tree-optimization/98774] gcc -O3 does not vectorize some operations

2021-09-14 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98774 --- Comment #4 from Ivan Sorokin --- I retested the sample on GCC 11.2. https://godbolt.org/z/xrarP3zbY Compared to Clang 12.0.1 GCC still generates 6 more instructions in total and does 6 mulpd against Clang's 4 mulpd.

  1   2   >