Displaying 3 results from an estimated 3 matches for "olddecl".
Did you mean:
olddc
2006 Sep 01
0
[LLVMdev] gfortran: patch, question
...t;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);
#endif
make_decl_rtl is also sometimes called implicitly by "DECL_RTL". Any uses
of DECL_RTL need to be replaced with DECL_LLVM. If you have questions on
a particular use, I'd be happy to help.
-Chris
--
http://nondot.org/sabre/
http://l...
2006 Sep 01
2
[LLVMdev] gfortran: patch, question
Hi, I have a first quick patch and a question. The patch links f951
with g++ when LLVM is enabled. It's at the end of this email.
I wanted to know if I should submit patches with comments around them
like the "APPLE LOCAL LLVM" ones that mark the LLVM-only changes to
the tree. I'd like to make it as easy as possible to apply these, so
let me know any rules I should be following.
2006 Sep 01
3
[LLVMdev] gfortran: patch, question
...just keep my patches clean and let you worry about
the markers.
[snip]
> 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);
> #endif
>
> make_decl_rtl is also sometimes called implicitly by "DECL_RTL". Any uses
> of DECL_RTL need to be replaced with DECL_LLVM. If you have questions on
> a particular use, I'd be happy to help.
OK, that makes...