Displaying 2 results from an estimated 2 matches for "const_p".
Did you mean:
const_
2006 Sep 01
2
[LLVMdev] gfortran: patch, question
...quot;") at ../../src/gcc/diagnostic.c:587
#1 0x00275ab4 in make_decl_rtl (decl=0x5bb1dc) at ../../src/gcc/varasm.c:1018
#2 0x000555a0 in gfc_define_builtin (name=0x5eecc8
"../../src/gcc/varasm.c", type=0x3fa, code=0, library_name=0xffb59c52
<Address 0xffb59c52 out of bounds>, const_p=true) at
../../src/gcc/fortran/f95-lang.c:733
#3 0x00055760 in gfc_be_parse_file (set_yydebug=6221000) at
../../src/gcc/fortran/mathbuiltins.def:8
#4 0x002654cc in toplev_main (argc=1081721732, argv=0x407a2ee4) at
../../src/gcc/toplev.c:1105
#5 0x00002a74 in _start (argc=16, argv=0xbfffec50, env...
2006 Sep 01
0
[LLVMdev] gfortran: patch, question
..../src/gcc/diagnostic.c:587
> #1 0x00275ab4 in make_decl_rtl (decl=0x5bb1dc) at ../../src/gcc/varasm.c:1018
> #2 0x000555a0 in gfc_define_builtin (name=0x5eecc8
> "../../src/gcc/varasm.c", type=0x3fa, code=0, library_name=0xffb59c52
> <Address 0xffb59c52 out of bounds>, const_p=true) at
> ../../src/gcc/fortran/f95-lang.c:733
This is crashing because make_decl_rtl is an RTL backend specific
function. I haven't looked at the callsite but you probably want
something like this:
#ifndef ENABLE_LLVM
make_decl_rtl (olddecl);
#else
make_decl_llvm (olddecl);...