http://llvm.org/bugs/show_bug.cgi?id=3223


Jeffrey Yasskin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #4 from Jeffrey Yasskin <[email protected]>  2008-12-18 14:46:20 
---
This is better, but not fixed. After syncing llvm-gcc to head, gdb output on
the same test program follows:

(gdb) b main
Breakpoint 1 at 0x400438: file bad_types.c, line 2.
(gdb) run
Starting program: /home/jyasskin/tmp/bad_types 

Breakpoint 1, main () at bad_types.c:2
2         char* ptr = "Hello";
(gdb) n
3         int i = 2;
(gdb) n
4         int arr[] = {1,2,3,4};
(gdb) n
5       }
(gdb) p ptr
$1 = (void *) 0x400570
(gdb) p i
$2 = 2
(gdb) p arr
$3 = {1, 2, 3, 4}
(gdb) 


The pointer's type is still lost.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to