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

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org K

[Bug tree-optimization/107956] [12/13 Regression] ICE: SIGSEGV in contains_struct_check (tree.h:3641) with -fsanitize=float-cast-overflow -ftree-slp-vectorize -fexceptions

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

[Bug tree-optimization/107956] [12/13 Regression] ICE: SIGSEGV in contains_struct_check (tree.h:3641) with -fsanitize=float-cast-overflow -ftree-slp-vectorize -fexceptions

2022-12-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107956 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:5c11d748564c7ce3b096e87ad350fcddd493e45e commit r13-4489-g5c11d748564c7ce3b096e87ad350fcddd493e45e Author: Andrew Pinski Date:

[Bug tree-optimization/107956] [12/13 Regression] ICE: SIGSEGV in contains_struct_check (tree.h:3641) with -fsanitize=float-cast-overflow -ftree-slp-vectorize -fexceptions

2022-12-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107956 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:16debfadbd759f9933b4a62029661f01188ad928 commit r12-8959-g16debfadbd759f9933b4a62029661f01188ad928 Author: Andrew Pinski

[Bug tree-optimization/107956] [12/13 Regression] ICE: SIGSEGV in contains_struct_check (tree.h:3641) with -fsanitize=float-cast-overflow -ftree-slp-vectorize -fexceptions

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107956 Richard Biener changed: What|Removed |Added Known to work||12.2.1, 13.0 Status|ASSIGN

[Bug sanitizer/107963] Support __attribute__((disable_sanitizer_instrumentation))

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107963 Richard Biener changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

[Bug plugins/107964] [13] missing plugin header contracts.h

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107964 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug plugins/107964] [13] missing plugin header contracts.h

2022-12-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107964 --- Comment #1 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:824542bec24c09319fa55922a0162209a5f64963 commit r13-4490-g824542bec24c09319fa55922a0162209a5f64963 Author: Scott Snyder Date: M

[Bug tree-optimization/107967] The gcc commit 2f7f9edd28d caused the glibc make check fails.

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107967 Richard Biener changed: What|Removed |Added Component|c |tree-optimization CC|

[Bug libstdc++/107965] libstdc++ Python Pretty-Printers: Many Exceptions From Uninitialized Structures

2022-12-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107965 --- Comment #2 from Jonathan Wakely --- They're nothing the printers can do. You're asking to print them out before they are initialized, so they try to interpret garbage as values. The OverflowError is just because some uninitialized std::strin

[Bug libstdc++/107965] libstdc++ Python Pretty-Printers: Many Exceptions From Uninitialized Structures

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107965 --- Comment #3 from Richard Biener --- (In reply to Jonathan Wakely from comment #2) > They're nothing the printers can do. You're asking to print them out before > they are initialized, so they try to interpret garbage as values. The > Overflow

[Bug c/107969] New: ICE in extract_insn, at recog.cc:2791 since r13-3292-gc2565a31c1622ab0

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107969 Bug ID: 107969 Summary: ICE in extract_insn, at recog.cc:2791 since r13-3292-gc2565a31c1622ab0 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c/107969] ICE in extract_insn, at recog.cc:2791 since r13-3292-gc2565a31c1622ab0

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107969 Martin Liška changed: What|Removed |Added Target Milestone|--- |13.0 Ever confirmed|0

[Bug libstdc++/107965] libstdc++ Python Pretty-Printers: Many Exceptions From Uninitialized Structures

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107965 --- Comment #4 from Richard Biener --- I would suggest to make the pretty-printers more robust with respect to memory errrors (can those errors be catched and the printing avoided somehow?)

[Bug target/107970] New: ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107970 Bug ID: 107970 Summary: ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-

[Bug target/107970] ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107970 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-12-05 Ever confirmed|0

[Bug target/107969] ICE in extract_insn, at recog.cc:2791 since r13-3292-gc2565a31c1622ab0

2022-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107969 --- Comment #1 from Andrew Pinski --- Almost nobody uses msoft-float on x86_64 or even i386 these days.

[Bug c/107971] New: linking an assembler object creates an executable stack

2022-12-05 Thread contact--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107971 Bug ID: 107971 Summary: linking an assembler object creates an executable stack Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/107967] The gcc commit 2f7f9edd28d caused the glibc make check fails.

2022-12-05 Thread caiyinyu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107967 --- Comment #2 from caiyinyu --- I tested with latest gcc(commit 102f3cef568), and these fails still exist. My gcc configuration: ../configure --prefix=/usr --libdir=/usr/lib64 --disable-bootstrap --enable-__cxa_atexit --enable-threads=posix -

