[Bug tree-optimization/102271] New: [12 Regression] ICE in make_decl_rtl, at varasm.c:1446 since r12-3433-ga25e0b5e6ac8a77a

2021-09-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102271 Bug ID: 102271 Summary: [12 Regression] ICE in make_decl_rtl, at varasm.c:1446 since r12-3433-ga25e0b5e6ac8a77a Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/102273] ICE in expand_DEFERRED_INIT, at internal-fn.c:3024 since r12-3433-ga25e0b5e6ac8a77a

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

[Bug tree-optimization/102273] ICE in expand_DEFERRED_INIT, at internal-fn.c:3024 since r12-3433-ga25e0b5e6ac8a77a

2021-09-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102273 --- Comment #1 from Martin Liška --- This one is about nested functions: optimized dump looks like: ;; Function foo (foo, funcdef_no=0, decl_uid=1980, cgraph_uid=2, symbol_order=1) struct A foo () { struct FRAME.foo FRAME.0; struct A e

[Bug tree-optimization/102271] ICE in make_decl_rtl with -ftrivial-auto-var-init=pattern and empty class

2021-09-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102271 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/102273] ICE in expand_DEFERRED_INIT, at internal-fn.c:3024 since r12-3433-ga25e0b5e6ac8a77a

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102273 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/97352] gcc.dg/vect/bb-slp-pr78205.c fails to vectorize all opportunities with AVX

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97352 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug other/101711] Error when gcc cross compile libvtv

2021-09-10 Thread bootmgr at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101711 --- Comment #11 from bootmgr at 163 dot com --- (In reply to ctice from comment #10) > I have been trying off-and-on for the last 3 weeks to build a ming64 GCC > cross-compiler, on my x86_64 linux ELF system, and I have not been able to > do

[Bug target/102264] Macro Intrinsics fail to use all the registers on the machine

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102264 Richard Biener changed: What|Removed |Added Target||x86_64-*-*

[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier

2021-09-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 --- Comment #1 from 康桓瑋 --- This is missing from r278331.

[Bug target/102154] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-3277-gd2874d905647a1d146dafa60199d440e837adc4d

2021-09-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154 --- Comment #23 from Segher Boessenkool --- (In reply to rguent...@suse.de from comment #21) > > /home/seurer/gcc/git/gcc-test/libgo/go/strconv/atof.go:704:1: error: > > unrecognizable insn: > > 704 | func parseFloatPrefix(s string, bitSize

[Bug target/102154] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-3277-gd2874d905647a1d146dafa60199d440e837adc4d

2021-09-10 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154 --- Comment #21 from rguenther at suse dot de --- On Thu, 9 Sep 2021, seurer at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154 > > --- Comment #19 from seurer at gcc dot gnu.org --- > This also prevents gcc from

[Bug ipa/62051] [9/10/11/12 Regression] Undefined reference to vtable with -O2 and -fdevirtualize-speculatively

2021-09-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62051 --- Comment #26 from Andrew Pinski --- Is this even valid? That is Base and Derived in the shared library and the main program are considered two different classes because of -fvisibility=hidden and the classes are not marked as visibility

[Bug c++/102263] Requesting enhanced warning on returning pointer/reference to local

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102263 Richard Biener changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug target/102154] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-3277-gd2874d905647a1d146dafa60199d440e837adc4d

2021-09-10 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154 --- Comment #22 from Hongtao.liu --- (In reply to rguent...@suse.de from comment #21) > On Thu, 9 Sep 2021, seurer at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154 > > > > --- Comment #19 from seurer at gcc

[Bug c/102268] Wrong code with aliasing union pointers

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/102271] [12 Regression] ICE in make_decl_rtl, at varasm.c:1446 since r12-3433-ga25e0b5e6ac8a77a

2021-09-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102271 Martin Liška changed: What|Removed |Added Target Milestone|--- |12.0 See Also|

[Bug tree-optimization/102183] sccvn compare predicated result issue in vn_nary_op_insert_into

2021-09-10 Thread dizhao at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102183 Di Zhao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ada/70867] [9/10/11/12 regression] access discriminant in return aggregate wrongly detected as dangling

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

[Bug c/102268] Wrong code with aliasing union pointers

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 Richard Biener changed: What|Removed |Added Version|unknown |11.2.1 CC|

[Bug c/102268] Wrong code with aliasing union pointers

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 --- Comment #3 from Richard Biener --- Oh, and related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82224

