[Bug c++/78964] gcc fails to detect pointless increment

2017-01-03 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78964 --- Comment #7 from David Binderman --- (In reply to Markus Trippelsdorf from comment #4) > And the Linux kernel would not see these warnings anyway: > > Makefile: > 707 # These warnings generated too much noise in a regular build. > 708 # Use

[Bug c++/70834] Incorrect warning for placement new when conditionally used

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70834 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #4

[Bug c++/78964] gcc fails to detect pointless increment

2017-01-03 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78964 --- Comment #8 from Markus Trippelsdorf --- (In reply to David Binderman from comment #7) > (In reply to Markus Trippelsdorf from comment #4) > > And the Linux kernel would not see these warnings anyway: > > > > Makefile: > > 707 # These warnin

[Bug c++/70834] Incorrect warning for placement new when conditionally used

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70834 --- Comment #5 from Martin Sebor --- As a workaround until the warning is made smarter, partial specialization can be used to avoid the compile-time conditional, for example like so: struct Test { char buf[4]; template struct Ctor { s

[Bug tree-optimization/78696] [7 Regression] -fprintf-return-value misoptimizes %.Ng where N is greater than 10

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78696 --- Comment #18 from Martin Sebor --- Author: msebor Date: Tue Jan 3 23:14:44 2017 New Revision: 244037 URL: https://gcc.gnu.org/viewcvs?rev=244037&root=gcc&view=rev Log: PR tree-optimization/78696 - [7 Regression] -fprintf-return-value misopti

[Bug tree-optimization/78696] [7 Regression] -fprintf-return-value misoptimizes %.Ng where N is greater than 10

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78696 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/78977] [7 Regression] g++7 snprintf() of double produces wrong code with -O3

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78977 --- Comment #5 from Martin Sebor --- (In reply to Hannes Hauswedell from comment #3) > > Great, let me know if it's merged, then I will try a newer snapshot! The patch has been committed (r244037). Please give it a try and let us know how it g

[Bug middle-end/77708] -Wformat-length %s warns for snprintf

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77708 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Martin Sebor

[Bug tree-optimization/78913] Probably misleading error reported by -Wformat-length

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78913 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org --- Com

[Bug tree-optimization/78913] Probably misleading error reported by -Wformat-length

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78913 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/69517] [7 regression] SEGV on a VLA with excess initializer elements

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69517 --- Comment #15 from Martin Sebor --- The test case from comment #0 doesn't crash for me either but one that initializes the VLA with more than 6 elements, say like so, does: int a[n] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }

[Bug target/78818] msp430 persistent attribute is not applied correctly in some cases

2017-01-03 Thread awygle at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78818 --- Comment #1 from Andrew Wygle --- Compiling with -mdata-region=either also causes this problem, with variables ending up in either .either.data or .either.bss.

[Bug c++/78964] gcc fails to detect pointless increment

2017-01-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78964 --- Comment #9 from joseph at codesourcery dot com --- See bug 44677.

[Bug c++/78656] Fix-it suggestion for std::alocator doesn't include std::allocator

2017-01-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78656 --- Comment #2 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2017-01/msg00143.html

[Bug c++/78964] gcc fails to detect pointless increment

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78964 Martin Sebor changed: What|Removed |Added Keywords||diagnostic CC|

[Bug c/44677] Warn for variables incremented but not used

2017-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677 Martin Sebor changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #4

[Bug regression/78982] New: __builtin_lrintf() not an cvtss2si/vcvtss2si but cvttss2si/vcvttss2si since GCC 6.xx

2017-01-03 Thread anty_order at tlen dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78982 Bug ID: 78982 Summary: __builtin_lrintf() not an cvtss2si/vcvtss2si but cvttss2si/vcvttss2si since GCC 6.xx Product: gcc Version: 6.1.0 Status: UNCONFIRMED Seve

[Bug regression/78982] __builtin_lrintf() not an cvtss2si/vcvtss2si but cvttss2si/vcvttss2si since GCC 6.xx

