[Bug go/83308] Missing platform definitions for SH in libgo

2017-12-10 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83308 --- Comment #9 from John Paul Adrian Glaubitz --- I have added "sh" to all relevant places and after uncovering a bug in qemu-sh4, I managed to build libgo but the no-fpu variant eventually fails to link: make[4]: Entering directory '/build/gcc-

[Bug java/83360] make gcc failed, cause classpath/tools/tools.zip:0:0: internal compiler error: in java_mangle_resource_name, at java/mangle.c:657

2017-12-10 Thread tottixh10.xianghua at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83360 --- Comment #2 from tottixh10.xianghua at huawei dot com --- (In reply to Andrew Pinski from comment #1) > Java was removed from GCC in GCC 7. GCC 4.9 is no longer supported. Thanks for answering. So I need download GCC 7.x for installation?

[Bug java/83360] make gcc failed, cause classpath/tools/tools.zip:0:0: internal compiler error: in java_mangle_resource_name, at java/mangle.c:657

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

[Bug c/83360] New: make gcc failed, cause classpath/tools/tools.zip:0:0: internal compiler error: in java_mangle_resource_name, at java/mangle.c:657

2017-12-10 Thread tottixh10.xianghua at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83360 Bug ID: 83360 Summary: make gcc failed, cause classpath/tools/tools.zip:0:0: internal compiler error: in java_mangle_resource_name, at java/mangle.c:657 Product: gcc

[Bug tree-optimization/83359] New: [8 Regression] ICE in expand_LOOP_DIST_ALIAS, at internal-fn.c:2362

2017-12-10 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83359 Bug ID: 83359 Summary: [8 Regression] ICE in expand_LOOP_DIST_ALIAS, at internal-fn.c:2362 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-

[Bug driver/83206] -mfpu=auto does not work on ARM (armv7l-unknown-linux-gnueabihf)

2017-12-10 Thread andrewm.roberts at sky dot com
don't specify -mcpu= with =mfpu=auto tested with gcc version 8.0.0 20171210 (experimental) (GCC) /usr/local/gcc/bin/gcc -Q --help=target | grep "mcpu\|mfpu\|march" -march= armv7-a+fp -mcpu= -mfpu=vfpv3-d16 /usr/loca

[Bug middle-end/81889] [7/8 Regression] bogus warnings with -Wmaybe-uninitialized -O3

2017-12-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81889 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #5 fr

[Bug target/83358] [8 Regression] division not converted with Intel tuning since r253934

2017-12-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83358 --- Comment #1 from Markus Trippelsdorf --- The output above is from: % gcc -O2 -mtune=haswell foo.i -S -o -

[Bug target/83358] New: [8 Regression] division not converted with Intel tuning since r253934

2017-12-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83358 Bug ID: 83358 Summary: [8 Regression] division not converted with Intel tuning since r253934 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/83357] [Gcc-optimization] wrong code for elements in a union pointed by two different types of global pointers

2017-12-10 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83357 --- Comment #1 from Yibiao Yang --- # gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with:

[Bug tree-optimization/83357] New: [Gcc-optimization] wrong code for elements in a union pointed by two different types of global pointers

2017-12-10 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83357 Bug ID: 83357 Summary: [Gcc-optimization] wrong code for elements in a union pointed by two different types of global pointers Product: gcc Version: 7.2.0 Status: UNCONFI

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42828|0 |1 is obsolete|

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42827|0 |1 is obsolete|

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42823|0 |1 is obsolete|

[Bug c/81875] omp for loop optimized away

2017-12-10 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81875 --- Comment #6 from Tom de Vries --- Author: vries Date: Sun Dec 10 21:37:08 2017 New Revision: 255532 URL: https://gcc.gnu.org/viewcvs?rev=255532&root=gcc&view=rev Log: Backport "Fix condition folding in c_parser_omp_for_loop" 2017-12-10 Tom

[Bug c/81875] omp for loop optimized away

