[Bug fortran/38138] [4.4 Regression] Revision 141890 caused gfortran.dg/proc_decl_18.f90

2008-11-17 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38138



[Bug fortran/38138] [4.4 Regression] Revision 141890 caused gfortran.dg/proc_decl_18.f90

2008-11-16 Thread pault at gcc dot gnu dot org


--- Comment #2 from pault at gcc dot gnu dot org  2008-11-16 12:16 ---
HJ - I just fixed this on trunk, I believe.  Note that I used the old PR in the
ChangeLog, for which apologies.

Thanks for the quick report.  I would appreciate confirmation that this really
did the job.

Best regards

Paul


-- 

pault at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38138



[Bug fortran/38138] [4.4 Regression] Revision 141890 caused gfortran.dg/proc_decl_18.f90

2008-11-15 Thread burnus at gcc dot gnu dot org


--- Comment #1 from burnus at gcc dot gnu dot org  2008-11-15 20:56 ---
No crash or similar on my x86-64-linux, but valgrind shows:

==32084== Invalid read of size 1
==32084==at 0x4824B0: gfc_commit_symbols (symbol.c:2824)
==32084==by 0x45D94C: accept_statement (parse.c:1503)
==32084==by 0x460FEA: gfc_parse_file (parse.c:3805)
==32084==by 0x49083C: gfc_be_parse_file (f95-lang.c:236)
[...]
==32084== Invalid read of size 8
==32084==at 0x4824B7: gfc_commit_symbols (symbol.c:2821)
==32084==by 0x45D94C: accept_statement (parse.c:1503)
==32084==by 0x460FEA: gfc_parse_file (parse.c:3805)
==32084==by 0x49083C: gfc_be_parse_file (f95-lang.c:236)

  2815  gfc_commit_symbols (void)
  2816  {
  2817gfc_symbol *p, *q;
  2818
  2819for (p = changed_syms; p; p = q)
  2820  {
  2821q = p->tlink;
  2822p->tlink = NULL;
  2823p->mark = 0;
  2824p->gfc_new = 0;
  2825free_old_symbol (p);


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38138