Commit 52c91d3a by Jason Merrill

* g++.dg/opt/pr82577: Fix for C++17.

From-SVN: r254021
parent 33029fa9
// { dg-additional-options "-O2" }
// PR c++/82577 ICE when optimizing
#if __cplusplus > 201500L
// register is no longer a keyword in C++17.
#define register
#endif
class a {
public:
int *b();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment