------- Comment #7 from fxcoudert at gcc dot gnu dot org  2007-02-05 22:23 
-------
It's not target specific as it is also seen on i686-pc-linux-gnu with mainline,
when compiling enum_2.f90 under valgrind:

==6149== Invalid read of size 4
==6149==    at 0x86522E3: __gmpz_add_ui (in
/home/fxcoudert/svn/debug/irun/libexec/gcc/i686-pc-linux-gnu/4.3.0/f951)
==6149==  Address 0x1BA8B6B0 is 56 bytes inside a block of size 84 free'd
==6149==    at 0x1B90044F: free (vg_replace_malloc.c:235)
==6149==    by 0x80A0BA7: gfc_free_symbol (symbol.c:2005)
==6149== 
==6149== Invalid read of size 4
==6149==    at 0x8652305: __gmpz_add_ui (in
/home/fxcoudert/svn/debug/irun/libexec/gcc/i686-pc-linux-gnu/4.3.0/f951)
==6149==  Address 0x1BA8B6B4 is 60 bytes inside a block of size 84 free'd
==6149==    at 0x1B90044F: free (vg_replace_malloc.c:235)
==6149==    by 0x80A0BA7: gfc_free_symbol (symbol.c:2005)
==6149== 
==6149== Invalid read of size 4
==6149==    at 0x804B387: gfc_enum_initializer (arith.c:2423)
==6149==  Address 0x1BA8B6A0 is 40 bytes inside a block of size 84 free'd
==6149==    at 0x1B90044F: free (vg_replace_malloc.c:235)
==6149==    by 0x80A0BA7: gfc_free_symbol (symbol.c:2005)
==6149== 
==6149== Invalid read of size 4
==6149==    at 0x804B38A: gfc_enum_initializer (arith.c:2423)
==6149==  Address 0x1BA8B69C is 36 bytes inside a block of size 84 free'd
==6149==    at 0x1B90044F: free (vg_replace_malloc.c:235)
==6149==    by 0x80A0BA7: gfc_free_symbol (symbol.c:2005)


It doesn't happen for other testcases I tried.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|hppa2.0w-hp-hpux11.11       |
   GCC host triplet|hppa2.0w-hp-hpux11.11       |
 GCC target triplet|hppa2.0w-hp-hpux11.11       |
      Known to fail|                            |4.3.0 4.2.0 4.1.2
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-05 22:23:02
               date|                            |


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

Reply via email to