[Bug rtl-optimization/80491] [7 Regression] Compiler regression for long-add case.

2019-11-14 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491

Segher Boessenkool  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #18 from Segher Boessenkool  ---
Reopening then, comments 15..17 say it is not fixed yet.

[Bug rtl-optimization/80491] [7 Regression] Compiler regression for long-add case.

2019-11-14 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491

--- Comment #17 from Vincent Lefèvre  ---
(In reply to Jakub Jelinek from comment #12)
> Fixed on the trunk.

I tested with

gcc (Debian 20191008-1) 10.0.0 20191008 (experimental) [trunk revision 276697]

and the bug still occurs. Maybe another regression?

[Bug rtl-optimization/80491] [7 Regression] Compiler regression for long-add case.

2019-11-14 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491

--- Comment #16 from Vincent Lefèvre  ---
(In reply to Richard Biener from comment #14)
> Fixed for GCC 8.

With gcc-8 (Debian 8.3.0-24) 8.3.0, it is not fixed (OK with -O1, not with
-O3). And there does not seem to be a reference to this bug in the svn log.

[Bug rtl-optimization/80491] [7 Regression] Compiler regression for long-add case.

2019-11-14 Thread zimmerma+gcc at loria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491

Paul Zimmermann  changed:

   What|Removed |Added

 CC||zimmerma+gcc at loria dot fr

--- Comment #15 from Paul Zimmermann  ---
I just checked with gcc 9.2.1 20191109 (Debian 9.2.1-19) and it seems -O1
produces better code than -O3. Is there a non-regression test?

$ gcc -S -O3 test.cc -o-
.file   "test.cc"
.text
.p2align 4
.globl  _Z3addR4pairS0_
.type   _Z3addR4pairS0_, @function
_Z3addR4pairS0_:
.LFB0:
.cfi_startproc
movq(%rsi), %rax
xorl%ecx, %ecx
addq(%rdi), %rax
setc%cl
movq8(%rsi), %rdx
addq8(%rdi), %rdx
addq%rcx, %rdx
ret
.cfi_endproc
.LFE0:
.size   _Z3addR4pairS0_, .-_Z3addR4pairS0_
.ident  "GCC: (Debian 9.2.1-19) 9.2.1 20191109"
.section.note.GNU-stack,"",@progbits

$ gcc -S -O1 test.cc -o-
.file   "test.cc"
.text
.globl  _Z3addR4pairS0_
.type   _Z3addR4pairS0_, @function
_Z3addR4pairS0_:
.LFB0:
.cfi_startproc
movq(%rdi), %rax
movq8(%rsi), %rdx
addq(%rsi), %rax
adcq8(%rdi), %rdx
ret
.cfi_endproc
.LFE0:
.size   _Z3addR4pairS0_, .-_Z3addR4pairS0_
.ident  "GCC: (Debian 9.2.1-19) 9.2.1 20191109"
.section.note.GNU-stack,"",@progbits

[Bug rtl-optimization/80491] [7 Regression] Compiler regression for long-add case.

2019-11-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491

Richard Biener  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
  Known to work||8.0
 Resolution|--- |FIXED
   Target Milestone|7.5 |8.0
  Known to fail||7.5.0

--- Comment #14 from Richard Biener  ---
Fixed for GCC 8.

[Bug rtl-optimization/80491] [7 Regression] Compiler regression for long-add case.

2018-12-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.4 |7.5