2017-01-03 Thread anty_order at tlen dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78982 --- Comment #1 from Waldemar Friedrich --- additional info changing code to float someFloat = 10*argc; someFloat+=0.1f; long someInt = lrintf (someFloat); does produce cvtss2si/vcvtss2si but float someFloat = 10*argc; someFloat+=2.

[Bug target/78982] __builtin_lrintf() not an cvtss2si/vcvtss2si but cvttss2si/vcvttss2si since GCC 6.xx

2017-01-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78982 --- Comment #2 from Andrew Pinski --- Please attach the preprocessed source for each version of GCC you are using? I suspect there is some glibc changes that you are seeing :).

[Bug target/78953] Errors in compiling Spec 2006 for power9

2017-01-03 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78953 --- Comment #3 from Michael Meissner --- Author: meissner Date: Wed Jan 4 04:32:48 2017 New Revision: 244044 URL: https://gcc.gnu.org/viewcvs?rev=244044&root=gcc&view=rev Log: [gcc] 2016-12-30 Michael Meissner PR target/78900

[Bug target/78900] ICE in gcc.target/powerpc/signbit-3.c

2017-01-03 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78900 --- Comment #2 from Michael Meissner --- Author: meissner Date: Wed Jan 4 04:32:48 2017 New Revision: 244044 URL: https://gcc.gnu.org/viewcvs?rev=244044&root=gcc&view=rev Log: [gcc] 2016-12-30 Michael Meissner PR target/78900

[Bug tree-optimization/66826] Unused result from dlsym in constructor results in a segfault

2017-01-03 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66826 Rich Felker changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #5 fr

[Bug tree-optimization/78856] [6/7 Regression] wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2017-01-03 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78856 --- Comment #6 from Jeffrey A. Law --- Author: law Date: Wed Jan 4 05:31:23 2017 New Revision: 244045 URL: https://gcc.gnu.org/viewcvs?rev=244045&root=gcc&view=rev Log: PR tree-optimizatin/78856 * tree-ssa-threadupdate.c: Includ

[Bug tree-optimization/78856] [6 Regression] wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2017-01-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78856 Jeffrey A. Law changed: What|Removed |Added Summary|[6/7 Regression] wrong code |[6 Regression] wrong code

[Bug tree-optimization/78856] [6 Regression] wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2017-01-03 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78856 Jeffrey A. Law changed: What|Removed |Added Summary|[6/7 Regression] wrong code |[6 Regression] wrong code

[Bug target/78972] [5/6/7 Regression] poor x86 simd instruction scheduling

2017-01-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78972 --- Comment #7 from Andrew Pinski --- One thing to try is -fno-tree-ter.

[Bug libgcc/58120] libgcc.a and libgcc_eh.a have incorrect symbol visibility

2017-01-03 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58120 Yuri Gribov changed: What|Removed |Added CC||tetra2005 at gmail dot com --- Comment #1

[Bug fortran/78983] New: ICE with CAF-DT with allocatable member

2017-01-03 Thread stefano.zaghi at cnr dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78983 Bug ID: 78983 Summary: ICE with CAF-DT with allocatable member Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug bootstrap/77569] [7 Regression] self tests fail when not using C locale

2017-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77569 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Wed Jan 4 07:53:30 2017 New Revision: 244047 URL: https://gcc.gnu.org/viewcvs?rev=244047&root=gcc&view=rev Log: PR bootstrap/77569 * input.c (ebcdic_execution_charset::on

[Bug fortran/78976] [7 Regression] FAIL: gfortran.dg/dependency_49.f90 and gfortran.dg/transfer_intrinsic_1.f90

2017-01-03 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78976 --- Comment #3 from Janne Blomqvist --- Ugh, yeah. I had to revert the big patch, https://gcc.gnu.org/ml/gcc-patches/2017-01/msg00110.html, which also reverted the testcase fixes. I'll commit them separately.

<    1   2