[Bug c++/105040] snfit-2.4.0 fails to build because of /usr/include/c++/7/ostream:682:5: error: no type named 'type' in 'struct std::enable_if&>'

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

[Bug c++/105040] snfit-2.4.0 fails to build because of /usr/include/c++/7/ostream:682:5: error: no type named 'type' in 'struct std::enable_if&>'

2022-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105040 --- Comment #1 from Andrew Pinski --- https://stackoverflow.com/questions/70791879/im-getting-a-type-error-while-building-snfit-2-4-2

[Bug c++/105040] New: snfit-2.4.0 fails to build because of /usr/include/c++/7/ostream:682:5: error: no type named 'type' in 'struct std::enable_if&>'

2022-03-23 Thread gautam_bhuyan282 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105040 Bug ID: 105040 Summary: snfit-2.4.0 fails to build because of /usr/include/c++/7/ostream:682:5: error: no type named 'type' in 'struct std::enable_if&>' Product: gcc

[Bug target/104984] Use hard-fp for libgcc single-floating-point routines

2022-03-23 Thread archicharmer at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104984 Den changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/105030] store motion if-change flag causes if-conversion optimization can't be taken.

2022-03-23 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105030 --- Comment #3 from HaoChen Gui --- (In reply to Richard Biener from comment #2) > That occured to me as well - I think the answer is maybe. In principle > foo() could launch a thread and make the 'atemp' available to it. As long > as foo()

[Bug c++/102598] [modules] ICE in pp_string, at pretty-print.c

2022-03-23 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102598 --- Comment #2 from Johel Ernesto Guerrero Peña --- Another test case: https://godbolt.org/z/Gsfx56GM9.

[Bug debug/104564] '-fcompare-debug' failure w/ -std=c++20 -O1 -fharden-conditional-branches -fopenacc -gno-statement-frontiers

2022-03-23 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104564 Alexandre Oliva changed: What|Removed |Added Last reconfirmed||2022-03-24

[Bug target/104967] ICE: Segmentation fault (in find_instance)

2022-03-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104967 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/105002] [12 regression] gcc.target/powerpc/float128-minmax-3.c fails starting with r12-7687-g3a7ba8fd0cda38

2022-03-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105002 --- Comment #5 from Kewen Lin --- Patch was just posted at https://gcc.gnu.org/pipermail/gcc-patches/2022-March/592204.html.

[Bug target/104967] ICE: Segmentation fault (in find_instance)

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104967 --- Comment #3 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:497bde3ab92b2c292f78672db341bbb7cc1bcf1f commit r12-7792-g497bde3ab92b2c292f78672db341bbb7cc1bcf1f Author: Kewen Lin Date: Wed Mar

[Bug demangler/105039] New: rust demangler stack overflow

2022-03-23 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039 Bug ID: 105039 Summary: rust demangler stack overflow Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler

[Bug target/105010] [12 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2022-03-23 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 --- Comment #13 from Piotr Kubaj --- Is it possible there's an underlying bug in GCC and it only works on Linux because the default for Linux for 32-bits is POWER7?

[Bug middle-end/104975] ICE in execute, at gimple-harden-conditionals.cc:577 and returns_twice and pure attributes on the same function

2022-03-23 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104975 Alexandre Oliva changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org

[Bug target/105010] [12 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2022-03-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 --- Comment #12 from Segher Boessenkool --- What I still cannot figure out is how you get TARGET_MFCRF with your configuration and command line, so, ISA 2.01 . This is -m32 so *should* default to -mcpu=7450. But apparently it uses the

[Bug c++/100687] [modules, concepts] imported concept gives different result

2022-03-23 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100687 --- Comment #2 from Johel Ernesto Guerrero Peña --- Another use case (Clang: https://godbolt.org/z/hTPsPbEhe) (GCC: https://godbolt.org/z/96MqTvrKv): `mod.cpp`: ```C++ export module mod; export template inline constexpr bool is_same_v = false;

[Bug analyzer/104979] False positive from -Wanalyzer-malloc-leak with cast within boxed pointer

2022-03-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104979 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug analyzer/104979] False positive from -Wanalyzer-malloc-leak with cast within boxed pointer

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104979 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:4cebae0924248beb2077894c6dc725c306fc0a69 commit r12-7790-g4cebae0924248beb2077894c6dc725c306fc0a69 Author: David Malcolm Date:

[Bug target/105010] [12 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2022-03-23 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 --- Comment #11 from Piotr Kubaj --- Unfortunately, this fails with the original issue: /wrkdirs/usr/ports/lang/gcc12-devel/work/.build/./gcc/xgcc -B/wrkdirs/usr/ports/lang/gcc12-devel/work/.build/./gcc/

[Bug sanitizer/105029] sanitizer_internal_defs.h:254:72: error: size of array ‘assertion_failed__1135’ is negative

2022-03-23 Thread eyalroz1 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105029 --- Comment #3 from Eyal Rozenberg --- (In reply to Andrew Pinski from comment #2) > You could backport the fix if you want. I'd like to trouble you for a little more guidance, so that I can apply the fix to 6.5.0. Now, I understand the fix

[Bug c++/104620] FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors)

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

[Bug rtl-optimization/104985] [12 Regression] ICE: SIGSEGV in undo_to_marker / adjust_reg_mode with -Os -frounding-math since r12-4767-g81342e95827f77

2022-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104985 --- Comment #6 from Jakub Jelinek --- Still can't reproduce.

[Bug fortran/105038] New: Improve error message for recursive type

2022-03-23 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105038 Bug ID: 105038 Summary: Improve error message for recursive type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/105028] [11/12 Regression] gcc.dg/long_branch.c compilation time increases by 10x on BE system after r11-5648

2022-03-23 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105028 --- Comment #5 from seurer at gcc dot gnu.org --- Thanks, that patch really improved things!

[Bug c++/103337] rejects-valid brace elision inside designated initializer

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103337 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2cd0c9a5310420e1039be5e514a818b6d381d89f commit r12-7789-g2cd0c9a5310420e1039be5e514a818b6d381d89f Author: Jason Merrill Date:

[Bug middle-end/105032] Compiling inline ASM x86 causing GCC stuck in an endless loop with 100% CPU usage

2022-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105032 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #8

[Bug target/105010] [12 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2022-03-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 Segher Boessenkool changed: What|Removed |Added Attachment #52670|0 |1 is obsolete|

[Bug c++/104620] FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors)

2022-03-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104620 --- Comment #2 from Marek Polacek --- FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors, line 80) FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors, line 84) After r12-7264-gc19f317a78c0e4 these two errors

[Bug target/104831] RISCV libatomic LR.aq/SC.rl pair insufficient for SEQ_CST

2022-03-23 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104831 --- Comment #9 from Patrick O'Neill --- Adding this comment to summarize why LR.aq/SC.rl doesn't appear to be an issue. The re-orderings shown in the previous litmus tests are allowed by the C++/GCC definition of SEQ_CST. My reasoning in prior

[Bug c++/92067] __is_constructible(incomplete_type) should make the program ill-formed

2022-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92067 --- Comment #6 from Jonathan Wakely --- (In reply to Jason Merrill from comment #4) > Do other standard library implementations depend on the compiler to diagnose > this? I don't think they enforce it at all (it's IFNDR).

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2022-03-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 104999, which changed state. Bug 104999 Summary: [12 Regression] runtime error: pointer index expression with base 0x0cf67720 overflowed to 0xea627728 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104999

[Bug fortran/104999] [12 Regression] runtime error: pointer index expression with base 0x00000cf67720 overflowed to 0xffffffffea627728

2022-03-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104999 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug c++/104620] FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors)

2022-03-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104620 Marek Polacek changed: What|Removed |Added Host|hppa*-*-linux* | CC|

[Bug fortran/105037] New: gfortran emits incorrect debug information if compiled with -finit-real=snan

