[Bug rtl-optimization/107270] [10/11/12/13 Regression] return for structure is not as good as before

2022-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107270 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5 Known to work|

[Bug rtl-optimization/107270] New: [10/11/12/13 Regression] return for structure is not as good as before

2022-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107270 Bug ID: 107270 Summary: [10/11/12/13 Regression] return for structure is not as good as before Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-

[Bug fortran/107266] Reject kind=4 characters for BIND(C) – it invalid and generates wrong code

2022-10-14 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107266 --- Comment #7 from kargl at gcc dot gnu.org --- Here's the updated patch. It will accept the code as before if -std= is absent or -std=GNU. For other -std= flags such as -std=f2018, one will get % gfcx -c -std=f2018 a.f90 a.f90:1:31: 1

[Bug fortran/107266] Reject kind=4 characters for BIND(C) – it invalid and generates wrong code

2022-10-14 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107266 --- Comment #6 from Steve Kargl --- On Fri, Oct 14, 2022 at 09:36:59PM +, burnus at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107266 > > --- Comment #5 from Tobias Burnus --- > I do note that we already have bin

[Bug fortran/107266] Reject kind=4 characters for BIND(C) – it invalid and generates wrong code

2022-10-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107266 --- Comment #5 from Tobias Burnus --- I do note that we already have bind(C) + kind=4 examples: https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/testsuite/gfortran.dg/PR100906.f90 integer, parameter :: c_ucs4_char = 4 and more. => Keep permitt

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #23 from anlauf at gcc dot gnu.org --- Created attachment 53706 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53706&action=edit Updated patch Here's a patch that incorporates comment#17 and comment#20 and adds a testcase for co

[Bug fortran/100971] ICE: Bad IO basetype (7)

2022-10-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100971 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|

[Bug fortran/100971] ICE: Bad IO basetype (7)

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100971 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:89f20c9ae4641f9b2e87e47f7dab3dc197faa0aa commit r13-3309-g89f20c9ae4641f9b2e87e47f7dab3dc197faa0aa Author: Harald Anlauf Date: S

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #22 from anlauf at gcc dot gnu.org --- (In reply to Mikael Morin from comment #11) > Here is an example, where the array simplifies using the host-associated > parameter value instead of calling the contained function with the same nam

[Bug fortran/107266] Reject kind=4 characters for BIND(C) – it invalid and generates wrong code

2022-10-14 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107266 kargl at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2022-10-14 Status

[Bug c++/107242] ICE: tree check: expected complex_cst, have plus_expr in output_constant, at varasm.cc:5284 with frounding-math

2022-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107242 --- Comment #6 from Andrew Pinski --- (In reply to Richard Biener from comment #5) > I think that either the C++ frontend needs to reject this code or we need to > ignore -frounding-math in constant folding this (I think we do that > elsewhere).

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #21 from anlauf at gcc dot gnu.org --- (In reply to Mikael Morin from comment #17) > Like this for the first part of the test from the patch: > > diff --git a/gcc/fortran/arith.cc b/gcc/fortran/arith.cc > index 9e079e42995..5e96bb9658

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-14 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #20 from Mikael Morin --- (In reply to Mikael Morin from comment #19) > (In reply to Mikael Morin from comment #18) > > (In reply to Mikael Morin from comment #17) > > > And something similar for the rest of the test (the binary opera

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-14 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #19 from Mikael Morin --- (In reply to Mikael Morin from comment #18) > (In reply to Mikael Morin from comment #17) > > And something similar for the rest of the test (the binary operators). > > Like this: > It doesn't work unfortun

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-14 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #18 from Mikael Morin --- (In reply to Mikael Morin from comment #17) > And something similar for the rest of the test (the binary operators). Like this: diff --git a/gcc/fortran/arith.cc b/gcc/fortran/arith.cc index 5e96bb9658e..3f

[Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103

2022-10-14 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93483 --- Comment #17 from Mikael Morin --- There is the possibility to bail out at the very point where things are about to go wrong, and hope that at resolution time simplification will happen. Like this for the first part of the test from the patch:

[Bug fortran/107266] Reject kind=4 characters for BIND(C) – it invalid and generates wrong code

2022-10-14 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107266 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/107266] Reject kind=4 characters for BIND(C) – it invalid and generates wrong code

2022-10-14 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107266 --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #2) > (In reply to Tobias Burnus from comment #1) > > Better example: > > > > character(kind=4) function f(x) bind(C) > > character(kind=4), value :: x > > end >

[Bug fortran/107266] Reject kind=4 characters for BIND(C) – it invalid and generates wrong code

2022-10-14 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107266 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug tree-optimization/107269] wrong code at -O1 and above with "-fno-tree-ccp" on x86_64-linux-gnu

2022-10-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
: zlib gcc version 13.0.0 20221014 (experimental) [master r13-3307-g8efc38347a7] (GCC) [538] % [538] % gcctk -O1 small.c; ./a.out [539] % [539] % gcctk -O1 -fno-tree-ccp small.c [540] % timeout -s 9 5 ./a.out Killed [541] % [541] % cat small.c int a, c, d; unsigned b; int main() { int f = 1

[Bug tree-optimization/107269] New: wrong code at -O1 and above with "-fno-tree-ccp" on x86_64-linux-gnu

2022-10-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
l/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20221014 (experimental) [master r13-3307-g8efc38347a7] (GCC) [594] % [594] % gcctk -O1 small.

[Bug c++/106812] Throwing a non-copyable exception

2022-10-14 Thread chgros at coverity dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106812 Charles-Henri Gros changed: What|Removed |Added CC||chgros at coverity dot com --- Com

[Bug tree-optimization/94920] Failure to optimize abs pattern from arithmetic with selected operands based on comparisons with 0

2022-10-14 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94920 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comme

[Bug c++/107268] Poor diagnostic for missing colon in ctor-initializer

2022-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107268 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/107206] Bogus -Wuninitialized in std::optional

2022-10-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107206 --- Comment #5 from Martin Jambor --- I believe this is fallout from the fix to PR 92706 where we started propagating accesses across assignments also from LHS to RHS and because everything is totally flow-insensitive, we have an access represen

[Bug testsuite/107240] [13 Regression] FAIL: gcc.dg/vect/vect-bitfield-write-2.c since r13-3219-g25413fdb2ac249

2022-10-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107240 --- Comment #5 from Segher Boessenkool --- So perhaps this needs instructions new on P8 (which fleshed out the integer support amongst other things, but that sounds relevant here?) Test that with { powerpc*-*-* && has_arch_pwr8 } or such? Bu

[Bug testsuite/107240] [13 Regression] FAIL: gcc.dg/vect/vect-bitfield-write-2.c since r13-3219-g25413fdb2ac249

2022-10-14 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107240 --- Comment #4 from avieira at gcc dot gnu.org --- Might be worth posting the output of -fdump-tree-vect-all might be failing to vectorize due to some specific lack of feature that we can test for.

[Bug plugins/93746] probably missing colon in diagnostic

2022-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93746 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug testsuite/107240] [13 Regression] FAIL: gcc.dg/vect/vect-bitfield-write-2.c since r13-3219-g25413fdb2ac249

2022-10-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107240 --- Comment #3 from Segher Boessenkool --- (In reply to Peter Bergner from comment #1) > I guess the first question is, is it expected that the > vect-bitfield-write-2.c loop should be vectorized on power7 which only has > Altivec and not VSX?

[Bug c++/107268] New: Poor diagnostic for missing colon in ctor-initializer

2022-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107268 Bug ID: 107268 Summary: Poor diagnostic for missing colon in ctor-initializer Product: gcc Version: 12.2.1 Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug c++/107267] ice in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253

2022-10-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107267 --- Comment #2 from David Binderman --- There is only one mention of cp_gimplify_init_expr in that git range, and it is the final commit of Jason's, marked 6ffbf87ca66f4ed9cd79cff675fabe2109e46e85. Not a smoking gun, but possibly a lead candida

[Bug c++/107267] ice in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253

2022-10-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107267 --- Comment #1 from David Binderman --- The compiler first seems to break sometime between git hash 8a9e92b249c9c5a5 and 6ffbf87ca66f4ed9, a day later. Reduction running.

[Bug c++/107267] New: ice in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253

2022-10-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107267 Bug ID: 107267 Summary: ice in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug fortran/107266] Reject kind=4 characters for BIND(C) – it invalid and generates wrong code

2022-10-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107266 --- Comment #1 from Tobias Burnus --- Better example: character(kind=4) function f(x) bind(C) character(kind=4), value :: x end Has the dump: __attribute__((fn spec (". w "))) character(kind=1) f (character(kind=1) x) { (void) 0; } Not

[Bug fortran/107266] New: Reject kind=4 characters for BIND(C) – it invalid and generates wrong code

2022-10-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107266 Bug ID: 107266 Summary: Reject kind=4 characters for BIND(C) – it invalid and generates wrong code Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: acc

[Bug target/107265] New: error: TARGET_VXWORKS7 was not declared in this scope; did you mean TARGET_VXWORKS

2022-10-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107265 Bug ID: 107265 Summary: error: TARGET_VXWORKS7 was not declared in this scope; did you mean TARGET_VXWORKS Product: gcc Version: 13.0 Status: UNCONFIRMED Sever

[Bug tree-optimization/107263] Memcpy not elided when initializing struct

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

[Bug middle-end/107264] -O1 disables -Wfree-nonheap-object on a map

2022-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107264 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/107260] The prvalue with the value 0 that is not a integer literal shouldn't convert to std::nullptr_t

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

[Bug c++/52145] [C++11] [DR 903] zero-valued integer constant expression should prefer conversion to pointer

2022-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52145 Andrew Pinski changed: What|Removed |Added CC||xmh970252187 at gmail dot com --- Commen

[Bug c++/107264] New: -O1 disables -Wfree-nonheap-object on a map

2022-10-14 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107264 Bug ID: 107264 Summary: -O1 disables -Wfree-nonheap-object on a map Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug c++/107260] The prvalue with the value 0 that is not a integer literal shouldn't convert to std::nullptr_t

2022-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107260 --- Comment #3 from Marek Polacek --- I wonder if we could wrap the INTEGER_CST in a NOP_EXPR/V_C_E to make it clear it's not an integer literal.

[Bug c++/103524] [meta-bug] modules issue

2022-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99769, which changed state. Bug 99769 Summary: [modules] internal compiler error: in tree_node, at cp/module.cc:9105 when compile module partitions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99769 What

[Bug c++/106304] [modules] ICE compiling dynamic_cast in constexpr function (in tree_node, at cp/module.cc:9183)

2022-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106304 Patrick Palka changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=9

[Bug c++/99769] [modules] internal compiler error: in tree_node, at cp/module.cc:9105 when compile module partitions

2022-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99769 Patrick Palka changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=10

[Bug c++/107260] The prvalue with the value 0 that is not a integer literal shouldn't convert to std::nullptr_t

2022-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107260 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug tree-optimization/107263] New: Memcpy not elided when initializing struct

2022-10-14 Thread jmuizelaar at mozilla dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263 Bug ID: 107263 Summary: Memcpy not elided when initializing struct Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tr

[Bug c++/103524] [meta-bug] modules issue

2022-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 106304, which changed state. Bug 106304 Summary: [modules] ICE compiling dynamic_cast in constexpr function (in tree_node, at cp/module.cc:9183) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106304 What|R

[Bug c++/106304] [modules] ICE compiling dynamic_cast in constexpr function (in tree_node, at cp/module.cc:9183)

2022-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106304 Patrick Palka changed: What|Removed |Added Target Milestone|--- |13.0 Status|NEW

[Bug c++/106304] [modules] ICE compiling dynamic_cast in constexpr function (in tree_node, at cp/module.cc:9183)

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106304 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d6a488f243acfac4bdbbb0eefbee3ae916159cf5 commit r13-3299-gd6a488f243acfac4bdbbb0eefbee3ae916159cf5 Author: Patrick Palka Date: F

