[Bug fortran/103368] [11/12 Regression] ICE in gimplify_expr, at gimplify.c:15668 since r12-4464-g017665f63047ce47

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103368 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-11-23

[Bug fortran/103367] [11/12 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377 since r12-4278-g74ccca380cde5e79

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103367 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/103366] [12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103366 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-11-23

[Bug middle-end/103365] ICE in register_scoped_attribute, with attribute starting with underscore: -Wno-attributes=n::_a or #pragma GCC diagnostic ignored_attributes "n::_a"

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

[Bug middle-end/103374] sorry, unimplemented: __builtin_clear_padding not supported for variable length aggregates

2021-11-22 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103374 Eric Botcazou changed: What|Removed |Added Component|ada |middle-end

[Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

2021-11-22 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #17 from Jan Hubicka --- Created attachment 51853 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51853=edit Updated patch Patch attached. Indeed the oracle ICEs on ref=base=NULL. I also checked that during cc1plus build we

[Bug target/103271] ICE in assign_stack_temp_for_type with -ftrivial-auto-var-init=pattern and VLAs and -mno-strict-align on riscv64

2021-11-22 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 --- Comment #3 from rguenther at suse dot de --- On Mon, 22 Nov 2021, qinzhao at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 > > qinzhao at gcc dot gnu.org changed: > >What|Removed

[Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

2021-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #16 from Richard Biener --- (In reply to Jan Hubicka from comment #13) > Concerning comment #10, the problem was that the loop walking all accesses > was missing loads->every_base check. This is used to represent that we > track no

[Bug ada/103374] New: gcc/ada/exp_ch4.adb:7165:10: sorry, unimplemented: __builtin_clear_padding not supported for variable length aggregates

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103374 Bug ID: 103374 Summary: gcc/ada/exp_ch4.adb:7165:10: sorry, unimplemented: __builtin_clear_padding not supported for variable length aggregates Product: gcc

[Bug tree-optimization/103088] [12 regression] 500.perlbench from spec 2017 fails since r12-4698

2021-11-22 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #23 from Tamar Christina --- Thanks Aldy!

[Bug target/103370] [12 Regression] Assembler error building glibc for ColdFire soft-float

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

[Bug fortran/103368] [11/12 Regression] ICE in gimplify_expr, at gimplify.c:15668

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

[Bug target/103271] ICE in assign_stack_temp_for_type with -ftrivial-auto-var-init=pattern and VLAs and -mno-strict-align on riscv64

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 --- Comment #2 from Martin Liška --- (In reply to qinzhao from comment #1) > was not able to repeat this failure yet due to: > > 1. cannot find a riscv machine either in my company or in gcc farm. > 2. tried to build a cross-compiler on

[Bug fortran/103367] [11/12 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

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

[Bug fortran/103366] [12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

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

[Bug tree-optimization/103361] [12 Regression] ICE in adjust_unroll_factor, at gimple-loop-jam.c:407 since r12-3677-gf92901a508305f29

2021-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103361 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/103359] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103359 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

2021-11-22 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #15 from hubicka at kam dot mff.cuni.cz --- The patch passed testing on x86_64-linux.

Re: [Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

2021-11-22 Thread Jan Hubicka via Gcc-bugs
The patch passed testing on x86_64-linux.

[Bug middle-end/103364] s390x: TLS reference in /usr/lib64/libLLVM.so mismatches non-TLS reference in /usr/lib64/libLLVM.so

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

[Bug middle-end/103364] s390x: TLS reference in /usr/lib64/libLLVM.so mismatches non-TLS reference in /usr/lib64/libLLVM.so

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103364 --- Comment #4 from Andrew Pinski --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375#c11

[Bug middle-end/103364] s390x: TLS reference in /usr/lib64/libLLVM.so mismatches non-TLS reference in /usr/lib64/libLLVM.so

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103364 --- Comment #3 from Andrew Pinski --- I really doubt this would be a gcc issue. Binutils has check is: if (oldbfd != NULL && (oldbfd->flags & BFD_PLUGIN) == 0 && (abfd->flags & BFD_PLUGIN) == 0 && ELF_ST_TYPE (sym->st_info)

[Bug middle-end/103364] s390x: TLS reference in /usr/lib64/libLLVM.so mismatches non-TLS reference in /usr/lib64/libLLVM.so

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103364 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug c/103373] New: ICE in add_constraint, at cp/constraint.cc:1077

2021-11-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103373 Bug ID: 103373 Summary: ICE in add_constraint, at cp/constraint.cc:1077 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug c/103372] New: Warning on failure order defaulting to SEQ_CST if not a compile time constant

2021-11-22 Thread doodspav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103372 Bug ID: 103372 Summary: Warning on failure order defaulting to SEQ_CST if not a compile time constant Product: gcc Version: 4.9.0 Status: UNCONFIRMED

[Bug testsuite/103270] [12 regression] gcc.dg/vect/pr96698.c inner loop turned from hot to cold after r12-4526

2021-11-22 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103270 --- Comment #5 from luoxhu at gcc dot gnu.org --- ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 11 7 8 10 9 ;; ;; Loop 1 ;; header 8, latch 7 ;; depth 1, outer 0 ;; nodes: 8 7 6 10 5 4 11 3 ;; ;; Loop 2 ;;

[Bug tree-optimization/102216] [12 Regression] missed optimization causing Warray-bounds

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102216 Andrew Pinski changed: What|Removed |Added URL|https://gcc.gnu.org/piperma |https://gcc.gnu.org/piperma

[Bug fortran/103371] New: f951: internal compiler error: Aborted (free(): double free detected in tcache 2) when giving diagnostics on type of a parameter expression

2021-11-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103371 Bug ID: 103371 Summary: f951: internal compiler error: Aborted (free(): double free detected in tcache 2) when giving diagnostics on type of a parameter expression

[Bug testsuite/103270] [12 regression] gcc.dg/vect/pr96698.c inner loop turned from hot to cold after r12-4526

2021-11-22 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103270 --- Comment #4 from luoxhu at gcc dot gnu.org --- Created attachment 51851 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51851=edit Fix incorrect loop exit edge probability

[Bug testsuite/103270] [12 regression] gcc.dg/vect/pr96698.c inner loop turned from hot to cold after r12-4526

2021-11-22 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103270 --- Comment #3 from luoxhu at gcc dot gnu.org --- The profile count is correct but something wrong with edge probability, and it turns out that r12-4526 exposes a long-existing issue in profile_estimate:predict_extra_loop_exits, when searching

[Bug c/102979] GCC gives wrong error for struct definitions without semicolon, despite G++ already giving correct one

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102979 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/103278] [12 Regression] Recent change to cddce inhibits switch optimization

2021-11-22 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103278 --- Comment #8 from Jeffrey A. Law --- Adjusting the threshold didn't help the tests on the other targets. I'll have to dig a little deeper into those.

[Bug tree-optimization/102232] Missed arithmetic fold

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232 --- Comment #8 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:df1a0d526e2e4c75311345c0b73ce8483e243899 commit r12-5460-gdf1a0d526e2e4c75311345c0b73ce8483e243899 Author: Navid Rahimi Date: Mon

[Bug target/93453] PPC: rldimi not taken into account to avoid shift+or

2021-11-22 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93453 --- Comment #6 from HaoChen Gui --- Sehger, Yes, I found that the nonzero_bits doesn't return exact value in other pass. So calling nonzero_bits in md file is bad as it can't be recognized in other pass. Right now I want to convert a single

[Bug preprocessor/103355] libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions]

2021-11-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103355 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug preprocessor/103355] libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions]

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103355 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:630686f93f0018fa1ef128aa673fddd302cc83e1 commit r12-5459-g630686f93f0018fa1ef128aa673fddd302cc83e1 Author: Marek Polacek Date:

