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



             Bug #: 55398

           Summary: r193595 breaks bootstrap with clang compilers

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: bootstrap

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: howa...@nitro.med.uc.edu





The r193595 causes both Apple clang 4.1 and llvm 3.2 clang svn to fail to

bootstrap gcc trunk with the failure...



clang++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti

-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings

-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long

-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I.

-I. -I../../gcc-4.8-20121119/gcc -I../../gcc-4.8-20121119/gcc/.

-I../../gcc-4.8-20121119/gcc/../include

-I../../gcc-4.8-20121119/gcc/../libcpp/include -I/sw/include -I/sw/include 

-I../../gcc-4.8-20121119/gcc/../libdecnumber

-I../../gcc-4.8-20121119/gcc/../libdecnumber/dpd -I../libdecnumber

-I../../gcc-4.8-20121119/gcc/../libbacktrace -DCLOOG_INT_GMP -I/sw/include

-I/sw/include -I/sw/include ../../gcc-4.8-20121119/gcc/tree-data-ref.c -o

tree-data-ref.o

clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is

deprecated

../../gcc-4.8-20121119/gcc/tree-data-ref.c:1599:31: error: second argument to

'va_arg' is of non-POD type 'affine_fn' (aka 'vec<tree>') [-Wnon-pod-varargs]

    ret->fns[i] = va_arg (ap, affine_fn);

                  ~~~~~~~~~~~~^~~~~~~~~~

/usr/bin/../lib/clang/4.1/include/stdarg.h:35:50: note: expanded from macro

'va_arg'

#define va_arg(ap, type)    __builtin_va_arg(ap, type)

                                                 ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:1665:34: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

          *overlaps_a = conflict_fn (1, affine_fn_cst (integer_zero_node));

                                        ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:1666:34: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

          *overlaps_b = conflict_fn (1, affine_fn_cst (integer_zero_node));

                                        ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:1812:37: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

      *overlaps_a = conflict_fn (1, affine_fn_cst (integer_zero_node));

                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:1813:37: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

      *overlaps_b = conflict_fn (1, affine_fn_cst (integer_zero_node));

                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:1858:39: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

                      *overlaps_a = conflict_fn (1, affine_fn_cst

(integer_zero_node));

                                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:1862:39: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

                      *overlaps_b = conflict_fn (1, affine_fn_cst (tmp));

                                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:1938:39: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

                      *overlaps_a = conflict_fn (1, affine_fn_cst

(integer_zero_node));

                                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:1941:39: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

                      *overlaps_b = conflict_fn (1, affine_fn_cst (tmp));

                                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:2203:37: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

      *overlaps_a = conflict_fn (2, ova1, ova2);

                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:2203:43: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

      *overlaps_a = conflict_fn (2, ova1, ova2);

                                          ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:2204:37: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

      *overlaps_b = conflict_fn (1, ovb);

                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:2208:37: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

      *overlaps_a = conflict_fn (1, affine_fn_cst (integer_zero_node));

                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:2209:37: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

      *overlaps_b = conflict_fn (1, affine_fn_cst (integer_zero_node));

                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:2404:37: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

      *overlaps_a = conflict_fn (1, affine_fn_cst (integer_zero_node));

                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:2405:37: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

      *overlaps_b = conflict_fn (1, affine_fn_cst (integer_zero_node));

                                    ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:2462:34: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

          *overlaps_a = conflict_fn (1, ova);

                                        ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:2463:34: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

          *overlaps_b = conflict_fn (1, ovb);

                                        ^

../../gcc-4.8-20121119/gcc/tree-data-ref.c:2604:11: error: cannot pass object

of non-POD type 'affine_fn' (aka 'vec<tree>') through variadic function; call

will abort at runtime [-Wnon-pod-varargs]

                               affine_fn_univar (build_int_cst (NULL_TREE, x1),

                               ^

fatal error: too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[3]: *** [tree-data-ref.o] Error 1

make[2]: *** [all-stage1-gcc] Error 2

make[1]: *** [stage1-bubble] Error 2

make: *** [all] Error 2

Reply via email to