2017-12-10 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81875 --- Comment #5 from Tom de Vries --- Author: vries Date: Sun Dec 10 20:52:54 2017 New Revision: 255531 URL: https://gcc.gnu.org/viewcvs?rev=255531&root=gcc&view=rev Log: Backport "Fix condition folding in c_parser_omp_for_loop" 2017-12-10 Tom

[Bug sanitizer/83356] New: [7 regression] excessive stack usage compiling with -O2 -fsanitize=bounds -fsanitize=object-size

2017-12-10 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83356 Bug ID: 83356 Summary: [7 regression] excessive stack usage compiling with -O2 -fsanitize=bounds -fsanitize=object-size Product: gcc Version: 7.2.1 Status: UNCONFIRMED

[Bug gcov-profile/83355] New: autofdo g++.dg/bprob/g++-bprob-1.C FAILS with ICE

2017-12-10 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83355 Bug ID: 83355 Summary: autofdo g++.dg/bprob/g++-bprob-1.C FAILS with ICE Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: g

[Bug libstdc++/83237] Values returned by std::poisson_distribution are not distributed correctly

2017-12-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83237 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/53478] gfortran segfaults when module name clashes with C binding name of procedure

2017-12-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53478 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/53478] gfortran segfaults when module name clashes with C binding name of procedure

2017-12-10 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53478 --- Comment #10 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Sun Dec 10 19:11:18 2017 New Revision: 255530 URL: https://gcc.gnu.org/viewcvs?rev=255530&root=gcc&view=rev Log: 2017-12-10 Dominique d'Humieres PR fortran/5347

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 H.J. Lu changed: What|Removed |Added Attachment #42824|0 |1 is obsolete|

[Bug tree-optimization/83354] New: Missed optimization in math expression: pow(cbrt(x), y) == pow(x, y / 3)

2017-12-10 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83354 Bug ID: 83354 Summary: Missed optimization in math expression: pow(cbrt(x), y) == pow(x, y / 3) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/83353] Missed optimization in math expression: sin(asin(a)) == a

2017-12-10 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353 --- Comment #1 from Alexander Zaitsev --- The same issue about cos(acos(x)).

[Bug tree-optimization/83353] New: Missed optimization in math expression: sin(asin(a)) == a

2017-12-10 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353 Bug ID: 83353 Summary: Missed optimization in math expression: sin(asin(a)) == a Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priori

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 --- Comment #4 from H.J. Lu --- Created attachment 42824 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42824&action=edit The second patch

[Bug target/81842] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81842 --- Comment #3 from H.J. Lu --- Created attachment 42823 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42823&action=edit The first patch

[Bug middle-end/83069] [8 Regression] internal compiler error: in from_gcov_type, at profile-count.h:676

2017-12-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83069 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/83352] New: Missed optimization in math expression: sqrt(sqrt(a)) == pow(a, 1/4)

2017-12-10 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83352 Bug ID: 83352 Summary: Missed optimization in math expression: sqrt(sqrt(a)) == pow(a, 1/4) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/82006] [8 Regression] ERROR: torture-init: torture_without_loops is not empty as expected

2017-12-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006 --- Comment #10 from Richard Biener --- Hmm, builtins.exp references $LTO_TORTURE_OPTIONS. Does the issue only reproduce with builtins.exp or also other .exp files? How does check_effective_target_lto behave on mingw32 currently? Unfortunately

[Bug fortran/80645] FAIL: gfortran.dg/elemental_subroutine_3.f90 -O1 (test for excess errors)

2017-12-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80645 --- Comment #10 from Dominique d'Humieres --- > Anyway, WAITING for Fortran folks to settle the wrong-code dispute. AFAIU the code is valid Fortran x(4:1:-1) = x((/1,3,2,4/)) x((/1,3,2,4/)) use a temporary array of size 4 and tmp(1)=x(1)

[Bug middle-end/81889] [7/8 Regression] bogus warnings with -Wmaybe-uninitialized -O3

2017-12-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81889 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug c/81875] omp for loop optimized away

2017-12-10 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81875 --- Comment #4 from Tom de Vries --- Proposed to backport to 6/7 branch ( https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00574.html ).

[Bug fortran/80645] FAIL: gfortran.dg/elemental_subroutine_3.f90 -O1 (test for excess errors)

2017-12-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80645 Richard Biener changed: What|Removed |Added Keywords||diagnostic Status|NEW

[Bug testsuite/83332] [8 regression] new test case gfortran.dg/vect/pr81303.f fails (r255499)

2017-12-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83332 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/83326] [8 Regression] SPEC CPU2017 648.exchange2_s ~6% performance regression with r255267 (reproducer attached)

2017-12-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83326 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/83351] New: Missed optimization in math expression: sin^2(a) + cos^2(a) == 1

2017-12-10 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83351 Bug ID: 83351 Summary: Missed optimization in math expression: sin^2(a) + cos^2(a) == 1 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[PATCH] Fix Bug 83237 - Values returned by std::poisson_distribution are not distributed correctly

2017-12-10 Thread Michele Pezzutti
Hi. This patch intends to fix Bug 83237 - Values returned by std::poisson_distribution are not distributed correctly. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83237for issue description and tests.     * include/bits/random.tcc (poisson_distribution<_IntType>::operator()): Value of th

[Bug other/83341] r254899 causes about 15000 test failures on powerpc

2017-12-10 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83341 --- Comment #1 from Segher Boessenkool --- Actually, I'm blaming the wrong patch there. Sorry.

[Bug tree-optimization/83350] New: Missed optimization in math expression: missing cube of the sum formula

2017-12-10 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83350 Bug ID: 83350 Summary: Missed optimization in math expression: missing cube of the sum formula Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/83349] New: Missed optimization in math expression: aggressive optimization with std::pow

2017-12-10 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83349 Bug ID: 83349 Summary: Missed optimization in math expression: aggressive optimization with std::pow Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: nor

[Bug fortran/45689] [F03] Missing transformational intrinsic in the trans_func_f2003 list

2017-12-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45689 --- Comment #13 from Thomas Koenig --- Created attachment 42822 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42822&action=edit Patch which extends minval/maxval This looks promising - it just removes the special handling of maxval (which

[Bug libstdc++/83237] Values returned by std::poisson_distribution are not distributed correctly

2017-12-10 Thread mpezz at tiscali dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83237 --- Comment #2 from Michele Pezzutti --- Created attachment 42821 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42821&action=edit patch for latest version

[Bug libstdc++/83237] Values returned by std::poisson_distribution are not distributed correctly

2017-12-10 Thread mpezz at tiscali dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83237 Michele Pezzutti changed: What|Removed |Added CC||mpezz at tiscali dot it --- Comment #

[Bug tree-optimization/83348] New: Missed optimization in math expression: can be used std::pow function

2017-12-10 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83348 Bug ID: 83348 Summary: Missed optimization in math expression: can be used std::pow function Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c/83347] write pointer to const string possible without warning

2017-12-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83347 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/83321] [8 Regression] Conditional jump or move depends on uninitialised value in ira.c/ira-color.c

2017-12-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83321 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED URL|

[Bug tree-optimization/83337] [8 Regression] ICE at -O3 x86_64-linux-gnu: in interpret_rhs_expr, at tree-scalar-evolution.c:1775

2017-12-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83337 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/83337] [8 Regression] ICE at -O3 x86_64-linux-gnu: in interpret_rhs_expr, at tree-scalar-evolution.c:1775

2017-12-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83337 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Sun Dec 10 10:39:56 2017 New Revision: 255528 URL: https://gcc.gnu.org/viewcvs?rev=255528&root=gcc&view=rev Log: PR tree-optimization/83337 * gimple-loop-interchange.cc (c