[Bug middle-end/90340] Not optimal code when compiling switch-case for size, code increase +35%

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90340 --- Comment #11 from Richard Biener --- (In reply to Martin Liška from comment #6) > I'm curious how much can save following patch: > > diff --git a/gcc/tree-switch-conversion.h b/gcc/tree-switch-conversion.h > index b3bc4b9ddf7..904827fa040 100

[Bug c++/90372] New: [x64][missed optimization] pushes unused r12 onto stack on unique_ptr use

2019-05-06 Thread marc at kdab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90372 Bug ID: 90372 Summary: [x64][missed optimization] pushes unused r12 onto stack on unique_ptr use Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: norma

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2019-05-06 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 --- Comment #19 from rguenther at suse dot de --- On Tue, 7 May 2019, jb at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 > > --- Comment #18 from Janne Blomqvist --- > (In reply to Thomas Koenig from comment #15)

[Bug libstdc++/90371] gcc with newlib do not support std::mutex, std:: thread

2019-05-06 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90371 --- Comment #2 from jojo --- Thanks for your reply:) (In reply to Andrew Pinski from comment #1) > For your target, needs to fully support pthreads and a few other things. > You can look at what is needed via libstdc++/configure.ac and related f

[Bug libstdc++/90371] gcc with newlib do not support std::mutex, std:: thread

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

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2019-05-06 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 --- Comment #18 from Janne Blomqvist --- (In reply to Thomas Koenig from comment #15) > Since we applied the fix for PR 87689 to gcc 7, gcc 8 and gcc 9, > I would suggest that we make -fno-optimize-sibling-calls > the default on these branches.

[Bug libstdc++/90371] New: gcc with newlib do not support std::mutex, std:: thread

2019-05-06 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90371 Bug ID: 90371 Summary: gcc with newlib do not support std::mutex, std:: thread Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal Priori

[Bug target/86444] [X86] Implementation of SSE comi/ucomi intrinsics does not match recent versions of icc, clang, or MSVC

2019-05-06 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86444 --- Comment #1 from Hongtao.liu --- Created attachment 46308 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46308&action=edit Fix-ix86_expand_sse_comi_round.patch Fix ix86_expand_sse_comi_round and add runtime tests for it.

[Bug target/89750] Wrong code for _mm_comi_round_ss

2019-05-06 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89750 --- Comment #2 from Hongtao.liu --- Created attachment 46307 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46307&action=edit Fix-ix86_expand_sse_comi_round.patch Fix ix86_expand_sse_comi_round and add runtime tests for it.

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2019-05-06 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 --- Comment #17 from Steve Kargl --- On Mon, May 06, 2019 at 04:40:08PM +, kargl at gcc dot gnu.org wrote: > > Since we applied the fix for PR 87689 to gcc 7, gcc 8 and gcc 9, > > I would suggest that we make -fno-optimize-sibling-calls > > t

[Bug libstdc++/90370] Does 0 correspond to a POSIX errno value for std::system_category?

2019-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90370 --- Comment #1 from Jonathan Wakely --- This is the cause of the issue described in 4.10 of https://wg21.link/p0824r1 (but the presentation there is wrong: the comparison semantics are clearly defined, the implementation divergence is in whether

[Bug libstdc++/90370] New: Does 0 correspond to a POSIX errno value for std::system_category?

2019-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90370 Bug ID: 90370 Summary: Does 0 correspond to a POSIX errno value for std::system_category? Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/90290] -std=f2008 should reject non-constant stop and error stop codes

2019-05-06 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90290 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon May 6 23:24:32 2019 New Revision: 270928 URL: https://gcc.gnu.org/viewcvs?rev=270928&root=gcc&view=rev Log: 2019-05-06 Steven G. Kargl PR fortran/90290

[Bug middle-end/90340] Not optimal code when compiling switch-case for size, code increase +35%

2019-05-06 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90340 --- Comment #10 from Fredrik Hederstierna --- Tested also gcc-9.1.0 "max_ratio_for_size = 1" just out of curiosity results was similar compared to gcc-8.2.0: Overall CSiBE was 2 417 695 bytes (+4185 bytes, +0.17%) Example file CSiBE "vsprint

[Bug tree-optimization/90271] [missed-optimization] failure to keep variables in registers during "faux" memcpy

2019-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90271 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Mon May 6 21:50:14 2019 New Revision: 270924 URL: https://gcc.gnu.org/viewcvs?rev=270924&root=gcc&view=rev Log: PR tree-optimization/88709 PR tree-optimization/90271

[Bug tree-optimization/88709] Improve store-merging

2019-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88709 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Mon May 6 21:50:14 2019 New Revision: 270924 URL: https://gcc.gnu.org/viewcvs?rev=270924&root=gcc&view=rev Log: PR tree-optimization/88709 PR tree-optimization/90271

[Bug middle-end/90323] powerpc should convert equivalent sequences to vec_sel()

2019-05-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 --- Comment #7 from Segher Boessenkool --- From the combine dump of without_sel: Trying 8, 9 -> 10: 8: r127:V4SI=r124:V4SI^r131:V4SI REG_DEAD r131:V4SI 9: r122:V4SI=r127:V4SI&r130:V4SI REG_DEAD r130:V4SI REG_DEAD r127:V

[Bug middle-end/90323] powerpc should convert equivalent sequences to vec_sel()

2019-05-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 Segher Boessenkool changed: What|Removed |Added Status|WAITING |NEW --- Comment #6 from Segher Boes

[Bug target/90363] or1k: Extra mask insn after load from memory

2019-05-06 Thread shorne at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90363 --- Comment #2 from Stafford Horne --- (In reply to Segher Boessenkool from comment #1) > Trying 13 -> 14: >13: r51:QI=[r50:SI+low(`*.LANCHOR0')] > REG_DEAD r50:SI >14: r43:SI=zero_extend(r51:QI) > REG_DEAD r51:QI > Failed to

[Bug middle-end/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #13 from Martin Sebor --- (In reply to Andrew Pinski from comment #9) > (In reply to Martin Sebor from comment #8) > > This looks very similar to bug 87072. The C test case below is diagnosed by > > GCC 9, 8, and 7. > > > > $ cat a.

[Bug middle-end/90340] Not optimal code when compiling switch-case for size, code increase +35%

2019-05-06 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90340 --- Comment #9 from Fredrik Hederstierna --- I did the test suggested, the results was as follows A. gcc-8.2.0 B. gcc-9.1.0 C. gcc-9.1.0 -fno-jump-tables D. gcc-9.1.0 patched "max_ratio_for_size = 2" Overall CSiBE was A: 2 413 510 bytes B: 2

[Bug middle-end/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #12 from Andrew Pinski --- I doubt there is anything GCC can do it here in a reasonable fashion. I will let someone else reduce the testcase in a reasonable way that shows the problem. Most likely GCC decided that FindAndConstruct sh

[Bug middle-end/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #11 from Andrew Pinski --- Changing DenseMapBase's ValueT &operator[](const KeyT &t) To: { const KeyT Key = t; return FindAndConstruct(Key).second; } This will cause the warning to go away. This comes from: RemapSwizz

[Bug target/90363] or1k: Extra mask insn after load from memory

2019-05-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90363 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme

[Bug middle-end/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #10 from Andrew Pinski --- (In reply to Martin Sebor from comment #8) > This looks very similar to bug 87072. The C test case below is diagnosed by > GCC 9, 8, and 7. More to the point the line number of this reduced testcase is cor

[Bug middle-end/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 Andrew Pinski changed: What|Removed |Added Status|NEW |UNCONFIRMED Ever confirmed|1

[Bug target/90323] powerpc should convert equivalent sequences to vec_sel()

2019-05-06 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 Bill Schmidt changed: What|Removed |Added Keywords||missed-optimization CC|

[Bug middle-end/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug c++/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread alexandre.ganea at ubisoft dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #7 from Alexandre Ganea --- I used the following GCC version for preprocessing/compiling: $ /usr/bin/c++ --version c++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

[Bug c++/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread alexandre.ganea at ubisoft dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #6 from Alexandre Ganea --- ...and the command-line: /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Target/AMDGPU -I/mnt/f/svn/llvm/lib/Target/AMDGPU -Iinclu

[Bug c++/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread alexandre.ganea at ubisoft dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #5 from Alexandre Ganea --- Created attachment 46306 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46306&action=edit preprocessed source Please see attachement.

[Bug c++/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #4 from Andrew Pinski --- Can you attach the original preprocessed source? the original case does look like it looks like a bug.

[Bug c++/90349] missing return with turned on 03 causes infinite loop

2019-05-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90349 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org See A

[Bug target/90323] powerpc should convert equivalent sequences to vec_sel()

2019-05-06 Thread slandden at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 --- Comment #3 from Shawn Landden --- Instead: .globl without_sel .type without_sel, @function without_sel: .LFB0: .cfi_startproc xxlxor 36,34,36 xxland 36,36,35 xxlxor 34,34,36 blr

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2019-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/90323] powerpc should convert equivalent sequences to vec_sel()

2019-05-06 Thread slandden at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 --- Comment #4 from Shawn Landden --- that was compiled with -O3

[Bug target/90323] powerpc should convert equivalent sequences to vec_sel()

2019-05-06 Thread slandden at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 --- Comment #2 from Shawn Landden --- Created attachment 46305 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46305&action=edit test case. These two functions should produce identical code.

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2019-05-06 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 Barry Revzin changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Comment

[Bug target/90323] powerpc should convert equivalent sequences to vec_sel()

2019-05-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 Segher Boessenkool changed: What|Removed |Added Target|powerpc |powerpc*-*-* Status|UNC

[Bug lto/90369] New: error: could not unlink output file

2019-05-06 Thread hoganmeier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90369 Bug ID: 90369 Summary: error: could not unlink output file Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug c++/90366] OpenMP default(none) - std::cerr is diagnosed as "not specified in enclosing 'parallel'", unlike clang

2019-05-06 Thread lebedev.ri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90366 Roman Lebedev changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug sanitizer/90347] [UBSAN] __attribute__((weak))__ results in "declared weak after being used" error

2019-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90347 --- Comment #3 from Marek Polacek --- ubsan_maybe_instrument_reference_or_call sets flag_delete_null_pointer_checks = 1; and then we call tree_single_nonzero_warnv_p -> maybe_nonzero_address -> symtab_node::nonzero_address 1979 if (!DECL_WEAK

[Bug sanitizer/90347] [UBSAN] __attribute__((weak))__ results in "declared weak after being used" error

2019-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90347 --- Comment #2 from Marek Polacek --- Caused by -fsanitize=null.

[Bug c++/90265] [9/10 Regression] ICE in build_call_a at gcc/cp/call.c:396 since r268377

2019-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90265 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/90265] [9/10 Regression] ICE in build_call_a at gcc/cp/call.c:396 since r268377

2019-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90265 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Mon May 6 17:08:08 2019 New Revision: 270919 URL: https://gcc.gnu.org/viewcvs?rev=270919&root=gcc&view=rev Log: PR c++/90265 - ICE with generic lambda. * pt.c (tsubst_

[Bug target/89424] __builtin_vec_ext_v1ti (v, i) results in ICE with variable i (RS6000)

2019-05-06 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89424 --- Comment #1 from kelvin at gcc dot gnu.org --- Author: kelvin Date: Mon May 6 17:00:46 2019 New Revision: 270918 URL: https://gcc.gnu.org/viewcvs?rev=270918&root=gcc&view=rev Log: gcc/ChangeLog: 2019-05-06 Kelvin Nilsen PR target

[Bug c++/90265] [9/10 Regression] ICE in build_call_a at gcc/cp/call.c:396 since r268377

2019-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90265 --- Comment #6 from Jakub Jelinek --- Related to PR90172.

[Bug c++/90265] [9/10 Regression] ICE in build_call_a at gcc/cp/call.c:396 since r268377

2019-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90265 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Mon May 6 16:56:39 2019 New Revision: 270917 URL: https://gcc.gnu.org/viewcvs?rev=270917&root=gcc&view=rev Log: PR c++/90265 - ICE with generic lambda. * pt.c (tsubst_

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2019-05-06 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug c++/90265] [9/10 Regression] ICE in build_call_a at gcc/cp/call.c:396 since r268377

2019-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90265 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/90348] [7/8/9/10 Regression] Partition of char arrays is incorrect in some cases

2019-05-06 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348 --- Comment #7 from Michael Matz --- No, this is not a problem in the stack slot sharing algorithm, but rather in the input. As presented to expand, and only showing the important parts, and reordering some BBs to make the flow more obvious: ;;

[Bug tree-optimization/90316] [8/9 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-06 Thread thanm at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #13 from Than McIntosh --- I've made a stab at revising the test case to try to trigger the long compile time that I'm still seeing the real application code. Still not quite there yet (revised testcase takes maybe a minute to compi

[Bug tree-optimization/90316] [8/9 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-06 Thread thanm at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #11 from Than McIntosh --- Created attachment 46303 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46303&action=edit modified test case (file 1 of 2)

[Bug tree-optimization/90316] [8/9 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-06 Thread thanm at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #12 from Than McIntosh --- Created attachment 46304 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46304&action=edit modified test case (file 2 of 2)

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-06 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #13 from Iain Sandoe --- (In reply to Matt Thompson from comment #12) > (In reply to Iain Sandoe from comment #11) > > (In reply to Matt Thompson from comment #10) > > > (In reply to Iain Sandoe from comment #9) > > > > (In reply to M

[Bug middle-end/90348] [7/8/9/10 Regression] Partition of char arrays is incorrect in some cases

2019-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348 --- Comment #6 from Jakub Jelinek --- We'd probably need to change decl_to_stack_part from hash_map to hash_map that would just map DECL_UIDs which have DECL_RTL_IF_SET equal to pc_rtx to the partition numbers, rather than from decl, or have some

[Bug middle-end/90348] [7/8/9/10 Regression] Partition of char arrays is incorrect in some cases

2019-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c++/90173] [9 Regression] ICE: Segmentation fault (in strip_declarator_types)

2019-05-06 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90173 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/90173] [9 Regression] ICE: Segmentation fault (in strip_declarator_types)

2019-05-06 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90173 --- Comment #7 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon May 6 15:23:37 2019 New Revision: 270915 URL: https://gcc.gnu.org/viewcvs?rev=270915&root=gcc&view=rev Log: /cp 2019-05-06 Paolo Carlini PR c++/90173 *

[Bug c++/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread alexandre.ganea at ubisoft dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #3 from Alexandre Ganea --- Another strange thing, if I change 'SDValue NewBldVec[4];' to 'SDValue NewBldVec[14];' in the code where the issue occurs, the warning goes away. If I set it to 13 or less, the warning is still there. http

[Bug libstdc++/90361] [9/10 Regression] Undefined symbols in libstdc++ when building with --with-default-libstdcxx-abi=gcc4-compatible

2019-05-06 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90361 --- Comment #3 from Viktor Ostashevskyi --- (In reply to Jonathan Wakely from comment #2) > I haven't checked a build with that option for ages, so I can easily believe > I've broken it. I'll take a look tomorrow. It worked well in GCC 8.2.0 at

[Bug c++/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread alexandre.ganea at ubisoft dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #2 from Alexandre Ganea --- Slighly modified version with zero-init variables still shows the warning: https://godbolt.org/z/Mht3uF Andrew: you say "I think you reduced it too much". I simply used "gcc file.cpp -O3 -Warray-bounds | g

[Bug target/89221] --enable-frame-pointer does not work as intended

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

[Bug target/89221] --enable-frame-pointer does not work as intended

2019-05-06 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89221 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Mon May 6 14:58:57 2019 New Revision: 270914 URL: https://gcc.gnu.org/viewcvs?rev=270914&root=gcc&view=rev Log: PR target/89221 * config.gcc (i[34567]86-*-*, x86_

[Bug c++/90367] Spurious warning array subscript is above array bounds

2019-05-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 --- Comment #1 from Andrew Pinski --- I think you reduced it too much. Because with the reduction the warning is correct. j[i] will be accessed above the array bounds. Though j[0] is always equal to j[0].

[Bug testsuite/90368] New: gdc testsuite uses "ln -s . gdc.test", which doesn't work on msys2

2019-05-06 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90368 Bug ID: 90368 Summary: gdc testsuite uses "ln -s . gdc.test", which doesn't work on msys2 Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/90367] New: Spurious warning array subscript is above array bounds

2019-05-06 Thread alexandre.ganea at ubisoft dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367 Bug ID: 90367 Summary: Spurious warning array subscript is above array bounds Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug middle-end/63477] [6/7/8 Regression] Bogus warning with -O3 -Warray-bounds: array subscript is above array bounds

2019-05-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63477 --- Comment #5 from Martin Sebor --- (In reply to Alexandre Ganea from comment #4) The test case has been reduced a little too far -- it reads an uninitialized variable: for (unsigned i;; i++) for (; i;) if (j[i] == j[0]) h.

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-06 Thread matthew.thompson at nasa dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #12 from Matt Thompson --- (In reply to Iain Sandoe from comment #11) > (In reply to Matt Thompson from comment #10) > > (In reply to Iain Sandoe from comment #9) > > > (In reply to Matt Thompson from comment #8) > > > > I don't usu

[Bug tree-optimization/90316] [8/9 Regression] large compile time increase in opt / alias stmt walking for Go example

2019-05-06 Thread thanm at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90316 --- Comment #10 from Than McIntosh --- Update: it looks like we are not out of the woods quite yet -- I am seeing some similar behavior farther into the build. I will try to produce another reduced test case (this one is proving more difficult re

[Bug c/90365] OpenMP default(none) + schedule(dynamic, variable) - difference with clang

2019-05-06 Thread lebedev.ri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90365 Roman Lebedev changed: What|Removed |Added See Also||https://bugs.llvm.org/show_

[Bug sanitizer/90312] Address sanitizer cannot be used with -mabi=ms since r266073

2019-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90312 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug sanitizer/90312] Address sanitizer cannot be used with -mabi=ms since r266073

2019-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90312 --- Comment #7 from Martin Liška --- Author: marxin Date: Mon May 6 14:01:45 2019 New Revision: 270912 URL: https://gcc.gnu.org/viewcvs?rev=270912&root=gcc&view=rev Log: Backport r270899 2019-05-06 Martin Liska Backport from mainli

[Bug c++/90366] New: OpenMP default(none) - std::cerr is diagnosed as "not specified in enclosing 'parallel'", unlike clang

2019-05-06 Thread lebedev.ri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90366 Bug ID: 90366 Summary: OpenMP default(none) - std::cerr is diagnosed as "not specified in enclosing 'parallel'", unlike clang Product: gcc Version: 9.0 Status: UNCONFIRME

[Bug c/90365] OpenMP default(none) + schedule(dynamic, variable) - difference with clang

2019-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90365 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/90365] OpenMP default(none) + schedule(dynamic, variable) - difference with clang

2019-05-06 Thread lebedev.ri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90365 --- Comment #1 from Roman Lebedev --- Forgot to add https://godbolt.org/z/CeVhEu

[Bug c/90365] New: OpenMP default(none) + schedule(dynamic, variable) - difference with clang

2019-05-06 Thread lebedev.ri at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90365 Bug ID: 90365 Summary: OpenMP default(none) + schedule(dynamic, variable) - difference with clang Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 90358, which changed state. Bug 90358 Summary: [10 Regression] 526.blender_r train run does not finish after r270847 on znver1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90358 What|Removed

[Bug tree-optimization/90358] [10 Regression] 526.blender_r train run does not finish after r270847 on znver1

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90358 --- Comment #6 from Richard Biener --- Author: rguenth Date: Mon May 6 13:40:00 2019 New Revision: 270911 URL: https://gcc.gnu.org/viewcvs?rev=270911&root=gcc&view=rev Log: 2019-05-06 Richard Biener PR tree-optimization/90358

[Bug tree-optimization/90358] [10 Regression] 526.blender_r train run does not finish after r270847 on znver1

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90358 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2019-05-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 --- Comment #15 from Thomas Koenig --- Hi Tomas, > I understand the compiler may not know and typically does not whether the > called function accepts "character(len=1)" or "character(len=*)", so it may > have to pass the 1. But the situation wh

[Bug middle-end/63477] [6/7/8 Regression] Bogus warning with -O3 -Warray-bounds: array subscript is above array bounds

2019-05-06 Thread alexandre.ganea at ubisoft dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63477 Alexandre Ganea changed: What|Removed |Added CC||alexandre.ganea at ubisoft dot com --

[Bug libstdc++/90361] [9/10 Regression] Undefined symbols in libstdc++ when building with --with-default-libstdcxx-abi=gcc4-compatible

2019-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90361 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/90361] Undefined symbols in libstdc++ when building with --with-default-libstdcxx-abi=gcc4-compatible

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90361 --- Comment #1 from Richard Biener --- I can link correctly with -D_GLIBCXX_USE_CXX11_ABI=0 have yet to check a build with the gcc4 ABI as default.

[Bug gcov-profile/90364] 521.wrf_r is 9.5 % slower with PGO on Zen CPUs at -Ofast and native march/mtune

2019-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90364 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/90277] Debug Mode test failures

2019-05-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90277 --- Comment #4 from Jonathan Wakely --- (In reply to François Dumont from comment #3) > As stated in my message this patch can be consider as a fix for this PR as > it reserve buckets for 11 buckets so iterators are not invalidated during > execu

[Bug gcov-profile/90364] New: 521.wrf_r is 9.5 % slower with PGO on Zen CPUs at -Ofast and native march/mtune

2019-05-06 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90364 Bug ID: 90364 Summary: 521.wrf_r is 9.5 % slower with PGO on Zen CPUs at -Ofast and native march/mtune Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: n

[Bug tree-optimization/88828] Inefficient update of the first element of vector registers

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88828 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon May 6 12:43:30 2019 New Revision: 270908 URL: https://gcc.gnu.org/viewcvs?rev=270908&root=gcc&view=rev Log: 2019-05-06 Richard Biener PR tree-optimization/88828

[Bug bootstrap/89656] [9 Regression] profiledbootstrap failure on aarch64-linux since r269453

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89656 --- Comment #6 from Richard Biener --- Author: rguenth Date: Mon May 6 12:40:18 2019 New Revision: 270907 URL: https://gcc.gnu.org/viewcvs?rev=270907&root=gcc&view=rev Log: 2019-05-06 Richard Biener PR bootstrap/90359 Backpo

[Bug target/90362] or1k: Soft divide does not work correctly

2019-05-06 Thread shorne at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90362 --- Comment #2 from Stafford Horne --- Originally reported by Richard Selvaggi.

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2019-05-06 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 --- Comment #14 from rguenther at suse dot de --- On Mon, 6 May 2019, tomas.kalibera at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 > > --- Comment #13 from Tomas Kalibera --- > I understand the compiler may not k

[Bug target/90363] or1k: Extra mask insn after load from memory

2019-05-06 Thread shorne at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90363 Stafford Horne changed: What|Removed |Added Target||or1k Status|UNCONFIRMED

[Bug target/90363] New: or1k: Extra mask insn after load from memory

2019-05-06 Thread shorne at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90363 Bug ID: 90363 Summary: or1k: Extra mask insn after load from memory Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targ

[Bug target/90359] [8 Regression] profiled bootstrap fails on aarch64-linux-gnu

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90359 --- Comment #3 from Richard Biener --- Author: rguenth Date: Mon May 6 12:40:18 2019 New Revision: 270907 URL: https://gcc.gnu.org/viewcvs?rev=270907&root=gcc&view=rev Log: 2019-05-06 Richard Biener PR bootstrap/90359 Backpo

[Bug middle-end/89655] GCC crashes building linux kernel for arm 32-bit (culprit r269453)

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89655 --- Comment #9 from Richard Biener --- Author: rguenth Date: Mon May 6 12:40:18 2019 New Revision: 270907 URL: https://gcc.gnu.org/viewcvs?rev=270907&root=gcc&view=rev Log: 2019-05-06 Richard Biener PR bootstrap/90359 Backpo

[Bug target/90359] [8 Regression] profiled bootstrap fails on aarch64-linux-gnu

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90359 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/90328] [7/8/9 Regression] Wrong loop distribution with aliasing

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90328 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon May 6 12:38:35 2019 New Revision: 270906 URL: https://gcc.gnu.org/viewcvs?rev=270906&root=gcc&view=rev Log: 2019-05-06 Richard Biener PR tree-optimization/90328

[Bug tree-optimization/90328] [7/8/9 Regression] Wrong loop distribution with aliasing

2019-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90328 Richard Biener changed: What|Removed |Added Known to work||10.0 Summary|[7/8/9/10 Regre

[Bug target/90362] or1k: Soft divide does not work correctly

2019-05-06 Thread shorne at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90362 Stafford Horne changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/90362] or1k: Soft divide does not work correctly

2019-05-06 Thread shorne at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90362 Stafford Horne changed: What|Removed |Added Target||or1k Status|UNCONFIRMED

  1   2   >