2022-03-23 Thread christian.friedl at gmx dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105037 Bug ID: 105037 Summary: gfortran emits incorrect debug information if compiled with -finit-real=snan Product: gcc Version: 10.3.0 Status: UNCONFIRMED

[Bug rtl-optimization/105023] new test case g++.dg/other/pr104989.C ICEs

2022-03-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105023 --- Comment #6 from Segher Boessenkool --- BLKmode is *not* valid for registers. reg:BLK at one time was a special marker for invalid asm operands, apparently. :BLK is for mem, and for parallel as well in some cases, but not for reg.

[Bug target/105010] [12 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2022-03-23 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 --- Comment #9 from Piotr Kubaj --- Now libgcc fails to configure. >From config.log: configure:3789: checking for suffix of object files configure:3811: /wrkdirs/usr/ports/lang/gcc12-devel/work/.build/./gcc/xgcc

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

2022-03-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 --- Comment #10 from Aldy Hernandez --- (In reply to Richard Biener from comment #9) > I think threading unlikely paths is never worth it and usually NULL pointer > checks are statically predicted. > > I guess one idea would be to scale BB

[Bug c++/105006] [12 Regression] ice: tree check: expected function_decl, have using_decl in maybe_push_used_methods, at cp/class.cc:1325

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105006 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e8cd3edc0fc6c02a732dcecf519c22d835e5f422 commit r12-7788-ge8cd3edc0fc6c02a732dcecf519c22d835e5f422 Author: Jason Merrill Date:

[Bug tree-optimization/104987] [12 Regression] Recent change causing vrp13.c regressions on several targets

2022-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104987 --- Comment #5 from Jakub Jelinek --- And it is unclear to me how it could get the sign of the multiplication wrong, it is a normal SImode mul which multiplies the values of SImode r6 and r7 registers. As it isn't hipart multiply or something

[Bug tree-optimization/104987] [12 Regression] Recent change causing vrp13.c regressions on several targets

2022-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104987 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/92067] __is_constructible(incomplete_type) should make the program ill-formed

2022-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92067 --- Comment #5 from Jason Merrill --- Created attachment 52674 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52674=edit patch Like so.

[Bug c++/92067] __is_constructible(incomplete_type) should make the program ill-formed

2022-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92067 --- Comment #4 from Jason Merrill --- (In reply to Jason Merrill from comment #3) > Hmm? but the standard says that a precondition for std::is_constructible is > the type being complete, and we enforce that with a static_assert (since >

[Bug target/104271] [12 Regression] 538.imagick_r run-time at -Ofast -march=native regressed by 26% on Intel Cascade Lake server CPU

2022-03-23 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104271 --- Comment #5 from Martin Jambor --- (In reply to Richard Biener from comment #4) > Does this still happen after the last fiddling? Unfortunately yes, the run-time is still 27% worse than when compiled with the commit previous to the one

[Bug rtl-optimization/105023] new test case g++.dg/other/pr104989.C ICEs

2022-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105023 --- Comment #5 from Jakub Jelinek --- BLKmode is valid mode for larger aggregate arguments and return values. As documented: "The return value is usually either a @code{reg} RTX for the hard register in which to pass the argument, or zero to

[Bug fortran/103560] [12 Regression] Error: Nonexistent include directory './', stat on mingw does not work with "./"

2022-03-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103560 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/103560] [12 Regression] Error: Nonexistent include directory './', stat on mingw does not work with "./"

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103560 --- Comment #8 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:5e33fea21957c97d63e3738be6056ae2a94e3284 commit r12-7787-g5e33fea21957c97d63e3738be6056ae2a94e3284 Author: Tobias Burnus Date:

[Bug target/105023] new test case g++.dg/other/pr104989.C ICEs

2022-03-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105023 --- Comment #4 from Segher Boessenkool --- It never even executes rs6000_function_arg for that testcase. What are you doing differently? ... Oh, C++. Duh. It happens because we do return gen_rtx_REG (mode, gregno); which is perfectly

[Bug target/105019] [nvptx] malias in libgomp results in "Internal error: reference to deleted section"

2022-03-23 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105019 --- Comment #6 from Tom de Vries --- (In reply to Tom de Vries from comment #4) > OK, I think this is the pattern: > ... > $ cat gcc/testsuite/gcc.target/nvptx/alias-5.c FTR, same thing if I use static functions: ... static void

[Bug tree-optimization/104970] [12 Regression] ICE in execute_todo, at passes.cc:2133 since r12-6480-gea19c8f33a3a8d2b

2022-03-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104970 --- Comment #10 from Martin Sebor --- The purpose of the internal_p flag documented in the attr_access class is more general than to tell a VLA-like argument from an ordinary array/pointer form ("Set for an attribute added internally rather

[Bug middle-end/104285] openmp offload linker issue

2022-03-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104285 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug middle-end/104986] [12 Regression] bogus writing 1 byte into a region of size 0 with -fwrapv and -O2 -fpeel-loops since r12-4698-gf6d012338bf87f42

2022-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104986 --- Comment #8 from Richard Biener --- (In reply to Andrew Macleod from comment #5) > Looking at the strlen1 output, it only ever asks ranger about 6 names: > > 334 range_of_expr(_36) at stmt _52 = iftmp.1_17 + _36; > TRUE :

[Bug middle-end/104986] [12 Regression] bogus writing 1 byte into a region of size 0 with -fwrapv and -O2 -fpeel-loops since r12-4698-gf6d012338bf87f42

2022-03-23 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104986 --- Comment #7 from Andrew Macleod --- and I forgot to show to dom3 output which did the transformation: j.c.195t.dom3:Match-and-simplified (sizetype) nb_66 to 18446744073709551615 j.c.195t.dom3:Optimizing statement _2 = (sizetype) nb_66;

[Bug target/102125] (ARM Cortex-M3 and newer) missed optimization. memcpy not needed operations

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102125 --- Comment #11 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d9792f8d227cdd409c2b082ef0685b47ccfaa334 commit r12-7786-gd9792f8d227cdd409c2b082ef0685b47ccfaa334 Author: Richard Biener Date:

[Bug middle-end/105028] [11/12 Regression] gcc.dg/long_branch.c compilation time increases by 10x on BE system after r11-5648

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105028 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:1daa198aafd72925ca8dd8616385f523ff180d4a commit r12-7785-g1daa198aafd72925ca8dd8616385f523ff180d4a Author: Richard Biener Date:

