[Bug middle-end/17909] [4.0 Regression] ICE: verifiy_stms failed

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Sat Oct 9 17:40:00 GMT 2004


------- Additional Comments From schwab at suse dot de  2004-10-09 17:40 -------
This is clearly invalid code, even without the address operator. 
 
18.7.3 The restrictions that ISO C places on the second parameter to the 
va_start() macro in header <stdarg.h> are different in this International 
Standard. The parameter parmN is the identifier of the rightmost parameter in 
the variable parameter list of the function definition (the one just before 
the ...). If the parameter parmN is declared with a function, array, or 
reference type, or with a type that is not compatible with the type that 
results when passing an argument for which there is no parameter, the behavior 
is undefined. 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17909



More information about the Gcc-bugs mailing list