[Bug middle-end/97898] ICE in outermost_invariant_loop, at tree-ssa-loop-im.c:431

2020-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97898 Richard Biener changed: What|Removed |Added Component|c |middle-end CC|

[Bug tree-optimization/97897] ICE tree check: expected ssa_name, have integer_cst in compute_optimized_partition_bases, at tree-ssa-coalesce.c:1638

2020-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97897 Richard Biener changed: What|Removed |Added Component|c |tree-optimization Last reconfirmed|

[Bug fortran/97896] [11 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156

2020-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c++/97895] [11 Regression] ICE in do_auto_deduction, at cp/pt.c:29255

2020-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97895 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/97579] [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156

2020-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 --- Comment #8 from Richard Biener --- (In reply to Jakub Jelinek from comment #7) > Actually still ICEs. Yes, it was just a fix for the ISEL logic which was broken, not yet a fix for the actual testcase.

[Bug tree-optimization/97901] New: ICE at -Os: verify_gimple failed

2020-11-18 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97901 Bug ID: 97901 Summary: ICE at -Os: verify_gimple failed Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug target/93176] PPC: inefficient 64-bit constant consecutive ones

2020-11-18 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93176 Alan Modra changed: What|Removed |Added URL|https://gcc.gnu.org/piperma |https://gcc.gnu.org/piperma

[Bug target/97891] [x86] Consider using registers on large initializations

2020-11-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97891 --- Comment #3 from Hongtao.liu --- This problem is very similar to the one pass_rpad deals with.

[Bug c++/97900] [9/10/11 Regression] g++ crashes when instantiating a templated function with a template-type vector parameter

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

[Bug c++/97900] [9/10/11 Regression] g++ crashes when instantiating a templated function with a template-type vector parameter

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97900 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug c++/97900] g++ crashes when instantiating a templated function with a template-type vector parameter

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97900 --- Comment #2 from Marek Polacek --- Confirmed. Started with r266055.

[Bug c++/97899] [11 Regression] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 --- Comment #8 from Marek Polacek --- Reduced even more: // PR c++/97899 template int fn() { return 1; } template void bar() { const int i = int{fn()}; }

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-18 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #8 from Bruno Haible --- > what is the reason to require that b >= 0 in all of this? In the 1990ies there were portability problems with a%b, b < 0. ANSI C said that the result was machine-dependent if a < 0 or b < 0. Fortunately the

[Bug c++/89197] Templated Functions const auto assignment causes internal compiler error

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89197 Marek Polacek changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/97900] g++ crashes when instantiating a templated function with a template-type vector parameter

2020-11-18 Thread Jonathan.Strobl at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97900 --- Comment #1 from Jonathan Strobl --- Created attachment 49593 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49593&action=edit gcc -v and crash output Attaching the output seems to have failed last time. Here it is.

[Bug c++/97900] New: g++ crashes when instantiating a templated function with a template-type vector parameter

2020-11-18 Thread Jonathan.Strobl at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97900 Bug ID: 97900 Summary: g++ crashes when instantiating a templated function with a template-type vector parameter Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug c++/89197] Templated Functions const auto assignment causes internal compiler error

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89197 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/89197] Templated Functions const auto assignment causes internal compiler error

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89197 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/97899] [11 Regression] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-18 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 --- Comment #7 from Florin Iucha --- Cool, thank you!

[Bug c++/97899] [11 Regression] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 --- Comment #6 from Marek Polacek --- Reduced: // PR c++/97899 template T fn(T a) { return a; } template struct C { void bar() { int d = 42; const int i = int{fn(d)}; } };

[Bug c++/97899] [11 Regression] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-18 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 --- Comment #5 from Florin Iucha --- Curious, were you able to reduce it further, or just bisected it?

[Bug c++/97899] [11 Regression] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 --- Comment #4 from Marek Polacek --- Started with r11-4959.

[Bug c++/97899] [11 Regression] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-18 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 --- Comment #3 from Florin Iucha --- gcc version 11.0.0 20201108 (previous snapshot) is compiling fine.

[Bug c++/97899] [11 Regression] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-11-19 Keywords|

[Bug c++/97899] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-18 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 --- Comment #1 from Florin Iucha --- Created attachment 49590 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49590&action=edit pre-processed source file

