[Bug tree-optimization/104196] [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2022-01-23 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104196

Serge Belyshev  changed:

   What|Removed |Added

 CC||belyshev at depni dot 
sinp.msu.ru

--- Comment #7 from Serge Belyshev  ---
(In reply to Andrew Pinski from comment #6)
> Here is a new testcase where we have the same IR (including the range) in
> GCC 11.2.0 and the trunk:
> ...
> 
> It would be useful to run a bisect on this new one.

Fails since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

[Bug libgomp/66005] libgomp make check time is excessive

2022-01-21 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66005

Serge Belyshev  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||belyshev at depni dot 
sinp.msu.ru
 Ever confirmed|0   |1
   Last reconfirmed||2022-01-21

--- Comment #1 from Serge Belyshev  ---
Confirmed, affects testing via qemu even on modern hardware.

On 32 thread amd64 zen3 box testsuite except libgomp completes in about 150
minutes,  libgomp adds 30..40 minutes to that.

[Bug middle-end/104140] [12 Regression] ICE verify_gimple failed: type mismatch in binary expression since r12-6434-g0752c75536e

2022-01-21 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104140

Serge Belyshev  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Serge Belyshev  ---
Fixed.

[Bug middle-end/104140] New: [12 Regression] ICE verify_gimple failed: type mismatch in binary expression since r12-6434-g0752c75536e

2022-01-19 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104140

Bug ID: 104140
   Summary: [12 Regression] ICE verify_gimple failed: type
mismatch in binary expression since
r12-6434-g0752c75536e
   Product: gcc
   Version: 12.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: belyshev at depni dot sinp.msu.ru
  Target Milestone: ---

$ cat bug.c

int x;
unsigned u, v;
void f (void)
{
  long long y = x;
  u = y * v >> 32;
}
void g (void) { f (); }

$ gcc bug.c -S -O2 -march=rv32im -mabi=ilp32  # or: -march=rv32g -mabi=ilp32d
bug.c: In function 'g':
bug.c:8:6: error: type mismatch in binary expression
8 | void g (void) { f (); }
  |  ^
int

int

unsigned int

highparttmp_10 = x.0_2 h* v.1_4;
during GIMPLE pass: widening_mul
bug.c:8:6: internal compiler error: verify_gimple failed
...

Found during bootstrap on riscv32 when compiling attribs.c.
Bisected to r12-6434-g0752c75536e:

Author: Roger Sayle 
Date:   Tue Jan 11 12:30:44 2022 +

Recognize MULT_HIGHPART_EXPR in tree-ssa-math-opts pass.

[Bug debug/99090] gsplit-dwarf broken on riscv64-linux

2021-08-20 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99090
Bug 99090 depends on bug 91602, which changed state.

Bug 91602 Summary: GCC fails to build for riscv in a combined tree due to 
misconfigured leb128 support
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug target/91602] GCC fails to build for riscv in a combined tree due to misconfigured leb128 support

2021-08-20 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602

Serge Belyshev  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |12.0

--- Comment #17 from Serge Belyshev  ---
Fixed.

[Bug target/91602] GCC fails to build for riscv in a combined tree due to misconfigured leb128 support

2021-07-21 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602

Serge Belyshev  changed:

   What|Removed |Added

   Keywords||patch

--- Comment #15 from Serge Belyshev  ---
(In reply to Serge Belyshev from comment #12)
> Testing a patch that removes in-tree gas version checks along with resulting
> dead code.

Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575744.html

[Bug target/91602] GCC fails to build for riscv in a combined tree due to misconfigured leb128 support

2021-07-16 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602

Serge Belyshev  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |belyshev at depni dot 
sinp.msu.ru

--- Comment #12 from Serge Belyshev  ---
Testing a patch that removes in-tree gas version checks along with resulting
dead code.

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- cross toolchain fails to build

2021-06-13 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017

Serge Belyshev  changed:

   What|Removed |Added

  Build|x86_64-linux-gnu|
   Last reconfirmed|2021-04-21 00:00:00 |2021-6-13
   Host|x86_64-w64-mingw32  |
 CC||belyshev at depni dot 
sinp.msu.ru
 Target|x86_64-w64-mingw32  |
  Known to fail||11.1.1, 12.0
Summary|error: 'fenv_t' has not |[11/12 regression] error:
   |been declared in '::'   |'fenv_t' has not been
   |x86_64-w64-mingw32 host |declared in '::' -- cross
   |cross toolchain fails to|toolchain fails to build
   |build   |

--- Comment #13 from Serge Belyshev  ---
I'm seeing this also with  --build=x86_64-pc-linux-gnux32
--host=riscv-unknown-linux-gnu --target=riscv-unknown-linux-gnu, so not mingw
specific.

[Bug middle-end/91433] Performance Regression when upgrading from 8.3.0 to 9.0

2020-10-01 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91433

Serge Belyshev  changed:

   What|Removed |Added

 CC||belyshev at depni dot 
sinp.msu.ru

--- Comment #10 from Serge Belyshev  ---
(In reply to George Fan from comment #8)
> Please, give me some advise.

Try changing inliner parameters, e.g.  add --param=max-inline-insns-single=400
option to the commandline.

(The default was switched from 400 to 200 in GCC-9)