[Bug c++/101449] [modules] internal compiler error: in cxx_eval_call_expression

2022-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101449 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/101449] [modules] internal compiler error: in cxx_eval_call_expression

2022-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101449 Patrick Palka changed: What|Removed |Added CC||johelegp at gmail dot com --- Comment #

[Bug c++/103524] [meta-bug] modules issue

2022-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 106430, which changed state. Bug 106430 Summary: [modules] ICE on function result of imported type with user-declared constexpr SMF https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106430 What|Removed

[Bug c++/106430] [modules] ICE on function result of imported type with user-declared constexpr SMF

2022-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106430 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c/107257] Wrong code at -O2 on x86_64-linux-gnu

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107257 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug target/107262] New: ICE: in as_a, at machmode.h:366 with __bf16 arithmetics at -Ofast

2022-10-14 Thread zsojka at seznam dot cz via Gcc-bugs
zstd gcc version 13.0.0 20221014 (experimental) (GCC)

[Bug c++/107261] ICE: in classify_argument, at config/i386/i386.cc:2523 on C++ __bf16 vect argument

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

[Bug c++/107261] New: ICE: in classify_argument, at config/i386/i386.cc:2523 on C++ __bf16 vect argument

2022-10-14 Thread zsojka at seznam dot cz via Gcc-bugs
gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r13-3292-20221014093701-gc2565a31c16-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221014 (experimental) (GCC)

[Bug lto/106540] [10 Regression] lto -g ICE in dwarf2out_register_external_die at dwarf2out.cc:6076

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106540 Richard Biener changed: What|Removed |Added Known to work||10.4.1 Resolution|---

[Bug tree-optimization/106513] [10 Regression] bswap pass misses that >>56 for signed types can be replicate the sign bit

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106513 Richard Biener changed: What|Removed |Added Known to work||10.4.1 Resolution|---

[Bug debug/82738] [meta-bug] issues with the -Og optimization level

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82738 Bug 82738 depends on bug 106331, which changed state. Bug 106331 Summary: [10 Regression] Whole array assignment of empty string segfaults with -Og since r12-2633-ge5e164effa30fd2b https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106331 W

[Bug middle-end/106331] [10 Regression] Whole array assignment of empty string segfaults with -Og since r12-2633-ge5e164effa30fd2b

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106331 Richard Biener changed: What|Removed |Added Known to work||10.4.1 Status|ASSIGNED

[Bug tree-optimization/106112] [10 Regression] wrong code at -Os and above on x86_64-linux-gnu since r10-2711-g3ed01d5408045d80

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106112 Richard Biener changed: What|Removed |Added Known to fail||10.4.0 Known to work|

[Bug lto/106334] [13 Regression] lto -g ICE in dwarf2out_register_external_die at dwarf2out.cc:6072

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106334 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d2fa5521282cc7b5510e1e2c431a56d12693d74f commit r10-11039-gd2fa5521282cc7b5510e1e2c431a56d12693d74f Author: Richard Bien

[Bug tree-optimization/106131] [10 Regression] -fstrict-aliasing breaks normal program that does not use any pointer or reference

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106131 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug lto/106540] [10 Regression] lto -g ICE in dwarf2out_register_external_die at dwarf2out.cc:6076

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106540 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d2fa5521282cc7b5510e1e2c431a56d12693d74f commit r10-11039-gd2fa5521282cc7b5510e1e2c431a56d12693d74f Author: Richard Biene

[Bug tree-optimization/106513] [10 Regression] bswap pass misses that >>56 for signed types can be replicate the sign bit

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106513 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:29ad829c93d530e75dee88d2550350c14fcaf8f6 commit r10-11038-g29ad829c93d530e75dee88d2550350c14fcaf8f6 Author: Richard Biene

