[Bug tree-optimization/77689] Missing vectorization lead to huge performance loss

2016-09-26 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77689 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #12

[Bug target/77728] [5/6/7 Regression] Miscompilation multiple vector iteration on ARM

2016-09-26 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #2 from Yichao Yu --- I should add that turning on lto works around the issue both in the simple code attached and for the original issue I was having in julia (i.e. compiling llvm with LTO makes the issue go away).

[Bug tree-optimization/77719] [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77719 --- Comment #7 from kugan at gcc dot gnu.org --- Author: kugan Date: Mon Sep 26 18:16:23 2016 New Revision: 240505 URL: https://gcc.gnu.org/viewcvs?rev=240505=gcc=rev Log: Fix PR77719 gcc/testsuite/ChangeLog: 2016-09-26 Kugan Vivekanandarajah

[Bug fortran/77420] [5/6/7 Regression] gfortran and equivalence produces internal compiler error

2016-09-26 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77420 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Sep 26 18:44:36 2016 New Revision: 240506 URL: https://gcc.gnu.org/viewcvs?rev=240506=gcc=rev Log: 2016-09-26 Steven G. Kargl PR

[Bug fortran/77420] [5/6/7 Regression] gfortran and equivalence produces internal compiler error

2016-09-26 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77420 kargl at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug fortran/77746] [5 Regression] Wrong subroutine called, clash of specific procedure name and binding-name

2016-09-26 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77746 --- Comment #1 from Vladimir Fuka --- -fdump-tree-original random_name () { } p_execute (integer(kind=4) & restrict i) { p_execute (); } MAIN__ () { { static integer(kind=4) C.3388 = 1; p_execute (); } } main

[Bug target/77728] [5/6/7 Regression] Miscompilation multiple vector iteration on ARM

2016-09-26 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/77718] [7 Regression] expand_builtin_memcmp swaps args

2016-09-26 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77718 --- Comment #3 from acsawdey at gcc dot gnu.org --- Bernd, I identified the problem on powerpc64le. I think it may not show up on x86_64 because of differences in how builtin memcmp gets expanded. Normally this is hidden because if both strings

[Bug target/60563] FAIL: g++.dg/ext/sync-4.C on *-apple-darwin*

2016-09-26 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60563 --- Comment #13 from mrs at gcc dot gnu.org --- The change in c12 is ok if you'd like to do that. The only problem with it is that then we will not be able to discover when radr://19802258 is fixed. When people notice that that bug is fixed,

[Bug gcov-profile/62267] disable fprofile-use at coverage-mismatch

2016-09-26 Thread ioctl at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62267 --- Comment #3 from ioctl at yandex dot ru --- Unfortunatelly I cannot check it now.

[Bug gcov-profile/62267] disable fprofile-use at coverage-mismatch

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62267 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/77747] New: GCC allows inheriting constructors from indirect base

2016-09-26 Thread vasek.potocek at post dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77747 Bug ID: 77747 Summary: GCC allows inheriting constructors from indirect base Product: gcc Version: 6.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug go/77715] go-system.h includes C++ header files before GCC system.h

2016-09-26 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77715 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug gcov-profile/57115] Cannot merge separate single counters for function

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57115 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/77745] Inconsistent application of aliasing rules

2016-09-26 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77745 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org ---

[Bug tree-optimization/77745] Inconsistent application of aliasing rules

2016-09-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77745 --- Comment #2 from Andrew Pinski --- This is all due to life time of objects rather than aliasing. If c1==c2, the lifetime of p1 ends at the operator new.

[Bug fortran/77666] ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp.c:471

2016-09-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77666 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/77746] New: [5 Regression] Wrong subroutine called, clash of specific procedure name and binding-name

2016-09-26 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77746 Bug ID: 77746 Summary: [5 Regression] Wrong subroutine called, clash of specific procedure name and binding-name Product: gcc Version: 5.3.1 Status: UNCONFIRMED

