[LLVMbugs] [Bug 10765] New: dejagnu test fails to compile g++.dg/ext/vla9.C

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 25 21:18:56 PDT 2011


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

           Summary: dejagnu test fails to compile g++.dg/ext/vla9.C
           Product: clang
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rkotler at mips.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7144)
 --> (http://llvm.org/bugs/attachment.cgi?id=7144)
vla9.c

this compiles with g++ and intel edg based compiler

/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/ext/vla9.C:13:12: error: cannot
      initialize a variable of type 'double (*)[nx][ny]' with an rvalue of type
      'double (*)[nx][ny]'
  double (*x2d)[nx][ny]=(double(*)[nx][ny])x1d;
           ^            ~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

-- 
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