This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/20368] New: internal compiler error: tree check: expected function_type or method_type, have integer_type in start_function, at c-decl.c:5777


after some broken changes to a glibc src file:

abuild@tangelo:~/objglibc-40-O1> /home/abuild/install_gcc40-2-O1/libexec/gcc/powerpc64-unknown-linux-gnu/4.0.0/cc1 -fpreprocessed ~/src/glibc-mainline/math/s_isnan.i -quiet -dumpbase s_isnan.c -mnew-mnemonics -auxbase-strip /home/abuild/objglibc-40-O1/math/s_isnan.os -g -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wno-uninitialized -std=gnu99 -version -fpic -o s_isnan.s                                                                                                                GNU C version 4.0.0 20050306 (prerelease) (powerpc64-unknown-linux-gnu)                                                                                                      compiled by GNU C version 4.0.0 20050306 (prerelease).                                                                                                       GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096                                                                                              ../sysdeps/powerpc/fpu/s_isnan.c:37: error: '__isnanf' undeclared here (not in a function)                                                                           ../sysdeps/powerpc/fpu/s_isnan.c:37: warning: type defaults to 'int' in declaration of '__GI___isnanf'                                                               ../sysdeps/powerpc/fpu/s_isnan.c:37: warning: type defaults to 'int' in declaration of '__isnanf'
../sysdeps/powerpc/fpu/s_isnan.c:41: internal compiler error: tree check: expected function_type or method_type, have integer_type in start_function, at c-decl.c:5777
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: internal compiler error: tree check: expected
                    function_type or method_type, have integer_type in
                    start_function, at c-decl.c:5777
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: olh at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc64-linux
  GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20368


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]