Summary: | [8 Regression] UBSAN: in mem_valid_for_store_merging ../../gcc/gimple-ssa-store-merging.c:3951 | ||
---|---|---|---|
Product: | gcc | Reporter: | Martin Liška <marxin> |
Component: | tree-optimization | Assignee: | Jakub Jelinek <jakub> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jakub, rsandifo |
Priority: | P1 | ||
Version: | 8.0.1 | ||
Target Milestone: | 8.0 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2018-03-19 00:00:00 | |
Bug Depends on: | |||
Bug Blocks: | 63426 | ||
Attachments: | gcc8-pr84946.patch |
Description
Martin Liška
2018-03-19 08:08:42 UTC
This is another thing that I could easily fix for UHWI computations, but not really sure how to do it with the poly-int.h stuff in the way. Richard, please have a look. Created attachment 43709 [details] gcc8-pr84946.patch Untested fix. Author: jakub Date: Mon Mar 19 20:49:57 2018 New Revision: 258665 URL: https://gcc.gnu.org/viewcvs?rev=258665&root=gcc&view=rev Log: PR tree-optimization/84946 * gimple-ssa-store-merging.c (mem_valid_for_store_merging): Compute bitsize + bitsize in poly_uint64 rather than poly_int64. Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-store-merging.c Fixed. |