[Bug c/94010] [missed optimization] constant automatic string variable not elided

2020-03-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94010 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/59863] const array in function is placed on stack

2020-03-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59863 Richard Biener changed: What|Removed |Added CC||aleksey.covacevice at gmail dot co

[Bug bootstrap/93962] [10 regression] bootstrap fails with gcc/value-prof.c:268:28 : error: format '%lld' expects argument of type 'long long int', but argument 3 hastype 'int'

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93962 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug target/93995] [10 Regression] ICE in patch_jump_insn, at cfgrtl.c:1290 on riscv64-linux-gnu

2020-03-03 Thread kito at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93995 Kito Cheng changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/93995] [10 Regression] ICE in patch_jump_insn, at cfgrtl.c:1290 on riscv64-linux-gnu

2020-03-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93995 --- Comment #4 from CVS Commits --- The master branch has been updated by Kito Cheng : https://gcc.gnu.org/g:8cc59ac591256f8899e137db7633fd7d1a2164ba commit r10-7008-g8cc59ac591256f8899e137db7633fd7d1a2164ba Author: Kito Cheng Date: Tue Mar

[Bug target/94019] [9 regression] gcc.dg/vect/vect-over-widen-17.c fails starting with g:370c2ebe8fa20e0812cd2d533d4ed38ee2d37c85, r9-1590

2020-03-03 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94019 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/94013] [10 Regression] library algos need to work around cwg 2094

2020-03-03 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94013 --- Comment #5 from fdlbxtqi --- (In reply to fdlbxtqi from comment #4) > I noticed LLVM's libc++ has the same issue when I did the test to libstdc++. > However, their bug reporting port has closed. How can I report that? > > It is amazing that

[Bug libstdc++/94013] [10 Regression] library algos need to work around cwg 2094

2020-03-03 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94013 --- Comment #4 from fdlbxtqi --- I noticed LLVM's libc++ has the same issue when I did the test to libstdc++. However, their bug reporting port has closed. How can I report that? It is amazing that two mainstream C++ standard library implementat

[Bug c++/90505] [9 Regression] g++ rejects valid code

2020-03-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505 Marek Polacek changed: What|Removed |Added Summary|[9/10 Regression] g++ |[9 Regression] g++ rejects

[Bug c++/90505] [9/10 Regression] g++ rejects valid code

2020-03-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505 --- Comment #10 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:6b3302da9ef26aa11940f8c0dc92bec19e15c09b commit r10-7007-g6b3302da9ef26aa11940f8c0dc92bec19e15c09b Author: Marek Polacek Date: T

[Bug target/94023] [9 regression] gcc.dg/vect/slp-perm-12.c fails starting with r9-5008

2020-03-03 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94023 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/94017] std::ranges::fill_n uses memset incorrectly

2020-03-03 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94017 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/94017] std::ranges::fill_n uses memset incorrectly

2020-03-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94017 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:712b182a8bc2d7510d7a2fbede43bf134c539f25 commit r10-7006-g712b182a8bc2d7510d7a2fbede43bf134c539f25 Author: Patrick Palka Date: Tu

[Bug c++/94025] New: Expected-to-fail compilation goes through by not detecting mutable-specifier on lambda

2020-03-03 Thread leonleon77 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94025 Bug ID: 94025 Summary: Expected-to-fail compilation goes through by not detecting mutable-specifier on lambda Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/90505] [9/10 Regression] g++ rejects valid code

2020-03-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505 Marek Polacek changed: What|Removed |Added Keywords||patch Summary|[9/10 Regressio

[Bug tree-optimization/94021] -Wformat-truncation false positive due to excessive integer range

2020-03-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94021 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/94024] Error message has misleading source location for constructor member initialisation.

2020-03-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94024 Marek Polacek changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRME

[Bug c++/94024] New: Error message has misleading source location for constructor member initialisation.

2020-03-03 Thread cubitect at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94024 Bug ID: 94024 Summary: Error message has misleading source location for constructor member initialisation. Product: gcc Version: 9.2.0 Status: UNCONFIRMED Sever

[Bug bootstrap/93962] [10 regression] bootstrap fails with gcc/value-prof.c:268:28 : error: format '%lld' expects argument of type 'long long int', but argument 3 hastype 'int'

2020-03-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93962 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #3 fr

[Bug c/94010] [missed optimization] constant automatic string variable not elided

2020-03-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94010 --- Comment #4 from joseph at codesourcery dot com --- See bug 59863, with discussion of the requirement for distinct copies of the array in recursive calls to have distinct addresses. (Thus, this would definitely not be valid without -fmerge-

