--
mikael at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |mikael at gcc dot gnu dot
|dot org
--- Comment #6 from pault at gcc dot gnu dot org 2008-11-04 07:59 ---
(In reply to comment #5)
> The patch in comment #4 generate a lot of bus errors in my tests. Looking at
> it, I think there is something missing: gfc_current_ns->old_cl_list is only
> set
> to NULL, it should likely b
--- Comment #5 from dominiq at lps dot ens dot fr 2008-11-03 11:02 ---
The patch in comment #4 generate a lot of bus errors in my tests. Looking at
it, I think there is something missing: gfc_current_ns->old_cl_list is only set
to NULL, it should likely be set to gfc_current_ns->cl_list
--- Comment #4 from mikael dot morin at tele2 dot fr 2008-11-02 18:03
---
Created an attachment (id=16612)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16612&action=view)
hackish patch
I think I got it.
When the statement is rejected, all changes are reverted.
However, the nam
--- Comment #3 from mikael dot morin at tele2 dot fr 2008-11-02 17:50
---
(In reply to comment #1)
> First valgrind error:
>
> ==21621== Invalid read of size 8
> ==21621==at 0x46AAEA: gfc_resolve_expr (resolve.c:4248)
> Second valgrind error:
>
> ==21621== Address 0x65b2ef8 is 4
--- Comment #2 from janus at gcc dot gnu dot org 2008-11-01 22:42 ---
This is really funny. If I compile a file which contains exactly the three
lines given in comment #0 (and nothing else), I get some errors, but no ICE.
However, if I add at least two blank lines (no matter where), the
--- Comment #1 from burnus at gcc dot gnu dot org 2008-11-01 22:38 ---
First valgrind error:
==21621== Invalid read of size 8
==21621==at 0x46AAEA: gfc_resolve_expr (resolve.c:4248)
That is:
if (e->symtree == NULL || e->symtree->n.sym == NULL)
I think e->expr_type == EXPR_FUNCTIO