GCC Bugzilla – Attachment 40684 Details for
Bug 79399
GCC fails to compile big source at -O0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc7-pr79399.patch
gcc7-pr79399.patch (text/plain), 1.09 KB, created by
Jakub Jelinek
on 2017-02-07 10:46:56 UTC
(
hide
)
Description:
gcc7-pr79399.patch
Filename:
MIME Type:
Creator:
Jakub Jelinek
Created:
2017-02-07 10:46:56 UTC
Size:
1.09 KB
patch
obsolete
>2017-02-07 Jakub Jelinek <jakub@redhat.com> > Richard Biener <rguenther@suse.de> > > PR middle-end/79399 > * ira-int.h (struct target_ira_int): Change x_max_struct_costs_size > type from int to size_t. > * ira-costs.c (struct_costs_size): Change type from int to size_t. > >--- gcc/ira-int.h.jj 2017-01-01 12:45:39.000000000 +0100 >+++ gcc/ira-int.h 2017-02-07 09:29:32.694102809 +0100 >@@ -782,7 +782,7 @@ struct target_ira_int { > > /* Initialized once. It is a maximal possible size of the allocated > struct costs. */ >- int x_max_struct_costs_size; >+ size_t x_max_struct_costs_size; > > /* Allocated and initialized once, and used to initialize cost values > for each insn. */ >--- gcc/ira-costs.c.jj 2017-01-16 12:28:35.000000000 +0100 >+++ gcc/ira-costs.c 2017-02-07 11:44:26.534868418 +0100 >@@ -74,7 +74,7 @@ static struct costs *costs; > static struct costs *total_allocno_costs; > > /* It is the current size of struct costs. */ >-static int struct_costs_size; >+static size_t struct_costs_size; > > /* Return pointer to structure containing costs of allocno or pseudo > with given NUM in array ARR. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 79399
: 40684