* [Bug tree-optimization/101159] [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f
2021-06-22 6:18 [Bug tree-optimization/101159] New: [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f marxin at gcc dot gnu.org
@ 2021-06-22 6:19 ` marxin at gcc dot gnu.org
2021-06-22 6:49 ` pinskia at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-06-22 6:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Host| |x86_64-linux-gnu
Status|UNCONFIRMED |NEW
Target Milestone|--- |12.0
Priority|P3 |P1
Last reconfirmed| |2021-06-22
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/101159] [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f
2021-06-22 6:18 [Bug tree-optimization/101159] New: [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f marxin at gcc dot gnu.org
2021-06-22 6:19 ` [Bug tree-optimization/101159] " marxin at gcc dot gnu.org
@ 2021-06-22 6:49 ` pinskia at gcc dot gnu.org
2021-06-22 6:54 ` pinskia at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-06-22 6:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zsojka at seznam dot cz
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 101161 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/101159] [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f
2021-06-22 6:18 [Bug tree-optimization/101159] New: [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f marxin at gcc dot gnu.org
2021-06-22 6:19 ` [Bug tree-optimization/101159] " marxin at gcc dot gnu.org
2021-06-22 6:49 ` pinskia at gcc dot gnu.org
@ 2021-06-22 6:54 ` pinskia at gcc dot gnu.org
2021-06-22 7:10 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-06-22 6:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
A simple patch to check the return value of get_vectype_for_scalar_type to make
sure it is non-null should fix the testcase and return NULL.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/101159] [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f
2021-06-22 6:18 [Bug tree-optimization/101159] New: [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2021-06-22 6:54 ` pinskia at gcc dot gnu.org
@ 2021-06-22 7:10 ` rguenth at gcc dot gnu.org
2021-06-22 9:01 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-22 7:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Status|NEW |ASSIGNED
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Will test that.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/101159] [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f
2021-06-22 6:18 [Bug tree-optimization/101159] New: [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2021-06-22 7:10 ` rguenth at gcc dot gnu.org
@ 2021-06-22 9:01 ` cvs-commit at gcc dot gnu.org
2021-06-22 9:02 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-22 9:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:a5b773d3f86dd4333696cab0fe3a6953d3db74a3
commit r12-1714-ga5b773d3f86dd4333696cab0fe3a6953d3db74a3
Author: Richard Biener <rguenther@suse.de>
Date: Tue Jun 22 09:12:42 2021 +0200
tree-optimization/101159 - fix missing NULL check in popcount pattern
This fixes a missing check for a NULL vectype in the new popcount
pattern.
2021-06-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/101159
* tree-vect-patterns.c (vect_recog_popcount_pattern): Add
missing NULL vectype check.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/101159] [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f
2021-06-22 6:18 [Bug tree-optimization/101159] New: [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f marxin at gcc dot gnu.org
` (4 preceding siblings ...)
2021-06-22 9:01 ` cvs-commit at gcc dot gnu.org
@ 2021-06-22 9:02 ` rguenth at gcc dot gnu.org
2021-06-22 9:55 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-22 9:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/101159] [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f
2021-06-22 6:18 [Bug tree-optimization/101159] New: [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f marxin at gcc dot gnu.org
` (5 preceding siblings ...)
2021-06-22 9:02 ` rguenth at gcc dot gnu.org
@ 2021-06-22 9:55 ` jakub at gcc dot gnu.org
2021-06-22 10:08 ` rguenther at suse dot de
2021-06-22 13:24 ` cvs-commit at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-06-22 9:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
No testcase for the testsuite?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/101159] [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f
2021-06-22 6:18 [Bug tree-optimization/101159] New: [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f marxin at gcc dot gnu.org
` (6 preceding siblings ...)
2021-06-22 9:55 ` jakub at gcc dot gnu.org
@ 2021-06-22 10:08 ` rguenther at suse dot de
2021-06-22 13:24 ` cvs-commit at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: rguenther at suse dot de @ 2021-06-22 10:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 22 Jun 2021, jakub at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
>
> Jakub Jelinek <jakub at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |jakub at gcc dot gnu.org
>
> --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> No testcase for the testsuite?
It's unlikely to come back and the fix is quite obvious so I indeed
didn't bother ...
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/101159] [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f
2021-06-22 6:18 [Bug tree-optimization/101159] New: [12 Regression] ICE Segmentation fault since r12-1707-ge08a125b208e717f marxin at gcc dot gnu.org
` (7 preceding siblings ...)
2021-06-22 10:08 ` rguenther at suse dot de
@ 2021-06-22 13:24 ` cvs-commit at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-22 13:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101159
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:3adb9ac6626c15ba21e4eaf27fec95688a3ca8c2
commit r12-1728-g3adb9ac6626c15ba21e4eaf27fec95688a3ca8c2
Author: Jakub Jelinek <jakub@redhat.com>
Date: Tue Jun 22 15:22:51 2021 +0200
testsuite: Add testcase for recently fixed PR [PR101159]
On Tue, Jun 22, 2021 at 11:00:51AM +0200, Richard Biener wrote:
> 2021-06-22 Richard Biener <rguenther@suse.de>
>
> PR tree-optimization/101159
> * tree-vect-patterns.c (vect_recog_popcount_pattern): Add
> missing NULL vectype check.
The following patch adds the testcase for it, IMHO it can't hurt and
from my experience testcases often trigger other bugs later on (rather
than the original bugs reappearing, though even that happens),
and also fixes a couple of typos in the new function.
2021-06-22 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/101159
* tree-vect-patterns.c (vect_recog_popcount_pattern): Fix some
comment typos.
* gcc.c-torture/compile/pr101159.c: New test.
^ permalink raw reply [flat|nested] 10+ messages in thread