[Bug c/107971] linking an assembler object creates an executable stack

2022-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107971 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

[Bug target/107969] ICE in extract_insn, at recog.cc:2791 since r13-3292-gc2565a31c1622ab0

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107969 --- Comment #2 from Martin Liška --- Sure, it's a result of option fuzzing, I admit.

[Bug c/107971] linking an assembler object creates an executable stack

2022-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107971 --- Comment #2 from Andrew Pinski --- You can use the assembler note to communicate to the linker that the assembly code does not use executable stack. This is all documented in the linker documentation and is not part of gcc documentation.

[Bug tree-optimization/107839] spurious "may be used uninitialized" warning while all uses are under "if (c)"

2022-12-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107839 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:44c8402d35160515b3c09fd2bc239587e0c32a2b commit r13-4491-g44c8402d35160515b3c09fd2bc239587e0c32a2b Author: Richard Biener Date:

[Bug tree-optimization/107833] [12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu since r12-5138-ge82c382971664d6f

2022-12-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107833 --- Comment #15 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:44c8402d35160515b3c09fd2bc239587e0c32a2b commit r13-4491-g44c8402d35160515b3c09fd2bc239587e0c32a2b Author: Richard Biener Date:

[Bug tree-optimization/106868] [12/13 Regression] Bogus -Wdangling-pointer warning with -O1

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

[Bug debug/107965] libstdc++ Python Pretty-Printers: Many Exceptions From Uninitialized Structures

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

[Bug tree-optimization/107839] spurious "may be used uninitialized" warning while all uses are under "if (c)"

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

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 107839, which changed state. Bug 107839 Summary: spurious "may be used uninitialized" warning while all uses are under "if (c)" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107839 What|Removed

[Bug lto/107078] LTO is causing that firebird build is core dumping

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

[Bug tree-optimization/107967] [13 regression] The gcc commit 2f7f9edd28d caused the glibc make check fails.

2022-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107967 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Summary|The gcc commit

[Bug c/107971] linking an assembler object creates an executable stack

2022-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107971 --- Comment #3 from Andrew Pinski --- https://sourceware.org/binutils/docs-2.39/ld/Options.html#index-_002d_002dwarn_002dexecstack ``` Note: ELF format input files specify that they need an executable stack by having a .note.GNU-stack section w

[Bug tree-optimization/107879] [13 Regression] ffmpeg-4 test suite fails on FPU arithmetics

2022-12-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107879 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4500baaccb6e4d696e223c338bbdf7705c3646dd commit r13-4492-g4500baaccb6e4d696e223c338bbdf7705c3646dd Author: Jakub Jelinek Date: M

[Bug c/107971] linking an assembler object creates an executable stack

2022-12-05 Thread contact--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107971 --- Comment #4 from Alexander Pick --- Thanks a lot for the explanation. Do you think that it is worth reporting it to binutils as the text in the link also says that there should be a warning unless the option to have an executable stack is exp

[Bug tree-optimization/107967] [13 regression] The gcc commit r13-3923 caused the glibc make check fails.

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107967 Jakub Jelinek changed: What|Removed |Added CC||aldyh at gcc dot gnu.org Sum

[Bug tree-optimization/107879] [13 Regression] ffmpeg-4 test suite fails on FPU arithmetics

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107879 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug debug/107965] libstdc++ Python Pretty-Printers: Many Exceptions From Uninitialized Structures

2022-12-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107965 --- Comment #6 from Jonathan Wakely --- Reading symbols from p... (gdb) start Temporary breakpoint 1 at 0x4022ea: file p.cc, line 18. Starting program: /tmp/p [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64

[Bug tree-optimization/107967] [13 regression] The gcc commit r13-3923 caused the glibc make check fails.

2022-12-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107967 Aldy Hernandez changed: What|Removed |Added CC||amacleod at redhat dot com,

[Bug middle-end/106805] [13 Regression] Undue optimisation of floating-point comparisons

2022-12-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106805 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:109148dd16e4bcd50faee19c49082de69d0ba26e commit r13-4493-g109148dd16e4bcd50faee19c49082de69d0ba26e Author: Jakub Jelinek Date: M

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-12-05 Thread brjd_epdjq36 at kygur dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #13 from Brjd --- I am not sure how I can run only this patched test against the newly built gcc. Would you post instruction how it is done. I know it can run in the build tree when building gcc itself, but never test it against the

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-12-05 Thread brjd_epdjq36 at kygur dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #14 from Brjd --- Maybe it is better if we test it in the next release 12.3 or 13.1 since now the test will be correct, ok, but when building source with the compiler, it will not make any difference and make no problems at all?

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #15 from Martin Liška --- Sure, I'm pretty sure about what's the problem, so you can wait for 13.1 or 12.3 where I would like to get the fix.

[Bug tree-optimization/107879] [13 Regression] ffmpeg-4 test suite fails on FPU arithmetics

2022-12-05 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107879 --- Comment #10 from Alexander Monakov --- If anyone is confused like I was, the commit actually includes a testcase, but the addition is not mentioned in the Changelog. I was sure the server-side receive hook was supposed to reject such incompl

[Bug tree-optimization/107879] [13 Regression] ffmpeg-4 test suite fails on FPU arithmetics

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107879 --- Comment #11 from Martin Liška --- > I was sure the > server-side receive hook was supposed to reject such incomplete Changelog, > though? New files in test-suite are not mandatory by the hook and corresponding ChangeLog entries are generate

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-12-05 Thread brjd_epdjq36 at kygur dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #16 from Brjd --- I mean that as I can see, your patch makes changes only to the test and not to the compiler ? If it does not, and it changes the compiler source also, then I have to rebuild the whole compiler to test it again. But

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #17 from Martin Liška --- (In reply to Brjd from comment #16) > I mean that as I can see, your patch makes changes only to the test and not > to the compiler ? No, it also modifies: gcc/config/i386/i386-builtins.cc which is part o

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-05 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #21 from Tomasz Kłoczko --- On emore time. You are commenting under GNU C Compilet issue during linking firebird binaries linking. *COMPILER* (not firebird) is core dumping. Please discuss firebird issue opening ticket on https://gi

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-05 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #22 from Sam James --- (In reply to Tomasz Kłoczko from comment #21) > On emore time. > You are commenting under GNU C Compilet issue during linking firebird > binaries linking. > *COMPILER* (not firebird) is core dumping. > > Pleas

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #23 from Martin Liška --- (In reply to Tomasz Kłoczko from comment #21) > On emore time. > You are commenting under GNU C Compilet issue during linking firebird > binaries linking. > *COMPILER* (not firebird) is core dumping. I see

[Bug c/107971] linking an assembler object creates an executable stack

2022-12-05 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107971 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

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

2022-12-05 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952 --- Comment #2 from Siddhesh Poyarekar --- The standard does not allow the nesting, but gcc supports it as an extension. The middle end does see the array as a flex array correctly, but tree-object-size doesn't seem to do the right thing consis

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

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2022-12-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #7 from Aldy Hernandez --- (In reply to Richard Biener from comment #6) > (In reply to Jakub Jelinek from comment #0) > > ... but then > > comes dom2 and happily replaces > > _1 = 3.4028234663852885981170418348451692544e+38 * 2.0e+

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-12-05 Thread brjd_epdjq36 at kygur dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #18 from Brjd --- Then rebuild is necessary and impending gcc/config/i386/i386-builtins.cc for the compiler ? gcc/testsuite/gcc.target/i386/builtin_target.c for the test ? gcc/doc/extend.texi is not needed since I am not buil

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #19 from Martin Liška --- (In reply to Brjd from comment #18) > Then rebuild is necessary and impending > gcc/config/i386/i386-builtins.cc for the compiler ? > gcc/testsuite/gcc.target/i386/builtin_target.c for the test ? Yes.

[Bug tree-optimization/107972] New: backward propagation of finite property not performed

2022-12-05 Thread drepper.fsp+rhbz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107972 Bug ID: 107972 Summary: backward propagation of finite property not performed Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug tree-optimization/107972] backward propagation of finite property not performed

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107972 Jakub Jelinek changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug c/107973] New: wrong warning with -Werror -fsanitize=address

2022-12-05 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
ing treated as errors this happens with: gcc version 12.2.1 20221130 (GCC) gcc version 11.3.1 20221205 (GCC) gcc version 10.4.1 20221205 (GCC) but did not happen with: gcc version 9.5.0 (GCC) nor does it happen with: gcc version 13.0.0 20221130 (experimental) (GCC) It is pretty annoying because t

[Bug tree-optimization/106868] [12/13 Regression] Bogus -Wdangling-pointer warning with -O1

2022-12-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106868 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d492d50f644811327c5976e2c918ab6d906ed40c commit r13-4494-gd492d50f644811327c5976e2c918ab6d906ed40c Author: Richard Biener Date:

[Bug tree-optimization/106868] [12/13 Regression] Bogus -Wdangling-pointer warning with -O1

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

