public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/44785] New: [4.6 Regression] FAIL: gfortran.dg/extends_3.f03
@ 2010-07-02 16:05 hjl dot tools at gmail dot com
2010-07-03 2:47 ` [Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03 hjl dot tools at gmail dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-02 16:05 UTC (permalink / raw)
To: gcc-bugs
On Linux/x86, I saw
FAIL: gfortran.dg/extends_3.f03 -O1 (internal compiler error)
FAIL: gfortran.dg/extends_3.f03 -O1 (test for excess errors)
come and go, at least starting from revision 161653.
--
Summary: [4.6 Regression] FAIL: gfortran.dg/extends_3.f03
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44785
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03
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
2010-07-03 3:51 ` hjl dot tools at gmail dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-03 2:47 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03
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 ` [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 3:51 ` hjl dot tools at gmail dot com
2010-07-03 10:33 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-03 3:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl dot tools at gmail dot com 2010-07-03 03:50 -------
It is caused by revision 161527:
http://gcc.gnu.org/ml/gcc-cvs/2010-06/msg01445.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|hubicka at gcc dot gnu dot |rguenth at gcc dot gnu dot
|org |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44785
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03
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 ` [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 3:51 ` 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
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-03 10:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-03 10:32 -------
Mine then.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-07-03 10:32:54
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44785
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03
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
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-04 10:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-07-04 10:14 -------
Subtle. pointer_map_insert invalidates slot pointers. I have a patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44785
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03
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
` (3 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-04 12:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2010-07-04 12:20 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44785
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03
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
` (4 preceding siblings ...)
2010-07-04 12:20 ` rguenth at gcc dot gnu dot org
@ 2010-07-04 12:21 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-04 12:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2010-07-04 12:20 -------
Subject: Bug 44785
Author: rguenth
Date: Sun Jul 4 12:20:14 2010
New Revision: 161800
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161800
Log:
2010-07-04 Richard Guenther <rguenther@suse.de>
PR middle-end/44785
* tree-inline.c (initialize_inlined_parameters): Do not
re-use pointer-map slot over remap_type call.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-inline.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44785
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-07-04 12:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [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 3:51 ` 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
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).