[Bug pending/8943] Love Match!

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8943 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug ipa/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2022-12-28 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 --- Comment #6 from Sam James --- For completeness, I should note, because some commits couldn't be built (only a handful), git said (I've converted the commits) that it could be any of: r12-5382-g616ca1024a79c6 r12-5383-g22c242342e38eb r12-5381

[Bug c++/107906] linkage of template not taken into account

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

[Bug c++/70413] Class template names in anonymous namespaces are not globally unique

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70413 Andrew Pinski changed: What|Removed |Added CC||herring at lanl dot gov --- Comment #6 f

[Bug ipa/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2022-12-28 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 --- Comment #5 from Sam James --- (In reply to Andrew Pinski from comment #4) > Do you know which object file inside llvm-tblgen is being miscompiled? > You can do a binary search on object files and then provide the preprocessed > source for th

[Bug c++/108242] [10/11/12/13 Regression] '__FUNCTION__' was not declared when used inside a generic (templated) lambda declared inside a template function

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108242 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/64266] Can GCC produce local mergeable symbols for *.__FUNCTION__ and *.__PRETTY_FUNCTION__ functions?

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64266 Andrew Pinski changed: What|Removed |Added Target Milestone|6.0 |9.0

[Bug c++/64266] Can GCC produce local mergeable symbols for *.__FUNCTION__ and *.__PRETTY_FUNCTION__ functions?

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64266 Andrew Pinski changed: What|Removed |Added Target Milestone|9.0 |6.0

[Bug c++/64266] Can GCC produce local mergeable symbols for *.__FUNCTION__ and *.__PRETTY_FUNCTION__ functions?

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64266 Andrew Pinski changed: What|Removed |Added Target Milestone|6.5 |9.0

[Bug ipa/81277] assert() in multiversioned functions causes compilation error

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81277 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0

[Bug tree-optimization/100778] [11 Regression] Get SIGFPE on simple test with -fpe-trap=invalid and SLP vectorization ON, with gfortran 11.1.0 on x86_64

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100778 --- Comment #18 from Andrew Pinski --- *** Bug 101634 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/101634] Vectorize optimisations trigger floating point exception

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101634 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #3 from Andrew Pi

[Bug c++/101687] Scoped enumerators of a member enumeration shall not be referred by a class member access expression

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101687 --- Comment #2 from Andrew Pinski --- Hmm, MSVC also accepts this code but clang does not.

[Bug ipa/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

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

[Bug target/108248] Some insns in the risc-v backend do not have mappings to functional units

2022-12-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108248 --- Comment #4 from Jeffrey A. Law --- Yea, thinking about our uarch, we're going to need finer control as well. There's a subset that ought to execute in any ALU, but there's another subset that are bound to a specific ALU and are potentially

[Bug target/108248] Some insns in the risc-v backend do not have mappings to functional units

2022-12-28 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108248 --- Comment #3 from Andrew Waterman --- Yikes. Thanks for the explanation, Jeff. (cc Kito Cheng: at some point, we should revisit the pipeline modeling of Zb* instructions for sifive-7. The short version is that all Zb* instructions can execu

[Bug target/108247] Missed opportunity to generate shNadd on risc-v

2022-12-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108247 --- Comment #2 from Jeffrey A. Law --- We shouldn't use Zba just for the sake of using Zba; it needs to be profitable. The folks doing the analysis behind this BZ are only looking at instruction counts -- they're not really thinking about uarch

[Bug target/108247] Missed opportunity to generate shNadd on risc-v

2022-12-28 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108247 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug target/108248] Some insns in the risc-v backend do not have mappings to functional units

2022-12-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108248 --- Comment #2 from Jeffrey A. Law --- It can certainly get "unduly weird". Basically such instructions get put at the end of the ready queue as soon as its input dependencies are satisfied. If there's only a few such instructions, then the re

[Bug target/108248] Some insns in the risc-v backend do not have mappings to functional units

2022-12-28 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108248 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug c/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2022-12-28 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 --- Comment #3 from Sam James --- Flags used to build LLVM: export FFLAGS='-O2 -mcpu=powerpc -mtune=powerpc -pipe' export CXXFLAGS='-O2 -mcpu=powerpc -mtune=powerpc -pipe -ggdb -D_GLIBCXX_ASSERTIONS=1' export LDFLAGS='-Wl,-O1 -Wl,--as-needed' ex

[Bug c/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2022-12-28 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 --- Comment #2 from Sam James --- LLVM build with working llvm-tblgen (with gcc revert as described above): https://dev.gentoo.org/~sam/bugs/gcc/gcc-llvm-tblgen-ppc/bisect-maybe-broken-2022-12-28-no-hang-revert.tar.xz LLVM build with broken llv

[Bug c/108250] [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2022-12-28 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 --- Comment #1 from Sam James --- GCC built at releases/gcc-12 at a3fbfc1027e9edcd14bb290b5702504d80d9e8fe with a revert of 22c242342e38ebffa6bbf7e86e7a1e4abdf0d686 which produces a working llvm-tblgen: ``` $ gcc-12 -V Using built-in specs. COLL

[Bug c/108250] New: [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb

2022-12-28 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250 Bug ID: 108250 Summary: [12/13 regression] llvm-tblgen miscompiled on powerpc-unknown-linux-gnu since r12-5383-g22c242342e38eb Product: gcc Version: 13.0

[Bug middle-end/108249] cc1plus segmentation fault compiling Marlin on RPI3

2022-12-28 Thread steinhelten at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108249 --- Comment #3 from John Lind --- I'm not sure how to get that, since I am invoking it through platformio. What I am entering is: /home/pi/.platformio/penv/bin/platformio run --verbose I don't know how to get platformio to show the compiler inv

[Bug middle-end/108249] cc1plus segmentation fault compiling Marlin on RPI3

2022-12-28 Thread steinhelten at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108249 --- Comment #2 from John Lind --- I'm not sure how to get that, since I am invoking it through platformio. What I am entering is: /home/pi/.platformio/penv/bin/platformio run --verbose I don't know how to get platformio to show the compiler invo

[Bug middle-end/108249] cc1plus segmentation fault compiling Marlin on RPI3

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

[Bug middle-end/108249] New: cc1plus segmentation fault compiling Marlin on RPI3

2022-12-28 Thread steinhelten at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108249 Bug ID: 108249 Summary: cc1plus segmentation fault compiling Marlin on RPI3 Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

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

2022-12-28 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug target/108208] Bad assembly? on large LLVM source files on powerpc-unknown-linux-gnu (Error: operand out of range)

2022-12-28 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108208 Segher Boessenkool changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug middle-end/101690] failure to shrink wrap simple loop with more aggressive jump threading

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101690 --- Comment #3 from Andrew Pinski --- Fixed in r12-4526-gd8edfadfc7a979? That removed the xfail after all.

[Bug target/108248] New: Some insns in the risc-v backend do not have mappings to functional units

2022-12-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108248 Bug ID: 108248 Summary: Some insns in the risc-v backend do not have mappings to functional units Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: norm

[Bug testsuite/101761] Random hang with 29_atomics/atomic_ref/wait_notify.cc

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101761 Andrew Pinski changed: What|Removed |Added Component|target |testsuite Known to work|

[Bug c++/101747] Two-argument version of attribute malloc does not perform overload resolution

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101747 Andrew Pinski changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill |https://gcc.gnu.org/bugzill

[Bug c++/101747] Two-argument version of attribute malloc does not perform overload resolution

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101747 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/105277] Pointer to member UB in constant expression is not checked.

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105277 --- Comment #1 from Andrew Pinski --- both clang and msvc also accepts this code ...

[Bug c++/108234] GCC accepts invalid program involving nontype template parameter of auto with non constexpr variable

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108234 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug c++/108234] GCC accepts invalid program involving nontype template parameter of auto with non constexpr variable

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108234 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug c++/108234] GCC accepts invalid program involving nontype template parameter of auto with non constexpr variable

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

[Bug c++/108234] GCC accepts invalid program involving nontype template parameter of auto with non constexpr variable

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108234 --- Comment #1 from Andrew Pinski --- If I change func to: template int func(X) { return 1; } And then clang accepts it. The question becomes what can be deduced as the type of V. Here is a slightly different testcase: ``` template struct X

