public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46167] New: [4.5/4.6 Regression] ICE: SEIGSEGV in flow_bb_inside_loop_p (cfgloop.c:776) with -O -ftree-vectorize
@ 2010-10-25 18:09 zsojka at seznam dot cz
  2010-10-26  8:25 ` [Bug tree-optimization/46167] [4.5/4.6 Regression] ICE: SIGSEGV " hjl.tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-25 18:09 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.5/4.6 Regression] ICE: SEIGSEGV in
                    flow_bb_inside_loop_p (cfgloop.c:776) with -O
                    -ftree-vectorize
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 22148
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22148
reduced testcase

valgrind output :
$ gcc -O -ftree-vectorize pr46167.c
==21601== Invalid read of size 8
==21601==    at 0x5933E8: flow_bb_inside_loop_p (cfgloop.c:776)
==21601==    by 0x100FA9F: vect_recog_dot_prod_pattern
(tree-vect-patterns.c:260)
==21601==    by 0x10104A5: vect_pattern_recog (tree-vect-patterns.c:683)
==21601==    by 0x9DE777: vect_analyze_loop (tree-vect-loop.c:1406)
==21601==    by 0x9EC288: vectorize_loops (tree-vectorizer.c:219)
==21601==    by 0x797A5E: execute_one_pass (passes.c:1560)
==21601==    by 0x797CF4: execute_pass_list (passes.c:1615)
==21601==    by 0x797D06: execute_pass_list (passes.c:1616)
==21601==    by 0x797D06: execute_pass_list (passes.c:1616)
==21601==    by 0x8E4B65: tree_rest_of_compilation (tree-optimize.c:422)
==21601==    by 0xAAF281: cgraph_expand_function (cgraphunit.c:1494)
==21601==    by 0xAB1849: cgraph_optimize (cgraphunit.c:1553)
==21601==  Address 0x18 is not stack'd, malloc'd or (recently) free'd
==21601== 
pr46167.c: In function 'foo':
pr46167.c:1:5: 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.

Tested revisions:
r165915 - crash
r163636 - crash
r161659 - OK
r159696 - OK
4.5 r165781 - crash
4.5.1 - OK
4.4 r165754 - OK


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

end of thread, other threads:[~2010-10-26 20:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-25 18:09 [Bug tree-optimization/46167] New: [4.5/4.6 Regression] ICE: SEIGSEGV in flow_bb_inside_loop_p (cfgloop.c:776) with -O -ftree-vectorize zsojka at seznam dot cz
2010-10-26  8:25 ` [Bug tree-optimization/46167] [4.5/4.6 Regression] ICE: SIGSEGV " hjl.tools at gmail dot com
2010-10-26  8:27 ` hjl.tools at gmail dot com
2010-10-26 13:37 ` jakub at gcc dot gnu.org
2010-10-26 15:53 ` irar at gcc dot gnu.org
2010-10-26 20:16 ` irar at gcc dot gnu.org
2010-10-26 20:26 ` irar at il dot ibm.com

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).