[Bug c++/77781] [DR 1315] Some valid cases of partial specialization not accepted

2021-11-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77781 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug tree-optimization/102216] [12 Regression] missed optimization causing Warray-bounds

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102216 --- Comment #11 from Andrew Pinski --- (In reply to Andrew Pinski from comment #10) > Created attachment 51850 [details] > Updated patch Note this patch is broken but I have the corrected patch which I am testing now.

[Bug c++/92145] -Wdeprecated-copy false-positive when inheriting base assignment operators

2021-11-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92145 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug tree-optimization/102216] [12 Regression] missed optimization causing Warray-bounds

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102216 Andrew Pinski changed: What|Removed |Added Attachment #51424|0 |1 is obsolete|

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2021-11-22 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96779, which changed state. Bug 96779 Summary: Failure to optimize comparison of negative version of self https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96779 What|Removed |Added

[Bug tree-optimization/96779] Failure to optimize comparison of negative version of self

2021-11-22 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96779 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug tree-optimization/96779] Failure to optimize comparison of negative version of self

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96779 --- Comment #6 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:e888bea2384a0d8d29a6545c4f57f41cb49df0a6 commit r12-5458-ge888bea2384a0d8d29a6545c4f57f41cb49df0a6 Author: Navid Rahimi Date: Mon Nov

[Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

2021-11-22 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #14 from hubicka at kam dot mff.cuni.cz --- This is bit modified patch I am testing. I added pre-computation of the number of accesses, enabled the path for const functions (in case they have memory operand), initialized alias sets

Re: [Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

2021-11-22 Thread Jan Hubicka via Gcc-bugs
This is bit modified patch I am testing. I added pre-computation of the number of accesses, enabled the path for const functions (in case they have memory operand), initialized alias sets and clarified the logic around every_* and global_memory_accesses PR tree-optimization/103168

[Bug c++/96507] missing -Waddress for member references

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

[Bug tree-optimization/103215] [12 regression] gcc generates unexpected warnings on libx11-1.7.2: error: array subscript -2 is outside array bounds of since r12-3124-g820f0940d7ace130

2021-11-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103215 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #7 from Martin Sebor

[Bug target/103370] [12 Regression] Assembler error building glibc for ColdFire soft-float

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103370 --- Comment #2 from Andrew Pinski --- case OPTION_PCREL: /* --pcrel means never turn PC-relative branches into absolute jumps. */ flag_keep_pcrel = 1; break; --pcrel is passed to

[Bug target/103370] [12 Regression] Assembler error building glibc for ColdFire soft-float

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103370 --- Comment #1 from Andrew Pinski --- if (!HAVE_LONG_BRANCH (current_architecture)) { if (flag_keep_pcrel) as_fatal (_("Tried to convert PC relative branch to absolute jump")); #define HAVE_LONG_BRANCH(x) \

[Bug target/103370] New: [12 Regression] Assembler error building glibc for ColdFire soft-float

2021-11-22 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103370 Bug ID: 103370 Summary: [12 Regression] Assembler error building glibc for ColdFire soft-float Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug target/103271] ICE in assign_stack_temp_for_type with -ftrivial-auto-var-init=pattern and VLAs and -mno-strict-align on riscv64

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

[Bug tree-optimization/93051] Wrong optimizations for pointers: `if (p == q) use p` -> `if (p == q) use q`

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93051 Andrew Pinski changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

[Bug c/103343] Invalid codegen when comparing pointer to one past the end and then dereferencing that pointer

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103343 --- Comment #5 from Andrew Pinski --- > The only thing that is questionable is the comparison with pointer past the > end of an object, which is merely unspecified. Ok, it is a dup of bug 93051. *** This bug has been marked as a duplicate of

[Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

2021-11-22 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #13 from Jan Hubicka --- Concerning comment #10, the problem was that the loop walking all accesses was missing loads->every_base check. This is used to represent that we track no useful info about loads performed at all. Anyway

[Bug c/103343] Invalid codegen when comparing pointer to one past the end and then dereferencing that pointer

2021-11-22 Thread leni536 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103343 --- Comment #4 from Lénárd Szolnoki --- A complete program example: f.h: ``` #pragma once extern int x[1]; extern int y; int f(int* p, int* q); ``` f.cpp: ``` #include "f.h" int f(int* p, int* q) { *q = y; if (p == (x + 1)) {

[Bug driver/100937] configure: Add --enable-default-semantic-interposition

2021-11-22 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100937 --- Comment #12 from hubicka at kam dot mff.cuni.cz --- > (The -fno-semantic-interposition thing is probably the biggest performance gap > between gcc -fpic and clang -fpic.) Yep, it is often confusing to users (who do not understand what ELF

Re: [Bug driver/100937] configure: Add --enable-default-semantic-interposition

2021-11-22 Thread Jan Hubicka via Gcc-bugs
> (The -fno-semantic-interposition thing is probably the biggest performance gap > between gcc -fpic and clang -fpic.) Yep, it is often confusing to users (who do not understand what ELF interposition is) that clang and gcc disagree on default flags here. Recently -Ofast was extended to imply

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-11-22 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 Jan Hubicka changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug fortran/103369] [12 Regression] gfortran.dg/vector_subscript_1.f90

2021-11-22 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103369 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/103369] [12 Regression] gfortran.dg/vector_subscript_1.f90

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103369 Andrew Pinski changed: What|Removed |Added Depends on||102043 --- Comment #1 from Andrew

[Bug tree-optimization/103359] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103359 --- Comment #2 from Andrew Pinski --- The other thing is: -ftree-bit-ccp Visiting statement: _4 = _3 & 1; which is likely CONSTANT Applying pattern match.pd:1641, gimple-match.c:23146 Lattice value changed to CONSTANT 0x0 (0x1). Adding SSA

[Bug fortran/103369] New: [12 Regression] gfortran.dg/vector_subscript_1.f90

2021-11-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103369 Bug ID: 103369 Summary: [12 Regression] gfortran.dg/vector_subscript_1.f90 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/103359] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103359 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug preprocessor/103165] [12 Regression] ICE unspellable token PRAGMA since r12-4797-g0078a058a5693871

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

[Bug preprocessor/103165] [12 Regression] ICE unspellable token PRAGMA since r12-4797-g0078a058a5693871

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103165 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a6e0d593707ae44dec0bdf2bcdc4f539050b46db commit r12-5454-ga6e0d593707ae44dec0bdf2bcdc4f539050b46db Author: Jakub Jelinek Date:

[Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw

2021-11-22 Thread tomas.kalibera at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95130 Tomas Kalibera changed: What|Removed |Added CC||tomas.kalibera at gmail dot com ---

[Bug middle-end/103365] ICE in register_scoped_attribute, at attribs.c:390

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

[Bug driver/103362] -m option is not ignored when is immediately preceded by -o option

2021-11-22 Thread egor_suvorov at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103362 --- Comment #2 from Egor Suvorov --- Thank you very much, sent a report there: https://sourceware.org/bugzilla/show_bug.cgi?id=28619

[Bug c/103343] Invalid codegen when comparing pointer to one past the end and then dereferencing that pointer

2021-11-22 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103343 --- Comment #3 from Gabriel Ravier --- Well the code does not invoke undefined behavior here, it just so happens that `p == (x + 1)` because `y` happens to be laid out in memory after `x` (note: this isn't a guarantee, of course, but GCC can't

[Bug driver/103362] -m option is not ignored when is immediately preceded by -o option

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

[Bug fortran/99061] [10/11/12 Regression] ICE in gfc_conv_intrinsic_atan2d, at fortran/trans-intrinsic.c:4728

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

[Bug fortran/99061] [10/11/12 Regression] ICE in gfc_conv_intrinsic_atan2d, at fortran/trans-intrinsic.c:4728

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99061 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:3eeda9a3b5e932bad28ca870077185ced67eb27e commit r10-10287-g3eeda9a3b5e932bad28ca870077185ced67eb27e Author: Harald Anlauf

[Bug fortran/99061] [10/11/12 Regression] ICE in gfc_conv_intrinsic_atan2d, at fortran/trans-intrinsic.c:4728

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99061 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c224f21418e105e5dbbcec98018d9329970afd84 commit r11-9263-gc224f21418e105e5dbbcec98018d9329970afd84 Author: Harald Anlauf

[Bug driver/100937] configure: Add --enable-default-semantic-interposition

2021-11-22 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100937 --- Comment #11 from Fangrui Song --- To enable interposition on Mach-O, one needs a non-default configuration like: ld -interposable, DYLD_FORCE_FLAT_NAMESPACE or __attribute__((section("__DATA,__interpose"))). On PE/COFF, such interposition

[Bug target/93453] PPC: rldimi not taken into account to avoid shift+or

2021-11-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93453 --- Comment #5 from Segher Boessenkool --- (In reply to HaoChen Gui from comment #4) > (define_insn_and_split "*rotl3_insert_8" > [(set (match_operand:GPR 0 "gpc_reg_operand" "=r") > (plus_ior_xor:GPR (ashift:GPR (match_operand:GPR 1

[Bug fortran/103368] New: [11/12 Regression] ICE in gimplify_expr, at gimplify.c:15668

2021-11-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103368 Bug ID: 103368 Summary: [11/12 Regression] ICE in gimplify_expr, at gimplify.c:15668 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/103367] New: [11/12 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

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

[Bug fortran/103366] New: [12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

2021-11-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103366 Bug ID: 103366 Summary: [12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c/103365] New: [12 Regression] ICE in register_scoped_attribute, at attribs.c:390

2021-11-22 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103365 Bug ID: 103365 Summary: [12 Regression] ICE in register_scoped_attribute, at attribs.c:390 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/103364] s390x: TLS reference in /usr/lib64/libLLVM.so mismatches non-TLS reference in /usr/lib64/libLLVM.so

2021-11-22 Thread sarah.kriesch at opensuse dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103364 --- Comment #1 from Sarah Julia Kriesch --- gcc version: 11-4.1 operating system: openSUSE Tumbleweed (build process of PostgreSQL14 and Rust1.54) architecture: s390x options at PostgreSQL: CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith

[Bug c/103364] New: s390x: TLS reference in /usr/lib64/libLLVM.so mismatches non-TLS reference in /usr/lib64/libLLVM.so

2021-11-22 Thread sarah.kriesch at opensuse dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103364 Bug ID: 103364 Summary: s390x: TLS reference in /usr/lib64/libLLVM.so mismatches non-TLS reference in /usr/lib64/libLLVM.so Product: gcc Version: og11 (devel/omp/gcc-11)

[Bug c++/103347] [9/10/11/12 Regression] Non-static data member initialization is erroneously allowed in C++03 with assignment to NULL

2021-11-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/103074] [11/12 Regression] ICE in lra_assign, at lra-assigns.c:1649 since r11-5066-gbe39636d9f68c437

