Re: Segfault while compiling simple program

2015-12-16 Thread Claude via Digitalmars-d-learn
I tested it on linux (64-bit distro), and it segfaults as well: - $ echo "struct S { ushort a, b; ubyte c, d; } struct T { ushort e; S s; }" > test.d $ dmd -v test.d binarydmd version v2.069.0 config/etc/dmd.conf parse test importall test importobject

Re: Segfault while compiling simple program

2015-12-16 Thread John Colvin via Digitalmars-d-learn
On Wednesday, 16 December 2015 at 10:15:49 UTC, Saurabh Das wrote: On Wednesday, 16 December 2015 at 10:07:38 UTC, Saurabh Das wrote: On Wednesday, 16 December 2015 at 09:38:24 UTC, Ali Çehreli wrote: On 12/16/2015 01:26 AM, Saurabh Das wrote: struct xlref { ushort rwFirst; ushort

Re: Segfault while compiling simple program

2015-12-16 Thread Kagamin via Digitalmars-d-learn
I use dpaste to test compilation on linux.

Re: Segfault while compiling simple program

2015-12-16 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-12-16 11:51, John Colvin wrote: I'd say list it as 'all', chances are it crashes the same on linux as well. If it's an ICE, it's very likely it applies to all platforms. Unless you get an assert/crash in a platform specific file in DMD. -- /Jacob Carlborg

Segfault while compiling simple program

2015-12-16 Thread Saurabh Das via Digitalmars-d-learn
struct xlref { ushort rwFirst; ushort rwLast; ubyte colFirst; ubyte colLast; } struct xlmref { ushort count; xlref reflist; } Mac OS X (dmd 2.069.0) === dmd dprob.d Segmentation fault: 11 Windows (dmd 2.069.2) == dmd -v -m64 dprob.d

Re: Segfault while compiling simple program

2015-12-16 Thread John Colvin via Digitalmars-d-learn
On Wednesday, 16 December 2015 at 09:26:33 UTC, Saurabh Das wrote: struct xlref { ushort rwFirst; ushort rwLast; ubyte colFirst; ubyte colLast; } struct xlmref { ushort count; xlref reflist; } Mac OS X (dmd 2.069.0) === dmd dprob.d Segmentation fault:

Re: Segfault while compiling simple program

2015-12-16 Thread Ali Çehreli via Digitalmars-d-learn
On 12/16/2015 01:26 AM, Saurabh Das wrote: struct xlref { ushort rwFirst; ushort rwLast; ubyte colFirst; ubyte colLast; } struct xlmref { ushort count; xlref reflist; } Mac OS X (dmd 2.069.0) === dmd dprob.d Segmentation fault: 11 Compiler bug.

Re: Segfault while compiling simple program

2015-12-16 Thread Saurabh Das via Digitalmars-d-learn
On Wednesday, 16 December 2015 at 09:38:24 UTC, Ali Çehreli wrote: On 12/16/2015 01:26 AM, Saurabh Das wrote: struct xlref { ushort rwFirst; ushort rwLast; ubyte colFirst; ubyte colLast; } struct xlmref { ushort count; xlref reflist; } Mac OS X (dmd 2.069.0)

Re: Segfault while compiling simple program

2015-12-16 Thread Saurabh Das via Digitalmars-d-learn
On Wednesday, 16 December 2015 at 10:07:38 UTC, Saurabh Das wrote: On Wednesday, 16 December 2015 at 09:38:24 UTC, Ali Çehreli wrote: On 12/16/2015 01:26 AM, Saurabh Das wrote: struct xlref { ushort rwFirst; ushort rwLast; ubyte colFirst; ubyte colLast; } struct xlmref {