Help restricting args of an intrinsic function

Richard Henderson rth@redhat.com
Tue Feb 3 00:39:00 GMT 2004


On Mon, Feb 02, 2004 at 04:29:31PM -0800, Syd Polk wrote:
> This is the problem I am trying to solve. Line 9 should compile as 
> well. Our competition can do it. We cannot. I am trying to make it 
> work.

The rules for these intrinsics should be absolutely crystal clear.  
The way to make that happen is to fall back on language from the
standard.  The appropriate term is "integer constant expression".

QED.


r~



More information about the Gcc mailing list