public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/100773] New: ice in operator[], at vec.h:890
@ 2021-05-26 14:55 dcb314 at hotmail dot com
2021-05-26 20:20 ` [Bug tree-optimization/100773] [12 Regression] " pinskia at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2021-05-26 14:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773
Bug ID: 100773
Summary: ice in operator[], at vec.h:890
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Someplace between gcc trunk dated 20210524 (experimental) (0f3cd532fa02d178)
and 20210526 (experimental) (0eac9c60ac1f28ee), this C code:
fts_build_mail() {
int attempts = 2;
while (fts_build_mail_real())
if (--attempts == 0)
break;
}
with compiler flag -O2 does this:
$ /home/dcb/gcc/results/bin/gcc -c -O2 -w bug720.c
during GIMPLE pass: evrp
fts-build-mail.c: In function ‘fts_build_mail’:
fts-build-mail.c:633:1: internal compiler error: in operator[], at vec.h:890
633 | }
| ^
0x1789c8e vec<range_def_chain::rdc, va_heap, vl_embed>::operator[](unsigned
int)
../../trunk.git/gcc/vec.h:890
0x1789c8e vec<range_def_chain::rdc, va_heap, vl_ptr>::operator[](unsigned int)
../../trunk.git/gcc/vec.h:1461
0x1789c8e range_def_chain::register_dependency(tree_node*, tree_node*,
basic_blo
ck_def*)
../../trunk.git/gcc/gimple-range-gori.cc:179
0x177f4e6 fold_using_range::range_of_range_op(irange&, gimple*, fur_source&)
../../trunk.git/gcc/gimple-range.cc:447
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890
2021-05-26 14:55 [Bug c/100773] New: ice in operator[], at vec.h:890 dcb314 at hotmail dot com
@ 2021-05-26 20:20 ` pinskia at gcc dot gnu.org
2021-05-27 6:27 ` dcb314 at hotmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-05-26 20:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ice in operator[], at |[12 Regression] ice in
|vec.h:890 |operator[], at vec.h:890
Target Milestone|--- |12.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890
2021-05-26 14:55 [Bug c/100773] New: ice in operator[], at vec.h:890 dcb314 at hotmail dot com
2021-05-26 20:20 ` [Bug tree-optimization/100773] [12 Regression] " pinskia at gcc dot gnu.org
@ 2021-05-27 6:27 ` dcb314 at hotmail dot com
2021-05-27 7:12 ` dcb314 at hotmail dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2021-05-27 6:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
I will have a go at doing a git bisect. 51 commits to start with.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890
2021-05-26 14:55 [Bug c/100773] New: ice in operator[], at vec.h:890 dcb314 at hotmail dot com
2021-05-26 20:20 ` [Bug tree-optimization/100773] [12 Regression] " pinskia at gcc dot gnu.org
2021-05-27 6:27 ` dcb314 at hotmail dot com
@ 2021-05-27 7:12 ` dcb314 at hotmail dot com
2021-05-27 8:12 ` dcb314 at hotmail dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2021-05-27 7:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Seems fine at 4b1987f8ad382a6c. Trying 10b286ce335cca13.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890
2021-05-26 14:55 [Bug c/100773] New: ice in operator[], at vec.h:890 dcb314 at hotmail dot com
` (2 preceding siblings ...)
2021-05-27 7:12 ` dcb314 at hotmail dot com
@ 2021-05-27 8:12 ` dcb314 at hotmail dot com
2021-05-27 8:22 ` dcb314 at hotmail dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2021-05-27 8:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773
--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
Seems fine at 10b286ce335cca13. Trying b6bdd7a4cb41ee05.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890
2021-05-26 14:55 [Bug c/100773] New: ice in operator[], at vec.h:890 dcb314 at hotmail dot com
` (3 preceding siblings ...)
2021-05-27 8:12 ` dcb314 at hotmail dot com
@ 2021-05-27 8:22 ` dcb314 at hotmail dot com
2021-05-27 8:33 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2021-05-27 8:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773
--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
Seems bad at b6bdd7a4cb41ee05, so the current range is
10b286ce335cca13..b6bdd7a4cb41ee05, or about 6 revisions.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890
2021-05-26 14:55 [Bug c/100773] New: ice in operator[], at vec.h:890 dcb314 at hotmail dot com
` (4 preceding siblings ...)
2021-05-27 8:22 ` dcb314 at hotmail dot com
@ 2021-05-27 8:33 ` pinskia at gcc dot gnu.org
2021-05-27 14:11 ` marxin at gcc dot gnu.org
2021-05-27 14:16 ` dcb314 at hotmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-05-27 8:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to David Binderman from comment #4)
> Seems bad at b6bdd7a4cb41ee05, so the current range is
> 10b286ce335cca13..b6bdd7a4cb41ee05, or about 6 revisions.
It is most likely b6bdd7a4cb41ee05 which introduced the interaction with the
other range patches.
And maybe even fixed with
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=7f0cfeb1ac580edf629874146b349fe7ad7e7718
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890
2021-05-26 14:55 [Bug c/100773] New: ice in operator[], at vec.h:890 dcb314 at hotmail dot com
` (5 preceding siblings ...)
2021-05-27 8:33 ` pinskia at gcc dot gnu.org
@ 2021-05-27 14:11 ` marxin at gcc dot gnu.org
2021-05-27 14:16 ` dcb314 at hotmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-05-27 14:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #5)
> (In reply to David Binderman from comment #4)
> > Seems bad at b6bdd7a4cb41ee05, so the current range is
> > 10b286ce335cca13..b6bdd7a4cb41ee05, or about 6 revisions.
>
> It is most likely b6bdd7a4cb41ee05 which introduced the interaction with the
> other range patches.
>
> And maybe even fixed with
> https://gcc.gnu.org/git/?p=gcc.git;a=commit;
> h=7f0cfeb1ac580edf629874146b349fe7ad7e7718
Yes, this fixed that.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/100773] [12 Regression] ice in operator[], at vec.h:890
2021-05-26 14:55 [Bug c/100773] New: ice in operator[], at vec.h:890 dcb314 at hotmail dot com
` (6 preceding siblings ...)
2021-05-27 14:11 ` marxin at gcc dot gnu.org
@ 2021-05-27 14:16 ` dcb314 at hotmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2021-05-27 14:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773
--- Comment #7 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Martin Liška from comment #6)
> Yes, this fixed that.
I've just checked and yes, I agree.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-05-27 14:16 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 14:55 [Bug c/100773] New: ice in operator[], at vec.h:890 dcb314 at hotmail dot com
2021-05-26 20:20 ` [Bug tree-optimization/100773] [12 Regression] " pinskia at gcc dot gnu.org
2021-05-27 6:27 ` dcb314 at hotmail dot com
2021-05-27 7:12 ` dcb314 at hotmail dot com
2021-05-27 8:12 ` dcb314 at hotmail dot com
2021-05-27 8:22 ` dcb314 at hotmail dot com
2021-05-27 8:33 ` pinskia at gcc dot gnu.org
2021-05-27 14:11 ` marxin at gcc dot gnu.org
2021-05-27 14:16 ` dcb314 at hotmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).