[Bug tree-optimization/77745] Inconsistent application of aliasing rules

2016-09-26 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77745 --- Comment #3 from Marc Glisse --- I think the issue is with Deleted redundant store MEM[(long int *)c2_7(D)] = 200; It is considered as redundant with MEM[(long long int *)c2_7(D)] = 200; but they do not define the same dynamic type, so it

[Bug libstdc++/77537] [6 Regression] pair constructors do not properly SFINAE

2016-09-26 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77537 --- Comment #11 from Casey Carter --- Thanks again Ville - I owe you a beer in Issaquah.

[Bug target/27077] [x86, 4.1] builtin strlen poor performance

2016-09-26 Thread var at schellong dot biz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27077 --- Comment #8 from Helmut Schellong --- Test case is a special measurement program. See assembler code below: strlen / repnz scasb clock_gettime gcc6 + gcc5 The exact gcc version is not critical. Each gcc that injects an intel string

[Bug libstdc++/77537] [6 Regression] pair constructors do not properly SFINAE

2016-09-26 Thread eric.niebler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77537 --- Comment #12 from Eric Niebler --- Likewise

[Bug libstdc++/77537] [6 Regression] pair constructors do not properly SFINAE

2016-09-26 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77537 Ville Voutilainen changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug libstdc++/77727] Unwrapping std::optional constructor is not working for non-transferable object

2016-09-26 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77727 --- Comment #3 from ville at gcc dot gnu.org --- Author: ville Date: Mon Sep 26 20:51:42 2016 New Revision: 240511 URL: https://gcc.gnu.org/viewcvs?rev=240511=gcc=rev Log: PR libstdc++/77727 * include/std/optional (optional(const

[Bug libstdc++/77727] Unwrapping std::optional constructor is not working for non-transferable object

2016-09-26 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77727 Ville Voutilainen changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/77537] [6 Regression] pair constructors do not properly SFINAE

2016-09-26 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77537 --- Comment #9 from ville at gcc dot gnu.org --- Author: ville Date: Mon Sep 26 19:56:14 2016 New Revision: 240507 URL: https://gcc.gnu.org/viewcvs?rev=240507=gcc=rev Log: Backport from mainline 2016-09-21 Ville Voutilainen

[Bug middle-end/77720] -Wformat-length= wit -O3 emit warning twice with incorrect linenumbers

2016-09-26 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77720 Dmitry G. Dyachenko changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from Dmitry

[Bug middle-end/77740] New: [7 regression] internal compiler error: in format_floating, at gimple-ssa-sprintf.c:1165

2016-09-26 Thread gerald at pfeifer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77740 Bug ID: 77740 Summary: [7 regression] internal compiler error: in format_floating, at gimple-ssa-sprintf.c:1165 Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug rtl-optimization/77714] [7 Regression] Wrong code generation for gcc.c-torture/execute/pr51447.c

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77714 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0 Summary|Wrong code

[Bug libstdc++/65122] std::vector doesn't honor element alignment

2016-09-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65122 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/77739] internal compiler error: in create_tmp_var, at gimple-expr.c:524

2016-09-26 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77739 Markus Trippelsdorf changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug debug/77692] [7 regression] gcc.dg/debug/dwarf2/const-2b.c FAILs

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77692 --- Comment #7 from Richard Biener --- Author: rguenth Date: Mon Sep 26 07:33:33 2016 New Revision: 240483 URL: https://gcc.gnu.org/viewcvs?rev=240483=gcc=rev Log: 2016-09-26 Richard Biener PR debug/77692

[Bug debug/77692] [7 regression] gcc.dg/debug/dwarf2/const-2b.c FAILs

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77692 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/77740] [7 regression] internal compiler error: in format_floating, at gimple-ssa-sprintf.c:1165