2021-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103074 --- Comment #3 from Jakub Jelinek --- Ah, actually what I see is that sched1 swaps the order of: (insn 22 21 23 4 (parallel [ (set (reg:SI 88) (ashiftrt:SI (reg/v:SI 84 [ a ]) (const_int 32

[Bug tree-optimization/98953] Failure to optimize two reads from adjacent addresses into one

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98953 --- Comment #3 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:a944b5dec3adb28ed199234d2116145ca9010d6a commit r12-5453-ga944b5dec3adb28ed199234d2116145ca9010d6a Author: Roger Sayle Date: Mon

[Bug tree-optimization/103345] missed optimization: add/xor individual bytes to form a word

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103345 --- Comment #3 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:a944b5dec3adb28ed199234d2116145ca9010d6a commit r12-5453-ga944b5dec3adb28ed199234d2116145ca9010d6a Author: Roger Sayle Date: Mon

[Bug c++/103333] [accepts-invalid] function template argument deduction for incompatible 'transformed A' / 'deduced A' pair

2021-11-22 Thread leni536 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 --- Comment #1 from Lénárd Szolnoki --- This can be turned into wrong-code. C++11 example without includes: ``` template struct enable_if {}; template struct enable_if { using type = T; }; template using enable_if_t = typename

[Bug target/103074] [11/12 Regression] ICE in lra_assign, at lra-assigns.c:1649 since r11-5066-gbe39636d9f68c437

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

[Bug tree-optimization/103192] [12 Regression] ICE on libgomp target-in-reduction-2.{C,c}

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

[Bug testsuite/103264] [12 regression] gcc.dg/tree-prof/merge_block.c fails after r12-5236

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

[Bug c++/103363] confusing -Wnonnull-compare testing a reference argument for equality to null

2021-11-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103363 Martin Sebor changed: What|Removed |Added Known to fail||10.3.0, 11.2.0, 12.0,

[Bug c++/103363] New: confusing -Wnonnull-compare testing a reference argument for equality to null

2021-11-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103363 Bug ID: 103363 Summary: confusing -Wnonnull-compare testing a reference argument for equality to null Product: gcc Version: 4.2.0 Status: UNCONFIRMED

[Bug c++/103329] [11/12 Regression] Code divergence in debug info with -fdump-tree-original since r11-291-g0f50f6daa140186a

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

[Bug c++/103362] New: -m option is not ignored when is immediately preceded by -o option

2021-11-22 Thread egor_suvorov at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103362 Bug ID: 103362 Summary: -m option is not ignored when is immediately preceded by -o option Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103361] [12 Regression] ICE in adjust_unroll_factor, at gimple-loop-jam.c:407 since r12-3677-gf92901a508305f29

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103361 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug c++/96507] missing -Waddress for member references

2021-11-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96507 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/103361] New: ICE in adjust_unroll_factor, at gimple-loop-jam.c:407

2021-11-22 Thread vsevolod.livinskij at frtk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103361 Bug ID: 103361 Summary: ICE in adjust_unroll_factor, at gimple-loop-jam.c:407 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/103347] [9/10/11/12 Regression] Non-static data member initialization is erroneously allowed in C++03 with assignment to NULL

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

[Bug c/103343] Invalid codegen when comparing pointer to one past the end and then dereferencing that pointer

2021-11-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103343 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug c++/101731] [9/10/11 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.c:4055

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

[Bug c++/101731] [9/10/11/12 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.c:4055

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101731 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1aedb3920a45bfe75db4514502b4e7f83e108f63 commit r12-5451-g1aedb3920a45bfe75db4514502b4e7f83e108f63 Author: Jakub Jelinek Date:

  1   2   >