Bug#737275: Clang crashes on SPARC

2014-04-27 Thread Sylvestre Ledru
Hello Thanks for digging. Could you report it upstream? Thanks On 22 avril 2014 21:36:31 PDT, Richard Allen wrote: >And a little more: > >//Works >int x; >typedef __typeof__(x) int2; > >//Works >typedef __typeof__(0) int_t; > >//Dies >typedef __typeof__((int*)0) intptr_t; > >//Dies >//typedef

Bug#737275: Clang crashes on SPARC

2014-04-24 Thread Sylvestre Ledru
Hello, It would be nice if you could report that upstream. Thanks, Sylvestre On 22/04/2014 21:36, Richard Allen wrote: > And a little more: > > //Works > int x; > typedef __typeof__(x) int2; > > //Works > typedef __typeof__(0) int_t; > > //Dies > typedef __typeof__((int*)0) intptr_t; > > //Dies

Bug#737275: Clang crashes on SPARC

2014-04-22 Thread Richard Allen
And a little more: //Works int x; typedef __typeof__(x) int2; //Works typedef __typeof__(0) int_t; //Dies typedef __typeof__((int*)0) intptr_t; //Dies //typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; On Tue, Apr 22, 2014 at 11:30 PM, Richard Allen wrote: > Hey, got it narrowed down mor

Bug#737275: Clang crashes on SPARC

2014-04-22 Thread Richard Allen
Hey, got it narrowed down more. typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; This crashes clang 3.0, but it appears to be the same problem as was on 3.0 and 3.4. On Sat, Feb 8, 2014 at 7:59 PM, Richard Allen wrote: > 3.4 faults as well. I'm trying to find another Debian/SPARC user on th

Bug#737275: Clang crashes on SPARC

2014-02-01 Thread Sylvestre Ledru
On 31/01/2014 18:18, Richard Allen wrote: > Package: clang > Version: 1.3.0-6.2 > Invoking clang on any 'c' file including crashes the compiler with > a "Bus Error" and a backtrace. Crash log is below. clang 3.0 is starting to be very old. could you have a look to the 3.4 release ? (the lastest)

Bug#737275: Clang crashes on SPARC

2014-01-31 Thread Richard Allen
Package: clang Version: 1.3.0-6.2 Invoking clang on any 'c' file including crashes the compiler with a "Bus Error" and a backtrace. Crash log is below. -Richard rsaxvc@home:~/code$ cat test.c #include rsaxvc@home:~/code$ clang test.c clang: warning: unknow