[Bug target/105010] [12 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2022-03-23 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 --- Comment #8 from Piotr Kubaj --- Testing. FYI, on 12-20220227, .machine power4 is used.

[Bug middle-end/104986] [12 Regression] bogus writing 1 byte into a region of size 0 with -fwrapv and -O2 -fpeel-loops since r12-4698-gf6d012338bf87f42

2022-03-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104986 --- Comment #6 from Aldy Hernandez --- (In reply to Aldy Hernandez from comment #4) > (In reply to Richard Biener from comment #3) > > This is peeling leaving us with unreachable code we warn on and somehow > > while figuring prephitmp_30 + -6

[Bug middle-end/104986] [12 Regression] bogus writing 1 byte into a region of size 0 with -fwrapv and -O2 -fpeel-loops since r12-4698-gf6d012338bf87f42

2022-03-23 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104986 --- Comment #5 from Andrew Macleod --- (In reply to Richard Biener from comment #3) > This is peeling leaving us with unreachable code we warn on and somehow > while figuring prephitmp_30 + -6 is -1 we don't figure nb_58 is zero on > the path

[Bug middle-end/104986] [12 Regression] bogus writing 1 byte into a region of size 0 with -fwrapv and -O2 -fpeel-loops since r12-4698-gf6d012338bf87f42

2022-03-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104986 --- Comment #4 from Aldy Hernandez --- (In reply to Richard Biener from comment #3) > This is peeling leaving us with unreachable code we warn on and somehow > while figuring prephitmp_30 + -6 is -1 we don't figure nb_58 is zero on > the path

[Bug c/105013] Valgrind reports accessing uninitialized memory when -O2 option is used

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

[Bug c/105013] Valgrind reports accessing uninitialized memory when -O2 option is used

2022-03-23 Thread jamesallwright at yahoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105013 --- Comment #4 from James Allwright --- I have re-run with the suggested options --track-origins=yes and -s : $ valgrind --track-origins=yes -s ./bug ==16956== Memcheck, a memory error detector ==16956== Copyright (C) 2002-2017, and GNU

[Bug rtl-optimization/104985] [12 Regression] ICE: SIGSEGV in undo_to_marker / adjust_reg_mode with -Os -frounding-math since r12-4767-g81342e95827f77

2022-03-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104985 --- Comment #5 from Martin Liška --- Created attachment 52673 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52673=edit auto-host.h

[Bug rtl-optimization/104985] [12 Regression] ICE: SIGSEGV in undo_to_marker / adjust_reg_mode with -Os -frounding-math since r12-4767-g81342e95827f77

2022-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104985 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #20 from Jakub Jelinek --- Note, for ntpoff the listed instructions are: movl %gs:0,%eax leal x@ntpoff(%eax),%eax rather than addl. But certainly this one was never meant to be taken pedantically as that instruction sequence only,

[Bug rtl-optimization/104985] [12 Regression] ICE: SIGSEGV in undo_to_marker / adjust_reg_mode with -Os -frounding-math since r12-4767-g81342e95827f77

2022-03-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104985 --- Comment #3 from Martin Liška --- No, it's still there and you will likely need cross GAS to reproduce it: ~/Programming/gcc/configure --enable-languages=c,c++ --prefix=/home/marxin/bin/gcc --disable-multilib --enable-host-shared

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #19 from Jakub Jelinek --- If it is the linker, you can always objdump -dr the binary to see what is in there after linking. s@ntpoff in my understanding is a relocation that should supply at link time the offset from the TLS base

[Bug c++/103769] [11/12 Regression] checking ICE in hashtab_chk_error with alias template and pack expansion after r11-7931

2022-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103769 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/101636] [11 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

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

[Bug tree-optimization/104782] [12 regression] ICE: verify_gimple failed in slp (non-trivial conversion in ‘ssa_name’) with -msve-vector-bits=128 since r12-7359-g6e80c4f1ad9046b0a7c105660cc7b3dcae0fdb

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104782 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:893cb28a22f86281ca9ce1e045da7b8840ceb121 commit r11-9689-g893cb28a22f86281ca9ce1e045da7b8840ceb121 Author: Richard

[Bug tree-optimization/101636] [11 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 --- Comment #18 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:893cb28a22f86281ca9ce1e045da7b8840ceb121 commit r11-9689-g893cb28a22f86281ca9ce1e045da7b8840ceb121 Author: Richard

[Bug tree-optimization/104931] [9/10/11 Regression] wrong-code with number_of_iterations_lt_to_ne

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104931 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d1f4dfd409dedf4d00ca7be001cf757d0d6e82f4 commit r11-9688-gd1f4dfd409dedf4d00ca7be001cf757d0d6e82f4 Author: Richard

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-03-23 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #18 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #17 from Jakub Jelinek --- > (In reply to r...@cebitec.uni-bielefeld.de from comment #16) >> I've wrapped that in a small test programming, calling foo both from the >>

[Bug middle-end/105028] [11/12 Regression] gcc.dg/long_branch.c compilation time increases by 10x on BE system after r11-5648

2022-03-23 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105028 --- Comment #3 from seurer at gcc dot gnu.org --- Thanks for looking at this. It has been bugging me at a low level for months.

[Bug middle-end/105032] Compiling inline ASM x86 causing GCC stuck in an endless loop with 100% CPU usage

2022-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105032 --- Comment #7 from Jakub Jelinek --- Consider e.g. void bar (int *); int foo (int *a, int *b, int *c, int *d) { for (int i = 0; i < 1024; i++) a[i] = a[i] * b[i] + (c[i] - d[i]); bar (a); return 42; } with -m32 -O3 -mavx

[Bug c++/92067] __is_constructible(incomplete_type) should make the program ill-formed

2022-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92067 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/105035] [11/12 Regression] tree check: expected field_decl, have identifier_node in operand_equal_p, at fold-const.c:3335 since r11-5181-g0862d007b564eca8

2022-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105035 --- Comment #7 from Patrick Palka --- (In reply to Patrick Palka from comment #6) > (In reply to Jakub Jelinek from comment #3) > > Another option is to make sure we don't call > > warn_duplicated_cond_add_or_warn > > when

[Bug c++/92067] __is_constructible(incomplete_type) should make the program ill-formed

2022-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92067 --- Comment #3 from Jason Merrill --- (In reply to Jonathan Wakely from comment #2) > We need to be careful about this in SFINAE contexts. It can't be a hard > error, because it's extremely common for constructors to be constrained with >

[Bug c++/96645] [9/10/11/12 Regression] [CWG2335] std::variant default constructor and unparsed DMI

2022-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96645 --- Comment #20 from Jason Merrill --- Created attachment 52672 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52672=edit patch to make it an error for __is_constructible Thus.

[Bug middle-end/105032] Compiling inline ASM x86 causing GCC stuck in an endless loop with 100% CPU usage

2022-03-23 Thread ammarfaizi2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105032 --- Comment #6 from Ammar Faizi --- (In reply to Jakub Jelinek from comment #4) > If this is a macro that users should use in arbitrary user code, there is > another problem, if something is vectorized in the function, either using > AVX or

[Bug analyzer/105017] [12 Regression] gcc/analyzer/sm-taint.cc:631:21: warning: private field 'm_mem_space' is not used [-Wunused-private-field]

2022-03-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105017 --- Comment #4 from Martin Liška --- (In reply to David Malcolm from comment #3) > I'm assuming that this was a clang warning, and that this is fixed by the > above commit; please reopen if it's still affected. Thanks, it fixed the clang

[Bug middle-end/105032] Compiling inline ASM x86 causing GCC stuck in an endless loop with 100% CPU usage

2022-03-23 Thread ammarfaizi2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105032 --- Comment #5 from Ammar Faizi --- (In reply to Jakub Jelinek from comment #3) > This has been hanging or ICEing on and off since forever. > E.g. even r105000 ICEs, r20 works, r21 ICEs, r10-5912 works, r11-1 > hangs, so does current

[Bug debug/105036] New: Missing variables when debugging due to overlapping ranges after unrolling, instruction scheduling, and inlining at -O3

2022-03-23 Thread assaiante at diag dot uniroma1.it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105036 Bug ID: 105036 Summary: Missing variables when debugging due to overlapping ranges after unrolling, instruction scheduling, and inlining at -O3 Product: gcc

[Bug c/65891] [9/10/11/12 Regression] -Wlogical-op now warns about logical ‘and’ of equal expressions even when different types/sizeofs are involved

2022-03-23 Thread jlegg at feralinteractive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65891 James Legg changed: What|Removed |Added CC||jlegg at feralinteractive dot com ---

[Bug rtl-optimization/104985] [12 Regression] ICE: SIGSEGV in undo_to_marker / adjust_reg_mode with -Os -frounding-math since r12-4767-g81342e95827f77

2022-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104985 Richard Biener changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from Richard

[Bug c++/105035] [11/12 Regression] tree check: expected field_decl, have identifier_node in operand_equal_p, at fold-const.c:3335 since r11-5181-g0862d007b564eca8

2022-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105035 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/104996] [10/11/12 Regression] Overload resolution over rvalue/const lvalue array reference parameters for an init. list argument incorrectly picks the const lvalue ref. overload

2022-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104996 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/104986] [12 Regression] bogus writing 1 byte into a region of size 0 with -fwrapv and -O2 -fpeel-loops since r12-4698-gf6d012338bf87f42

2022-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104986 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #3

[Bug c++/105006] [12 Regression] ice: tree check: expected function_decl, have using_decl in maybe_push_used_methods, at cp/class.cc:1325

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105006 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a3f78748fab6b24e3d4a8b319afd3f8afa17248f commit r12-7784-ga3f78748fab6b24e3d4a8b319afd3f8afa17248f Author: Jason Merrill Date:

[Bug target/105019] [nvptx] malias in libgomp results in "Internal error: reference to deleted section"

2022-03-23 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105019 --- Comment #5 from Tom de Vries --- Creating a CUDA example is hampered by the fact that there's no symbol alias support, AFAICT. I'd like to write something like: ... __device__ void __foo () { printf ("__foo\n"); } __device__ void foo ()

[Bug target/104894] [11/12 Regression] ICE with -fno-plt -mcpu=power10 on PowerPC64 LE Linux

2022-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104894 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/105035] [11/12 Regression] tree check: expected field_decl, have identifier_node in operand_equal_p, at fold-const.c:3335 since r11-5181-g0862d007b564eca8

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

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

2022-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug analyzer/105017] [12 Regression] gcc/analyzer/sm-taint.cc:631:21: warning: private field 'm_mem_space' is not used [-Wunused-private-field]

