[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug target/81907] undefined reference to `memset'

2017-08-20 Thread dongkyun.s at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 dongkyun.s at samsung dot com changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug inline-asm/81890] asm memory constraints are difficult and not well documented

2017-08-20 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81890 Alan Modra changed: What|Removed |Added Keywords||patch Status|NEW

[Bug target/81907] undefined reference to `memset'

2017-08-20 Thread dongkyun.s at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 --- Comment #6 from dongkyun.s at samsung dot com --- Created attachment 42017 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42017=edit obj made by '-Os -mtune=cortex-a12'

[Bug target/81907] undefined reference to `memset'

2017-08-20 Thread dongkyun.s at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 dongkyun.s at samsung dot com changed: What|Removed |Added Attachment #42014|0 |1 is obsolete|

[Bug fortran/81903] compiler reports a language problem (Invalid character in name at)

2017-08-20 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81903 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[Bug target/81907] undefined reference to `memset'

2017-08-20 Thread dongkyun.s at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 --- Comment #4 from dongkyun.s at samsung dot com --- Created attachment 42014 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42014=edit memset_test_cortex-a9.o (made by '-Os -mtune=cortex-a12')

[Bug target/81907] undefined reference to `memset'

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

[Bug c/63393] [regression]-ffreestanding not work: memset call cause valgrind crash

2017-08-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63393 Andrew Pinski changed: What|Removed |Added CC||dongkyun.s at samsung dot com ---

[Bug target/81907] undefined reference to `memset'

2017-08-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 --- Comment #2 from Andrew Pinski --- (In reply to dongkyun.s from comment #0) > Found related issue in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888. Unrelated bug report.

[Bug target/81907] undefined reference to `memset'

2017-08-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 Andrew Pinski changed: What|Removed |Added Keywords|link-failure| Target|arm

[Bug middle-end/81907] New: undefined reference to `memset'

2017-08-20 Thread dongkyun.s at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 Bug ID: 81907 Summary: undefined reference to `memset' Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug fortran/81296] derived type I/o problem

2017-08-20 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81296 --- Comment #4 from Jerry DeLisle --- Created attachment 42012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42012=edit A patch being tested. This patch adds a check for the DT descriptor in the format label. Preliminary test show that

[Bug c++/81906] [7/8 Regression] Calls to rint() wrongly optimized away starting in g++ 6

2017-08-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81906 --- Comment #8 from Marc Glisse --- (In reply to Vadim Zeitlin from comment #5) > Perhaps you could consider this as a QoI issue, but it would be really great > if gcc could give a warning if the code tries to use fesetround() without >

[Bug c++/81906] [7/8 Regression] Calls to rint() wrongly optimized away starting in g++ 6

2017-08-20 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81906 --- Comment #7 from Vadim Zeitlin --- (In reply to Andrew Pinski from comment #6) > https://gcc.gnu.org/wiki/FloatingPointMath Yes, I've seen this, thanks. But do you think it's easily discoverable? I admit I had even seen this page (and knew

[Bug c++/81906] [7/8 Regression] Calls to rint() wrongly optimized away starting in g++ 6

2017-08-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81906 --- Comment #6 from Andrew Pinski --- https://gcc.gnu.org/wiki/FloatingPointMath

[Bug c++/81906] [7/8 Regression] Calls to rint() wrongly optimized away starting in g++ 6

2017-08-20 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81906 --- Comment #5 from Vadim Zeitlin --- Yes, I did find this documentation myself in the meanwhile and I agree that you're formally correct, just as gcc developers are formally correct in the long discussion at #34678 (which I really wouldn't want

[Bug c/81141] missing warning using sizeof a/sizeof *a with a zero-length array

2017-08-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81141 --- Comment #4 from Martin Sebor --- (In reply to comment #3) What I meant to say is: See also bug 81141 for a related request (limited to strncpy). The patch submitted there issues a warning for a small subset of the problem (strncpy) but

[Bug c++/81906] [7/8 Regression] Calls to rint() wrongly optimized away starting in g++ 6

2017-08-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81906 --- Comment #4 from Andrew Pinski --- (In reply to Vadim Zeitlin from comment #3) > (In reply to Andrew Pinski from comment #1) > > You want -frounding-math > > OK, thanks, this does indeed solve my immediate problem. However is it > really

[Bug c++/81906] [7/8 Regression] Calls to rint() wrongly optimized away starting in g++ 6

2017-08-20 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81906 --- Comment #3 from Vadim Zeitlin --- (In reply to Andrew Pinski from comment #1) > You want -frounding-math OK, thanks, this does indeed solve my immediate problem. However is it really normal that the compiler behaviour silently (!) changes

[Bug c/81854] weak alias of an incompatible symbol accepted

2017-08-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81854 --- Comment #3 from Martin Sebor --- Author: msebor Date: Sun Aug 20 21:31:39 2017 New Revision: 251211 URL: https://gcc.gnu.org/viewcvs?rev=251211=gcc=rev Log: libstdc++/ChangeLog: PR c/81854 * src/c++98/compatibility.cc

[Bug c++/81867] Internal completer error: Segmentation Fault

2017-08-20 Thread al_thomason at iname dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81867 --- Comment #3 from Al Thomason --- I will see if I am able to test using a newer rev, the GCC compiler seems to be rather deeply embedded into the Arduino IDE...

[Bug target/79883] avr i18n: untranslated "interrupt" or "signal"

2017-08-20 Thread roland.illig at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79883 Roland Illig changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c++/53782] Pointer to static function member expression rejected in class template

2017-08-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53782 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to

[Bug c++/81906] [7/8 Regression] Calls to rint() wrongly optimized away starting in g++ 6

2017-08-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81906 Marc Glisse changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug c++/81906] Calls to rint() wrongly optimized away starting in g++ 6

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

[Bug c++/81906] New: Calls to rint() wrongly optimized away starting in g++ 6

2017-08-20 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81906 Bug ID: 81906 Summary: Calls to rint() wrongly optimized away starting in g++ 6 Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/81056] [7/8 Regression] FAIL: 17_intro/names.cc (test for excess errors)

2017-08-20 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81056 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug bootstrap/81037] Xcode 9 requires back ports on gcc-5-branch for bootstrapping under Xcode 9

2017-08-20 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81037 --- Comment #9 from Jack Howarth --- Note that the main deviation from the previous back porting for gcc-6-branch is that the ipa-icf-gimple.c source file must define INCLUDE_LIST since it is used in that file for gcc-5-branch unlike

[Bug testsuite/81056] [7/8 Regression] FAIL: 17_intro/names.cc (test for excess errors)

2017-08-20 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81056 --- Comment #3 from John David Anglin --- Author: danglin Date: Sun Aug 20 19:00:59 2017 New Revision: 251209 URL: https://gcc.gnu.org/viewcvs?rev=251209=gcc=rev Log: PR testsuite/81056 * testsuite/17_intro/names.cc: Undef 'd'

[Bug bootstrap/81037] Xcode 9 requires back ports on gcc-5-branch for bootstrapping under Xcode 9

2017-08-20 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81037 --- Comment #8 from Jack Howarth --- Verified that proposed changes in PR81037_gcc5.patch with Xcode 8.2.1 on darwin15.6.0 and Xcode 9 beta 5 on 10.13.

[Bug fortran/78387] OpenMP segfault/stack size exceeded writing to internal file

2017-08-20 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78387 --- Comment #12 from Jerry DeLisle --- Patch submitted here: https://gcc.gnu.org/ml/fortran/2017-08/msg00045.html

[Bug testsuite/81056] [7/8 Regression] FAIL: 17_intro/names.cc (test for excess errors)

2017-08-20 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81056 --- Comment #2 from John David Anglin --- Author: danglin Date: Sun Aug 20 18:52:59 2017 New Revision: 251208 URL: https://gcc.gnu.org/viewcvs?rev=251208=gcc=rev Log: PR testsuite/81056 * testsuite/17_intro/names.cc: Undef 'd'

[Bug bootstrap/81037] Xcode 9 requires back ports on gcc-5-branch for bootstrapping under Xcode 9

2017-08-20 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81037 --- Comment #7 from Jack Howarth --- Created attachment 42011 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42011=edit proposed back port of changes from trunk for gcc-5-branch

[Bug c++/45065] -fvisibility-inlines-hidden: Decl order in derived class affects visibility of inlines in base.

2017-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45065 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/77732] FAIL: gcc.dg/ipa/ipcp-cstagg-7.c scan-ipa-dump-times cp "Discovered an indirect call to a known target" 3

2017-08-20 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77732 --- Comment #5 from John David Anglin --- Author: danglin Date: Sun Aug 20 18:40:28 2017 New Revision: 251207 URL: https://gcc.gnu.org/viewcvs?rev=251207=gcc=rev Log: PR ipa/77732 * gcc.dg/ipa/ipcp-cstagg-7.c: Xfail on 32-bit

[Bug c++/54574] G++ accepts parameters with wrong types in parent constructor

2017-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54574 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug ipa/77732] FAIL: gcc.dg/ipa/ipcp-cstagg-7.c scan-ipa-dump-times cp "Discovered an indirect call to a known target" 3

2017-08-20 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77732 --- Comment #4 from John David Anglin --- Author: danglin Date: Sun Aug 20 18:23:41 2017 New Revision: 251206 URL: https://gcc.gnu.org/viewcvs?rev=251206=gcc=rev Log: PR ipa/77732 * gcc.dg/ipa/ipcp-cstagg-7.c: Xfail on 32-bit

[Bug c++/53972] array constant expression not valid as template argument

2017-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53972 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/53782] Pointer to static function member expression rejected in class template

2017-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53782 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/80837] [7/8 regression] x86 accessing a member of a 16-byte atomic object generates terrible code: splitting/merging the bytes

2017-08-20 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80837 --- Comment #3 from Peter Cordes --- Seems to be fixed in gcc7.2.0: https://godbolt.org/g/jRwtZN gcc7.2 is fine with -m32, -mx32, and -m64, but x32 is the most compact. -m64 just calls __atomic_load_16 gcc7.2 -O3 -mx32 output:

[Bug c++/81901] New: false-positive -Warray-bounds

2017-08-20 Thread webrown.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81901 Bug ID: 81901 Summary: false-positive -Warray-bounds Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/81905] New: partial_sort slower than sort

2017-08-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81905 Bug ID: 81905 Summary: partial_sort slower than sort Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug c++/53360] g++ prints 'invalid use of incomplete type' error when compiling code with -std=gnu++0x and newer

2017-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53360 --- Comment #3 from Jonathan Wakely --- If we add this to expression it compiles OK: expression& operator=(const expression&) { return *this; } So the invalid instantiation of column::operator=(const column&) comes from the

[Bug fortran/81898] [7/8 Regression] [OOP] Issue with polymorphic container class

2017-08-20 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81898 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |7.3 Summary|[7/8

[Bug fortran/81898] [7/8 Regression] Issue with polymorphic container class

2017-08-20 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81898 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug target/81904] New: FMA and addsub instructions

2017-08-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81904 Bug ID: 81904 Summary: FMA and addsub instructions Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority:

[Bug target/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-08-20 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 Francois-Xavier Coudert changed: What|Removed |Added Version|7.1.0 |7.2.0 --- Comment #5 from