GCC Bugzilla – Attachment 35230 Details for
Bug 59016
f951: internal compiler error: Segmentation fault
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
altered patch for the regressions reported in comment 11
gcc48-pr59016.patch (text/plain), 927 bytes, created by
drikosev
on 2015-04-05 09:19:29 UTC
(
hide
)
Description:
altered patch for the regressions reported in comment 11
Filename:
MIME Type:
Creator:
drikosev
Created:
2015-04-05 09:19:29 UTC
Size:
927 bytes
patch
obsolete
>--- gcc/fortran/decl.c 2015-04-04 22:00:48.000000000 +0300 >+++ gcc/fortran/decl.c 2015-04-05 10:08:08.000000000 +0300 >@@ -4346,6 +4349,24 @@ > gfc_free_data_all (gfc_current_ns); > > cleanup: >+ //<pr59016> in gfc_match_data_decl; cleanup the garbages >+ gfc_symbol *csym=NULL; >+ if ( current_ts.u.derived && current_ts.u.derived->name ){ >+ char iname[129]; iname[128]=0; >+ for (int i=0; (i < 128 );i++) { >+ iname[i]=current_ts.u.derived->name[i]; >+ if (current_ts.u.derived->name[i]==0) >+ break; >+ } >+ iname[0] = TOLOWER(iname[0]); >+ for (int i=0; i<4;i++) { >+ gfc_find_symbol (iname, NULL, i, &csym) ; >+ if ( csym && csym->generic && (csym->generic->sym == current_ts.u.derived)) { >+ csym->generic = NULL; >+ break; >+ }} >+ } >+ //</pr59016> > gfc_free_array_spec (current_as); > current_as = NULL; > return m;
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 59016
:
35171
|
35226
| 35230 |
35232
|
35234
|
35240