2022-03-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105017 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/104997] [12 Regression] ICE in add_note, at analyzer/diagnostic-manager.cc:946 since r12-7677-g7fd6e36ea9aa8575

2022-03-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104997 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/105010] [12 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2022-03-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 --- Comment #7 from Segher Boessenkool --- Created attachment 52670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52670=edit proposed patch Does this help? The 7450 (which is what freebsd64 defaults to) indeed does not support these

[Bug analyzer/105017] [12 Regression] gcc/analyzer/sm-taint.cc:631:21: warning: private field 'm_mem_space' is not used [-Wunused-private-field]

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105017 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:e6a3991ea15c0b14117b5693d77e15fd0477ce51 commit r12-7783-ge6a3991ea15c0b14117b5693d77e15fd0477ce51 Author: David Malcolm Date:

[Bug target/104271] [12 Regression] 538.imagick_r run-time at -Ofast -march=native regressed by 26% on Intel Cascade Lake server CPU

2022-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104271 Richard Biener changed: What|Removed |Added Status|NEW |WAITING --- Comment #4 from Richard

[Bug c++/105035] [11/12 Regression] tree check: expected field_decl, have identifier_node in operand_equal_p, at fold-const.c:3335 since r11-5181-g0862d007b564eca8

2022-03-23 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105035 --- Comment #4 from rguenther at suse dot de --- On Wed, 23 Mar 2022, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105035 > > Jakub Jelinek changed: > >What|Removed

[Bug analyzer/104997] [12 Regression] ICE in add_note, at analyzer/diagnostic-manager.cc:946 since r12-7677-g7fd6e36ea9aa8575

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104997 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:160b095fc9ded4eaa2bf4d49bd97319f4aabff0a commit r12-7782-g160b095fc9ded4eaa2bf4d49bd97319f4aabff0a Author: David Malcolm Date:

[Bug c++/105035] [11/12 Regression] tree check: expected field_decl, have identifier_node in operand_equal_p, at fold-const.c:3335 since r11-5181-g0862d007b564eca8

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

[Bug tree-optimization/104162] [12 Regression] Missed CSE after lowering of [ptr_1 + CST]

2022-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104162 Richard Biener changed: What|Removed |Added Target Milestone|12.0|13.0 Priority|P3

[Bug rtl-optimization/103775] [12 Regression] Assembler messages: Warning: unpredictable transfer with writeback -- `ldrb w0,[x0,16]!'

2022-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103775 Richard Biener changed: What|Removed |Added Priority|P3 |P1

  1   2   >