[Bug target/94023] New: [9 regerssion] gcc.dg/vect/slp-perm-12.c fails starting with r9-5008

2020-03-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94023 Bug ID: 94023 Summary: [9 regerssion] gcc.dg/vect/slp-perm-12.c fails starting with r9-5008 Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/94013] [10 Regression] library algos need to work around cwg 2094

2020-03-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94013 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:462f6c2041fad058abcdd5122e99a024f69a39d5 commit r10-6999-g462f6c2041fad058abcdd5122e99a024f69a39d5 Author: Jonathan Wakely Date:

[Bug libstdc++/94013] [10 Regression] library algos need to work around cwg 2094

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94013 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/94015] [10 Regression] Another assignment incorrectly omitted by -foptimize-strlen

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94015 --- Comment #5 from Jakub Jelinek --- (In reply to Nate Eldredge from comment #4) > I'm not qualified to opine on the proposed fix, but just wanted to note > that, as I mentioned above, running your testcase doesn't actually exercise > the bug on

[Bug tree-optimization/94015] [10 Regression] Another assignment incorrectly omitted by -foptimize-strlen

2020-03-03 Thread nate at thatsmathematics dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94015 --- Comment #4 from Nate Eldredge --- Comment on attachment 47959 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47959 gcc10-pr94015.patch I'm not qualified to opine on the proposed fix, but just wanted to note that, as I mentioned above,

[Bug c/94021] -Werror=format-truncation= seems to cause incorrect warning, thus error.

2020-03-03 Thread ishikawa at yk dot rim.or.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94021 --- Comment #3 from ishikawa,chiaki --- Created attachment 47965 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47965&action=edit A short program that does NOT produce the error/warning. A simple problem that does NOT produce error/warning

[Bug c/94021] -Werror=format-truncation= seems to cause incorrect warning, thus error.

2020-03-03 Thread ishikawa at yk dot rim.or.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94021 --- Comment #2 from ishikawa,chiaki --- Created attachment 47964 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47964&action=edit The script to issue gcc-9 with the original option setting. This is the command to invoke gcc-9 on my PC with

[Bug fortran/94022] New: Array slices of assumed-size arrays

2020-03-03 Thread jrfsousa at gmail dot com
arrays the upper bound of the slice gets rewritten to mark the array as assumed-size. I believe that this behavior is incorrect and array slices are explicit shape arrays. OpenMP seems to rely on this behavior. Seen in: GNU Fortran (GCC) 9.2.1 20200303 GNU Fortran (GCC) 10.0.1 20200303 (exper

[Bug c/94021] -Werror=format-truncation= seems to cause incorrect warning, thus error.

2020-03-03 Thread ishikawa at yk dot rim.or.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94021 --- Comment #1 from ishikawa,chiaki --- Created attachment 47962 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47962&action=edit This is the full compiler log I got. The is the full compiler error/warning log I got.

[Bug c/94021] New: -Werror=format-truncation= seems to cause incorrect warning, thus error.

2020-03-03 Thread ishikawa at yk dot rim.or.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94021 Bug ID: 94021 Summary: -Werror=format-truncation= seems to cause incorrect warning, thus error. Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/94020] New: Size, shape, possibly other intrinsics non standard conforming

2020-03-03 Thread jrfsousa at gmail dot com
n: GNU Fortran (GCC) 9.2.1 20200303 GNU Fortran (GCC) 10.0.1 20200303 (experimental) IMHO before even attempting to fix the problems it is essential that some clear official policy is agreed upon in order to define the protocol to be used to signal assumed-size and zero sized arrays. Thank you ve

[Bug target/91598] [8/9/10 regression] 60% speed drop on neon intrinsic loop

2020-03-03 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598 --- Comment #4 from Wilco --- Fixing vmull_lane_s16 and vmlal_lane_s16 to avoid inline assembler gives this schedule which runs 63% faster on Cortex-A53: ldr d2, [x6, x0] ldr d4, [x6, x3] ldr d3, [x6, x2]

[Bug tree-optimization/94001] [10 Regression] ICE: in fold_convert_loc, at fold-const.c:2435 at -O2

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94001 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c/94010] [missed optimization] constant automatic string variable not elided

2020-03-03 Thread aleksey.covacevice at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94010 --- Comment #3 from Aleksey Covacevice --- (In reply to Richard Biener from comment #1) > It isn't so much about -fmerge-all-constants, this is about not eliding > the automatic variable for the string constant. > > Note it may be the language s

[Bug c++/93998] [10 Regression] ICE in adjust_temp_type, at cp/constexpr.c:1426

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93998 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/93998] [10 Regression] ICE in adjust_temp_type, at cp/constexpr.c:1426

2020-03-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93998 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0e0ffbfc23ba98ac40cbc6330e2750a6448b79d9 commit r10-6998-g0e0ffbfc23ba98ac40cbc6330e2750a6448b79d9 Author: Jakub Jelinek Date: Tu

[Bug target/94019] New: [9 regression] gcc.dg/vect/vect-over-widen-17.c fails starting with g:370c2ebe8fa20e0812cd2d533d4ed38ee2d37c85, r9-1590

2020-03-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94019 Bug ID: 94019 Summary: [9 regression] gcc.dg/vect/vect-over-widen-17.c fails starting with g:370c2ebe8fa20e0812cd2d533d4ed38ee2d37c85, r9-1590 Product: gcc Versio

[Bug tree-optimization/94001] [10 Regression] ICE: in fold_convert_loc, at fold-const.c:2435 at -O2

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94001 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Compon

[Bug debug/94018] New: gcc generates wrong debug information at -Og

2020-03-03 Thread qrzhang at gatech dot edu
10.0.1 20200303 (experimental) [master revision 3d6fd7ce6dc:a5d64750934:b07e4e7c7520ca3e798f514dec0711eea2c027be] (GCC) #expected output. $ gcc-trunk -g abc.c $ gdb -x cmds -batch a.out Breakpoint 1 at 0x40048f: file abc.c, line 5. Breakpoint 1, main () at abc.c:5 5 b = (l = a) || 1

[Bug tree-optimization/94015] [10 Regression] Another assignment incorrectly omitted by -foptimize-strlen

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94015 Jakub Jelinek changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comm

[Bug libstdc++/94013] [10 Regression] library algos need to work around cwg 2094

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94013 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/94017] std::ranges::fill_n uses memset incorrectly

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94017 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/94017] New: std::ranges::fill_n uses memset incorrectly

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94017 Bug ID: 94017 Summary: std::ranges::fill_n uses memset incorrectly Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority

[Bug c++/36566] Cannot bind packed field

2020-03-03 Thread ed at catmur dot uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36566 --- Comment #11 from Ed Catmur --- (In reply to rene.rahn from comment #10) > I know this is quite old now. But can someone explain me why using `#pragma > pack(push, 1)` does work then? `#pragma pack` has sharper edges. It will let you take un

[Bug c++/36566] Cannot bind packed field

2020-03-03 Thread rene.r...@fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36566 rene.r...@fu-berlin.de changed: What|Removed |Added CC||rene.r...@fu-berlin.de --- Comme

[Bug fortran/94016] New: Debug info produced by gfortran contains the wrong path for included files

2020-03-03 Thread John.Bollinger at StJude dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94016 Bug ID: 94016 Summary: Debug info produced by gfortran contains the wrong path for included files Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: norm

[Bug tree-optimization/94015] [10 Regression] Another assignment incorrectly omitted by -foptimize-strlen

2020-03-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94015 Martin Sebor changed: What|Removed |Added Assignee|jakub at gcc dot gnu.org |msebor at gcc dot gnu.org --- Com

[Bug middle-end/93806] Wrong optimization: instability of floating-point results with -funsafe-math-optimizations leads to nonsense

2020-03-03 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93806 --- Comment #35 from Vincent Lefèvre --- (In reply to Alexander Cherepanov from comment #34) > (In reply to Vincent Lefèvre from comment #13) > > In C without Annex F, division by 0 is undefined behavior (really undefined > > behavior, not an uns

[Bug rtl-optimization/93996] [10 Regression] ICE in lookup_page_table_entry

2020-03-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93996 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #8 fr

[Bug middle-end/93806] Wrong optimization: instability of floating-point results with -funsafe-math-optimizations leads to nonsense

2020-03-03 Thread ch3root at openwall dot com
} } } } -- $ gcc -std=c11 -pedantic -Wall -Wextra -fno-signed-zeros -O3 test.c && ./a.out zero = 0 zero = 1 -- gcc x86-64 version: gcc (GCC) 10.0.1 20200303 (experimental) -- Bonus: bare -fno-signed-zeros is used here, without -fno-trapping-math.

[Bug c++/93259] Unsized temporary array initialization problem

2020-03-03 Thread m.cencora at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93259 --- Comment #2 from m.cencora at gmail dot com --- Ping

[Bug c++/84194] fails to pack structs with template members

2020-03-03 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84194 Stas Sergeev changed: What|Removed |Added Version|7.2.1 |9.2.1 --- Comment #2 from Stas Sergeev -