2016-09-26 Thread gerald at pfeifer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77740 --- Comment #1 from Gerald Pfeifer --- The minimum invocation to reproduce the issue is /some/where/gcc -c math.i -Wall -O1 Both warnings _and_ at least -O1 are required.

[Bug target/77686] [6/7 Regression] wrong code on arm-linux-gnueabi and arm-linux-gnueabihf

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77686 --- Comment #5 from Richard Biener --- This can only uncover another pre-existing issue as it is a 100% obvious fix. I do not have a good way to run anything on arm so please help me spot the wrong-code in the assembler output. TBAA issues are

[Bug middle-end/77720] -Wformat-length= wit -O3 emit warning twice with incorrect linenumbers

2016-09-26 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77720 Dmitry G. Dyachenko changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/77741] Add a warning about inadvertent converting constructor

2016-09-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77741 --- Comment #1 from Jonathan Wakely --- Without giving any other opinion, non-standard attributes must be scoped, so it would have to be gnu::converting not just converting.

[Bug middle-end/77740] [7 regression] internal compiler error: in format_floating, at gimple-ssa-sprintf.c:1165

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77740 Richard Biener changed: What|Removed |Added Keywords||diagnostic CC|

[Bug debug/77692] [7 regression] gcc.dg/debug/dwarf2/const-2b.c FAILs

2016-09-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77692 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/77722] -fsanitize=undefined doesn't give runtime error in function without return value, unless at least 2 instructions

2016-09-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77722 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/56365] [5 Regression] Missed opportunities for smin/smax standard name patterns when compiling as C++

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56365 --- Comment #15 from Richard Biener --- Keeping it open as it is a regression and to mark the last GCC 5 release as known-to-fail.

[Bug middle-end/77718] [7 Regression] expand_builtin_memcmp swaps args

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77718 Richard Biener changed: What|Removed |Added Keywords||wrong-code

[Bug tree-optimization/77719] [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77719 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug gcov-profile/50228] Incorrect line execution count.

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50228 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/27077] [x86, 4.1] builtin strlen poor performance

2016-09-26 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27077 Thomas Koenig changed: What|Removed |Added Status|RESOLVED|WAITING Last reconfirmed|

[Bug rtl-optimization/71709] powerpc64le: argument to strcpy() optimised out

2016-09-26 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71709 Matthias Klose changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment

[Bug c++/77748] New: pr77550.C fails on arm-none-eabi

2016-09-26 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 Bug ID: 77748 Summary: pr77550.C fails on arm-none-eabi Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-26 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #1 from Christophe Lyon --- Created attachment 39691 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39691=edit preprocessed file

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-26 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #3 from Christophe Lyon --- Created attachment 39693 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39693=edit qemu trace

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-26 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #2 from Christophe Lyon --- Created attachment 39692 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39692=edit assembler code

[Bug middle-end/60962] b+(-2.f)*a generates multiplication instruction while b-2.f*a simplifies to addition

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60962 --- Comment #2 from Richard Biener --- Of course the inconsistency with /* We want to canonicalize to positive real constants. Pretend that only negative ones can be easily negated. */ is that we don't transform x + -2.*y to x

[Bug c++/77741] New: Add a warning about inadvertent converting constructor

2016-09-26 Thread akrzemi1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77741 Bug ID: 77741 Summary: Add a warning about inadvertent converting constructor Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug target/77728] [5/6/7 Regression] Miscompilation multiple vector iteration on ARM

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|

[Bug testsuite/77710] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-4.c

2016-09-26 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77710 --- Comment #2 from Thomas Preud'homme --- (In reply to Martin Sebor from comment #1) > I think this failure may have been inadvertently introduced in r240434. The > failure should be gone now that r240442 has been checked in to adjust the >

[Bug target/77686] [6/7 Regression] wrong code on arm-linux-gnueabi and arm-linux-gnueabihf

2016-09-26 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77686 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC|kyrylo.tkachov at arm dot com | --- Comment #7

[Bug target/77686] [6/7 Regression] wrong code on arm-linux-gnueabi and arm-linux-gnueabihf

2016-09-26 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77686 --- Comment #6 from ktkachov at gcc dot gnu.org --- (In reply to Richard Biener from comment #5) > This can only uncover another pre-existing issue as it is a 100% obvious > fix. I do not have a good way to run anything on arm so please help me

[Bug libstdc++/65122] std::vector doesn't honor element alignment

2016-09-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65122 --- Comment #21 from Jonathan Wakely --- Created attachment 39686 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39686=edit Make new_allocator support types with new-extended alignment This works, but currently produces a warning due to

[Bug tree-optimization/77743] New: bogus -Wformat-length sprintf warnings

2016-09-26 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77743 Bug ID: 77743 Summary: bogus -Wformat-length sprintf warnings Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/77717] testsuite/21_strings/basic_string_view/operations/compare/char/1.cc makes undefined memcmp call

2016-09-26 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77717 --- Comment #2 from ville at gcc dot gnu.org --- Author: ville Date: Mon Sep 26 09:46:19 2016 New Revision: 240486 URL: https://gcc.gnu.org/viewcvs?rev=240486=gcc=rev Log: PR libstdc++/77717 *

[Bug c/7652] -Wswitch-break : Warn if a switch case falls through

2016-09-26 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/65122] std::vector doesn't honor element alignment

2016-09-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65122 --- Comment #23 from Jonathan Wakely --- I think it's supposed to be cover everything, but I'm not sure.

[Bug fortran/48298] [F03] User-Defined Derived-Type IO (DTIO)

2016-09-26 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48298 --- Comment #25 from Paul Thomas --- Author: pault Date: Mon Sep 26 11:15:23 2016 New Revision: 240493 URL: https://gcc.gnu.org/viewcvs?rev=240493=gcc=rev Log: 2016-09-26 Paul Thomas PR fortran/48298 *

[Bug target/27077] [x86, 4.1] builtin strlen poor performance

2016-09-26 Thread var at schellong dot biz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27077 Helmut Schellong changed: What|Removed |Added CC||var at schellong dot biz --- Comment

[Bug target/77686] [6/7 Regression] wrong code on arm-linux-gnueabi and arm-linux-gnueabihf

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77686 --- Comment #8 from Richard Biener --- (In reply to ktkachov from comment #7) > As snippet of the assembly output without scheduling (-fno-schedule-insns2): > .LEHE0: > add r3, sp, #32 > str r5, [sp, #32] < I1 >

[Bug c++/77742] Warning about placement new for over-aligned type

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77742 --- Comment #1 from Richard Biener --- As placement new has no control over the memory alignment the warning looks useless to me. In this particular case we even know statically the memory is well-aligned.

[Bug testsuite/77713] gcc.dg/tree-ssa/builtin-sprintf.c compilation failed to produce executable

2016-09-26 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77713 --- Comment #3 from Thomas Preud'homme --- Test now builds but execution shows a few FAIL: FAIL: test_d_i:266: "%hhi" expected result for "-16657" doesn't match function call return value: 6 not in [1, 4] FAIL: test_d_i:267: "%hhu" expected

[Bug libstdc++/77717] testsuite/21_strings/basic_string_view/operations/compare/char/1.cc makes undefined memcmp call

2016-09-26 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77717 Ville Voutilainen changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/77714] [7 Regression] Wrong code generation for gcc.c-torture/execute/pr51447.c

2016-09-26 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77714 --- Comment #5 from Bernd Edlinger --- (In reply to Thomas Preud'homme from comment #4) > Hi Bernd & Peter, > > Yes the code is still failing on today's trunk. I tested both patch you > propose Bernd and both seems to work. Thanks a lot for

[Bug gcov-profile/23332] FIXME in tree-profile.c: tree_gen_const_delta_profiler not implemented

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23332 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gcov-profile/23332] FIXME in tree-profile.c: tree_gen_const_delta_profiler not implemented

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23332 --- Comment #2 from Martin Liška --- Author: marxin Date: Mon Sep 26 11:04:18 2016 New Revision: 240492 URL: https://gcc.gnu.org/viewcvs?rev=240492=gcc=rev Log: Remove HIST_TYPE_CONST_DELTA counter type (PR gcov-profile/23332) PR

[Bug target/77686] [6/7 Regression] wrong code on arm-linux-gnueabi and arm-linux-gnueabihf

2016-09-26 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77686 --- Comment #9 from ktkachov at gcc dot gnu.org --- Created attachment 39688 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39688=edit Preprocessed source Attaching the preprocessed source. The function in question is: _ZN1C4doCbEv This

[Bug libstdc++/77744] Data race on std::regex_iterator using openmp

2016-09-26 Thread morandidodo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77744 --- Comment #2 from morandidodo at gmail dot com --- (In reply to Jakub Jelinek from comment #1) > If the C++ standards allows these to be used without locking, then it is > likely a bug in libstdc++, not libgomp. Sorry, my fault ;)

[Bug libstdc++/77537] [6 Regression] pair constructors do not properly SFINAE

2016-09-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77537 Jonathan Wakely changed: What|Removed |Added Known to work||5.4.0 Target Milestone|---

[Bug libstdc++/77744] Data race on std::regex_iterator using openmp

2016-09-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77744 Jakub Jelinek changed: What|Removed |Added Component|libgomp |libstdc++ --- Comment #1 from Jakub

[Bug c++/77739] [5/6/7 Regression] internal compiler error: in create_tmp_var, at gimple-expr.c:524

2016-09-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77739 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug debug/77692] [7 regression] gcc.dg/debug/dwarf2/const-2b.c FAILs

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77692 Richard Biener changed: What|Removed |Added CC||seurer at linux dot vnet.ibm.com ---

[Bug lto/77716] [7 regression] test case gcc.dg/debug/dwarf2/const-2.c fails starting with r240228

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77716 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/69539] ICE in expand_UBSAN_NULL, at internal-fn.c:202

2016-09-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539 --- Comment #7 from Jakub Jelinek --- Seems to be related to PR69254, either we should force in some flag_sanitize flag whenever we stream in IFN_UBSAN_* builtins (perhaps depending on which option that was), or throw away the IFN_UBSAN_* calls

[Bug target/69833] Warning during bootstrap of --with-build-config=bootstrap-asan

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69833 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug gcov-profile/68080] gcov returns negative counts

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68080 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gcov-profile/42015] gcov reports incorrect branches executed

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42015 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gcov-profile/62267] disable fprofile-use at coverage-mismatch

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62267 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug gcov-profile/62267] disable fprofile-use at coverage-mismatch

2016-09-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62267 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libgomp/77744] New: Data race on std::regex_iterator using openmp

2016-09-26 Thread morandidodo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77744 Bug ID: 77744 Summary: Data race on std::regex_iterator using openmp Product: gcc Version: 6.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/77744] Data race on std::regex_iterator using openmp

2016-09-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77744 --- Comment #3 from Jonathan Wakely --- The std::thread example is similar, but not the same. The OpenMP version shares f, so is equivalent to creating the std::thread objects with std::ref(f). More importantly, the OpenMP version does not wait

[Bug middle-end/77718] [7 Regression] expand_builtin_memcmp swaps args

2016-09-26 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77718 --- Comment #2 from Bernd Schmidt --- Over here the testcase seems not to arrive in this function, and it prints the same value (-5) twice, which I think is supposed to be expected? Please clarify.

[Bug libstdc++/77744] Data race on std::regex_iterator using openmp

