Date: Fri, 17 May 1996 08:42:59 +0200 (MET DST) From: Thomas Sparrevohn <staff@kyklopen.ping.dk> To: Nate Williams <nate@sri.MT.net> Cc: Josh MacDonald <jmacd@CS.Berkeley.EDU>, bug-g++@prep.ai.mit.edu, freebsd-hackers@FreeBSD.org Subject: Re: internal compiler error Message-ID: <Pine.BSF.3.91.960517083854.3405A-100000@kyklopen> In-Reply-To: <199605161430.IAA22882@rocky.sri.MT.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 May 1996, Nate Williams wrote: > > Hmm, it works fine under -stable with 2.6.3. > But unfortunately our gcc gives an internal error when it compiles the following program with "-O" and "-O2" but not "-O3" and with out optimizations: /* * Compilation of the following program with gcc -O (v2.6.3 on FreeBSD 2.1.0) * and (v2.6.3 current) yields: * * gcc: Internal compiler error: program cc1 got fatal signal 10 * */ struct s1 { double x, y, z; }; struct s2 { double r, g, b; }; struct s3 { struct s1 p; struct s2 c; }; void create_light(struct s3 *li, double x, double y, double z, double r, double g, double b) { li->p.x = x; li->p.y = y; li->p.z = z; li->c.r = r; li->c.g = g; li->c.b = b; } > #cheap shot on# > This is one of the reasons why we stick w/older versions of GCC. :) > #cheap shot off# > > > Nate >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960517083854.3405A-100000>