This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/23945] New: segv in is_gimple_variable() in tree-gimple.c:239


gdb cc1 
r ~/bits.i -O2 
Starting 
program: /home/marcus/projects/gcc/BIN/libexec/gcc/x86_64-unknown-linux-gnu/4.1.0/cc1 
~/bits.i -O2 
 f 
Analyzing compilation unitPerforming intraprocedural optimizations 
Assembling functions: 
 f 
Program received signal SIGSEGV, Segmentation fault. 
is_gimple_variable (t=0x0) at /home/marcus/projects/gcc/gcc/tree-gimple.c:239 
239       return (TREE_CODE (t) == VAR_DECL 
(gdb) bt 
#0  is_gimple_variable (t=0x0) 
at /home/marcus/projects/gcc/gcc/tree-gimple.c:239 
#1  0x00000000004840b9 in is_gimple_val (t=0x0) 
at /home/marcus/projects/gcc/gcc/tree-gimple.c:366 
#2  0x000000000048a3b0 in force_gimple_operand (expr=0x0, stmts=0x7fffffffd4e8, 
simple=0 '\0', var=0x2aaaaadf15a0) 
    at /home/marcus/projects/gcc/gcc/gimplify.c:4929 
#3  0x00000000004efc2d in rewrite_use_nonlinear_expr (data=0x7fffffffd6e0, 
use=0xbf5300, cand=<value optimized out>) 
    at /home/marcus/projects/gcc/gcc/tree-ssa-loop-ivopts.c:5377 
#4  0x00000000004f49e4 in rewrite_uses (data=0x7fffffffd6e0) 
at /home/marcus/projects/gcc/gcc/tree-ssa-loop-ivopts.c:5736 
#5  0x00000000004f6117 in tree_ssa_iv_optimize (loops=0xbd78d0) 
at /home/marcus/projects/gcc/gcc/tree-ssa-loop-ivopts.c:5960

-- 
           Summary: segv in is_gimple_variable() in tree-gimple.c:239
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marcus at jet dot franken dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]