[Bug middle-end/63801] error: templates must have C++ linkage when building with isl and clang

2014-12-08 Thread gcc at ryandesign dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63801 Ryan Schmidt gcc at ryandesign dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug middle-end/63801] error: templates must have C++ linkage when building with isl and clang

2014-11-11 Thread gcc at ryandesign dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63801 --- Comment #5 from Ryan Schmidt gcc at ryandesign dot com --- I see a patch for this has been provided on the mailing list: https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg95468.html It is a long thread and I haven't read all of it.

[Bug middle-end/63801] error: templates must have C++ linkage when building with isl and clang

2014-11-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63801 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|libgcc |middle-end

[Bug middle-end/63801] error: templates must have C++ linkage when building with isl and clang

2014-11-09 Thread gcc at ryandesign dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63801 --- Comment #2 from Ryan Schmidt gcc at ryandesign dot com --- Isn't the extern C coming from lines 32-38 of gcc/graphite-clast-to-gimple.c which in version 5-20141109 say: #if defined(__cplusplus) extern C { #endif #include isl/val_gmp.h #if

[Bug middle-end/63801] error: templates must have C++ linkage when building with isl and clang

2014-11-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63801 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Keywords||build ---

[Bug middle-end/63801] error: templates must have C++ linkage when building with isl and clang

2014-11-09 Thread gcc at ryandesign dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63801 --- Comment #4 from Ryan Schmidt gcc at ryandesign dot com --- Thanks. If I remove the extern C then it fails with: