public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl dot tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03
Date: Sat, 03 Jul 2010 02:47:00 -0000	[thread overview]
Message-ID: <20100703024748.23512.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44785-682@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from hjl dot tools at gmail dot com  2010-07-03 02:47 -------
At -O1, valgrind reports:

valgrind --tool=memcheck
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951
/export/gnu/import/git/gcc/gcc/testsuite/gfortran.dg/extends_3.f03 -quiet
-dumpbase extends_3.f03 -mtune=generic -march=x86-64 -auxbase extends_3 -g -O1
-pedantic-errors -version -o extends_3.s -fintrinsic-modules-path finclude 
==2856== Memcheck, a memory error detector
==2856== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==2856== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==2856== Command:
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951
/export/gnu/import/git/gcc/gcc/testsuite/gfortran.dg/extends_3.f03 -quiet
-dumpbase extends_3.f03 -mtune=generic -march=x86-64 -auxbase extends_3 -g -O3
-pedantic-errors -version -o extends_3.s -fintrinsic-modules-path finclude -O1
==2856== 
GNU Fortran (GCC) version 4.6.0 20100703 (experimental)
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.4.4 20100503 (Red Hat 4.4.4-2), GMP version
4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran (GCC) version 4.6.0 20100703 (experimental)
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.4.4 20100503 (Red Hat 4.4.4-2), GMP version
4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
==2856== Invalid read of size 8
==2856==    at 0xDDAE8D: initialize_inlined_parameters (tree-inline.c:2704)
==2856==    by 0xDDE4FD: expand_call_inline (tree-inline.c:3927)
==2856==    by 0xDDEF8A: gimple_expand_calls_inline (tree-inline.c:4114)
==2856==    by 0xDDF662: optimize_inline_calls (tree-inline.c:4264)
==2856==    by 0xD907D8: inline_transform (ipa-inline.c:2100)
==2856==    by 0x955FEF: execute_one_ipa_transform_pass (passes.c:1465)
==2856==    by 0x9560D0: execute_all_ipa_transforms (passes.c:1496)
==2856==    by 0xAE2FCC: tree_rest_of_compilation (tree-optimize.c:413)
==2856==    by 0xD7C770: cgraph_expand_function (cgraphunit.c:1629)
==2856==    by 0xD7CA34: cgraph_expand_all_functions (cgraphunit.c:1708)
==2856==    by 0xD7D05C: cgraph_optimize (cgraphunit.c:1964)
==2856==    by 0xD7AA85: cgraph_finalize_compilation_unit (cgraphunit.c:1171)
==2856==  Address 0x554a748 is 1,160 bytes inside a block of size 2,048 free'd
==2856==    at 0x4A04D72: free (vg_replace_malloc.c:325)
==2856==    by 0x9591A2: pointer_map_insert (pointer-set.c:275)
==2856==    by 0xDCE116: insert_decl_map (tree-inline.c:142)
==2856==    by 0xDCF985: remap_type_1 (tree-inline.c:367)
==2856==    by 0xDD0713: remap_type (tree-inline.c:469)
==2856==    by 0xDCF521: remap_type_1 (tree-inline.c:354)
==2856==    by 0xDD0713: remap_type (tree-inline.c:469)
==2856==    by 0xDDADA4: initialize_inlined_parameters (tree-inline.c:2695)
==2856==    by 0xDDE4FD: expand_call_inline (tree-inline.c:3927)
==2856==    by 0xDDEF8A: gimple_expand_calls_inline (tree-inline.c:4114)
==2856==    by 0xDDF662: optimize_inline_calls (tree-inline.c:4264)
==2856==    by 0xD907D8: inline_transform (ipa-inline.c:2100)
==2856== 
==2856== Invalid read of size 8
==2856==    at 0xDDAEB9: initialize_inlined_parameters (tree-inline.c:2705)
==2856==    by 0xDDE4FD: expand_call_inline (tree-inline.c:3927)
==2856==    by 0xDDEF8A: gimple_expand_calls_inline (tree-inline.c:4114)
==2856==    by 0xDDF662: optimize_inline_calls (tree-inline.c:4264)
==2856==    by 0xD907D8: inline_transform (ipa-inline.c:2100)
==2856==    by 0x955FEF: execute_one_ipa_transform_pass (passes.c:1465)
==2856==    by 0x9560D0: execute_all_ipa_transforms (passes.c:1496)
==2856==    by 0xAE2FCC: tree_rest_of_compilation (tree-optimize.c:413)
==2856==    by 0xD7C770: cgraph_expand_function (cgraphunit.c:1629)
==2856==    by 0xD7CA34: cgraph_expand_all_functions (cgraphunit.c:1708)
==2856==    by 0xD7D05C: cgraph_optimize (cgraphunit.c:1964)
==2856==    by 0xD7AA85: cgraph_finalize_compilation_unit (cgraphunit.c:1171)
==2856==  Address 0x554a748 is 1,160 bytes inside a block of size 2,048 free'd
==2856==    at 0x4A04D72: free (vg_replace_malloc.c:325)
==2856==    by 0x9591A2: pointer_map_insert (pointer-set.c:275)
==2856==    by 0xDCE116: insert_decl_map (tree-inline.c:142)
==2856==    by 0xDCF985: remap_type_1 (tree-inline.c:367)
==2856==    by 0xDD0713: remap_type (tree-inline.c:469)
==2856==    by 0xDCF521: remap_type_1 (tree-inline.c:354)
==2856==    by 0xDD0713: remap_type (tree-inline.c:469)
==2856==    by 0xDDADA4: initialize_inlined_parameters (tree-inline.c:2695)
==2856==    by 0xDDE4FD: expand_call_inline (tree-inline.c:3927)
==2856==    by 0xDDEF8A: gimple_expand_calls_inline (tree-inline.c:4114)
==2856==    by 0xDDF662: optimize_inline_calls (tree-inline.c:4264)
==2856==    by 0xD907D8: inline_transform (ipa-inline.c:2100)
==2856== 


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.6 Regression] FAIL:      |[4.6 Regression] Invalid
                   |gfortran.dg/extends_3.f03   |memory access in
                   |                            |gfortran.dg/extends_3.f03
   Target Milestone|---                         |4.6.0


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


  reply	other threads:[~2010-07-03  2:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02 16:05 [Bug middle-end/44785] New: [4.6 Regression] FAIL: gfortran.dg/extends_3.f03 hjl dot tools at gmail dot com
2010-07-03  2:47 ` hjl dot tools at gmail dot com [this message]
2010-07-03  3:51 ` [Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03 hjl dot tools at gmail dot com
2010-07-03 10:33 ` rguenth at gcc dot gnu dot org
2010-07-04 10:15 ` rguenth at gcc dot gnu dot org
2010-07-04 12:20 ` rguenth at gcc dot gnu dot org
2010-07-04 12:21 ` rguenth at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100703024748.23512.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).