public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/55398] New: r193595 breaks bootstrap with clang compilers
@ 2012-11-19 21:09 howarth at nitro dot med.uc.edu
  2012-11-19 21:41 ` [Bug bootstrap/55398] " howarth at nitro dot med.uc.edu
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-11-19 21:09 UTC (permalink / raw)
  To: gcc-bugs


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: unassigned@gcc.gnu.org
        ReportedBy: howarth@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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-11-20 16:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-19 21:09 [Bug bootstrap/55398] New: r193595 breaks bootstrap with clang compilers howarth at nitro dot med.uc.edu
2012-11-19 21:41 ` [Bug bootstrap/55398] " howarth at nitro dot med.uc.edu
2012-11-19 21:44 ` pinskia at gcc dot gnu.org
2012-11-19 21:45 ` [Bug bootstrap/55398] [4.8 Regression] var_arg usage with non-POD causes clang to fail to build gcc pinskia at gcc dot gnu.org
2012-11-20  0:03 ` pinskia at gcc dot gnu.org
2012-11-20  0:06 ` [Bug bootstrap/55398] [4.8 Regression] var_arg usage with non-POD pinskia at gcc dot gnu.org
2012-11-20  0:10 ` [Bug middle-end/55398] " pinskia at gcc dot gnu.org
2012-11-20  0:15 ` pinskia at gcc dot gnu.org
2012-11-20 14:13 ` [Bug middle-end/55398] [4.8 Regression] va_arg " dnovillo at gcc dot gnu.org
2012-11-20 16:28 ` dnovillo at gcc dot gnu.org
2012-11-20 16:30 ` dnovillo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).