Displaying 2 results from an estimated 2 matches for "reg213".
Did you mean:
reg2613
2002 Nov 01
2
[LLVMdev] totally lost
...ssage:
xli3|csil-suna38|~/mp2|[25]% llvmgcc testcase3.c
testcase3.c: In function `init':
testcase3.c:5: warning: cast to pointer from integer of different size
/usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-lib/llvm/3.1/as:
/var/tmp//cc7nkKdc.s:428: Redefinition of value named 'reg213' in the 'int
*' type plane!
My code:
/* --------------------testcase -----------------------*/
#include <stdio.h>
int *init(int size)
{
int *a = (int *)malloc(size);
return a;
}
int main()
{
int *c;
c = init(5);
printf("c[1]=%d\n"...
2002 Nov 01
0
[LLVMdev] totally lost
...a38|~/mp2|[25]% llvmgcc testcase3.c
> testcase3.c: In function `init':
> testcase3.c:5: warning: cast to pointer from integer of different size
> /usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-lib/llvm/3.1/as:
> /var/tmp//cc7nkKdc.s:428: Redefinition of value named 'reg213' in the 'int
> *' type plane!
>
> My code:
> /* --------------------testcase -----------------------*/
> #include <stdio.h>
> int *init(int size)
> {
> int *a = (int *)malloc(size);
> return a;
> }
> int main()
> {
> i...