This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/70418] VM structure type specifier in list of parameter declarations within nested function definition ices.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70418

sasho648 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|VM structure type specifier |VM structure type specifier
                   |in  list of parameter       |in list of parameter
                   |declarations function       |declarations within nested
                   |definition                  |function definition ices.

--- Comment #1 from sasho648 at gmail dot com ---
Consider this self-contained example:

main() 
{
    void func(int a, struct {int _[a];} v) {}
}

When compiled it Ices both on GCC 6.0 and GCC 4.8.2 .

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]