public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/48772] New: [4.7 Regression] ICE: SIGSEGV in walk_non_aliased_vuses (gimple.h:1100) with -O -fnon-call-exceptions -fno-tree-ccp -fno-tree-dce
@ 2011-04-26 14:46 zsojka at seznam dot cz
  2011-04-26 15:11 ` [Bug tree-optimization/48772] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2011-04-26 14:46 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 Regression] ICE: SIGSEGV in
                    walk_non_aliased_vuses (gimple.h:1100) with -O
                    -fnon-call-exceptions -fno-tree-ccp -fno-tree-dce
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 24103
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24103
reduced testcase (from g++.dg/torture/pr44535.C)

Compiler output:
$ gcc -O -fnon-call-exceptions -fno-tree-ccp -fno-tree-dce testcase.C
==25341== Invalid read of size 1
==25341==    at 0xB0BE03: walk_non_aliased_vuses (gimple.h:1100)
==25341==    by 0xB80E8C: vn_reference_lookup (tree-ssa-sccvn.c:1697)
==25341==    by 0xB6DD99: eliminate (tree-ssa-pre.c:4341)
==25341==    by 0xB7103D: execute_pre (tree-ssa-pre.c:4921)
==25341==    by 0x984C55: execute_one_pass (passes.c:1555)
==25341==    by 0x984F34: execute_pass_list (passes.c:1610)
==25341==    by 0x984F46: execute_pass_list (passes.c:1611)
==25341==    by 0xACCBAA: tree_rest_of_compilation (tree-optimize.c:423)
==25341==    by 0xCAFB42: cgraph_expand_function (cgraphunit.c:1576)
==25341==    by 0xCB205B: cgraph_optimize (cgraphunit.c:1635)
==25341==    by 0xCB25E9: cgraph_finalize_compilation_unit (cgraphunit.c:1096)
==25341==    by 0x5BD42D: cp_write_global_declarations (decl2.c:4002)
==25341==    by 0xA71A87: toplev_main (toplev.c:591)
==25341==    by 0x644AB6C: (below main) (in /lib64/libc-2.11.3.so)
==25341==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==25341== 
testcase.C: In function 'int main()':
testcase.C:26: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.


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

end of thread, other threads:[~2011-04-27 10:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-26 14:46 [Bug tree-optimization/48772] New: [4.7 Regression] ICE: SIGSEGV in walk_non_aliased_vuses (gimple.h:1100) with -O -fnon-call-exceptions -fno-tree-ccp -fno-tree-dce zsojka at seznam dot cz
2011-04-26 15:11 ` [Bug tree-optimization/48772] " rguenth at gcc dot gnu.org
2011-04-27 10:37 ` rguenth at gcc dot gnu.org
2011-04-27 10:44 ` 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).