[LLVMbugs] [Bug 15619] New: dragonegg svn on FSF gcc 4.8.0 fails to compile

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 28 10:52:47 PDT 2013


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

            Bug ID: 15619
           Summary: dragonegg svn on FSF gcc 4.8.0 fails to compile
           Product: dragonegg
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: New Bugs
          Assignee: baldrick at free.fr
          Reporter: howarth at nitro.med.uc.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Current llvm/dragonegg svn fails to compile against FSF gcc 4.8.0 (with the
missing target.h, target.def and target-hooks-macros.h headers manually
installed in the plugin includes directory). The build on x86_64-apple-darwin12
fails with...

c++ -c -I/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/include/x86
-I/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/include/darwin -g 
-DENABLE_BUILD_WITH_CXX -DENABLE_LTO -I/sw/include -I/sw/opt/llvm-3.3/include  
 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-fno-rtti -MD -MP -DIN_GCC -DLLVM_VERSION=\"3.3svn\"
-DTARGET_TRIPLE=\"x86_64-apple-darwin12.3.0\" -DGCC_MAJOR=4 -DGCC_MINOR=8
-DGCC_MICRO=0 -I/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/include
-isystem/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include
-Wall -Wextra -DENABLE_LLVM_PLUGINS -I/sw/opt/llvm-3.3/include  -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wmissing-field-initializers -pedantic -Wno-long-long  -Wnon-virtual-dtor -O3
-DNDEBUG  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:837:31:
error: call to 'dyn_cast' is ambiguous
    if (varpool_node *vnode = dyn_cast <varpool_node> (node))
                              ^~~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = varpool_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = varpool_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:848:32:
error: call to 'dyn_cast' is ambiguous
    if (varpool_node *vnode1 = dyn_cast <varpool_node> (node1))
                               ^~~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = varpool_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = varpool_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:865:29:
error: call to 'dyn_cast' is ambiguous
      varpool_node *vnode = dyn_cast <varpool_node> (node);
                            ^~~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = varpool_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = varpool_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:879:30:
error: call to 'dyn_cast' is ambiguous
      varpool_node *vnode1 = dyn_cast <varpool_node> (node1);
                             ^~~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = varpool_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = varpool_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:898:29:
error: call to 'dyn_cast' is ambiguous
      varpool_node *vnode = dyn_cast <varpool_node> (node);
                            ^~~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = varpool_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = varpool_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:912:30:
error: call to 'dyn_cast' is ambiguous
      varpool_node *vnode1 = dyn_cast <varpool_node> (node1);
                             ^~~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = varpool_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = varpool_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = varpool_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:930:25:
error: call to 'dyn_cast' is ambiguous
      cgraph_node *cn = dyn_cast <cgraph_node> (node);
                        ^~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = cgraph_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = cgraph_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:944:26:
error: call to 'dyn_cast' is ambiguous
      cgraph_node *cn1 = dyn_cast <cgraph_node> (node1);
                         ^~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = cgraph_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = cgraph_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:962:27:
error: call to 'dyn_cast' is ambiguous
    if (cgraph_node *cn = dyn_cast <cgraph_node> (node))
                          ^~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = cgraph_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = cgraph_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:973:28:
error: call to 'dyn_cast' is ambiguous
    if (cgraph_node *cn1 = dyn_cast <cgraph_node> (node1))
                           ^~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = cgraph_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = cgraph_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:1001:25:
error: call to 'dyn_cast' is ambiguous
      cgraph_node *cn = dyn_cast <cgraph_node> (node);
                        ^~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = cgraph_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = cgraph_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
In file included from
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:85:
In file included from
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/tree-flow.h:30:
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/cgraph.h:1015:26:
error: call to 'dyn_cast' is ambiguous
      cgraph_node *cn1 = dyn_cast <cgraph_node> (node1);
                         ^~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = cgraph_node, Y = symtab_node_def]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = cgraph_node, U = symtab_node_def]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = cgraph_node, Y = symtab_node_def *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:510:8:
error: attempt to use a poisoned identifier
#ifdef IDENT_ASM_OP
       ^
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:897:23:
error: no member named 'decl' in 'cgraph_node'
      target = fnode->decl;
               ~~~~~  ^
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:899:23:
error: no member named 'decl' in 'varpool_node'
      target = vnode->decl;
               ~~~~~  ^
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:917:32:
error: call to 'dyn_cast' is ambiguous
      if (GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
                               ^~~~~~~~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = llvm::GlobalVariable, Y = llvm::GlobalValue]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = llvm::GlobalVariable, U = llvm::GlobalValue]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = llvm::GlobalVariable, Y = llvm::GlobalValue *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = llvm::GlobalVariable, Y = llvm::GlobalValue *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:921:30:
error: call to 'dyn_cast' is ambiguous
      else if (Function *F = dyn_cast<Function>(V))
                             ^~~~~~~~~~~~~~~~~~
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:275:9: note: candidate function
[with X = llvm::Function, Y = llvm::GlobalValue]
>::type dyn_cast(Y *Val) {
        ^
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/is-a.h:193:1:
note: candidate function [with T = llvm::Function, U = llvm::GlobalValue]
dyn_cast (U *p)
^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:267:44: note: candidate
function [with X = llvm::Function, Y = llvm::GlobalValue *]
inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
                                           ^
/sw/opt/llvm-3.3/include/llvm/Support/Casting.h:262:50: note: candidate
function [with X = llvm::Function, Y = llvm::GlobalValue *]
inline typename cast_retty<X, const Y>::ret_type dyn_cast(const Y &Val) {
                                                 ^
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:965:56:
error: no member named 'ref_list' in 'varpool_node'
  for (int i = 0; ipa_ref_list_refering_iterate(&node->ref_list, i, ref); i++)
                                                 ~~~~  ^
/sw/src/fink.build/dragonegg-gcc48-3.3-0/dragonegg-3.3/src/Backend.cpp:967:36:
error: use of undeclared identifier 'ipa_ref_refering_varpool_node'; did you
mean
      'ipa_ref_referring_varpool_node'?
      struct varpool_node *alias = ipa_ref_refering_varpool_node(ref);
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   ipa_ref_referring_varpool_node
/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin12.3.0/4.8.0/plugin/include/ipa-ref-inline.h:47:1:
note: 'ipa_ref_referring_varpool_node' declared here
ipa_ref_referring_varpool_node (struct ipa_ref *ref)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130328/87494f1e/attachment.html>


More information about the llvm-bugs mailing list