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 tree-optimization/16712] [3.5.0 regression] Segmentation fault when accessing const array


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-26 13:54 -------
Confirmed, here is the backtrace (I compiled with c++ for some reason but it does not matter):
#0  note_addressable (var=Variable "var" is not available.
) at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree-ssa-operands.c:1434
#1  0x081e1259 in add_stmt_operand (var_p=0x4004f1ac, stmt=0x4004f18c, flags=0, 
prev_vops=0x0)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree-ssa-operands.c:1303
#2  0x081e1b37 in get_expr_operands (stmt=0x4004f18c, expr_p=0x4004f1ac, flags=0, 
prev_vops=0xbffebe70)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree-ssa-operands.c:859
#3  0x081e3789 in get_stmt_operands (stmt=0x4004f18c) at /home/gates/pinskia/src/gnu/gcc/src/
gcc/tree-ssa-operands.c:758
#4  0x0819c970 in mark_new_vars_to_rename (stmt=0x4004f18c, vars_to_rename=0x869a090) at /
home/gates/pinskia/src/gnu/gcc/src/gcc/tree-dfa.c:1051
#5  0x081d12d0 in tree_ssa_ccp () at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree-ssa-ccp.c:435
#6  0x081a6132 in execute_pass_list (pass=0x85f1900) at /home/gates/pinskia/src/gnu/gcc/src/gcc/
tree-optimize.c:446
#7  0x081a6145 in execute_pass_list (pass=0x85f1700) at /home/gates/pinskia/src/gnu/gcc/src/gcc/
tree-optimize.c:472
#8  0x081a6332 in tree_rest_of_compilation (fndecl=0x4010715c, nested_p=0 '\0') at /home/gates/
pinskia/src/gnu/gcc/src/gcc/tree-optimize.c:547
#9  0x08128e88 in expand_body (fn=0x4010715c) at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
semantics.c:2889
#10 0x084af668 in cgraph_expand_function (node=0x401076cc) at /home/gates/pinskia/src/gnu/
gcc/src/gcc/cgraphunit.c:797
#11 0x084b10bb in cgraph_optimize () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cgraphunit.c:
1669
#12 0x080d4c5c in finish_file () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/decl2.c:2877
#13 0x0817d1fa in c_common_parse_file (set_yydebug=0) at /home/gates/pinskia/src/gnu/gcc/src/
gcc/c-opts.c:1087
#14 0x0845dbde in toplev_main (argc=0, argv=0xbffec2a4) at /home/gates/pinskia/src/gnu/gcc/src/
gcc/toplev.c:981
#15 0x420174d9 in __libc_start_main () from /lib/i686/libc.so.6
#16 0x08049b31 in _start ()

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dnovillo at gcc dot gnu dot
                   |                            |org
             Status|WAITING                     |NEW
          Component|c                           |tree-optimization
     Ever Confirmed|                            |1
 GCC target triplet|arm-unknown-elf  i386-      |
                   |unknown-elf m68k-unknown-elf|
                   |mips-unknown-               |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-26 13:54:16
               date|                            |
   Target Milestone|---                         |3.5.0


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


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