[Bug c++/97899] New: internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2020-11-18 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 Bug ID: 97899 Summary: internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c/97817] -Wformat-truncation=2 elicits invalid warning

2020-11-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97817 --- Comment #5 from Martin Sebor --- I agree that the text of the warning could be improved. I'm hoping to make changes along the lines you suggest for GCC 12 (it's too late for GCC 11),

[Bug target/97847] [11 Regression] ICE in insert_insn_on_edge, at cfgrtl.c:1976

2020-11-18 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97847 --- Comment #4 from Segher Boessenkool --- This was caused (or exposed) by e3b3b59683c1: commit e3b3b59683c1e7d31a9d313dd97394abebf644be Author: Vladimir N. Makarov Date: Fri Nov 13 12:45:59 2020 -0500 [PATCH] Implementation of asm goto

[Bug c/97861] [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378

2020-11-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97861 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug c/97879] [11 Regression] ICE in from_mode_char, at attribs.h:298 since r11-3303-g6450f07388f9fe57

2020-11-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97879 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor -

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug middle-end/85811] Invalid optimization with fmax, fabs and nan

2020-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85811 --- Comment #10 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:1be4878116a2be82552bd59c3c1c9adcac3d106b commit r11-5152-g1be4878116a2be82552bd59c3c1c9adcac3d106b Author: Roger Sayle Date: Wed Nov

[Bug tree-optimization/97888] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97888 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/97896] [11 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156

2020-11-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:71c9d2b088c9d409a1bd3b50523ac4623a5bf1b4 commit r11-5150-g71c9d2b088c9d409a1bd3b50523ac4623a5bf1b4 Author: Jakub Jelinek Date: We

[Bug tree-optimization/97888] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu

2020-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97888 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:71c9d2b088c9d409a1bd3b50523ac4623a5bf1b4 commit r11-5150-g71c9d2b088c9d409a1bd3b50523ac4623a5bf1b4 Author: Jakub Jelinek Date: We

[Bug target/97847] [11 Regression] ICE in insert_insn_on_edge, at cfgrtl.c:1976

2020-11-18 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97847 --- Comment #3 from Segher Boessenkool --- I can now reproduce it, with a compiler built yesterday (previous was a few days older), and -O0. Confirmed.

[Bug analyzer/97893] Analyzer should only use CWE 690 when null ptr is from unchecked function return value

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

[Bug analyzer/97893] Analyzer should only use CWE 690 when null ptr is from unchecked function return value

2020-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97893 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:f3f312b535f57b5773953746f6ad0d890ce09b88 commit r11-5148-gf3f312b535f57b5773953746f6ad0d890ce09b88 Author: David Malcolm Date: We

[Bug target/92729] [avr] Convert the backend to MODE_CC so it can be kept in future releases

2020-11-18 Thread abebeos at lazaridis dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92729 --- Comment #16 from abebeos at lazaridis dot com --- I've updated the bounty, and you can follow the work here: https://github.com/abebeos/avr-gnu Whenever something relevant happens, I'll report it here.

[Bug target/97873] Failure to optimize abs optimally (at least one completely useless instruction on x86)

2020-11-18 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97873 --- Comment #7 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #4) > So then either we should expand the SWI48x mode abs for !TARGET_EXPAND_ABS > into > a pre-reload define_insn_and_split with abs that we'd split almost like > smax,

[Bug tree-optimization/96671] Failure to optimize a 3 xor+and pattern to xor+andnot

2020-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96671 --- Comment #4 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:f44e6091627372bd8fc4e72874a003643b021dca commit r11-5146-gf44e6091627372bd8fc4e72874a003643b021dca Author: Eugene Rozenfeld Date: Wed

[Bug target/97865] libtool needs to be updated for Darwin20.

2020-11-18 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #15 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #14) > If there is a git branch or so, I could also test it on my system with our > code whether this works as expected. Here you go - this is config.{sub, guess}, libt

[Bug tree-optimization/85315] missed range optimisation opportunity for derefences where index must be 0 or otherwise constrained

2020-11-18 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85315 --- Comment #15 from rguenther at suse dot de --- On November 18, 2020 3:55:44 PM GMT+01:00, amacleod at redhat dot com wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85315 > >--- Comment #12 from Andrew Macleod --- >Maybe I'm a little de

[Bug target/97873] Failure to optimize abs optimally (at least one completely useless instruction on x86)

2020-11-18 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97873 --- Comment #6 from Uroš Bizjak --- The attached patch generates: movl%edi, %eax negl%eax cmovs %edi, %eax ret The patch changes CC mode of NEG instruction to CCGOCmode, which is the same mode as the mo

[Bug target/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-11-18 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #40 from Jim Wilson --- If you look at riscv.opt you will see that the -mshorten-memrefs option sets the variable riscv_mshorten_memrefs. If you grep for that, you will see that it is used in riscv_address_cost in riscv.c. I believe

[Bug target/97873] Failure to optimize abs optimally (at least one completely useless instruction on x86)

2020-11-18 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97873 --- Comment #5 from Uroš Bizjak --- Created attachment 49588 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49588&action=edit Proposed patch Attached patch introduces relevant peephole2 pattern (and fixes some other issues).

[Bug target/93176] PPC: inefficient 64-bit constant consecutive ones

2020-11-18 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93176 --- Comment #5 from Peter Bergner --- Alan, didn't one of your recent patches fix this particular bug? So can we mark this as fixed?

[Bug c/97884] INT_MIN falsely expanded to 64 bit

2020-11-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 --- Comment #11 from Andreas Schwab --- 2147483648 does not fit in 32 bits.

[Bug fortran/97896] [11 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156

2020-11-18 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2020-11-18 Status|UNC

[Bug c/97879] [11 Regression] ICE in from_mode_char, at attribs.h:298 since r11-3303-g6450f07388f9fe57

2020-11-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97879 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug c/97884] INT_MIN falsely expanded to 64 bit

2020-11-18 Thread s.bauroth--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 --- Comment #10 from s.baur...@tu-berlin.de --- (In reply to Jonathan Wakely from comment #9) > (In reply to s.bauroth from comment #7) > > > The type of an integer constant is the first of the corresponding list > > > in which its value can be re

[Bug c/97860] [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244 since r11-3303-g6450f07388f9fe57

2020-11-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97860 --- Comment #7 from Martin Sebor --- What I mean is that unless error_mark_node necessarily implies (and guarantees) the bound is a constant zero (as opposed to a similarly "broken" VLA bound), simply bailing is safer than skipping it. I have no

[Bug libstdc++/97876] stop_token header doesn't compile on clang-8 with -std=c++20

2020-11-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97876 --- Comment #4 from Jonathan Wakely --- Github's poor life choices should not be our problem ;-) If clang-8 doesn't ship and doesn't work with GCC's , I would interpret that as you can't test with clang-8.

[Bug c/97880] [8/9/10/11 Regression] ICE in emit_library_call_value_1, at calls.c:5298

2020-11-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97880 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #2

[Bug c/97884] INT_MIN falsely expanded to 64 bit

2020-11-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 --- Comment #9 from Jonathan Wakely --- (In reply to s.bauroth from comment #7) > > The type of an integer constant is the first of the corresponding list > > in which its value can be represented. > These kind of sentences make me think gcc's be

[Bug c/97884] INT_MIN falsely expanded to 64 bit

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 --- Comment #8 from Jakub Jelinek --- If you design your own programming language, you can define it whatever way you want, but for C and C++ it is well defined how the compiler must behave in these cases, that -2147483648 are two separate tokens

[Bug target/96377] [10/11 Regression] GCC 10.2/11 doesn't build Linux kernel anymore

2020-11-18 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|FIXED |--- Status|RES

[Bug c/97884] INT_MIN falsely expanded to 64 bit

2020-11-18 Thread s.bauroth--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 --- Comment #7 from s.baur...@tu-berlin.de --- I do understand that +2147483648 is not an int. I am aware of how the 2s complement works. It seems to me the reason for INT_MIN being '(-2147483647 - 1)' instead of the mathematically equivalent '-21

[Bug target/97506] [11 Regression] ICE: in extract_insn, at recog.c:2294 (unrecognizable insn) with -mavx512vbmi -mavx512vl

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97506 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/97523] [11 Regression] bogus "would use explicit constructor" error for new[]()

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97523 --- Comment #1 from Marek Polacek --- Better test: // PR c++/97523 // { dg-do compile } struct T { explicit T(); T(int); }; void fn (int n) { new T[1](); new T[2](); new T[3](); new T[n](); #if __cpp_aggregate_paren_init new T[](

[Bug c++/97895] [11 Regression] ICE in do_auto_deduction, at cp/pt.c:29255

2020-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97895 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last recon

[Bug c/97860] [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244 since r11-3303-g6450f07388f9fe57

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97860 --- Comment #6 from Jakub Jelinek --- As I said, [0] is not a VLA bound. And we don't record anything for constant bounds (even if they are in the middle). So perhaps: /* array_type_nelts assumes the middle-end TYPE_DOMAINs, while

[Bug c/97898] New: ICE in outermost_invariant_loop, at tree-ssa-loop-im.c:431

2020-11-18 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97898 Bug ID: 97898 Summary: ICE in outermost_invariant_loop, at tree-ssa-loop-im.c:431 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c/97884] INT_MIN falsely expanded to 64 bit

2020-11-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 --- Comment #6 from Jonathan Wakely --- The C standard says "The type of an integer constant is the first of the corresponding list in which its value can be represented." The corresponding list for decimal constants with no suffix is int, long i

[Bug c/97897] New: ICE tree check: expected ssa_name, have integer_cst in compute_optimized_partition_bases, at tree-ssa-coalesce.c:1638

2020-11-18 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97897 Bug ID: 97897 Summary: ICE tree check: expected ssa_name, have integer_cst in compute_optimized_partition_bases, at tree-ssa-coalesce.c:1638 Product: gcc Version:

[Bug fortran/97896] New: [11 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156

2020-11-18 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896 Bug ID: 97896 Summary: [11 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: nor

[Bug c/97860] [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244 since r11-3303-g6450f07388f9fe57

2020-11-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97860 --- Comment #5 from Martin Sebor --- Actually, I missed that your patch just skips over the error node. That will leave the attribute spec out of sync with the argument (it contains a '$' for each VLA bound). Rather than continuing to the next

[Bug c++/97895] New: [11 Regression] ICE in do_auto_deduction, at cp/pt.c:29255

2020-11-18 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97895 Bug ID: 97895 Summary: [11 Regression] ICE in do_auto_deduction, at cp/pt.c:29255 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c/97894] New: gcc/attr-fnspec.h: 8 * function could be const ?

2020-11-18 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97894 Bug ID: 97894 Summary: gcc/attr-fnspec.h: 8 * function could be const ? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c/97884] INT_MIN falsely expanded to 64 bit

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c/97884] INT_MIN falsely expanded to 64 bit

2020-11-18 Thread s.bauroth--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 --- Comment #4 from s.baur...@tu-berlin.de --- I am aware of the warning, I disagree with it's content. INT_MIN is an int, not a long long int. I understand why it is processed as a long long int internally, but that should not be visible from the

[Bug analyzer/97893] New: Analyzer should only use CWE 690 when null ptr is from a function return

2020-11-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97893 Bug ID: 97893 Summary: Analyzer should only use CWE 690 when null ptr is from a function return Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/97528] [9/10/11 Regression] ICE in decompose_automod_address, at rtlanal.c:6298 (arm-linux-gnueabihf)

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97528 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/97528] [9/10/11 Regression] ICE in decompose_automod_address, at rtlanal.c:6298 (arm-linux-gnueabihf)

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97528 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/97884] INT_MIN falsely expanded to 64 bit

2020-11-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97884 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/85315] missed range optimisation opportunity for derefences where index must be 0 or otherwise constrained

2020-11-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85315 --- Comment #14 from Martin Sebor --- Andrew, we discussed the same idea for built-in functions at Couldron. For instance, in: void f (const char *s, int n) { char a[8]; memcpy (a, s, n); // n must be in [0, 8] if (n < 0 ||

[Bug target/97532] [11 Regression] Error: insn does not satisfy its constraints, internal compiler error: in extract_constrain_insn, at recog.c:2196

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97532 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/97860] [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244 since r11-3303-g6450f07388f9fe57

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97860 --- Comment #4 from Jakub Jelinek --- (In reply to Martin Sebor from comment #3) > I was going to commit the following but I'll leave it to you. > > diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c > index d348e39c27a..95cf9e4cb00 100644 > --- a/gcc

[Bug c/97860] [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244 since r11-3303-g6450f07388f9fe57

2020-11-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97860 --- Comment #3 from Martin Sebor --- I was going to commit the following but I'll leave it to you. diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c index d348e39c27a..95cf9e4cb00 100644 --- a/gcc/c/c-decl.c +++ b/gcc/c/c-decl.c @@ -5775,6 +5775,10 @

[Bug c/97882] [8/9/10/11 Regression] Segmentation Fault on improper redeclaration of function

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97882 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/22326] promotions (from float to double) are not removed when they should be able to

2020-11-18 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22326 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme

[Bug target/97870] [11 Regression] ICE: verify_flow_info failed (error: too many outgoing branch edges from bb 2)

2020-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97870 --- Comment #3 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:2f2709e691148160e4f88090eaf48d3e4915b0e4 commit r11-5131-g2f2709e691148160e4f88090eaf48d3e4915b0e4 Author: Vladimir N. Makarov D

[Bug tree-optimization/85315] missed range optimisation opportunity for derefences where index must be 0 or otherwise constrained

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85315 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #13

[Bug target/97887] [10/11 Regression] Failure to optimize neg plus div to avoid using x87 floating point stack

2020-11-18 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97887 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/95192] [11 Regression] ICE: tree check: expected tree_list, have error_mark in handle_assume_aligned_attribute, at c-family/c-attribs.c:2996

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95192 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/85315] missed range optimisation opportunity for derefences where index must be 0 or otherwise constrained

2020-11-18 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85315 --- Comment #12 from Andrew Macleod --- Maybe I'm a little dense. if we are presuming that &x + (a + b) implies a + b == 0, then we also should assume that &x + a implies a == 0 and if we can make those assumptions, then &x + 1 is garb

[Bug target/97891] [x86] Consider using registers on large initializations

2020-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97891 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-11-18 Status|UNCONFIRM

[Bug c/97892] [10/11 Regression] ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:2946

2020-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97892 Richard Biener changed: What|Removed |Added Summary|ICE in tree check: expected |[10/11 Regression] ICE in

[Bug target/96377] [10/11 Regression] GCC 10.2/11 doesn't build Linux kernel anymore

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/97579] [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 --- Comment #7 from Jakub Jelinek --- Actually still ICEs.

[Bug tree-optimization/97579] [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug ipa/97673] [11 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1922 since r11-4267-g0e590b68fa374365

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

[Bug c/97860] [11 Regression] ICE in handle_argspec_attribute, at c-family/c-attribs.c:3244 since r11-3303-g6450f07388f9fe57

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97860 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/97887] [10/11 Regression] Failure to optimize neg plus div to avoid using x87 floating point stack

2020-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97887 --- Comment #6 from Richard Biener --- So likely caused by g:f359611b363490b48a7ce0fd021f7e47d8816eb0

[Bug target/97887] [10/11 Regression] Failure to optimize neg plus div to avoid using x87 floating point stack

2020-11-18 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97887 --- Comment #5 from Uroš Bizjak --- > > This should have the following insn constraint: > > > > "TARGET_80387 && !(SSE_FLOAT_MODE_P (mode) && TARGET_SSE_MATH)" > > > > to hide it from combine in cases where relevant SSE mode is available. >

[Bug target/97887] [10/11 Regression] Failure to optimize neg plus div to avoid using x87 floating point stack

2020-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97887 --- Comment #4 from Richard Biener --- (In reply to Uroš Bizjak from comment #3) > (In reply to Richard Biener from comment #2) > > combine first makes recog pick negsf2_i387_1: > > This should have the following insn constraint: > > "TARGET_

[Bug middle-end/97862] [11 Regression] ICE in expand_omp_for_init_vars, at omp-expand.c:2524

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

[Bug target/97873] Failure to optimize abs optimally (at least one completely useless instruction on x86)

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97873 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/97832] AoSoA complex caxpy-like loops: AVX2+FMA -Ofast 7 times slower than -O3

2020-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97832 --- Comment #9 from Richard Biener --- There's then also a permute optimization left on the plate: t.c:16:3: note: node 0x3a19590 (max_nunits=4, refcnt=2) t.c:16:3: note: stmt 0 _153 = f11_im_76 * x1_im_142; t.c:16:3: note: stm

  1   2   >