[Bug middle-end/106331] [10 Regression] Whole array assignment of empty string segfaults with -Og since r12-2633-ge5e164effa30fd2b

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106331 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:cf404eb3b55a3711134bddee98d6d8d881be8a69 commit r10-11037-gcf404eb3b55a3711134bddee98d6d8d881be8a69 Author: Richard Bien

[Bug tree-optimization/106131] [10 Regression] -fstrict-aliasing breaks normal program that does not use any pointer or reference

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106131 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a8abbf6d15fefe5ac27aa7c21201883b66cc9b01 commit r10-11036-ga8abbf6d15fefe5ac27aa7c21201883b66cc9b01 Author: Richard Bien

[Bug tree-optimization/106112] [10 Regression] wrong code at -Os and above on x86_64-linux-gnu since r10-2711-g3ed01d5408045d80

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106112 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:983d87530d8efbae6b5f4973c52edd1071d26add commit r10-11035-g983d87530d8efbae6b5f4973c52edd1071d26add Author: Richard Biene

[Bug c++/64697] C++11 thread_local: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for N::ptd'

2022-10-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697 Eric Botcazou changed: What|Removed |Added CC||alvinhochun at gmail dot com --- Comment

[Bug target/104862] extern thread_local (emutls) code crashes with ASLR on Windows

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

[Bug target/107248] wrong scheduling of stack adjustment in leaf function at -O2

2022-10-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107248 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug c/107257] Wrong code at -O2 on x86_64-linux-gnu

2022-10-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107257 Martin Liška changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from Martin Liška

[Bug tree-optimization/107254] [11/12 Regression] Wrong vectorizer code (Fortran) since r11-1501-gda2b7c7f0a136b4d

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107254 Richard Biener changed: What|Removed |Added Summary|[11/12/13 Regression] Wrong |[11/12 Regression] Wrong

[Bug tree-optimization/107254] [11/12/13 Regression] Wrong vectorizer code (Fortran) since r11-1501-gda2b7c7f0a136b4d

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107254 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9ed4a849afb5b18b462bea311e7eee454c2c9f68 commit r13-3297-g9ed4a849afb5b18b462bea311e7eee454c2c9f68 Author: Richard Biener Date:

[Bug c/107257] Wrong code at -O2 on x86_64-linux-gnu

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

[Bug target/107248] wrong scheduling of stack adjustment in leaf function at -O2

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107248 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:d0ef37c35b7ff7324b4567652380f32079d46088 commit r10-11034-gd0ef37c35b7ff7324b4567652380f32079d46088 Author: Eric Botcazou

[Bug rtl-optimization/38644] [4.6 Regression] Optimization flag -O1 -fschedule-insns2 causes wrong code

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644 --- Comment #77 from CVS Commits --- The releases/gcc-10 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:d0ef37c35b7ff7324b4567652380f32079d46088 commit r10-11034-gd0ef37c35b7ff7324b4567652380f32079d46088 Author: Eric Botcazou

[Bug c++/107260] The prvalue with the value 0 that is not a integer literal shouldn't convert to std::nullptr_t

2022-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107260 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/38644] [4.6 Regression] Optimization flag -O1 -fschedule-insns2 causes wrong code

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644 --- Comment #76 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:3f4b65df625edae3e8829718af721ad2330b3f22 commit r11-10311-g3f4b65df625edae3e8829718af721ad2330b3f22 Author: Eric Botcazou

[Bug target/107248] wrong scheduling of stack adjustment in leaf function at -O2

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107248 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:3f4b65df625edae3e8829718af721ad2330b3f22 commit r11-10311-g3f4b65df625edae3e8829718af721ad2330b3f22 Author: Eric Botcazou

[Bug rtl-optimization/38644] [4.6 Regression] Optimization flag -O1 -fschedule-insns2 causes wrong code

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644 --- Comment #75 from CVS Commits --- The releases/gcc-12 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:a5a6598d5b1d29741993371310c0bb8ca57e190c commit r12-8831-ga5a6598d5b1d29741993371310c0bb8ca57e190c Author: Eric Botcazou

[Bug target/107248] wrong scheduling of stack adjustment in leaf function at -O2

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107248 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:a5a6598d5b1d29741993371310c0bb8ca57e190c commit r12-8831-ga5a6598d5b1d29741993371310c0bb8ca57e190c Author: Eric Botcazou

[Bug rtl-optimization/38644] [4.6 Regression] Optimization flag -O1 -fschedule-insns2 causes wrong code

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644 --- Comment #74 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:e39b170695a161feba7401b7d21d824db9ee1f8f commit r13-3296-ge39b170695a161feba7401b7d21d824db9ee1f8f Author: Eric Botcazou Date: F

[Bug target/107248] wrong scheduling of stack adjustment in leaf function at -O2

2022-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107248 --- Comment #5 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:e39b170695a161feba7401b7d21d824db9ee1f8f commit r13-3296-ge39b170695a161feba7401b7d21d824db9ee1f8f Author: Eric Botcazou Date: F

[Bug sanitizer/94328] Logging of defects to file does not work with Asan and Ubsan combined

2022-10-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94328 --- Comment #10 from Martin Liška --- (In reply to shanchuan tian from comment #9) > Dear all, > Is this problem solved? No. > Can logging work properly when asan and ubsan be compiled at the same? Sorry, but it can't be easily fixed as explai

[Bug target/106165] incorrect result when using inlined asm implementation of floor() on i686

2022-10-14 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106165 Vincent Lefèvre changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net --- Com

[Bug c++/107260] New: The prvalue with the value 0 that is not a integer literal shouldn't convert to std::nullptr_t

2022-10-14 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107260 Bug ID: 107260 Summary: The prvalue with the value 0 that is not a integer literal shouldn't convert to std::nullptr_t Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c/107257] Wrong code at -O2 on x86_64-linux-gnu

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107257 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to fail|

[Bug target/107259] Vectorize VxHF _Float16 modes using partial vectors without -mavx512vl

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107259 Richard Biener changed: What|Removed |Added Target||x86_64-*-* --- Comment #1 from Richard

[Bug sanitizer/94328] Logging of defects to file does not work with Asan and Ubsan combined

2022-10-14 Thread shanchuantian at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94328 shanchuan tian changed: What|Removed |Added CC||shanchuantian at gmail dot com --- Comm

[Bug tree-optimization/107254] [11/12/13 Regression] Wrong vectorizer code (Fortran) since r11-1501-gda2b7c7f0a136b4d

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107254 --- Comment #7 from Richard Biener --- I have a patch in testing.

[Bug sanitizer/84250] Symbol collision when using both Address and Undefined Behavior sanitizers (-fsanitize=address,undefined)

2022-10-14 Thread shanchuantian at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84250 shanchuan tian changed: What|Removed |Added CC||shanchuantian at gmail dot com --- Comm

[Bug c++/107256] Contradictory circular noexcept-specifier is accepted

2022-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107256 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/107259] New: Vectorize VxHF _Float16 modes using partial vectors without -mavx512vl

2022-10-14 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107259 Bug ID: 107259 Summary: Vectorize VxHF _Float16 modes using partial vectors without -mavx512vl Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/107258] ASAN at -O1 failed to detect a stack-under-flow

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

[Bug tree-optimization/107254] [11/12/13 Regression] Wrong vectorizer code (Fortran) since r11-1501-gda2b7c7f0a136b4d

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

[Bug tree-optimization/107254] [11/12/13 Regression] Wrong vectorizer code (Fortran) since r11-1501-gda2b7c7f0a136b4d

2022-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107254 --- Comment #6 from Richard Biener --- So I think the issue is that we have a live operation: [local count: 955630225]: # jc_42 = PHI _2 = (integer(kind=8)) jc_42; _3 = _2 * stride.1_23; _4 = _3 + offset.2_24; _5 = _4 + 1; _6 =

[Bug sanitizer/107258] New: ASAN at -O1 failed to detect a stack-under-flow

2022-10-14 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107258 Bug ID: 107258 Summary: ASAN at -O1 failed to detect a stack-under-flow Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

  1   2   >