[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 --- Comment #7 from Richard Biener --- Author: rguenth Date: Mon Nov 5 14:55:53 2018 New Revision: 265812 URL: https://gcc.gnu.org/viewcvs?rev=265812=gcc=rev Log: 2018-11-05 Richard Biener PR tree-optimization/87873 *

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 --- Comment #5 from Richard Biener --- So the vectorizer issue is highlighted by the following assert. It triggers because scalar and if-converted loop do not have a 1:1 match in the number of loop-closed PHIs. And that happens because

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 --- Comment #4 from Richard Biener --- Adding checking code reveals that at least SCCP happily propgates constants into LC PHI nodes.

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 --- Comment #3 from Richard Biener --- The vectorizer is confused by a LC PHI node with a constant argument. That's indeed sth that usually doesn't happen. It's simple to avoid this propagation being done but the question is whether code

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|