[Bug tree-optimization/102269] ICE in verify_gimple_stmt and -ftrivial-auto-var-init=zero and zero size array

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

[Bug c/102268] Wrong code with aliasing union pointers

2021-09-10 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 --- Comment #6 from rguenther at suse dot de --- On Fri, 10 Sep 2021, davmac at davmac dot org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 > > --- Comment #5 from Davin McCall --- > Hi Richard, > I think you marked as a

[Bug tree-optimization/102273] ICE in expand_DEFERRED_INIT, at internal-fn.c:3024 since r12-3433-ga25e0b5e6ac8a77a

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102273 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:79f488de3036a4a4be08df2a782e6eb02419db19 commit r12-3447-g79f488de3036a4a4be08df2a782e6eb02419db19 Author: Richard Biener Date:

[Bug gcov-profile/90364] 521.wrf_r is 8-17% slower with PGO at -Ofast and native march/mtune

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

[Bug c++/102261] [12 Regression] ICE: Segmentation fault (in build_this_conversion)

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

[Bug target/18216] Different results when an array is statically/dynamically allocated

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

[Bug tree-optimization/102269] [12 Regression] ICE in verify_gimple_stmt since r12-3433-ga25e0b5e6ac8a77a

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

[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier

2021-09-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-09-10

[Bug tree-optimization/102269] ICE in verify_gimple_stmt and -ftrivial-auto-var-init=zero and zero size array

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102269 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/102269] ICE in verify_gimple_stmt and -ftrivial-auto-var-init=zero and zero size array

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102269 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:1dae802b685937b1dc52e49d0641c75f3186ba14 commit r12-3445-g1dae802b685937b1dc52e49d0641c75f3186ba14 Author: Richard Biener Date:

[Bug target/102154] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-3277-gd2874d905647a1d146dafa60199d440e837adc4d

2021-09-10 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154 --- Comment #24 from rguenther at suse dot de --- On Fri, 10 Sep 2021, segher at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154 > > --- Comment #23 from Segher Boessenkool --- > (In reply to rguent...@suse.de

[Bug tree-optimization/102269] ICE in verify_gimple_stmt and -ftrivial-auto-var-init=zero and zero size array

2021-09-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102269 --- Comment #4 from Martin Liška --- *** Bug 102271 has been marked as a duplicate of this bug. ***

[Bug libstdc++/100427] canadian compile for mingw-w64 copies the wrong dlls for mingw-w64 multilibs

2021-09-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100427 --- Comment #5 from cqwrteur --- actually a lot of dlls are not copied correctly. libstdc++-6.dll libatomic.dll libquadmath.dll libssp.dll are all copied with 32 bit dlls. And libgcc_seh.dll is not copied. I think the copy to bin behavior

[Bug tree-optimization/82224] Strict-aliasing not noticing valid aliasing of two unions with active members

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82224 --- Comment #14 from Richard Biener --- Oh, and related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82224

[Bug tree-optimization/102271] ICE in make_decl_rtl with -ftrivial-auto-var-init=pattern

2021-09-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102271 Andrew Pinski changed: What|Removed |Added Target Milestone|12.0|--- Summary|[12 Regression]

[Bug tree-optimization/102273] ICE in expand_DEFERRED_INIT, at internal-fn.c:3024 since r12-3433-ga25e0b5e6ac8a77a

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102273 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/95285] AArch64:aarch64 medium code model proposal

2021-09-10 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95285 --- Comment #17 from Wilco --- Here is the current medium code model proposal: https://github.com/ARM-software/abi-aa/pull/107/files

[Bug c++/67650] undef reference with -fdevirtualize

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

[Bug c++/102261] [12 Regression] ICE: Segmentation fault (in build_this_conversion) since r12-3346-g47543e5f9d1fc502

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

[Bug libstdc++/102270] New: std::tuple<>::swap missing constexpr specifier

2021-09-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 Bug ID: 102270 Summary: std::tuple<>::swap missing constexpr specifier Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/102272] New: rejects-valid: VLA captured in generic lambda

2021-09-10 Thread simon.giesecke at snowflake dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102272 Bug ID: 102272 Summary: rejects-valid: VLA captured in generic lambda Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/102264] [9/10/11/12 Regression] extra spilling when using inline-asm and all registers

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

[Bug libstdc++/102259] ifstream::read(…, count) fails when count >= 2^31 on darwin

2021-09-10 Thread mimomorin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102259 --- Comment #2 from Michel Morin --- Whoa, darwin's (and FreeBSD's too?) `read(…, …, nbyte)` fails when nbyte >= 2^31! This is the culprit, I think. I also found the following description in FreeBSD's manpage of read

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-09-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 cqwrteur changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug target/102274] New: aarch64: ICE (unrecognizable insn) with __builtin_aarch64_fmlal_highv2sf

2021-09-10 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102274 Bug ID: 102274 Summary: aarch64: ICE (unrecognizable insn) with __builtin_aarch64_fmlal_highv2sf Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/102269] New: [12 Regression] ICE in verify_gimple_stmt since r12-3433-ga25e0b5e6ac8a77a

2021-09-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102269 Bug ID: 102269 Summary: [12 Regression] ICE in verify_gimple_stmt since r12-3433-ga25e0b5e6ac8a77a Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/102269] [12 Regression] ICE in verify_gimple_stmt since r12-3433-ga25e0b5e6ac8a77a

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

[Bug target/102264] Macro Intrinsics fail to use all the registers on the machine

2021-09-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102264 --- Comment #4 from Andrew Pinski --- (In reply to Richard Biener from comment #3) > Maybe 'x' is simply the wrong constraint? Try 'y'. It is 'v': v Any EVEX encodable SSE register (%xmm0-%xmm31).

[Bug c/102268] Wrong code with aliasing union pointers

2021-09-10 Thread davmac at davmac dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268 --- Comment #5 from Davin McCall --- Hi Richard, I think you marked as a duplicate of the wrong bug. It is indeed a duplicate of 82224 - sorry, I didn't realise that there was already a bug filed, also this test case is "fixed" by version 8.1

[Bug tree-optimization/101667] GNAT bug detected in op1_range in range-op.cc during GIMPLE pass evrp

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

[Bug tree-optimization/101641] Bogus redundant store removal

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101641 Richard Biener changed: What|Removed |Added CC||davmac at davmac dot org --- Comment

[Bug tree-optimization/102271] [12 Regression] ICE in make_decl_rtl, at varasm.c:1446 since r12-3433-ga25e0b5e6ac8a77a

2021-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102271 --- Comment #1 from Richard Biener --- Can't reproduce with the pending patch for PR102269.

[Bug tree-optimization/102273] ICE in expand_DEFERRED_INIT, at internal-fn.c:3024 since r12-3433-ga25e0b5e6ac8a77a

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

[Bug tree-optimization/102273] New: ICE in expand_DEFERRED_INIT, at internal-fn.c:3024 since r12-3433-ga25e0b5e6ac8a77a

2021-09-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102273 Bug ID: 102273 Summary: ICE in expand_DEFERRED_INIT, at internal-fn.c:3024 since r12-3433-ga25e0b5e6ac8a77a Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-09-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #14 from cqwrteur --- Created attachment 51433 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51433=edit config file

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-09-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #13 from cqwrteur --- Created attachment 51432 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51432=edit i see the bug again here are the logs

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

2021-09-10 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102276 Bug ID: 102276 Summary: -ftrivial-auto-var-init fails to initialize a variable, causes a spurious warning Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/40505] hppa: ICE: in expand_expr_addr_expr_1, at expr.c:6830

2021-09-10 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40505 --- Comment #10 from dave.anglin at bell dot net --- The ICE doesn't occur with g++-8, g++-9, g++-10 or g++-11, so I think this bug can be closed.

[Bug fortran/102275] New: Assumed rank, unlimited polymorphic pointer gives incorrect behavious

2021-09-10 Thread paal at levold dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102275 Bug ID: 102275 Summary: Assumed rank, unlimited polymorphic pointer gives incorrect behavious Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/102269] ICE in verify_gimple_stmt and -ftrivial-auto-var-init=zero and zero size array

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

[Bug ipa/62051] [9/10/11/12 Regression] Undefined reference to vtable with -O2 and -fdevirtualize-speculatively

2021-09-10 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62051 --- Comment #27 from Jason Merrill --- (In reply to Andrew Pinski from comment #26) > That is Base and Derived in the shared library and the main program are > considered two different classes because of -fvisibility=hidden and the > classes are

[Bug c/102279] Bad codegen with ILP32, packed struct field pointer, static variable

2021-09-10 Thread nyphbl8d at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102279 Will changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/102279] Bad codegen with ILP32, packed struct field pointer, static variable

2021-09-10 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102279 --- Comment #1 from Richard Earnshaw --- Looks to me like this code violates the aliasing rules. Compiling with -fno-strict-aliasing looks generate what your are expecting (although your expectations are wrong by the C standard). Oddly,

[Bug bootstrap/102277] New: hppa2.0w-hp-hpux11.23 bootstrap comparison failure

2021-09-10 Thread me at larbob dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102277 Bug ID: 102277 Summary: hppa2.0w-hp-hpux11.23 bootstrap comparison failure Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libgcc/102278] New: Fails to build on powerpc-unknown-freebsd since 20210801 snapshot

2021-09-10 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102278 Bug ID: 102278 Summary: Fails to build on powerpc-unknown-freebsd since 20210801 snapshot Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier

2021-09-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 --- Comment #2 from 康桓瑋 --- In addition, the uses-allocator construction version also missing constexpr specifier, but I don't know if this is intentional. #include #include struct O { using allocator_type = std::allocator; O() =

[Bug c/102279] New: Bad codegen with ILP32, packed struct field pointer, static variable

2021-09-10 Thread nyphbl8d at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102279 Bug ID: 102279 Summary: Bad codegen with ILP32, packed struct field pointer, static variable Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/102273] ICE in expand_DEFERRED_INIT, at internal-fn.c:3024 since r12-3433-ga25e0b5e6ac8a77a

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

[Bug fortran/98472] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:7352

2021-09-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98472 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/96184] [11/12 Regression] GCC treats "use of local variable with automatic storage from containing function" differently in versions

2021-09-10 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96184 Jason Merrill changed: What|Removed |Added Priority|P3 |P2 Target Milestone|9.5

[Bug fortran/93701] ICE on associate of wrongly accessed array

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93701 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:56defe319186a21dc37e50db8d71185bce332506 commit r10-10108-g56defe319186a21dc37e50db8d71185bce332506 Author: Paul Thomas

[Bug fortran/98565] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3950

2021-09-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98565 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/98565] internal compiler error: in conv_function_val, at fortran/trans-expr.c:3950

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98565 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:755299ea93dd064ab5ec1027a34f30ca2d908f4c commit r10-10110-g755299ea93dd064ab5ec1027a34f30ca2d908f4c Author: Paul Thomas

[Bug fortran/97612] [F08] Structure constructor of type with nested allocatable array components fails to compile

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97612 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:80b1492b2de153f4850a32cafcd8f4d37c2c84fc commit r10-10111-g80b1492b2de153f4850a32cafcd8f4d37c2c84fc Author: Paul Thomas

[Bug c++/102284] Can access object outside of its lifetime during constant evaluation

2021-09-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102284 --- Comment #3 from Andrew Pinski --- I think there might be a dup of this bug.

[Bug c++/102283] New: Inconsistent/wrong overload resolution when using an initializer list and a defaulted template parameter

2021-09-10 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102283 Bug ID: 102283 Summary: Inconsistent/wrong overload resolution when using an initializer list and a defaulted template parameter Product: gcc Version: 11.2.1 Status:

[Bug fortran/100110] Parameterized Derived Types, problems with global variable

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100110 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:714b85f6fce0448b9d4d5e5d21152a3478b27422 commit r10-10106-g714b85f6fce0448b9d4d5e5d21152a3478b27422 Author: Paul Thomas

[Bug fortran/98472] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:7352

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98472 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:0a79a5457a1a982dd05b8ae33e1320d040a20ccd commit r10-10107-g0a79a5457a1a982dd05b8ae33e1320d040a20ccd Author: Paul Thomas

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2021-09-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 93701, which changed state. Bug 93701 Summary: ICE on associate of wrongly accessed array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93701 What|Removed |Added

[Bug testsuite/102282] New: New test cases in r12-3320 fail

2021-09-10 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102282 Bug ID: 102282 Summary: New test cases in r12-3320 fail Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite

[Bug fortran/97694] ICE with optional assumed rank class(*) argument

2021-09-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97694 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/97723] type bound ASSIGNMENT(=) within select rank block wrongly rejected

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

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

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102254 --- Comment #8 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:57b7c432cce893e1ba60d9b94a9606df6b419379 commit r12-3457-g57b7c432cce893e1ba60d9b94a9606df6b419379 Author: liuhongt Date: Fri Sep

[Bug target/102154] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-3277-gd2874d905647a1d146dafa60199d440e837adc4d

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154 --- Comment #25 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:57b7c432cce893e1ba60d9b94a9606df6b419379 commit r12-3457-g57b7c432cce893e1ba60d9b94a9606df6b419379 Author: liuhongt Date: Fri

