align.h (align_flags): Use member initialization.
gcc/ChangeLog: * align.h (align_flags): Use member initialization. From-SVN: r262892
This commit is contained in:
parent
4df3629eb7
commit
a34ab13587
@ -1,3 +1,7 @@
|
||||
2018-07-19 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
* align.h (align_flags): Use member initialization.
|
||||
|
||||
2018-07-19 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* Makefile.in (OBJS): Add optinfo.o.
|
||||
|
@ -50,8 +50,10 @@ struct align_flags
|
||||
/* Default constructor. */
|
||||
align_flags (int log0 = 0, int maxskip0 = 0, int log1 = 0, int maxskip1 = 0)
|
||||
{
|
||||
levels[0] = {log0, maxskip0};
|
||||
levels[1] = {log1, maxskip1};
|
||||
levels[0].log = log0;
|
||||
levels[0].maxskip = maxskip0;
|
||||
levels[1].log = log1;
|
||||
levels[1].maxskip = maxskip1;
|
||||
normalize ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user