public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [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
Date: Mon, 25 Oct 2010 18:09:00 -0000	[thread overview]
Message-ID: <bug-46167-4@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2010-10-25 18:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 18:09 zsojka at seznam dot cz [this message]
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

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=bug-46167-4@http.gcc.gnu.org/bugzilla/ \
    --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).