[Bug target/102211] [12 regression] ICE introduced by r12-3277

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102211 --- Comment #8 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:57b7c432cce893e1ba60d9b94a9606df6b419379 commit r12-3457-g57b7c432cce893e1ba60d9b94a9606df6b419379 Author: liuhongt Date: Fri Sep

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes many crashes in the testsuite

2021-09-10 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #2 from qinzhao at gcc dot gnu.org --- I checked all the listed testing cases with the latest GCC + -g -ftrivial-auto-var-init=pattern -O2 all passed without issue.

[Bug target/102154] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-3277-gd2874d905647a1d146dafa60199d440e837adc4d

2021-09-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154 --- Comment #26 from Segher Boessenkool --- (In reply to rguent...@suse.de from comment #24) > > The expander should never create such code in the first place, it is > > premature > > optimisation! At expand time this should be separate

[Bug c++/102280] span's range deduction guide is missing ranges::contiguous_range constraint

2021-09-10 Thread joeloser93 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102280 --- Comment #2 from Joe Loser --- Sorry, typo in previous comment. The `span` range deduction guide should constrain on `ranges::contiguous_range`, not `contiguous_iterator` concept -- sorry. This is from P1394 (https://wg21.link/p1394).

[Bug c++/102281] New: -ftrivial-auto-var-init=zero causes ice

2021-09-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102281 Bug ID: 102281 Summary: -ftrivial-auto-var-init=zero causes ice Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/100110] Parameterized Derived Types, problems with global variable

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100110 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f692856517393d60f745f20306173919e18fc71a commit r9-9718-gf692856517393d60f745f20306173919e18fc71a Author: Paul Thomas

[Bug fortran/98472] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:7352

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98472 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c101105e7852a940f967137f6b9e0a97d7f2c3c3 commit r9-9719-gc101105e7852a940f967137f6b9e0a97d7f2c3c3 Author: Paul Thomas

[Bug libstdc++/102259] ifstream::read(…, count) fails when count >= 2^31 on darwin

2021-09-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102259 --- Comment #3 from Andrew Pinski --- (In reply to Michel Morin from comment #2) > Whoa, darwin's (and FreeBSD's too?) `read(…, …, nbyte)` fails when nbyte >= > 2^31! This is the culprit, I think. > > I also found the following description in

[Bug c++/102284] New: Can access object outside of its lifetime during constant evaluation

2021-09-10 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102284 Bug ID: 102284 Summary: Can access object outside of its lifetime during constant evaluation Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug c++/102284] Can access object outside of its lifetime during constant evaluation

2021-09-10 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102284 --- Comment #2 from Johel Ernesto Guerrero Peña --- Fixed that: https://godbolt.org/z/YGf4GTP5P. ```C++ struct X { constexpr ~X() { } }; int main() { []() consteval { X x{}; x.~X(); }(); } ```

[Bug c++/102284] Can access object outside of its lifetime during constant evaluation

2021-09-10 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102284 --- Comment #1 from Johel Ernesto Guerrero Peña --- There's also https://eel.is/c++draft/basic.life#9.sentence-1 to consider. See https://godbolt.org/z/P97Kaqhv8. ```C++ struct X { int x; }; int main() { []() consteval { X x{};

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes many crashes in the testsuite

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

[Bug target/102154] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-3277-gd2874d905647a1d146dafa60199d440e837adc4d

2021-09-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154 --- Comment #27 from Segher Boessenkool --- (In reply to Hongtao.liu from comment #22) > > Btw, I think this is a subreg that would be reasonable to handle. > > It's exactly the kind that x86 would like to allow, (subreg:HF (reg:SI > > ..) 0).

[Bug c++/102280] New: span'

2021-09-10 Thread joeloser93 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102280 Bug ID: 102280 Summary: span' Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc

[Bug bootstrap/102278] [12 regression] Bootstrap fails with LLVM 11.0.1 on powerpc-unknown-freebsd: libgcov-interface.c:201:1: internal compiler error

2021-09-10 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102278 --- Comment #1 from Piotr Kubaj --- The full error with the command line executed is: /wrkdirs/usr/ports/lang/gcc12-devel/work/.build/./gcc/xgcc -B/wrkdirs/usr/ports/lang/gcc12-devel/work/.build/./gcc/

[Bug fortran/93701] ICE on associate of wrongly accessed array

2021-09-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93701 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:acfdc0b662e8ed7d850ef42215b2436df720ca5f commit r9-9720-gacfdc0b662e8ed7d850ef42215b2436df720ca5f Author: Paul Thomas

  1   2   >