[Bug c/93949] New: Register const local var will not compile

tydeman at tybor dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 26 15:24:00 GMT 2020


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

            Bug ID: 93949
           Summary: Register const local var will not compile
           Product: gcc
           Version: 9.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tydeman at tybor dot com
  Target Milestone: ---

This valid code will not compile.

int main(void){
  register const double d[3] = { 0., 1., 2. };
  return 0;
}


More information about the Gcc-bugs mailing list