On Tue, May 21, 2019 at 10:32 AM Martin Liška <mli...@suse.cz> wrote: > > Hi. > > There's a regression I see after the transition to python3: > > $ cat /tmp/patch > diff --git a/gcc/testsuite/gcc.dg/pr90263.c b/gcc/testsuite/gcc.dg/pr90263.c > index acf3db16640..3222a5331c1 100644 > --- a/gcc/testsuite/gcc.dg/pr90263.c > +++ b/gcc/testsuite/gcc.dg/pr90263.c > @@ -1,5 +1,6 @@ > /* PR middle-end/90263 */ > /* { dg-do compile } */ > +/* { dg-options "-O2" } */ > /* { dg-require-effective-target glibc } */ > > int *f (int *p, int *q, long n) > > $ ~/Programming/gcc/contrib/mklog /tmp/patch > Traceback (most recent call last): > File "/home/marxin/Programming/gcc/contrib/mklog", line 470, in <module> > main() > File "/home/marxin/Programming/gcc/contrib/mklog", line 388, in main > diffs = parse_patch(contents) > File "/home/marxin/Programming/gcc/contrib/mklog", line 273, in parse_patch > lines = contents.split('\n') > TypeError: a bytes-like object is required, not 'str' > > Thanks, > Martin
Oof, thanks for the report, looking into it! -- Janne Blomqvist