[LLVMbugs] [Bug 3446] New: aliases with different types

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jan 30 11:43:03 PST 2009


           Summary: aliases with different types
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu

$ llvm-gcc testcase-min.i  -c -O1
testcase-min.i:16: error:  Alias ‘__thread_start__key’ used with invalid

Testcase is from dietlibc, gcc accepts this:

typedef signed int int32_t;
     typedef int32_t pid_t;
     typedef struct _pthread_descr_struct*_pthread_descr;
     typedef int pthread_once_t;
     struct _pthread_descr_struct {
     pid_t pid;
     typedef struct __thread_manager_func {
     static _pthread_descr manager_thread;
     static pthread_once_t __thread_started=0;
     static int __thread_nop() {
     void __thread_start__key(_pthread_descr td)
     static void* __managed_start(void*arg) {
     _pthread_descr td;
     static void __manager_thread_init() {
-1)-1),manager_thread))==-1) __libc_exit(43);
     static void __thread_init() {
     static int __MGR_send(void(*f)(void*),void*arg) {
     return ({
  long ret;
     int __thread_send_manager(void(*f)(void*),void*arg)

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.

More information about the llvm-bugs mailing list