2016-09-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77744 --- Comment #4 from Jonathan Wakely --- This shows the same race, without any library components: struct regex { struct regex_impl { int i; int size() const { return i; } }; regex_impl* p; regex() : p(new regex_impl{42}) { } ~regex() {

[Bug libstdc++/77744] Data race on std::regex_iterator using openmp

2016-09-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77744 --- Comment #5 from Jakub Jelinek --- Pedantically this isn't valid, because you are mixing C++11 features (lambdas) with OpenMP, which doesn't support C++11 even in 4.5, so it is all unspecified behavior. Also, have you built libgomp with

[Bug libstdc++/77744] Data race on std::regex_iterator using openmp

2016-09-26 Thread morandidodo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77744 --- Comment #6 from morandidodo at gmail dot com --- (In reply to Jakub Jelinek from comment #5) > Pedantically this isn't valid, because you are mixing C++11 features > (lambdas) with OpenMP, which doesn't support C++11 even in 4.5, so it is all

[Bug c++/77742] New: Warning about placement new for over-aligned type

2016-09-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77742 Bug ID: 77742 Summary: Warning about placement new for over-aligned type Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug rtl-optimization/77714] [7 Regression] Wrong code generation for gcc.c-torture/execute/pr51447.c

2016-09-26 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77714 --- Comment #4 from Thomas Preud'homme --- Hi Bernd & Peter, Yes the code is still failing on today's trunk. I tested both patch you propose Bernd and both seems to work. Thanks a lot for such a quick fix!

[Bug libstdc++/65122] std::vector doesn't honor element alignment

2016-09-26 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65122 --- Comment #22 from Marc Glisse --- (In reply to Jonathan Wakely from comment #20) > In C++17 std::allocator no longer says "It is implementation-defined whether > over-aligned types are supported" and is no longer required to call operator >

[Bug tree-optimization/77745] [5/6/7 Regression] Inconsistent application of aliasing rules

2016-09-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77745 Andrew Pinski changed: What|Removed |Added Known to work||4.5.0 Target Milestone|---

[Bug rtl-optimization/77714] [7 Regression] Wrong code generation for gcc.c-torture/execute/pr51447.c

2016-09-26 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77714 --- Comment #6 from Bernd Edlinger --- Author: edlinger Date: Tue Sep 27 04:54:49 2016 New Revision: 240518 URL: https://gcc.gnu.org/viewcvs?rev=240518=gcc=rev Log: 2016-09-27 Bernd Edlinger PR

[Bug tree-optimization/77677] [7 Regression] ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-09-26 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77677 --- Comment #11 from kugan at gcc dot gnu.org --- Author: kugan Date: Tue Sep 27 03:41:14 2016 New Revision: 240517 URL: https://gcc.gnu.org/viewcvs?rev=240517=gcc=rev Log: Fix ipa-vrp convert value_range gcc/ChangeLog: 2016-09-27 Kugan

[Bug tree-optimization/77745] Inconsistent application of aliasing rules

2016-09-26 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77745 Markus Trippelsdorf changed: What|Removed |Added Keywords||wrong-code

[Bug target/77730] Fortran performance on aarch64 (6/7 regression heads-up)

2016-09-26 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77730 --- Comment #6 from PeteVine --- There's definitely a problem with mcpu/mtune in GCC6 to the point I wasn't able to get the expected performance back, please look here: http://openbenchmarking.org/result/1609269-LO-GCRYPTAAR21 BTW, that

[Bug c++/77747] GCC allows inheriting constructors from indirect base

2016-09-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77747 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid

[Bug rtl-optimization/77416] [7 Regression] LRA rematerializing use of CA reg across function call

2016-09-26 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77416 --- Comment #12 from Segher Boessenkool --- The testcase also fails for -m64 for me (on BE). I have -m64 explicitly in the RUNTESTFLAGS. The testcase has /* { dg-skip-if "do not override -mcpu" { powerpc64*-*-* } { "-mcpu=*" } {

  1   2   >