[Bug tree-optimization/94015] [10 Regression] Another assignment incorrectly omitted by -foptimize-strlen

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94015 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug tree-optimization/94015] New: [10 Regression] Another assignment incorrectly omitted by -foptimize-strlen

2020-03-03 Thread nate at thatsmathematics dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94015 Bug ID: 94015 Summary: [10 Regression] Another assignment incorrectly omitted by -foptimize-strlen Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: wron

[Bug c++/93740] Template base classes parametrized by pointer-to-member are amibiguous

2020-03-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/93740] Template base classes parametrized by pointer-to-member are amibiguous

2020-03-03 Thread m.cencora at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 --- Comment #1 from m.cencora at gmail dot com --- Ping

[Bug rtl-optimization/94014] New: ICE: in model_update_limit_points_in_group, at haifa-sched.c:1988 with -fsched-pressure --param=sched-pressure-algorithm=2

2020-03-03 Thread zsojka at seznam dot cz
--disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r10-6995-20200303110626-g9b4f00dd3f7-checking-yes-rtl-df-extra-riscv64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.0.1 20200303 (experimental) (GCC)

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

2020-03-03 Thread dragan.mladjeno...@rt-rk.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92989 Dragan Mladjenovic changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

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

2020-03-03 Thread dragan.mladjeno...@rt-rk.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92989 --- Comment #6 from Dragan Mladjenovic --- Created attachment 47955 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47955&action=edit Reproducer for additional failure2 It seems that one file still fails to compile on today's trunk (b07e4e7

[Bug debug/93888] Incorrect DW_AT_location generated for copy-constructed function argument

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93888 --- Comment #3 from Jakub Jelinek --- --- gcc/tree-inline.c.jj2020-02-07 19:11:57.444981885 +0100 +++ gcc/tree-inline.c 2020-03-03 13:27:57.811046011 +0100 @@ -5929,6 +5929,7 @@ copy_decl_to_var (tree decl, copy_body_d TREE_READONLY

[Bug debug/93888] Incorrect DW_AT_location generated for copy-constructed function argument

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93888 --- Comment #2 from Jakub Jelinek --- The location looks fine. The issue is that the func1_k argument is turned into a reference (DECL_BY_REFERENCE). In the *.optimized dump we have: const struct K & restrict func1_k; ... K::K (&D.2368, &my_k

[Bug tree-optimization/85804] [8/9/10 Regression][AArch64] Mis-compilation of loop with strided array access and xor reduction

2020-03-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85804 --- Comment #10 from Richard Biener --- (In reply to Joel Hutton from comment #9) > This was fixed on trunk by 69f8c1ae (From SVN: r276700) Huh. That wasn't a bugfix. Do we still vectorize the loop? I'd guess the issue went latent.

[Bug tree-optimization/85804] [8/9/10 Regression][AArch64] Mis-compilation of loop with strided array access and xor reduction

2020-03-03 Thread joel.hutton at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85804 Joel Hutton changed: What|Removed |Added CC||joel.hutton at arm dot com --- Comment #9

[Bug target/93990] [x86] Silly code generation for _addcarry_u32/_addcarry_u64

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93990 --- Comment #4 from Jakub Jelinek --- I have tried: --- gcc/config/i386/i386-expand.c.jj2020-01-12 11:54:36.323414766 +0100 +++ gcc/config/i386/i386-expand.c 2020-03-03 12:44:54.116134173 +0100 @@ -11902,7 +11902,18 @@ rdseed_step:

[Bug target/93990] [x86] Silly code generation for _addcarry_u32/_addcarry_u64

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93990 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug libstdc++/77704] Data race on std::ctype

2020-03-03 Thread rchibois at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77704 Rémy Chibois changed: What|Removed |Added CC||rchibois at gmail dot com --- Comment #6

[Bug libstdc++/94013] [10 Regression] library algos need to work around cwg 2094

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

[Bug c/94010] [missed optimization] constant automatic string variable not elided

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94010 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/94012] Difference in gcc warning generation with c file and preprocessed file

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94012 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/93999] Maybe a misleading warning

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93999 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug rtl-optimization/94002] [9/10 Regression] ICE: in decompose, at rtl.h:2279 with -O -fPIC -fno-tree-dce -fno-tree-reassoc

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94002 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-03-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-03-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #38 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b07e4e7c7520ca3e798f514dec0711eea2c027be commit r10-6994-gb07e4e7c7520ca3e798f514dec0711eea2c027be Author: Jakub Jelinek Date: T

[Bug libstdc++/94013] [10 Regression] library algos need to work around cwg 2094

2020-03-03 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94013 --- Comment #1 from fdlbxtqi --- Yeah. It looks like libc++ has the same bug. LOL. volatile is really stupid tbh.

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-03 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #45 from fdlbxtqi --- (In reply to Jonathan Wakely from comment #43) > (In reply to fdlbxtqi from comment #39) > > const auto __c = __builtin_memcmp(&*__first1, &*__first2, __len) <=> 0; > > Are you mistakenly reading this as derefer

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #44 from Jonathan Wakely --- (In reply to fdlbxtqi from comment #41) > And the volatile bugs haven't fixed either. Maybe you shouldn't use a single bug report for multiple, unrelated problems. I've reported Bug 94013 for that becaus

[Bug libstdc++/94013] New: [10 Regression] library algos need to work around cwg 2094

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94013 Bug ID: 94013 Summary: [10 Regression] library algos need to work around cwg 2094 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: rejects-valid

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

2020-03-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 Richard Biener changed: What|Removed |Added Keywords||wrong-code Status|ASSIGNED

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

2020-03-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Guenther : https://gcc.gnu.org/g:3d6fd7ce6dc4b6baa11920387d62dc001980aa70 commit r10-6993-g3d6fd7ce6dc4b6baa11920387d62dc001980aa70 Author: Richard Biener Date:

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #43 from Jonathan Wakely --- (In reply to fdlbxtqi from comment #39) > const auto __c = __builtin_memcmp(&*__first1, &*__first2, __len) <=> 0; Are you mistakenly reading this as dereferencing &*begin and &*end of an iterator range? B

[Bug rtl-optimization/94002] [9/10 Regression] ICE: in decompose, at rtl.h:2279 with -O -fPIC -fno-tree-dce -fno-tree-reassoc

2020-03-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94002 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e913d4f4771e04d4254bf6c0e720fec5e324a898 commit r9-8326-ge913d4f4771e04d4254bf6c0e720fec5e324a898 Author: Jakub Jelinek Dat

[Bug c++/94008] "use of deleted function" error when using "std::unique_ptr", std::move() and lambda

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94008 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/94007] Appending a view into a string to the same string

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94007 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug target/26877] configure switches --with-arch and --with-tune are broken on x86

2020-03-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26877 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:01eb1bb0237a24fe50ed0631857f3dfc31782f54 commit r10-6992-g01eb1bb0237a24fe50ed0631857f3dfc31782f54 Author: Jakub Jelinek Date: Tu

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #42 from Jonathan Wakely --- (In reply to fdlbxtqi from comment #39) > Hi Jonathan. Another bug I found before and you haven't fixed: Have you reported it? > https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/bit

[Bug rtl-optimization/94002] [9/10 Regression] ICE: in decompose, at rtl.h:2279 with -O -fPIC -fno-tree-dce -fno-tree-reassoc

2020-03-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94002 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0ab503d34f2a8c22262ceefea6c882ae2ff75230 commit r10-6991-g0ab503d34f2a8c22262ceefea6c882ae2ff75230 Author: Jakub Jelinek Date: Tu

[Bug libstdc++/94009] program (which use condition_variable) segment fault when compile with -static

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94009 --- Comment #3 from Jonathan Wakely --- See Bug 52590 comment 4 in particular.

[Bug c++/94008] "use of deleted function" error when using "std::unique_ptr", std::move() and lambda

2020-03-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94008 --- Comment #2 from Jonathan Wakely --- (In reply to Nicholas Krause from comment #1) > Your passing into std::move and then again. That's incorrect as your moving > and moving again into the test_lamba. No, that's not what the code does.

[Bug c/94012] New: Difference in gcc warning generation with c file and preprocessed file

2020-03-03 Thread vvijayan at mathworks dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94012 Bug ID: 94012 Summary: Difference in gcc warning generation with c file and preprocessed file Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal

[Bug c/94010] [missed optimization] constant automatic string variable not elided

2020-03-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94010 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Version|4.9.0

[Bug analyzer/94011] ICE in validate, at analyzer/region-model.cc:3727

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

[Bug c++/93999] Maybe a misleading warning

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

[Bug rtl-optimization/93564] [10 Regression] 470.lbm regresses by 25% on znver2 with -Ofast -march=native LTO and PGO since r10-6384-g2a07345c4f8dabc2

2020-03-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93564 --- Comment #6 from Martin Liška --- > and I see a smaller slow down on different configurations: > https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=10.477.0 > https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=297.477.0 Thank you

[Bug tree-optimization/94006] Poor codegen for cond ? lval1 : lval2

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

[Bug debug/94005] gcc generates wrong debug information at -Og

2020-03-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94005 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|