This is the mail archive of the gcc@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] |
The two problems which I face are as below
#1
I have writien the md file and defined the target macros as
required. When I try to build the cross compiler fully, it fails at
compiling the libgcc2.c with the builtup xgcc - saying
./libgcc2.c:305: Internal compiler error in 'canon_hash', at cse.c:2269
May anyone help me in fixing the error.
#2
When I try to get the assembly dump of a sample - simple program
main()
{
int
i,j,k;
i
= 5;
j
= 10;
k=i+j;
}
it gives me an error saying
internal error-unrecognizable
insn:
(call_insn 7 6 9
(parallel [
(call (mem:SI (symbol_ref:SI ("__main")) 0)
(const_int 0 [0x0] ))
(clobber (reg:SI 13 %R13))
] ) -1 (nil)
(nil)
(nil))
I have defined the machine descriptions as follows.
(define_expand
"call"
[ ( parallel [ ( call(match_operand 0 "memory_operand" "")
(match_operand 1 "general_operand" ""))
(clobber (reg:SI 13))] )]
""
"")
(define_insn
"*call_mem"
[ ( call (mem: SI (match_operand:SI 0 "memory_operand" "m"))
(const_int 0))
(clobber (reg:SI 13))]
"GET_CODE(operands[1]) == SYMBOL_REF"
"b\\t%0"
)
Do I have to define any other pattern to get rid off this error? / is
there any other
way to resolve this?
-rgds
N.Siva
---------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:mailadmin@wipro.com and delete this mail from your records. ----------------------------------------------------------------------------------------------------------------------
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |