https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
José Rui Faustino de Sousa changed:
What|Removed |Added
Attachment #51010|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
--- Comment #10 from José Rui Faustino de Sousa
---
Second and hopefully last update...
https://gcc.gnu.org/pipermail/fortran/2021-June/056170.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
--- Comment #9 from José Rui Faustino de Sousa ---
Created attachment 51010
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51010&action=edit
Patch and changelog
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
--- Comment #8 from José Rui Faustino de Sousa ---
Corrected patch posted:
https://gcc.gnu.org/pipermail/fortran/2021-June/056160.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
--- Comment #7 from José Rui Faustino de Sousa ---
I was using pr87993.f90 from the testsuite... ;-)
The fix is simple enough:
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index a37ad66..a9518e7 100644
--- a/gcc/fortran/resolve.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
--- Comment #6 from Dominique d'Humieres ---
> Can you provide some more detail on your setup?
program p
integer, parameter :: a(2) = 1
integer, parameter :: b = a(2)%kind
end
I get the ICE with a patched master and a genuine GCC11 with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
--- Comment #5 from José Rui Faustino de Sousa ---
I am having trouble reproducing this.
Can you provide some more detail on your setup?
Best regards,
José Rui
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
--- Comment #4 from Dominique d'Humieres ---
Sorry I didn't use the right compiler. If I do so, I get
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=EXC_I386_GPFLT)
frame #0: 0x000101443613 f951`splay_t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
--- Comment #3 from Dominique d'Humieres ---
Using an instrumented compiler I get
% gfcg pr87993.f90
../../work/libiberty/splay-tree.c:496:19: runtime error: member access within
misaligned address 0x00010001 for type 'struct splay_tree_s',
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683
--- Comment #1 from José Rui Faustino de Sousa ---
Patch posted:
https://gcc.gnu.org/pipermail/fortran/2021-May/056053.html
11 matches
Mail list logo