public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/47002] New: segmentation fault in find_uses_to_rename_use
@ 2010-12-18 12:45 dcb314 at hotmail dot com
  2010-12-18 14:26 ` [Bug c/47002] [4.6 Regression] " hjl.tools at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2010-12-18 12:45 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: segmentation fault in find_uses_to_rename_use
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


Created attachment 22809
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22809
C source code

I just tried to compile package covered-0.7.7 with the latest 4.6
snapshot 20101211 on a Fedora Linux box. The compiler said

../src/vector.c: In function 'vector_set_value_ulong':
../src/vector.c:1857:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

valgrind says

==11010== Invalid read of size 8
==11010==    at 0x8B1809: find_uses_to_rename_use (tree-ssa-loop-manip.c:1246)
==11010==    by 0x8B1A27: find_uses_to_rename_bb (tree-ssa-loop-manip.c:301)
==11010==    by 0x8B216D: rewrite_into_loop_closed_ssa
(tree-ssa-loop-manip.c:331)
==11010==    by 0x82A239: distribute_loop (tree-loop-distribution.c:1020)
==11010==    by 0x82B15C: tree_loop_distribution
(tree-loop-distribution.c:1146)
==11010==    by 0x74510E: execute_one_pass (passes.c:1553)
==11010==    by 0x7453B4: execute_pass_list (passes.c:1608)
==11010==    by 0x7453C6: execute_pass_list (passes.c:1609)
==11010==    by 0x7453C6: execute_pass_list (passes.c:1609)
==11010==    by 0x838CD5: tree_rest_of_compilation (tree-optimize.c:422)
==11010==    by 0x9D6540: cgraph_expand_function (cgraphunit.c:1508)
==11010==    by 0x9D8AA9: cgraph_optimize (cgraphunit.c:1567)
==11010==  Address 0x10 is not stack'd, malloc'd or (recently) free'd
==11010==

Source code attached. Flag -O3 required.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-12-31 14:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-18 12:45 [Bug c/47002] New: segmentation fault in find_uses_to_rename_use dcb314 at hotmail dot com
2010-12-18 14:26 ` [Bug c/47002] [4.6 Regression] " hjl.tools at gmail dot com
2010-12-20  5:23 ` [Bug tree-optimization/47002] " spop at gcc dot gnu.org
2010-12-20  5:25 ` spop at gcc dot gnu.org
2010-12-22  6:24 ` spop at gcc dot gnu.org
2010-12-23 16:26 ` spop at gcc dot gnu.org
2010-12-31 11:19 ` jakub at gcc dot gnu.org
2010-12-31 12:43 ` dcb314 at hotmail dot com
2010-12-31 14:13 ` jakub at gcc dot gnu.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).