[Bug bootstrap/107960] opt-gather.awk seems to ignore lines lines that start with whitespace

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107960 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/107966] [10/11/12/13 Regression] option property Var(var) documentation seems cut off

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107966 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever confi

[Bug tree-optimization/107967] [13 regression] The gcc commit r13-3923 caused the glibc make check fails.

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107967 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-12-05 Ever confirmed|0

[Bug c/107973] wrong warning with -Werror -fsanitize=address

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107973 Martin Liška changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug tree-optimization/107767] [13 Regression] switch to table conversion happening even though using btq is better

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107767 --- Comment #13 from Martin Liška --- > As a hack I've removed them manually: > FOR_EACH_BB_FN (bb, cfun) > { > gimple_stmt_iterator gsi = gsi_after_labels (bb); > if (!gsi_end_p (gsi) && gimple_code (gsi_stmt (gsi)) == GIMPLE_PREDICT) > gsi_rem

[Bug tree-optimization/40635] [12/13 Regression] bogus name and location in 'may be used uninitialized' warning

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

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-12-05 Thread brjd_epdjq36 at kygur dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #20 from Brjd --- The test gcc/testsuite/gcc.target/i386/builtin_target.c is patched. But gcc/config/i386/i386-builtins.cc looks like it is from another version. I attached it as i386-builtins-orig-12.2.0.cc to compare them and

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-12-05 Thread brjd_epdjq36 at kygur dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #21 from Brjd --- Created attachment 54012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54012&action=edit i386-builtins-orig-12.2.0.cc

[Bug c++/64867] split warning for passing non-POD to varargs function from -Wconditionally-supported into new warning flag, -Wnon-pod-varargs

2022-12-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #31

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

2022-12-05 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952 --- Comment #4 from rguenther at suse dot de --- On Mon, 5 Dec 2022, siddhesh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952 > > --- Comment #2 from Siddhesh Poyarekar --- > The standard does not allow the nes

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #8 from Richard Biener --- (In reply to Aldy Hernandez from comment #7) > (In reply to Richard Biener from comment #6) > > (In reply to Jakub Jelinek from comment #0) > > > ... but then > > > comes dom2 and happily replaces > > > _

[Bug target/107551] __builtin_cpu_supports returns a negative integer for "x86-64"

2022-12-05 Thread brjd_epdjq36 at kygur dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107551 --- Comment #22 from Brjd --- Maybe not changing now is the correct way for now since I may change it blindly not knowing completely what I am doing. Let the developers correct it and will include it in next releases. The compiler is excellent a

[Bug middle-end/87489] [10/11/12/13 Regression] Spurious -Wnonnull warning

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87489 Richard Biener changed: What|Removed |Added Last reconfirmed|2020-06-03 00:00:00 |2022-12-5 --- Comment #19 from Richard

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

2022-12-05 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952 --- Comment #5 from Siddhesh Poyarekar --- (In reply to rguent...@suse.de from comment #4) > Does it allow the nesting when nested in a union? data[] cannot be nested directly in a union (i.e. union { char d; char data[]; } is invalid) but some

[Bug tree-optimization/104165] [12 Regression] -Warray-bounds for unreachable code inlined from std::sort()

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104165 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Known

[Bug tree-optimization/104475] [12/13 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-12-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 --- Comment #13 from Richard Biener --- There's been some changes on trunk but the preprocessed source doesn't work there.

[Bug tree-optimization/40635] [12/13 Regression] bogus name and location in 'may be used uninitialized' warning

2022-12-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635 --- Comment #27 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0d14720f93a8139a7f234b2762c361e8e5da99cc commit r13-4495-g0d14720f93a8139a7f234b2762c361e8e5da99cc Author: Richard Biener Date:

[Bug tree-optimization/104165] [12 Regression] -Warray-bounds for unreachable code inlined from std::sort()

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104165 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/107974] New: compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread cristian.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 Bug ID: 107974 Summary: compiler can't find source file in path that is longer than 255 characters Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: n

[Bug target/107957] [AVR] Missed optimization in access to upper-half of a variable

2022-12-05 Thread mrjjot at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107957 --- Comment #1 from Jacek Wieczorek --- A little correction - I just noticed my mistake. Assembly for rawr() is in fact correct. Apparently this happens only for variables longer than 16 bits.

[Bug c++/107974] compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread cristian.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #1 from Cristian Adam --- Visual C++ 2022 also suffers from the same problem, see https://developercommunity.visualstudio.com/t/compiler-cant-find-source-file-in-path/10221576 For some reason clang is working fine.

[Bug c++/107974] compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #2 from Andrew Pinski --- GCC just does: file->fd = open (file->path, O_RDONLY | O_NOCTTY | O_BINARY, 0666);

[Bug target/107969] ICE in extract_insn, at recog.cc:2791 since r13-3292-gc2565a31c1622ab0

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107969 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2022-12-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #9 from Aldy Hernandez --- (In reply to Richard Biener from comment #8) > (In reply to Aldy Hernandez from comment #7) > > (In reply to Richard Biener from comment #6) > > > (In reply to Jakub Jelinek from comment #0) > > > > ... but

[Bug target/107969] ICE in extract_insn, at recog.cc:2791 since r13-3292-gc2565a31c1622ab0

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107969 --- Comment #4 from Jakub Jelinek --- I mean should fix the ICE, nothing else.

[Bug tree-optimization/104475] [12/13 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-12-05 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 --- Comment #14 from Thiago Macieira --- Created attachment 54015 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54015&action=edit qfutureinterface.cpp preprocessed [gcc trunk-20221205] (In reply to Richard Biener from comm

[Bug tree-optimization/107967] [13 regression] The gcc commit r13-3923 caused the glibc make check fails.

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107967 --- Comment #5 from Jakub Jelinek --- (In reply to caiyinyu from comment #2) > I tested with latest gcc(commit 102f3cef568), and these fails still exist. Do the glibc test logs provide some details on what exactly failed, if it is a wrong-code

[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread cristian.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #3 from Cristian Adam --- I've used the manifest tool from Visual C++ (mt.exe) to inject this manifest: http://schemas.microsoft.com/SMI/2016/WindowsSettings";> true with the command line: mt.exe -nologo -man

[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread cristian.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #4 from Cristian Adam --- The manifest file is being mentioned at https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread cristian.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #5 from Cristian Adam --- Created attachment 54016 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54016&action=edit gcc long path working

[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters

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

[Bug tree-optimization/107975] New: [13 Regression] frange ICE since r13-4492

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107975 Bug ID: 107975 Summary: [13 Regression] frange ICE since r13-4492 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-o

[Bug tree-optimization/107975] [13 Regression] frange ICE since r13-4492

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107975 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug target/106773] libbpf: failed to find BTF info for global/extern symbol 'bpf_link_fops'

2022-12-05 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106773 --- Comment #13 from David Faust --- Created attachment 54017 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54017&action=edit DATASEC entries for extern funcs Applies on top of 54002: updated patch Adds emission of DATASEC entries for ex

[Bug c++/105838] [10/11/12/13 Regression] g++ 12.1.0 runs out of memory or time when building const std::vector of std::strings

2022-12-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105838 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #10 from Jason Mer

[Bug tree-optimization/107975] [13 Regression] frange ICE since r13-4492

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107975 --- Comment #1 from Jakub Jelinek --- The testcase was guessed from the https://gcc.gnu.org/pipermail/gcc-regression/2022-December/077258.html report.

[Bug tree-optimization/107973] wrong warning with -Werror -fsanitize=address

2022-12-05 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107973 --- Comment #2 from Bernd Edlinger --- Thanks, I see a very similar warning with m68k-linux-gnu-gcc but without sanitizer: crypto/modes/cfb128.c: In function 'CRYPTO_cfb128_encrypt': crypto/modes/cfb128.c:117:33: error: writing 1 byte into a r

[Bug libstdc++/107871] _Iter_sink:: _M_overflow missing some difference type casting

2022-12-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107871 --- Comment #5 from 康桓瑋 --- (In reply to Jonathan Wakely from comment #4) > Maybe you could legally do: > > using difference_type = iterator_t>; > > but maybe just don't do that. If things break when you do dumb things, don't > do those things

[Bug c++/105838] [10/11/12/13 Regression] g++ 12.1.0 runs out of memory or time when building const std::vector of std::strings

2022-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105838 --- Comment #11 from Jakub Jelinek --- (In reply to Jason Merrill from comment #10) > A lot of the problem here is that building a std::string involves building a > std::allocator temporary to pass to the string constructor, and then > we need t

[Bug testsuite/107046] [13 Regression] Recent FP range work causing inf-2 to be miscompiled on rx-elf

2022-12-05 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107046 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #7

[Bug tree-optimization/107976] New: ICE: SIGSEGV (stack overflow) in emit_case_dispatch_table (stmt.cc:783) with large --param=jump-table-max-growth-ratio-for-speed

2022-12-05 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107976 Bug ID: 107976 Summary: ICE: SIGSEGV (stack overflow) in emit_case_dispatch_table (stmt.cc:783) with large --param=jump-table-max-growth-ratio-for-speed Product: gcc

  1   2   >