[Bug middle-end/88173] constant folding of NaN comparison depends on order of operands

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88173 Andrew Pinski changed: What|Removed |Added CC||jonas.rahlf.basf at gmail dot com --- C

[Bug c++/101795] (x > QNaNf) is not a constant expression

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

[Bug target/108247] New: Missed opportunity to generate shNadd on risc-v

2022-12-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108247 Bug ID: 108247 Summary: Missed opportunity to generate shNadd on risc-v Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/66918] Disable "inline function declared but never defined" warning

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66918 Andrew Pinski changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug c++/87403] [Meta-bug] Issues that suggest a new warning

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 100343, which changed state. Bug 100343 Summary: add -Wundefined-inline for inline function is used but not defined https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100343 What|Removed |Add

[Bug c/100343] add -Wundefined-inline for inline function is used but not defined

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

[Bug target/108232] Bus & Segmentation error on lz4_decompress.c while make linux-raspi

2022-12-28 Thread registration at filiproland dot hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108232 --- Comment #9 from Filip Roland --- Thanks Andrew I'll test tomorrow!

[Bug target/108232] Bus & Segmentation error on lz4_decompress.c while make linux-raspi

2022-12-28 Thread registration at filiproland dot hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108232 --- Comment #8 from Filip Roland --- Hi! First I tried to run make from plain terminal (Without X) in hope then will remain more memory but it failed again. After I 'freed' while 'make' runned at background and free memory typicaly was over cca

[Bug c++/108238] returns_nonnull attribute with auto return type fails to compile

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

[Bug analyzer/108246] New: False-positive Wanalyzer-double-fclose on fclose() in loop

2022-12-28 Thread roman.zilka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108246 Bug ID: 108246 Summary: False-positive Wanalyzer-double-fclose on fclose() in loop Product: gcc Version: 11.3.1 Status: UNCONFIRMED Keywords: diagnostic

[Bug target/108232] Bus & Segmentation error on lz4_decompress.c while make linux-raspi

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108232 --- Comment #7 from Andrew Pinski --- Maybe you should report this to Ubuntu first since you got GCC from them.

[Bug target/108232] Bus & Segmentation error on lz4_decompress.c while make linux-raspi

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108232 --- Comment #6 from Andrew Pinski --- Works for me with: ubuntu@ubuntu:~/src/upstream-gcc-aarch64\# ~/upstream-gcc/bin/gcc -v Using built-in specs. COLLECT_GCC=/home/ubuntu/upstream-gcc/bin/gcc COLLECT_LTO_WRAPPER=/home/ubuntu/upstream-gcc/libex

[Bug c/108232] Bus & Segmentation error on lz4_decompress.c while make linux-raspi

2022-12-28 Thread registration at filiproland dot hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108232 --- Comment #5 from Filip Roland --- Created attachment 54163 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54163&action=edit Memory Usage by 'free' while 'make' runned

[Bug c/108232] Bus & Segmentation error on lz4_decompress.c while make linux-raspi

2022-12-28 Thread registration at filiproland dot hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108232 --- Comment #4 from Filip Roland --- Created attachment 54162 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54162&action=edit System Monitor Scrrenshot CPU&Memory Usage while gcc ...

[Bug c++/108245] ICE with invalid variable auto arguments and supplying an extra type

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108245 Andrew Pinski changed: What|Removed |Added Summary|parser segv |ICE with invalid variable

[Bug c++/108245] parser segv

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

[Bug c++/108245] parser segv

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108245 --- Comment #2 from Andrew Pinski --- Reduced testcase: typedef int mytype; void h() { [=](mytype auto... I) { }; }

[Bug c++/108245] parser segv

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108245 --- Comment #1 from Andrew Pinski --- Uninclude version: #include auto local_zipped_range() { int b[10]; auto zip_it = [=](std::size_t auto... I) { return std::tuple(b[I], b[I])...); }; return zip_it(std::make_index_seque

[Bug c++/108245] New: parser segv

2022-12-28 Thread rscohn2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108245 Bug ID: 108245 Summary: parser segv Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned

[Bug c++/108242] [10/11/12/13 Regression] '__FUNCTION__' was not declared when used inside a generic (templated) lambda declared inside a template function

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108242 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Target Milestone|---

