https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
--- Comment #11 from Jerry DeLisle ---
Having done all this, I found:
C8102 (R868) The namelist-group-name shall not be a name accessed by use
association.
What does this mean in the context of renamed?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
--- Comment #10 from GCC Commits ---
The master branch has been updated by Jerry DeLisle :
https://gcc.gnu.org/g:8221201cc59870579b9dc451b173f94b8d8b0993
commit r14-8992-g8221201cc59870579b9dc451b173f94b8d8b0993
Author: Steve Kargl
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
--- Comment #9 from Jerry DeLisle ---
This seems to work:
/* Build the namelist object name. */
-
- string = gfc_build_cstring_const (var_name);
+ if (sym && !sym->attr.use_only && sym->attr.use_rename)
+string =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
--- Comment #8 from Jerry DeLisle ---
There is an assert just above the patch that implies that sym can be NULL if c
is not. With gdb I checked, and sure enough thats the failure point. I am
testing with sym included in the condition.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
--- Comment #7 from Jerry DeLisle ---
Steve, I am getting a boatload of regressions on this. I wonder if something
in the sym structure needs to be guarded here. They appear to be segfaults. Can
you take a look?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
--- Comment #6 from Jerry DeLisle ---
I obviously did not get to this last May. Will try now.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
--- Comment #5 from Jerry DeLisle ---
Hi Steve,I will see if I can get all this tested and committed this coming
weekend.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
--- Comment #4 from kargl at gcc dot gnu.org ---
Created attachment 55196
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55196=edit
patch that fixes the bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
--- Comment #3 from kargl at gcc dot gnu.org ---
Created attachment 55195
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55195=edit
dejagnu-ified testcase
Testcase showing the wrong namelist object name ends up in the file.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
Jerry DeLisle changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
kargl at gcc dot gnu.org changed:
What|Removed |Added
Priority|P3 |P4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105847
kargl at gcc dot gnu.org changed:
What|Removed |Added
Last reconfirmed||2022-06-04
12 matches
Mail list logo