public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce
@ 2010-10-26 13:57 zsojka at seznam dot cz
  2010-10-26 14:15 ` [Bug tree-optimization/46184] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-26 13:57 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE: SIGSEGV in
                    vectorizable_reduction (tree-vect-loop.c:4067) with -O
                    -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce
           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 22160
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22160
reduced testcase (from gcc.dg/vect/vect-cond-4.c)

valgrind output:
$ gcc -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce pr46184.c
==10721== Invalid read of size 2
==10721==    at 0x9DC5C2: vectorizable_reduction (tree-vect-loop.c:4067)
==10721==    by 0x9D3D1A: vect_analyze_stmt (tree-vect-stmts.c:4661)
==10721==    by 0x9DF616: vect_analyze_loop (tree-vect-loop.c:1248)
==10721==    by 0x9EC288: vectorize_loops (tree-vectorizer.c:219)
==10721==    by 0x797A5E: execute_one_pass (passes.c:1560)
==10721==    by 0x797CF4: execute_pass_list (passes.c:1615)
==10721==    by 0x797D06: execute_pass_list (passes.c:1616)
==10721==    by 0x797D06: execute_pass_list (passes.c:1616)
==10721==    by 0x8E4B65: tree_rest_of_compilation (tree-optimize.c:422)
==10721==    by 0xAAF281: cgraph_expand_function (cgraphunit.c:1494)
==10721==    by 0xAB1849: cgraph_optimize (cgraphunit.c:1553)
==10721==    by 0xAB1DA9: cgraph_finalize_compilation_unit (cgraphunit.c:1016)
==10721==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==10721== 
pr46184.c: In function 'foo':
pr46184.c:4:1: 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
r159696 - crash
r158095 - OK
4.5 r165781 - OK


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

end of thread, other threads:[~2010-11-02 15:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 13:57 [Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce zsojka at seznam dot cz
2010-10-26 14:15 ` [Bug tree-optimization/46184] " rguenth at gcc dot gnu.org
2010-10-26 16:32 ` hjl.tools at gmail dot com
2010-10-29 12:53 ` rguenth at gcc dot gnu.org
2010-11-02 14:24 ` rguenth at gcc dot gnu.org
2010-11-02 15:46 ` rguenth at gcc dot gnu.org
2010-11-02 15:48 ` rguenth 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).