[Bug c++/108242] '__FUNCTION__' was not declared when used inside a generic (templated) lambda declared inside a template function

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108242 Andrew Pinski changed: What|Removed |Added Summary|'__FUNCTION__' was not |'__FUNCTION__' was not

[Bug preprocessor/108244] [13 Regression] `pragma GCC diagnostic` and -E -fdirectives-only causes the preprocessor to become confused

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108244 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-12-28 Status|UNCONFIRM

[Bug preprocessor/108244] [13 Regression] Cannot preprocess standard header with -E -fdirectives-only

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108244 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 --- Comment #4 from Andrew Pinski

[Bug preprocessor/108244] [13 Regression] Cannot preprocess standard header with -E -fdirectives-only

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108244 --- Comment #3 from Andrew Pinski --- Without -fdirectives-only, it works ...

[Bug preprocessor/108244] [13 Regression] Cannot preprocess standard header with -E -fdirectives-only

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Known to work||12.2.0 --- Comment #2 from Andrew Pinski --- In file included from /opt/compiler-explorer/gcc-trunk-20221228/include/c++/13.0.0/bits/stl_pair.h:60, from /opt/compiler-explorer/gcc-trunk-20221228/include/c++/13.0.0/bits/stl_algobase.h:64

[Bug preprocessor/108244] [12/13 Regression] Cannot preprocess standard header with -E -fdirectives-only

2022-12-28 Thread gwhitneycom5 at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108244 --- Comment #1 from Glen Whitney --- The problem is present in g++-13 but not g++-12; I wasn't sure if that meant I should write `[12/13 Regression]` or `[13 Regression]` in the title, sorry. If I got it wrong just let me know and I will be happ

[Bug preprocessor/108244] New: [12/13 Regression] Cannot preprocess standard header with -E -fdirectives-only

2022-12-28 Thread gwhitneycom5 at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108244 Bug ID: 108244 Summary: [12/13 Regression] Cannot preprocess standard header with -E -fdirectives-only Product: gcc Version: 13.0 Status: UNCONFIRMED Severity

[Bug c++/108243] New: Missed optimization for static const std::string_view(const char*)

2022-12-28 Thread erosenberger at kinetica dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108243 Bug ID: 108243 Summary: Missed optimization for static const std::string_view(const char*) Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/108131] [10/11 Regression] Incorrect bound calculation when bound intrinsic used in size expression

2022-12-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108131 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11 Regression]

[Bug c++/108242] New: '__FUNCTION__' was not declared when used inside a lambda declared inside a template function

2022-12-28 Thread n.eugene536 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108242 Bug ID: 108242 Summary: '__FUNCTION__' was not declared when used inside a lambda declared inside a template function Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/108131] [10/11/12/13 Regression] Incorrect bound calculation when bound intrinsic used in size expression

2022-12-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108131 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f97f032f28b3f875e5061d6b9d7ecf35897a commit r12-9017-gf97f032f28b3f875e5061d6b9d7ecf35897a Author: Harald Anlauf

[Bug modula2/108183] wrong code generated in the modula2 scaffold mechanism

2022-12-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108183 --- Comment #15 from Gaius Mulley --- Yes the proposed changes to the C module ctor works well and matches the declaration in the compiler scaffold. I'd advocate adding the attribute to match the expected behaviour for all modules. The startup

[Bug rtl-optimization/108241] [12/13 Regression] ICE in lra_eliminate_regs_1, at lra-eliminations.cc:658

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

[Bug ipa/106816] noreturn/pure attributes are not set correctly on multiversioned functions

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106816 --- Comment #8 from Martin Liška --- > @Martin: Do we have a declaration cloning code for functions somewhere? @jamborm: PING

[Bug c++/106921] [11/12/13 Regression] -O1 and -fipa-icf -fpartial-inlining causes wrong code since r11-4987-g602c6cfc79ce4ae6

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

[Bug rtl-optimization/108241] New: [12/13 Regression] ICE in lra_eliminate_regs_1, at lra-eliminations.cc:658

2022-12-28 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108241 Bug ID: 108241 Summary: [12/13 Regression] ICE in lra_eliminate_regs_1, at lra-eliminations.cc:658 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice

[Bug middle-end/107284] Option properties Mask infrastructure can be extended with wide_int_bitmask

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107284 --- Comment #3 from Martin Liška --- Well, the ideal option would be std::bitset which would replace host_wide_bitset.

[Bug libstdc++/108236] std::exclusive_scan with execution policy does not work in-place

2022-12-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108236 Jonathan Wakely changed: What|Removed |Added CC||rodgertq at gcc dot gnu.org --- Comme

[Bug middle-end/107284] Option properties Mask infrastructure can be extended with wide_int_bitmask

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107284 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug target/108229] [13 Regression] unprofitable STV transform since r13-4873-g0b2c1369d035e928

2022-12-28 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108229 --- Comment #3 from Alexander Monakov --- Thank you! I considered this unprofitable for these reasons: 1. As you said, the code grows in size, but the speed benefit is not clear. 2. The transform converts load+add operations in a loop, and the

[Bug tree-optimization/107467] [12/13 Regression] Miscompilation involing -Os , -flto and -fno-strict-aliasing

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107467 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug target/64384] mingw-w64: stdcall function returning an aggregate is incompatible with MS ABI

2022-12-28 Thread alvinhochun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64384 --- Comment #9 from Alvin Wong --- P.S. related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52792

[Bug target/64384] mingw-w64: stdcall function returning an aggregate is incompatible with MS ABI

2022-12-28 Thread alvinhochun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64384 Alvin Wong changed: What|Removed |Added CC||alvinhochun at gmail dot com --- Comment #8

[Bug target/108229] [13 Regression] unprofitable STV transform since r13-4873-g0b2c1369d035e928

2022-12-28 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108229 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Co

[Bug c++/107597] LTO causes static inline variables to get a non-uniqued global symbol

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107597 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/107597] LTO causes static inline variables to get a non-uniqued global symbol

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107597 --- Comment #5 from Martin Liška --- > > So this is kind of feature. How the ODR violations are detected? ASAN emits > I wonder if keeping weak flag disturbs something.

[Bug target/108240] ICE in emit_library_call_value_1 at gcc/calls.cc:4181 since r13-4894-gacc727cf02a144

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

[Bug ipa/107944] [11/12/13 Regression] ICE in cgraph_node::get_untransformed_body since r13-48-g27ee75dbe81bb7

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107944 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Liška

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

2022-12-28 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 Keywords||patch --- Comment #2 from Martin Liška

[Bug target/108240] New: ICE in emit_library_call_value_1 at gcc/calls.cc:4181 since r13-4894-gacc727cf02a144

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240 Bug ID: 108240 Summary: ICE in emit_library_call_value_1 at gcc/calls.cc:4181 since r13-4894-gacc727cf02a144 Product: gcc Version: 13.0 Status: UNCONFIRMED Sev

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

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

[Bug c/107993] ICE: tree check: expected string_cst, have integer_cst in get_target_clone_attr_len, at tree.cc:14872

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

[Bug middle-end/108237] [13 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:281 at -O since r13-1085-g90467f0ad649d081

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108237 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug libstdc++/108236] std::exclusive_scan with execution policy does not work in-place

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

[Bug c/107993] ICE: tree check: expected string_cst, have integer_cst in get_target_clone_attr_len, at tree.cc:14872

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107993 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #5 from Martin Liška

[Bug tree-optimization/108137] [12 Regression] ICE: segfault during GIMPLE pass: warn-printf since r12-523-g2254b3233b5bfa69

2022-12-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108137 Martin Liška changed: What|Removed |Added Summary|[12/13 Regression] ICE: |[12 Regression] ICE: |

[Bug tree-optimization/108137] [12/13 Regression] ICE: segfault during GIMPLE pass: warn-printf since r12-523-g2254b3233b5bfa69

2022-12-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108137 --- Comment #7 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:ee6f262b87fef590729e96e999f1c3b207c251c0 commit r13-4911-gee6f262b87fef590729e96e999f1c3b207c251c0 Author: Martin Liska Date: Fri

[Bug c++/106435] constructor of thread_local static member is not called

2022-12-28 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435 --- Comment #11 from Iain Sandoe --- posted here https://gcc.gnu.org/pipermail/gcc-patches/2022-December/608096.html