<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - dragonegg svn on FSF gcc 4.8.0 fails to compile"
   href="http://llvm.org/bugs/show_bug.cgi?id=15619">15619</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>dragonegg svn on FSF gcc 4.8.0 fails to compile
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>dragonegg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>baldrick@free.fr
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>howarth@nitro.med.uc.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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]
<span class="quote">>::type dyn_cast(Y *Val) {</span >
        ^
/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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>