Jakub Jelinek <jakub at gcc dot> changed:

           What    |Removed                     |Added
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-03-02
                 CC|                            |jakub at gcc dot
   Target Milestone|---                         |7.4
            Summary|internal compiler error: in |[7/8 Regression] internal
                   |build_value_init, at        |compiler error: in
                   |cp/init.c:343               |build_value_init, at
                   |                            |cp/init.c:343
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot> ---
struct S {} a[1];

template <int N>
foo ()
  __attribute__ ((noinline (a[0]))) int c = 0;

Started with r239267, before it has been rejected:

pr84665.C: In function ‘void foo()’:
pr84665.C:7:41: error: wrong number of arguments specified for ‘noinline’
   __attribute__ ((noinline (a[0]))) int c = 0;

Reply via email to