[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Re: [Pcc] [Pcc-commit] CVS commit: pcc/cc/ccom
From:       Anders Magnusson <ragge () ludd ! ltu ! se>
Date:       2014-10-13 18:39:32
Message-ID: 543C1C64.3000302 () ludd ! ltu ! se
[Download RAW message or body]

Iain Hibbert skrev den 2014-10-13 20:33:
> On Sat, 11 Oct 2014, Anders Magnusson wrote:
>
>> Modified Files:
>> 	pcc/cc/ccom: pftn.c
>>
>> Log Message:
>> gcc seems to expect alignment of void to be 1, so we conform to that too.
>>
>> To generate a diff of this commit:
>> cvs rdiff -u -r1.392 -r1.393 pcc/cc/ccom/pftn.c
> this broke pcc-tests/regress/c99/types999.c
>
> I guess, that in fact it merely exposed that a void type was not an error
> in itself?  GCC 4.8.3 and Clang 3.5 both provide an error about the
> 	void v1;
>
> statement in the test..
>
Yep, I'm aware of that.  The previous error was "no alignment" for using 
void, so I
thought it would be better to give a useful error :-)  Just haven't 
added it yet...

-- Ragge
_______________________________________________
Pcc mailing list
Pcc@lists.ludd.ltu.se
http://lists.ludd.ltu.se/cgi-bin/mailman/listinfo/pcc
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic