[Bug sanitizer/108510] New: ASAN missed a stack-use-after-scope at -O1

2023-01-24 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108510 Bug ID: 108510 Summary: ASAN missed a stack-use-after-scope at -O1 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanit

[Bug ipa/108511] New: [13 regression] ICE in possibly_call_in_translation_unit_p, at cgraph.cc:4184

2023-01-24 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108511 Bug ID: 108511 Summary: [13 regression] ICE in possibly_call_in_translation_unit_p, at cgraph.cc:4184 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug ipa/108511] [13 regression] ICE in possibly_call_in_translation_unit_p, at cgraph.cc:4184

2023-01-24 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108511 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug preprocessor/84583] -fdirectives-only does not handle CRLF properly

2023-01-24 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84583 Boris Kolpackov changed: What|Removed |Added Version|10.2.0 |12.2.0 --- Comment #2 from Boris Kolpa

[Bug fortran/108501] [13 Regression] ICE in get_expr_storage_size, at fortran/interface.cc:2941

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

[Bug c++/108503] [13 Regression] ICE in get_array_or_vector_nelts, at cp/constexpr.cc:4119

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108503 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/108506] bit_cast from 32-byte vector generates worse code than memcpy

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108506 --- Comment #3 from Richard Biener --- (In reply to Andrew Pinski from comment #2) > Confirmed. > > Internals of what is going on: > > Gimple IR > bad (__builtin_bit_cast): > MEM[(struct Foo *)output_7(D) + ivtmp.13_20 * 1] = > VIEW_CONVERT_

[Bug analyzer/108507] [13 regression] new test case gcc.dg/analyzer/SARD-tc841-basic-00182-min.c in r13-5244-gc6a011119bfa03 fails

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108507 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug rtl-optimization/108508] [13 Regression] ICE in insert_def_after, at rtl-ssa/accesses.cc:622

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108508 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Target Milestone|---

[Bug ipa/108509] [13 Regression] ICE in add, at hash-set.h:64

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108509 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug fortran/108512] New: [13 Regression][OpenMP] ICE for valid loop data-sharing clauses

2023-01-24 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108512 Bug ID: 108512 Summary: [13 Regression][OpenMP] ICE for valid loop data-sharing clauses Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-vali

[Bug tree-optimization/108500] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #4 from

[Bug tree-optimization/108500] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500 --- Comment #5 from Richard Biener --- Created attachment 54331 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54331&action=edit CFG cleanup "early merging" OK, I take that back. For this simple testcase the attached works, delaying the

[Bug tree-optimization/108500] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

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

[Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505 --- Comment #5 from CVS Commits --- The master branch has been updated by SRINATH PARVATHANENI : https://gcc.gnu.org/g:275820c09e5f397040cbff69c90012dc1e220faf commit r13-5322-g275820c09e5f397040cbff69c90012dc1e220faf Author: Srinath Parvathan

[Bug c++/108513] New: [13 Regression] Bad initializer-list construction of std::vector

2023-01-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108513 Bug ID: 108513 Summary: [13 Regression] Bad initializer-list construction of std::vector Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug c++/108513] [13 Regression] Bad initializer-list construction of std::vector

2023-01-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108513 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/108195] [13 Regression] Incorrect implicit conversion when assigning initializer_list to std::vector since r13-4564-gd081807d8d70e3

2023-01-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108195 Jonathan Wakely changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #

[Bug fortran/108512] [13 Regression][OpenMP] ICE for valid loop data-sharing clauses

2023-01-24 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108512 --- Comment #1 from Tobias Burnus --- Correction: I think I linked the wrong file, it should be: https://github.com/SOLLVE/sollve_vv/blob/master/tests/5.0/loop/test_loop_lastprivate_device.F90 * * * Probably better location is the following,

[Bug tree-optimization/107952] tree-object-size: inconsistent size for flexible arrays nested in structs

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952 --- Comment #9 from Richard Biener --- (In reply to qinzhao from comment #7) > (In reply to Richard Biener from comment #1) > > GCC considered this as a flex-array. > > do you mean for the following example: > > typedef struct { > char pad;

[Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.

2023-01-24 Thread srinath.parvathaneni at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505 Srinath Parvathaneni changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug modula2/108480] gm2 fails to find SYSTEM module after relocation

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108480 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/108514] New: ASAN at -O0 missed a stack-use-after-scope

2023-01-24 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108514 Bug ID: 108514 Summary: ASAN at -O0 missed a stack-use-after-scope Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanit

[Bug c++/108474] static structured binding undefined reference

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108474 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b84e21115700523b4d0ac44275443f7b9c670344 commit r13-5323-gb84e21115700523b4d0ac44275443f7b9c670344 Author: Jakub Jelinek Date: T

[Bug target/108515] New: Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 Bug ID: 108515 Summary: Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4' Product: gcc Version: 13.0

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

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

[Bug driver/106624] [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address since r13-2011-g53e3b2bf16a48

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624 --- Comment #13 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Liska : https://gcc.gnu.org/g:193f7e62815b4089dfaed4c2bd34fd4f10209e27 commit r12-9061-g193f7e62815b4089dfaed4c2bd34fd4f10209e27 Author: Sergei Trofimov

[Bug driver/106624] [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address since r13-2011-g53e3b2bf16a48

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624 --- Comment #14 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Liska : https://gcc.gnu.org/g:9d21cc4edd94f8f2b1a3241fab5cf75649003226 commit r11-10479-g9d21cc4edd94f8f2b1a3241fab5cf75649003226 Author: Sergei Trofimo

[Bug driver/106624] [13 Regression] LTO plugin fails to build in parallel builds: xgcc: fatal error: cannot execute '/build/build/./prev-gcc/collect2': execv: Bad address since r13-2011-g53e3b2bf16a48

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624 --- Comment #15 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Liska : https://gcc.gnu.org/g:6ced00d53d91ea429948b34e6600b4633f962030 commit r10-11172-g6ced00d53d91ea429948b34e6600b4633f962030 Author: Sergei Trofimo

[Bug bootstrap/90543] Build failure on MINGW for gcc-9.1.0

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90543 --- Comment #15 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9f0cb3368af735e95776769c4f28fa9cbb60eaf8 commit r13-5324-g9f0cb3368af735e95776769c4f28fa9cbb60eaf8 Author: Eric Biggers Date: Tu

[Bug tree-optimization/108499] False positive -Warray-bounds

2023-01-24 Thread steveire at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108499 --- Comment #2 from Stephen --- > There is no way to figure out for the compiler that theSize is not zero > either. There is no way for the compiler to figure out that theSize *is* zero. We have warnings -Wmaybe-uninitialized and -Wuninitiali

[Bug rtl-optimization/108516] New: Useless movzx instruction emitted when loading 8 bits from 24 bit struct

2023-01-24 Thread jzwinck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108516 Bug ID: 108516 Summary: Useless movzx instruction emitted when loading 8 bits from 24 bit struct Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: nor

[Bug tree-optimization/108499] False positive -Warray-bounds

2023-01-24 Thread steveire at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108499 --- Comment #3 from Stephen --- False positives with this will just lead to proliferation of -Wno-array-bounds, which doesn't help.

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 --- Comment #1 from Richard Biener --- binutils is 2.39 btw

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 --- Comment #2 from Richard Biener --- Created attachment 54333 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54333&action=edit preprocessed source, assembly and object The linker error also reproduces (besides unresolved symbols) when o

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 Richard Biener changed: What|Removed |Added Version|13.0|12.2.1 --- Comment #3 from Richard Bie

[Bug libstdc++/108517] New: std::sort of empty range yield "warning: 'this' pointer is null"

2023-01-24 Thread hanicka at hanicka dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517 Bug ID: 108517 Summary: std::sort of empty range yield "warning: 'this' pointer is null" Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 --- Comment #4 from Richard Biener --- #include int main() { printf("%p\n", stderr); return 0; } produces the same error

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 --- Comment #5 from Richard Biener --- Symbol table '.symtab' contains 16110 entries: Num:Value Size TypeBind Vis Ndx Name ... 14277: 00190df0 4 OBJECT GLOBAL DEFAULT 31 stderr and '31' is [31] .data PR

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 --- Comment #6 from Richard Biener --- same with extern void *stderr; int main() { volatile void *x = stderr; }

[Bug tree-optimization/108498] [11/12/13 Regression] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 Jakub Jelinek changed: What|Removed |Added Summary|ppc64 big endian generates |[11/12/13 Regression] ppc64

[Bug libstdc++/108517] std::sort of empty range yield "warning: 'this' pointer is null"

2023-01-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-01-24 Status|UNCONFI

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 --- Comment #7 from Andreas Schwab --- Are you sure this isn't due to the binutils patch?

[Bug libstdc++/108517] std::sort of empty range yield "warning: 'this' pointer is null"

2023-01-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > This looks related to PR 105705. Before gcc-12 the warning was already > present, but only when using -Wsystem-headers Sorry, meant to say the *second* warn

[Bug tree-optimization/108500] [11/12/13 Regression] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500 Richard Biener changed: What|Removed |Added Summary|-O -finline-small-functions |[11/12/13 Regression] -O

[Bug c++/108517] std::sort of empty range yield "warning: 'this' pointer is null"

2023-01-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517 Jonathan Wakely changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #3 from Jonathan Wake

[Bug c++/108517] std::sort of empty range yield "warning: 'this' pointer is null"

2023-01-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517 --- Comment #4 from Jonathan Wakely --- Libstdc++ isn't causing it, but we can give the compiler enough information to make it shut up: --- a/libstdc++-v3/include/bits/stl_algo.h +++ b/libstdc++-v3/include/bits/stl_algo.h @@ -1814,6 +1814,10 @@

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 Richard Biener changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #8

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 --- Comment #9 from Martin Liška --- (In reply to Richard Biener from comment #8) > (In reply to Andreas Schwab from comment #7) > > Are you sure this isn't due to the binutils patch? > > There were successful builds in December, so I thought t

[Bug tree-optimization/108498] [11/12/13 Regression] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #18 from Jakub Jelinek --- Slightly adjusted testcase for -O2 which actually aborts at runtime quite reliably: struct A { signed char a1; int a2; }; struct B { struct A b1; unsigned char b2:1, b3:1, b4:2, b5:1, b6:1, b7[4];

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 --- Comment #10 from Richard Earnshaw --- Almost certainly this is related to the need for a copyreloc and presumably the linker has not created one for some reason. So I suspect this is most likely a binutils issue rather than a compiler one.

[Bug c++/108517] [11/12/13 Regression] std::sort of empty range yield "warning: 'this' pointer is null"

2023-01-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517 Jonathan Wakely changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 --- Comment #11 from Richard Biener --- (In reply to Richard Earnshaw from comment #10) > Almost certainly this is related to the need for a copyreloc and presumably > the linker has not created one for some reason. So I suspect this is most >

[Bug c++/108517] [11/12/13 Regression] std::sort of empty range yield "warning: 'this' pointer is null"

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517 Richard Biener changed: What|Removed |Added Blocks||95507 Target Milestone|---

[Bug fortran/108512] [13 Regression][OpenMP] ICE for valid loop data-sharing clauses

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108512 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Version|unknown

[Bug target/108516] Useless movzx instruction emitted when loading 8 bits from 24 bit struct

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

[Bug target/108516] Useless movzx instruction emitted when loading 8 bits from 24 bit struct

2023-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108516 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug rtl-optimization/108516] Useless movzx instruction emitted when loading 8 bits from 24 bit struct

2023-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108516 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization --- Comment #2 from An

[Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler

2023-01-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491 --- Comment #4 from Martin Liška --- ~/Programming/gcc2/configure --enable-languages=c --prefix=/home/marxin/bin/gcc --disable-bootstrap --disable-multilib --disable-libsanitizer --target=powerpc-freebsd13

[Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler

2023-01-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491 --- Comment #5 from Martin Liška --- Created attachment 54334 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54334&action=edit Configure and build log

[Bug sanitizer/108510] ASAN missed a stack-use-after-scope at -O1

2023-01-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108510 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler

2023-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug ipa/108509] [13 Regression] ICE in add, at hash-set.h:64

2023-01-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108509 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug sanitizer/108510] ASAN missed a stack-use-after-scope at -O1

2023-01-24 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108510 --- Comment #2 from Li Shaohua --- Sure: (compiler explorer: https://godbolt.org/z/3qEavnan5) % cat a.c int a; char b; int *c = &a, *d; long e; int main() { long *f = &e; { int g=0; d = &g; } *d << (b = ((*f)--, c || *d)); } %

[Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler

2023-01-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491 Segher Boessenkool changed: What|Removed |Added Resolution|WONTFIX |INVALID --- Comment #7 from Segher

[Bug ipa/108509] [13 Regression] ICE in add, at hash-set.h:64

2023-01-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108509 --- Comment #2 from Martin Liška --- I'm testing a patch.

[Bug sanitizer/108510] ASAN missed a stack-use-after-scope at -O1

2023-01-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108510 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler

2023-01-24 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug sanitizer/108497] UBsan at -O1 failed to report an integer-overflow

2023-01-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108497 --- Comment #2 from Martin Liška --- @Jakub: Can you please take a look?

[Bug c/108518] New: Format-overflow warning using `*.s` directive with null but zero-length string

2023-01-24 Thread aaron at aarongraham dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108518 Bug ID: 108518 Summary: Format-overflow warning using `*.s` directive with null but zero-length string Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug sanitizer/108497] UBsan at -O1 failed to report an integer-overflow

