[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 --- Comment #11 from Martin Liška --- (In reply to Jakub Jelinek from comment #10) > (In reply to Martin Liška from comment #9) > > Isn't the problem right now the violation of -Wpsabi? > > Why would that be a problem? That warning sais that if

[Bug c++/94478] [10 Regression] ICE in comptypes, at cp/typeck.c:1486

2020-04-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94478 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug driver/94491] -g2 debugging level is not documented

2020-04-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94491 Martin Liška changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/94493] FreeBSD-ports lang/gcc9 (9.3.0) on FreeBSD 13 crash if building ftp/filezilla

2020-04-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94493 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-04-06 Status|UNCONFIRMED

[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 --- Comment #10 from Jakub Jelinek --- (In reply to Martin Liška from comment #9) > Isn't the problem right now the violation of -Wpsabi? Why would that be a problem? That warning sais that if SSE is disabled the vector arguments (or return val

[Bug target/94494] gcc-10 unrecognizable insn

2020-04-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94494 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/94479] NetBSD: internal compiler error: in recompute_tree_invariant_for_addr_expr

2020-04-05 Thread tk at giga dot or.at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94479 --- Comment #2 from Thomas Klausner --- I can provide one for gcc 8.3.0: rebase.i: In function ‘e’: rebase.i:7:23: warning: initialization of ‘char’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] struct b f[] = {{}

[Bug target/94488] [AArch64] ICE on right shift of V2DImode by DImode shift

2020-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94488 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/94489] ICE: unexpected expression ‘std::min’ of kind overload

2020-04-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94489 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-04-06 CC|

[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 Martin Liška changed: What|Removed |Added Known to work||6.4.0 CC|

[Bug target/94479] NetBSD: internal compiler error: in recompute_tree_invariant_for_addr_expr

2020-04-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94479 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-04-06 Component|c

[Bug c++/94478] [10 Regression] ICE in comptypes, at cp/typeck.c:1486

2020-04-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94478 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/94475] [9/10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in element_mode, at tree.c:13813

2020-04-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94475 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug target/94494] New: gcc-10 unrecognizable insn

2020-04-05 Thread abrahm.scully at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94494 Bug ID: 94494 Summary: gcc-10 unrecognizable insn Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assign

[Bug debug/94469] lto abstract variable emitted as concrete decl (ada test-case)

2020-04-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94469 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2020-04-05 Thread umesh.kalappa0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 Umesh Kalappa changed: What|Removed |Added CC||umesh.kalappa0 at gmail dot com --- Comm

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

2020-04-05 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 --- Comment #15 from sandra at gcc dot gnu.org --- Hmmm. I've gone over this code 2 or 3 times now, and I'm still convinced the problem is in the alias analysis, not the scheduler. I've stepped deeper into the code in the debugger, and here is t

[Bug tree-optimization/94488] [AArch64] ICE on right shift of V2DImode by DImode shift

2020-04-05 Thread e...@coeus-group.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94488 --- Comment #3 from Evan Nemerson --- Thanks for looking into this. Left shift instead of right also seems to be a problem. The backtrace is a bit different, but I figure it's probably the same issue; if not I can open up a new report. I actua

[Bug target/89096] [8/9/10 regression] AIX 7 linker rejects _.ro_ sections by default

2020-04-05 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89096 --- Comment #30 from David Edelsohn --- Yes, I can reproduce the error, but it only occurs when -bsvr4 is used. Have you looked at what -bsvr4 enables in the ld man page? Not just the -R comment. -brtl -brtllib -bexpfull -R, instead of being

[Bug bootstrap/87252] gcc-4.4 cross-builds broken, apparently in self-tests

2020-04-05 Thread abrahm.scully at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87252 --- Comment #8 from Abrahm Scully --- I don't think anything is wrong with gcc-10-20200329. The code looks fine. I realized later that the versions of gcc I mentioned where I don't see this problem are all from release branches. As described in

[Bug c++/93597] [9 Regression] ICE in get_fns since r10-6219

2020-04-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93597 Marek Polacek changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/93597] [9 Regression] ICE in get_fns since r10-6219

2020-04-05 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93597 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:6db837a5288ee3ca5ec504fbd5a765817e556ac2 commit r9-8456-g6db837a5288ee3ca5ec504fbd5a765817e556ac2 Author: Marek Polacek Dat

[Bug ada/94419] accepting wrong programs because compiler error

2020-04-05 Thread yyelle at rbx dot email
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94419 Uriy changed: What|Removed |Added Attachment #48205|0 |1 is obsolete|

[Bug ada/94419] accepting wrong programs because compiler error

2020-04-05 Thread yyelle at rbx dot email
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94419 --- Comment #3 from Uriy --- Created attachment 48205 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48205&action=edit example code

[Bug ada/94419] accepting wrong programs because compiler error

2020-04-05 Thread yyelle at rbx dot email
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94419 --- Comment #2 from Uriy --- Thank you for reply. Recently I test gcc 9.3.0 and it report some errors in the example code. But I modify it slightly and it works with no errors. I think the code is enough clear to see what exact clauses RM are vio

[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-05 Thread e...@coeus-group.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 Evan Nemerson changed: What|Removed |Added Attachment #48193|0 |1 is obsolete|

[Bug libstdc++/35968] nth_element fails to meet its complexity requirements

2020-04-05 Thread andersk at mit dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35968 Anders Kaseorg changed: What|Removed |Added CC||andersk at mit dot edu --- Comment #11

[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-05 Thread e...@coeus-group.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 --- Comment #7 from Evan Nemerson --- Created attachment 48203 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48203&action=edit Non-reduced test case Thanks for looking into this. ASan didn't have any issues with the original, non-reduced

[Bug c++/94493] FreeBSD-ports lang/gcc9 (9.3.0) on FreeBSD 13 crash if building ftp/filezilla

2020-04-05 Thread gcc-bugs at opsec dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94493 --- Comment #4 from Kurt Jaeger --- Created attachment 48202 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48202&action=edit The source code As described, it crashes very early in the compile

[Bug c++/94493] FreeBSD-ports lang/gcc9 (9.3.0) on FreeBSD 13 crash if building ftp/filezilla

2020-04-05 Thread gcc-bugs at opsec dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94493 --- Comment #3 from Kurt Jaeger --- g++9 -v Using built-in specs. COLLECT_GCC=g++9 COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc9/gcc/x86_64-portbld-freebsd13.0/9.3.0/lto-wrapper Target: x86_64-portbld-freebsd13.0 Configured with: /wrkdirs/usr/ports

[Bug c++/94493] FreeBSD-ports lang/gcc9 (9.3.0) on FreeBSD 13 crash if building ftp/filezilla

2020-04-05 Thread gcc-bugs at opsec dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94493 --- Comment #2 from Kurt Jaeger --- An attempt to produce a reduced test case failed. Even commenting the first line of of the first include in engine_context.cpp cause a crash. FreeBSD version: FreeBSD fc.opsec.eu 13.0-CURRENT FreeBSD 13.0-CUR

[Bug c++/94493] FreeBSD-ports lang/gcc9 (9.3.0) on FreeBSD 13 crash if building ftp/filezilla

2020-04-05 Thread gcc-bugs at opsec dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94493 --- Comment #1 from Kurt Jaeger --- Created attachment 48201 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48201&action=edit the compile script The compile script

[Bug c++/94493] New: FreeBSD-ports lang/gcc9 (9.3.0) on FreeBSD 13 crash if building ftp/filezilla

2020-04-05 Thread gcc-bugs at opsec dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94493 Bug ID: 94493 Summary: FreeBSD-ports lang/gcc9 (9.3.0) on FreeBSD 13 crash if building ftp/filezilla Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/94492] New: no way to silence -Wdeprecated-copy for aggregates

2020-04-05 Thread nok.raven at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94492 Bug ID: 94492 Summary: no way to silence -Wdeprecated-copy for aggregates Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal P

[Bug bootstrap/87252] gcc-4.4 cross-builds broken, apparently in self-tests

2020-04-05 Thread abrahm.scully at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87252 --- Comment #7 from Abrahm Scully --- I hit an ICE today that looks like this bug. I attempted to build gcc-10-20200329 on 32-bit CentOS 6 using g++ 4.4.7-23.el6. I don't see this bug building gcc-6.3, gcc-7.3, gcc-8.3, or gcc-9-20200118 on the s

[Bug c++/94141] c++20 rewritten operator== recursive call mixing friend and external operators for template class

2020-04-05 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94141 --- Comment #2 from Marc Glisse --- Ah, maybe the friend function is not quite a template, so the generated swapped function is not a template either, and thus it has priority over a template if both are exact matches? This is going to break a n

[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 --- Comment #6 from Martin Liška --- But I bet it's invalid code: $ gcc -fsanitize=undefined pr94482.c -O2 && ./a.out pr94482.c:14:11: runtime error: index 2 out of bounds for type 'long int [2]' pr94482.c:14:15: runtime error: store to addres

[Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | --- Comment #5 from Martin Liška --- Fi

[Bug c++/94141] c++20 rewritten operator== recursive call mixing friend and external operators for template class

2020-04-05 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94141 --- Comment #1 from Marc Glisse --- It looks like clang-10+ also generates an infinite loop on this code. Does the standard really give priority to some implicit function over a user-defined one that is an exact match?

[Bug driver/94491] New: -g2 debugging level is not documented

2020-04-05 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94491 Bug ID: 94491 Summary: -g2 debugging level is not documented Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver

[Bug rtl-optimization/92989] [10 Regression] The mips-mti-linux-gnu fails to build after r276327

2020-04-05 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92989 rsandifo at gcc dot gnu.org changed: What|Removed |Added URL||https://gcc.gnu.org/piperma