This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/43996] ICE in simplification of spread intrinsic



------- Comment #3 from dominiq at lps dot ens dot fr  2010-05-05 21:48 -------
With i686-apple-darwin9 at revision 156693, valgrind gives:

 MAIN__
pr40472_1.f90:2:0: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:4189
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
==187== 
==187== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==187== malloc/free: in use at exit: 436,741 bytes in 4,777 blocks.
==187== malloc/free: 28,742 allocs, 23,965 frees, 1,807,223 bytes allocated.
==187== For counts of detected errors, rerun with: -v
==187== searching for pointers to 4,777 not-freed blocks.
==187== checked 1,082,195,616 bytes.
==187== 
==187== 4 bytes in 1 blocks are still reachable in loss record 1 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0x41666111: strdup (in /usr/lib/libSystem.B.dylib)
==187==    by 0xA42507: libintl_textdomain (textdomain.c:111)
==187== 
==187== 
==187== 16 bytes in 4 blocks are indirectly lost in loss record 2 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0x415A87CB: __gmp_default_allocate (in
/sw/lib/libgmp.3.5.0.dylib)
==187== 
==187== 
==187== 32 bytes in 4 blocks are still reachable in loss record 3 of 20
==187==    at 0x40EC22B8: realloc (vg_replace_malloc.c:472)
==187==    by 0x415A8823: __gmp_default_reallocate (in
/sw/lib/libgmp.3.5.0.dylib)
==187==    by 0x58CD: gfc_convert_integer (fortran/arith.c:1930)
==187==    by 0x70DE9: gfc_match_literal_constant (fortran/primary.c:1338)
==187== 
==187== 
==187== 32 bytes in 4 blocks are definitely lost in loss record 4 of 20
==187==    at 0x40EC22B8: realloc (vg_replace_malloc.c:472)
==187==    by 0x415A8823: __gmp_default_reallocate (in
/sw/lib/libgmp.3.5.0.dylib)
==187== 
==187== 
==187== 43 bytes in 2 blocks are still reachable in loss record 5 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0xA400BF: set_binding_values (bindtextdom.c:233)
==187== 
==187== 
==187== 60 bytes in 1 blocks are still reachable in loss record 6 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0x41643C49: get_or_create_key_element (in
/usr/lib/libSystem.B.dylib)
==187==    by 0x41643B7B: _keymgr_get_and_lock_processwide_ptr_2 (in
/usr/lib/libSystem.B.dylib)
==187==    by 0x416437C1: dwarf2_unwind_dyld_add_image_hook (in
/usr/lib/libSystem.B.dylib)
==187==    by 0x8FE03D61: dyld::registerAddCallback(void (*)(mach_header
const*, long)) (in /usr/lib/dyld)
==187==    by 0x41642B3A: _dyld_register_func_for_add_image (in
/usr/lib/libSystem.B.dylib)
==187==    by 0x4163BCB5: __keymgr_initializer (in /usr/lib/libSystem.B.dylib)
==187==    by 0x4163B0C0: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==187==    by 0x8FE12F35:
ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in
/usr/lib/dyld)
==187==    by 0x8FE0E7E2:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E774:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E774:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187== 
==187== 
==187== 64 bytes in 1 blocks are still reachable in loss record 7 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0x41640D76: localeconv_l (in /usr/lib/libSystem.B.dylib)
==187==    by 0x4163C334: __vfprintf (in /usr/lib/libSystem.B.dylib)
==187==    by 0x41663C25: sprintf (in /usr/lib/libSystem.B.dylib)
==187==    by 0x6956A8: register_one_dump_file (passes.c:391)
==187== 
==187== 
==187== 64 (48 direct, 16 indirect) bytes in 2 blocks are definitely lost in
loss record 8 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0xA52699: xmalloc (xmalloc.c:147)
==187== 
==187== 
==187== 136 bytes in 10 blocks are still reachable in loss record 9 of 20
==187==    at 0x40EC22B8: realloc (vg_replace_malloc.c:472)
==187==    by 0x415A8823: __gmp_default_reallocate (in
/sw/lib/libgmp.3.5.0.dylib)
==187==    by 0x415BB184: __gmpz_pow_ui (in /sw/lib/libgmp.3.5.0.dylib)
==187== 
==187== 
==187== 176 bytes in 14 blocks are possibly lost in loss record 10 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0x415A87CB: __gmp_default_allocate (in
/sw/lib/libgmp.3.5.0.dylib)
==187== 
==187== 
==187== 520 bytes in 1 blocks are still reachable in loss record 11 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0x41643167: atexit_register (in /usr/lib/libSystem.B.dylib)
==187==    by 0x416430EC: __cxa_atexit (in /usr/lib/libSystem.B.dylib)
==187==    by 0x414D16F5: __static_initialization_and_destruction_0(int, int)
(in /sw/lib/libppl.7.dylib)
==187==    by 0x8FE12F35:
ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in
/usr/lib/dyld)
==187==    by 0x8FE0E7E2:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E774:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E774:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E774:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E8C8: ImageLoader::runInitializers(ImageLoader::LinkContext
const&) (in /usr/lib/dyld)
==187==    by 0x8FE04101: dyld::initializeMainExecutable() (in /usr/lib/dyld)
==187==    by 0x8FE07BCE: dyld::_main(mach_header const*, unsigned long, int,
char const**, char const**, char const**) (in /usr/lib/dyld)
==187== 
==187== 
==187== 680 bytes in 17 blocks are still reachable in loss record 12 of 20
==187==    at 0x40EC20F7: calloc (vg_replace_malloc.c:414)
==187==    by 0x41643799: dwarf2_unwind_dyld_add_image_hook (in
/usr/lib/libSystem.B.dylib)
==187==    by 0x8FE03D61: dyld::registerAddCallback(void (*)(mach_header
const*, long)) (in /usr/lib/dyld)
==187==    by 0x41642B3A: _dyld_register_func_for_add_image (in
/usr/lib/libSystem.B.dylib)
==187==    by 0x4163BCB5: __keymgr_initializer (in /usr/lib/libSystem.B.dylib)
==187==    by 0x4163B0C0: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==187==    by 0x8FE12F35:
ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in
/usr/lib/dyld)
==187==    by 0x8FE0E7E2:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E774:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E774:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E8C8: ImageLoader::runInitializers(ImageLoader::LinkContext
const&) (in /usr/lib/dyld)
==187==    by 0x8FE040E8: dyld::initializeMainExecutable() (in /usr/lib/dyld)
==187== 
==187== 
==187== 3,120 bytes in 6 blocks are still reachable in loss record 13 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0x41643167: atexit_register (in /usr/lib/libSystem.B.dylib)
==187==    by 0x416430EC: __cxa_atexit (in /usr/lib/libSystem.B.dylib)
==187==    by 0x414D0955: __static_initialization_and_destruction_0(int, int)
(in /sw/lib/libppl.7.dylib)
==187==    by 0x8FE12F35:
ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in
/usr/lib/dyld)
==187==    by 0x8FE0E7E2:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E774:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E774:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E774:
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned
int) (in /usr/lib/dyld)
==187==    by 0x8FE0E8C8: ImageLoader::runInitializers(ImageLoader::LinkContext
const&) (in /usr/lib/dyld)
==187==    by 0x8FE04101: dyld::initializeMainExecutable() (in /usr/lib/dyld)
==187==    by 0x8FE07BCE: dyld::_main(mach_header const*, unsigned long, int,
char const**, char const**, char const**) (in /usr/lib/dyld)
==187== 
==187== 
==187== 4,428 bytes in 5 blocks are still reachable in loss record 14 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0xA52747: xrealloc (xmalloc.c:177)
==187== 
==187== 
==187== 8,692 bytes in 2,173 blocks are still reachable in loss record 15 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0x415A87CB: __gmp_default_allocate (in
/sw/lib/libgmp.3.5.0.dylib)
==187== 
==187== 
==187== 9,080 bytes in 4 blocks are still reachable in loss record 16 of 20
==187==    at 0x40EC22B8: realloc (vg_replace_malloc.c:472)
==187==    by 0xA52735: xrealloc (xmalloc.c:179)
==187== 
==187== 
==187== 16,032 bytes in 2 blocks are possibly lost in loss record 17 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0xA52699: xmalloc (xmalloc.c:147)
==187==    by 0x76D907: toplev_main (toplev.c:1806)
==187== 
==187== 
==187== 35,556 bytes in 7 blocks are still reachable in loss record 18 of 20
==187==    at 0x40EC20F7: calloc (vg_replace_malloc.c:414)
==187==    by 0xA526D6: xcalloc (xmalloc.c:162)
==187==    by 0x76D907: toplev_main (toplev.c:1806)
==187== 
==187== 
==187== 57,429 bytes in 764 blocks are still reachable in loss record 19 of 20
==187==    at 0x40EC0516: malloc (vg_replace_malloc.c:193)
==187==    by 0xA52699: xmalloc (xmalloc.c:147)
==187== 
==187== 
==187== 300,593 bytes in 1,755 blocks are still reachable in loss record 20 of
20
==187==    at 0x40EC20F7: calloc (vg_replace_malloc.c:414)
==187==    by 0xA526D6: xcalloc (xmalloc.c:162)
==187== 
==187== LEAK SUMMARY:
==187==    definitely lost: 80 bytes in 6 blocks.
==187==    indirectly lost: 16 bytes in 4 blocks.
==187==      possibly lost: 16,208 bytes in 16 blocks.
==187==    still reachable: 420,437 bytes in 4,751 blocks.
==187==         suppressed: 0 bytes in 0 blocks.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]