public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46985] New: ICE: SIGSEGV in is_gimple_min_invariant (gimple.c:2742) with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre
@ 2010-12-16 23:08 zsojka at seznam dot cz
  2010-12-17  6:09 ` [Bug tree-optimization/46985] [4.4/4.5/4.6 Regression] " hjl.tools at gmail dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: zsojka at seznam dot cz @ 2010-12-16 23:08 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: SIGSEGV in is_gimple_min_invariant
                    (gimple.c:2742) with -fno-tree-ccp
                    -fno-tree-dominator-opts -fno-tree-fre
           Product: gcc
           Version: 4.6.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 22788
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22788
reduced testcase (from subref_array_pointer_2.f90)

Compiler output - 4.6:
$ gcc -O -ftree-pre -ftree-vrp -fno-tree-ccp -fno-tree-dominator-opts
-fno-tree-fre pr46985.f90
==26346== Invalid read of size 2
==26346==    at 0x7A25D0: is_gimple_min_invariant (gimple.c:2742)
==26346==    by 0x9AFD7D: instantiate_scev_r (tree-scalar-evolution.c:2620)
==26346==    by 0x9AFECE: instantiate_scev_r (tree-scalar-evolution.c:2510)
==26346==    by 0x9B07D9: instantiate_scev_r (tree-scalar-evolution.c:2583)
==26346==    by 0x9AFFDC: instantiate_scev_r (tree-scalar-evolution.c:2255)
==26346==    by 0x9B130A: resolve_mixers (tree-scalar-evolution.c:2744)
==26346==    by 0x9B1508: analyze_scalar_evolution_in_loop
(tree-scalar-evolution.c:2052)
==26346==    by 0x9B202F: simple_iv (tree-scalar-evolution.c:3184)
==26346==    by 0x10B5EFB: constant_after_peeling (tree-ssa-loop-ivcanon.c:184)
==26346==    by 0x10B65CD: canonicalize_loop_induction_variables
(tree-ssa-loop-ivcanon.c:244)
==26346==    by 0x10B70BE: tree_unroll_loops_completely
(tree-ssa-loop-ivcanon.c:536)
==26346==    by 0x84FC95: execute_one_pass (passes.c:1553)
==26346==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==26346== 
pr46985.f90: In function 'main':
pr46985.f90:7:0: 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.

Compiler output - 4.5 and 4.4:
$ gcc -ftree-pre -ftree-vrp -O -fno-tree-ccp -fno-tree-dominator-opts
-fno-tree-fre pr46985.f90 
pr46985.f90: In function 'MAIN__':
pr46985.f90:7:0: internal compiler error: in analyze_function, at
ipa-reference.c:731
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Doesn't ICE with release checking.

Tested revisions:
r167954 - crash
4.5 r166509 - different crash
4.4 r166509 - different crash


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

end of thread, other threads:[~2012-06-20 14:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-16 23:08 [Bug tree-optimization/46985] New: ICE: SIGSEGV in is_gimple_min_invariant (gimple.c:2742) with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre zsojka at seznam dot cz
2010-12-17  6:09 ` [Bug tree-optimization/46985] [4.4/4.5/4.6 Regression] " hjl.tools at gmail dot com
2010-12-17 12:05 ` jakub at gcc dot gnu.org
2010-12-17 12:53 ` jakub at gcc dot gnu.org
2010-12-17 13:02 ` jakub at gcc dot gnu.org
2010-12-18 18:15 ` jakub at gcc dot gnu.org
2010-12-18 18:29 ` [Bug tree-optimization/46985] [4.4/4.5 " jakub at gcc dot gnu.org
2011-03-25 20:02 ` jakub at gcc dot gnu.org
2011-06-27 15:55 ` jakub at gcc dot gnu.org
2011-10-10 12:41 ` rguenth at gcc dot gnu.org
2012-03-13 13:37 ` [Bug tree-optimization/46985] [4.5 " jakub at gcc dot gnu.org
2012-06-20 12:51 ` rguenth at gcc dot gnu.org
2012-06-20 13:56 ` rguenth at gcc dot gnu.org
2012-06-20 14:43 ` 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).