[Bug c++/87978] New: Local Register Variables Have No Effect When There is A Call Statement Between

2018-11-11 Thread manjian2006 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87978 Bug ID: 87978 Summary: Local Register Variables Have No Effect When There is A Call Statement Between Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity:

[Bug target/87976] [i386] Sub-optimal code generation for _mm256_set1_epi64()

2018-11-11 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87976 --- Comment #4 from Marc Glisse --- (In reply to Andrew Pinski from comment #1) > apinski@xeond:~/src/toolchain-o7$ gcc t6.c -mavx -O2 -S -o - -march=native > .file "t6.c" > .text > .p2align 4,,15 > .globl g >

[Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine

2018-11-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85925 --- Comment #9 from Eric Botcazou --- > I'm running this on all archs, to see what (if anything) degrades. I have both wins and losses, unlike the reversion of the nonzero_bits1 change where I have only losses, but I nevertheless think it's

[Bug rtl-optimization/85727] ICE in simplify_subreg, at simplify-rtx.c:6271

2018-11-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85727 --- Comment #1 from Arseny Solokha --- I cannot reproduce it on the trunk anymore (as of r266019).

[Bug tree-optimization/87977] New: [9 Regression] ICE: verify_ssa failed (error: definition in block 4 follows the use)

2018-11-11 Thread asolokha at gmx dot com
ool) /var/tmp/portage/sys-devel/gcc-9.0.0_alpha2018/work/gcc-9-20181111/gcc/tree-ssa.c:1188 0xc04e8d execute_function_todo /var/tmp/portage/sys-devel/gcc-9.0.0_alpha2018/work/gcc-9-20181111/gcc/passes.c:1932 0xc05c8e execute_todo /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181

[Bug c/69502] attribute aligned reduces alignment contrary to documentation

2018-11-11 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69502 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/69502] attribute aligned reduces alignment contrary to documentation

2018-11-11 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69502 --- Comment #3 from sandra at gcc dot gnu.org --- Author: sandra Date: Mon Nov 12 06:23:16 2018 New Revision: 266025 URL: https://gcc.gnu.org/viewcvs?rev=266025=gcc=rev Log: 2018-11-11 Sandra Loosemore PR c/69502 gcc/

[Bug c/61588] Optimization defaults are not what documentation say they should be

2018-11-11 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61588 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/82110] Concept for default constructing works with new T, not with new T[1]

2018-11-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82110 Eric Gallager changed: What|Removed |Added CC||paolo.carlini at oracle dot com ---

[Bug driver/31357] document that --help and --help= options cannot be combined.

2018-11-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31357 Eric Gallager changed: What|Removed |Added Keywords||easyhack CC|

[Bug middle-end/81512] duplicate note in -Walloca-larger-than and alloca in a return statement

2018-11-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81512 Eric Gallager changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment #3

[Bug target/87976] [i386] Sub-optimal code generation for _mm256_set1_epi64()

2018-11-11 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87976 --- Comment #3 from Thiago Macieira --- Workaround: __m128i value64 = _mm_set_epi64x(0, value); // _mm_cvtsi64_si128(value); asm ("" : "+x" (value64)); __m256i value256 = _mm256_broadcastq_epi64(value64);

[Bug web/79738] Documentation for __attribute__((const)) slightly misleading

2018-11-11 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79738 sandra at gcc dot gnu.org changed: What|Removed |Added CC||msebor at gcc dot gnu.org,

[Bug target/87976] [i386] Sub-optimal code generation for _mm256_set1_epi64()

2018-11-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87976 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew

[Bug target/80820] _mm_set_epi64x shouldn't store/reload for -mtune=haswell, Zen should avoid store/reload, and generic should think about it.

2018-11-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80820 Andrew Pinski changed: What|Removed |Added CC||thiago at kde dot org --- Comment #6

[Bug target/87976] [i386] Sub-optimal code generation for _mm256_set1_epi64()

2018-11-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87976 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/87976] New: [i386] Sub-optimal code generation for _mm256_set1_epi64()

2018-11-11 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87976 Bug ID: 87976 Summary: [i386] Sub-optimal code generation for _mm256_set1_epi64() Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/81436] missing -Wstringop-overflow on strncat to a zero-size buffer

2018-11-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81436 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > Eric, thanks for putting so much effort into helping triage and make > progress on these bugs! FWIW, I think the diagnostic maintainers are mainly > focused on

[Bug tree-optimization/86965] nios2 optimizer forgets about known upper bits of register

2018-11-11 Thread already5chosen at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86965 --- Comment #3 from Michael_S --- (In reply to sandra from comment #1) > I'm not sure what command-line options you were using, but with -O2 the bad2 > case now generates the expected code. > With 8.2.0 the problem exists both with -O2 and

[Bug fortran/59537] No "Automatic array cannot have an initializer", for -finit-real without a SAVE statement present in subroutine

2018-11-11 Thread maik.riechert at arcor dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59537 Maik Riechert changed: What|Removed |Added CC||maik.riechert at arcor dot de ---

[Bug c++/43105] Document restrictions on mixing -fno-rtti and -frtti

2018-11-11 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43105 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/43105] Document restrictions on mixing -fno-rtti and -frtti

2018-11-11 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43105 --- Comment #6 from sandra at gcc dot gnu.org --- Author: sandra Date: Sun Nov 11 22:46:00 2018 New Revision: 266020 URL: https://gcc.gnu.org/viewcvs?rev=266020=gcc=rev Log: 2018-11-11 Sandra Loosemore PR c++/43105 gcc/

[Bug libstdc++/54005] Use __atomic_always_lock_free in libstdc++ is_lock_free instead of __atomic_is_lock_free

2018-11-11 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54005 Hans-Peter Nilsson changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/87975] New: Bad diagnostic context arrow emission when line contains a trigraph (-trigraphs)

2018-11-11 Thread spam at rob1nn dot pw
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87975 Bug ID: 87975 Summary: Bad diagnostic context arrow emission when line contains a trigraph (-trigraphs) Product: gcc Version: 8.2.1 Status: UNCONFIRMED

[Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine

2018-11-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85925 --- Comment #8 from Segher Boessenkool --- I'm running this on all archs, to see what (if anything) degrades.

[Bug other/38768] -fschedule-insns documentation is wrong for x86 and some other targets

2018-11-11 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin*

2018-11-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78444 Uroš Bizjak changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #1

[Bug tree-optimization/18439] vectorizer failed for vector normalization

2018-11-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18439 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2011-05-22 17:43:30 |2018-11-11 CC|

[Bug c/26366] __builtin_expect needs better documentation

2018-11-11 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26366 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/26366] __builtin_expect needs better documentation

2018-11-11 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26366 --- Comment #6 from sandra at gcc dot gnu.org --- Author: sandra Date: Sun Nov 11 18:39:10 2018 New Revision: 266017 URL: https://gcc.gnu.org/viewcvs?rev=266017=gcc=rev Log: 2018-11-11 Sandra Loosemore PR c/26366 gcc/

[Bug c++/58372] internal compiler error: ix86_compute_frame_layout

2018-11-11 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/87928] [7/8/9 Regression] ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607

2018-11-11 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87928 --- Comment #6 from uros at gcc dot gnu.org --- Author: uros Date: Sun Nov 11 17:49:33 2018 New Revision: 266016 URL: https://gcc.gnu.org/viewcvs?rev=266016=gcc=rev Log: PR target/87928 * config/i386/i386.h (STACK_BOUNDARY): Use

[Bug c++/58372] internal compiler error: ix86_compute_frame_layout

2018-11-11 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372 --- Comment #43 from uros at gcc dot gnu.org --- Author: uros Date: Sun Nov 11 17:44:43 2018 New Revision: 266015 URL: https://gcc.gnu.org/viewcvs?rev=266015=gcc=rev Log: Backport from mainline 2018-11-04 Uros Bizjak

[Bug c++/58372] internal compiler error: ix86_compute_frame_layout

2018-11-11 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372 --- Comment #42 from uros at gcc dot gnu.org --- Author: uros Date: Sun Nov 11 17:36:23 2018 New Revision: 266014 URL: https://gcc.gnu.org/viewcvs?rev=266014=gcc=rev Log: Backport from mainline 2018-11-04 Uros Bizjak

[Bug tree-optimization/81436] missing -Wstringop-overflow on strncat to a zero-size buffer

2018-11-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81436 --- Comment #3 from Martin Sebor --- Eric, thanks for putting so much effort into helping triage and make progress on these bugs! FWIW, I think the diagnostic maintainers are mainly focused on the design and implementation of diagnostic

[Bug c++/87974] New: ice in vect_get_vec_def_for_stmt_copy

2018-11-11 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87974 Bug ID: 87974 Summary: ice in vect_get_vec_def_for_stmt_copy Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug ada/87973] New: ICE with pragma Discard_Names and GCC optimisation for x64

2018-11-11 Thread cthowie at netzero dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87973 Bug ID: 87973 Summary: ICE with pragma Discard_Names and GCC optimisation for x64 Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/87968] [7/8/9 Regression] Warning about uninizialized variables in array constructor

2018-11-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87968 --- Comment #2 from Thomas Koenig --- Simplified test case (only one array is needed): program main integer, parameter :: dp = selected_real_kind(15) real(kind=dp) :: v1(3) real(kind=dp), allocatable :: vv(:) v1 = [1._dp, 2._dp, 3._dp]

[Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine

2018-11-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85925 --- Comment #7 from Eric Botcazou --- For the testcase, the tentative fix adds only one instruction: --- pr85925_0.s 2018-11-11 16:14:32.883280168 +0100 +++ pr85925.s 2018-11-11 16:16:34.734727859 +0100 @@ -38,6 +38,7 @@ ldreq lr,

[Bug ada/87972] New: remove -f*-prefix-map= options from Ada Library Information files

2018-11-11 Thread nicolas at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87972 Bug ID: 87972 Summary: remove -f*-prefix-map= options from Ada Library Information files Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine

2018-11-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85925 Eric Botcazou changed: What|Removed |Added Attachment #44982|0 |1 is obsolete|

[Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine

2018-11-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85925 --- Comment #5 from Eric Botcazou --- Created attachment 44982 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44982=edit Tentative fix I'm going to evaluate it on ARM and SPARC wrt pessimization.

[Bug d/87824] x86_64-linux multilib issues

2018-11-11 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87824 --- Comment #6 from Iain Buclaw --- (In reply to Johannes Pfau from comment #5) > Iain, is there a specific reason why we don't have i686 on the GDC/buildkite > CI? We could simply run a QEMU/KVM VM on a x86_64 host for this. > > And when

[Bug d/87824] x86_64-linux multilib issues

2018-11-11 Thread johannespfau at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87824 Johannes Pfau changed: What|Removed |Added CC||johannespfau at gmail dot com ---