2023-01-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108497 --- Comment #3 from Jakub Jelinek --- Not now nor in the near future. After all, it isn't a regression, so couldn't be fixed during stage4 anyway.

[Bug c/107994] [12 Regression] ICE in fold_convert_loc, at fold-const.cc:2606

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107994 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:45cff68d063b689bd6a9f30827b1fdd3f5ea2cb4 commit r12-9063-g45cff68d063b689bd6a9f30827b1fdd3f5ea2cb4 Author: Richard Biener

[Bug tree-optimization/108076] [10/11/12 Regression] GCC with -O3 produces code which fails to link

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108076 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a3dfcaac560f5589028fdd967bfaa60d84c265ac commit r12-9064-ga3dfcaac560f5589028fdd967bfaa60d84c265ac Author: Richard Biener

[Bug c/107994] [12 Regression] ICE in fold_convert_loc, at fold-const.cc:2606

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107994 Richard Biener changed: What|Removed |Added Known to work||12.2.1 Status|ASSIGNED

[Bug tree-optimization/107554] [10/11/12 Regression] Segmentation fault during GIMPLE pass: strlen (tree-ssa-strlen.cc:4772)

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107554 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ca8b8191983d1a211a718b39ca07e35b8c626416 commit r12-9062-gca8b8191983d1a211a718b39ca07e35b8c626416 Author: Richard Biener

[Bug tree-optimization/108164] [12 Regression] wrong code with "-O3 -fno-tree-dce" on x86_64-linux-gnu since r12-5267-g540d92ae9b629eb4

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108164 Richard Biener changed: What|Removed |Added Known to fail||12.2.0 Status|ASSIGNED

[Bug tree-optimization/108164] [12 Regression] wrong code with "-O3 -fno-tree-dce" on x86_64-linux-gnu since r12-5267-g540d92ae9b629eb4

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108164 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:50ef4fc8c848929ee79af97ac445a45baab7d575 commit r12-9065-g50ef4fc8c848929ee79af97ac445a45baab7d575 Author: Richard Biene

[Bug tree-optimization/108500] [11/12/13 Regression] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f31fa9ea35ebcf221a2abaacba5511225f5d036e commit r13-5325-gf31fa9ea35ebcf221a2abaacba5511225f5d036e Author: Richard Biener Date:

[Bug tree-optimization/108500] [11/12 Regression] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500 Richard Biener changed: What|Removed |Added Summary|[11/12/13 Regression] -O|[11/12 Regression] -O

[Bug other/108519] New: [13 regression] gcc.target/powerpc/pr105586.c fails after r13-5154-g733a1b777f16cd

2023-01-24 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108519 Bug ID: 108519 Summary: [13 regression] gcc.target/powerpc/pr105586.c fails after r13-5154-g733a1b777f16cd Product: gcc Version: 13.0 Status: UNCONFIRMED Seve

[Bug rtl-optimization/108519] [13 regression] gcc.target/powerpc/pr105586.c fails after r13-5154-g733a1b777f16cd

2023-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108519 Richard Biener changed: What|Removed |Added Keywords||compare-debug-failure,

[Bug tree-optimization/107212] [11 Regression] Wrong vectorizer code since r11-718-gc735929a2503a7d0

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107212 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:2461fa40fc24a403dc8149338f44b0e4aef4f173 commit r11-10480-g2461fa40fc24a403dc8149338f44b0e4aef4f173 Author: Richard Biene

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

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107254 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:fb335c938bbd54e83af2d281f0ccf79df1c342b3 commit r11-10481-gfb335c938bbd54e83af2d281f0ccf79df1c342b3 Author: Richard Bien

[Bug tree-optimization/107323] [10/11 Regression] Loop distribute issue

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107323 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:28fe903730d2c6e424732184ab2d8b1e7d46db6c commit r11-10482-g28fe903730d2c6e424732184ab2d8b1e7d46db6c Author: Richard Bien

[Bug tree-optimization/107554] [10/11 Regression] Segmentation fault during GIMPLE pass: strlen (tree-ssa-strlen.cc:4772)

2023-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107554 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:23a9270c999a24cdc0b716e832e5f16bb13db891 commit r11-10483-g23a9270c999a24cdc0b716e832e5f16bb13db891 Author: Richard Biene

[Bug tree-optimization/107212] [11 Regression] Wrong vectorizer code since r11-718-gc735929a2503a7d0

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

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

2023-01-24 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 Resolution|--- |FIXED Known to work|

[Bug tree-optimization/107952] tree-object-size: inconsistent size for flexible arrays nested in structs

2023-01-24 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952 --- Comment #10 from Qing Zhao --- > --- Comment #9 from Richard Biener --- > > GCC handles for example > > struct A { char data[1]; }; > struct B { int n; struct A a; }; > > as if the a.data[] array is a flex-array. Okay. Then the maximum

[Bug tree-optimization/108498] [11/12/13 Regression] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 Jakub Jelinek changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Commen

[Bug c/108520] New: [C2x] ICE in nonnull_arg_p, at tree.cc:14372 with -O1 and above (gnu::assume)

2023-01-24 Thread pexu--- via Gcc-bugs
multiple elements, iii) assume. Using 13.0.1 20230124 (experimental). # cat assume.c static void f0() { } [[ gnu::nonnull(1) ]] void f1(void *) { const struct { void (*f)(); } af[] = { { f0 } , { f0 } , { f0 } }; for (__typeof__(af[0]) * it = af, * const end = af + sizeof(af

[Bug middle-end/108520] [13 Regression] [C2x] ICE in nonnull_arg_p, at tree.cc:14372 with -O1 and above (gnu::assume)

2023-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108520 Marek Polacek changed: What|Removed |Added Priority|P3 |P1 Last reconfirmed|

[Bug tree-optimization/108498] [11/12/13 Regression] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #20 from Jakub Jelinek --- Created attachment 54335 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54335&action=edit gcc13-pr108498.patch Untested fix (well, checked on both testcases on x86_64-linux -m32/-m64 and on the first

[Bug tree-optimization/108520] [13 Regression] ICE in nonnull_arg_p, at tree.cc:14372 with -O1 and above (gnu::assume and gnu::nonnull)

2023-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108520 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Summary|[1

[Bug target/108515] Fails to link fixincl with unresolvable R_ARM_MOVW_ABS_NC reloca tion against symbol `stderr@@GLIBC_2.4'

2023-01-24 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108515 Richard Earnshaw changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #13 from Richard E

[Bug c++/108503] [13 Regression] ICE in get_array_or_vector_nelts, at cp/constexpr.cc:4119

2023-01-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108503 Jason Merrill changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/108503] [13 Regression] ICE in get_array_or_vector_nelts, at cp/constexpr.cc:4119

2023-01-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108503 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/108521] New: doc/invoke.texi contains remnants of Cygwin options removed in 2010-10-07

2023-01-24 Thread Brian.Inglis at SystematicSw dot ab.ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108521 Bug ID: 108521 Summary: doc/invoke.texi contains remnants of Cygwin options removed in 2010-10-07 Product: gcc Version: unknown Status: UNCONFIRMED Severity: n

[Bug target/108521] doc/invoke.texi contains remnants of Cygwin options removed in 2010-10-07

2023-01-24 Thread Brian.Inglis at SystematicSw dot ab.ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108521 Brian W. Inglis changed: What|Removed |Added CC||Brian.Inglis at SystematicSw dot a

[Bug tree-optimization/108498] [11/12/13 Regression] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-24 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #21 from Eric Botcazou --- > That said, I think especially for backports to 11/12 and perhaps even for 13 > the easiest will be the second option, clear string_merging on non-aligned > start/width. > > Eric, your thoughts on this?

  1   2   >