[Bug middle-end/83373] False positive reported by -Wstringop-overflow

2017-12-12 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83373 --- Comment #4 from Daniel Fruzynski --- > Bug 83373 - False positive reported by -Wstringop-overflow, is > another example of warning triggered by a missed optimization > opportunity, this time in the strlen

[Bug middle-end/83404] bogus stringop-overflow warning

2017-12-12 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83404 --- Comment #2 from Bernd Edlinger --- But I dont understand why strncat(x, "aa", 1) does not warn?

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #20 from Jakub Jelinek --- Created attachment 42861 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42861=edit gcc8-pr83396-verify.patch For the label verification I meant something like this (untested except that without your

[Bug c/83397] void f() { } has zero arguments

2017-12-12 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83397 Andi Kleen changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #19 from Alexandre Oliva --- Created attachment 42860 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42860=edit additional patch for the sparc pr69102 FAIL This patch fixes the testsuite regression reported by Rainier on

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #18 from Alexandre Oliva --- Created attachment 42859 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42859=edit additional patch for the ia64 problem reported by andreas Andreas, this patch (on top of the other) enables your

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #17 from Alexandre Oliva --- Rainier, I wasn't sure how "same" the bootstrap failure you'd observed was, that's why I'd asked for a preprocessed testcase. Now, since the patch fixed the problem, nevermind. I'll look into the

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #7 from Bill Schmidt --- Thanks, Jakub, good catch on the HWI overflow. I'll make those changes and re-test. FWIW, the patch as proposed above passes regstrap and will be good enough for testing whether this indeed is the right

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Alexandre Oliva changed: What|Removed |Added CC||trippels at gcc dot gnu.org ---

[Bug debug/83391] [8 Regression] error: definition in block 9 does not dominate use in block 8

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83391 Alexandre Oliva changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/83344] Use of uninitialized memory with ASSOCIATE and strings

2017-12-12 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83344 --- Comment #8 from Steve Kargl --- On Tue, Dec 12, 2017 at 08:04:54PM +, sgk at troutmask dot apl.washington.edu wrote: > > /* Fix up the type-spec for CHARACTER types. */ > if (sym->ts.type == BT_CHARACTER &&

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug middle-end/83404] bogus stringop-overflow warning

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

[Bug target/83405] New: [8 Regression] bootstrap fails building a hppa64 compiler using gcc-8 trunk

2017-12-12 Thread doko at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with trunk 20171212, trying to build a hppa64 cross compiler using a x86_64-linux-gnu trunk build. configure:3475: /home

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #14 from David Edelsohn --- AIX is able to bootstrap with the remove_forwarder_block changes reverted.

[Bug c++/83394] [8 Regression] always_inline vs. noinline no longer diagnosed

2017-12-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83394 Martin Sebor changed: What|Removed |Added Keywords|wrong-code | Status|NEW

[Bug c++/83394] [8 Regression] always_inline vs. noinline no longer diagnosed

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83394 --- Comment #3 from Jakub Jelinek --- This PR is solely about the lack of the warning for the case where we were warning about it (and should be warning about it). It shouldn't be an error, warning is right.

[Bug middle-end/82123] [7/8 regression] spurious -Wformat-overflow warning for converted vars

2017-12-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82123 Jeffrey A. Law changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net ---

[Bug middle-end/79257] spurious -Wformat-overflow=1 warning with -O2 and sanitizer

2017-12-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79257 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/81592] spurious -Wformat-overflow warning with -fsanitize=signed-integer-overflow

2017-12-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81592 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug middle-end/82123] [7/8 regression] spurious -Wformat-overflow warning for converted vars

2017-12-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82123 --- Comment #4 from Jeffrey A. Law --- *** Bug 81592 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #6 from Jakub Jelinek --- (In reply to Bill Schmidt from comment #5) > Here's an untested patch (bootstraps successfully but regtest is still > ongoing): > > Index: gcc/gimple-ssa-strength-reduction.c

[Bug c++/83394] [8 Regression] always_inline vs. noinline no longer diagnosed

2017-12-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83394 --- Comment #2 from Martin Sebor --- I can reproduce the missing diagnostic but I can't find anything wrong with the code emitted for the test case. It's the same as in prior versions of GCC. Can you clarify in what way the emitted object code

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #5 from Bill Schmidt --- Here's an untested patch (bootstraps successfully but regtest is still ongoing): Index: gcc/gimple-ssa-strength-reduction.c

[Bug tree-optimization/83298] [8 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2017-12-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83298 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/83298] [8 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2017-12-12 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83298 --- Comment #6 from Jeffrey A. Law --- Author: law Date: Tue Dec 12 22:46:46 2017 New Revision: 255593 URL: https://gcc.gnu.org/viewcvs?rev=255593=gcc=rev Log: PR tree-optimization/83298 PR tree-optimization/83362 PR

[Bug tree-optimization/83362] [8 Regression] wrong code at -O1

2017-12-12 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83362 --- Comment #4 from Jeffrey A. Law --- Author: law Date: Tue Dec 12 22:46:46 2017 New Revision: 255593 URL: https://gcc.gnu.org/viewcvs?rev=255593=gcc=rev Log: PR tree-optimization/83298 PR tree-optimization/83362 PR

[Bug tree-optimization/83383] [8 Regression] Wrong code with a bunch of type conversion and ternary operators

2017-12-12 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83383 --- Comment #4 from Jeffrey A. Law --- Author: law Date: Tue Dec 12 22:46:46 2017 New Revision: 255593 URL: https://gcc.gnu.org/viewcvs?rev=255593=gcc=rev Log: PR tree-optimization/83298 PR tree-optimization/83362 PR

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #13 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from Alexandre Oliva --- > the problem is that a concatn resulting from decomposing a reg is not unshared > in a debug insn because it's between blocks. reverting

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #12 from joseph at codesourcery dot com --- https://sourceware.org/ml/libc-testresults/2017-q4/msg00460.html shows GCC build failures on alpha, hppa, ia64, m68k, microblaze, sh, tilegx, tilepro. (The cases where the GCC build

[Bug middle-end/83404] New: bogus stringop-overflow warning

2017-12-12 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83404 Bug ID: 83404 Summary: bogus stringop-overflow warning Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug c/83397] void f() { } has zero arguments

2017-12-12 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83397 --- Comment #3 from joseph at codesourcery dot com --- DR#317 explicitly confirms that () is not a prototype in a function definition. It's not valid in ISO C to call a variadic function without a prototype in scope. To the extent that GCC

[Bug target/82190] Possibly latent miscompilation issue on ppc64le-linux-gnu for memcpy-bi.c with -fweb -fno-optimize-strlen

2017-12-12 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82190 --- Comment #3 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Tue Dec 12 22:22:53 2017 New Revision: 255592 URL: https://gcc.gnu.org/viewcvs?rev=255592=gcc=rev Log: 2017-12-12 Aaron Sawdey PR

[Bug middle-end/81914] [7/8 Regression] gcc 7.1 generates branch for code which was branchless in earlier gcc version

2017-12-12 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81914 --- Comment #9 from Daniel Fruzynski --- In the meantime I found another case when gcc 7 inserts lots of jumps. I am not sure if your extra test cases covers it too: #include int test(int data1[9][9], int

[Bug c++/82115] [8 Regression] ICE on (valid) C++11 code: Segmentation fault signal terminated program cc1plus

2017-12-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82115 --- Comment #7 from Jason Merrill --- Author: jason Date: Tue Dec 12 22:09:42 2017 New Revision: 255590 URL: https://gcc.gnu.org/viewcvs?rev=255590=gcc=rev Log: PR c++/82115 - ICE with variable initialized with its own address.

[Bug target/83401] cpuid function for leaf 7 may not be accessed when sub-leaf (%ecx) is undefined

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

[Bug tree-optimization/83253] -ftree-slsr causes performance regression

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253 --- Comment #4 from Bill Schmidt --- I think the issue may be in this code: /* For any other increment, if this is a multiply candidate, we must introduce a temporary T and initialize it with

[Bug target/83402] PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32

2017-12-12 Thread munroesj at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 --- Comment #1 from Steven Munroe --- Similarly doe _mm_slli_epi64 for any const value > 15 and < 32. So: if (__builtin_constant_p(__B)) { if (__B < 32) lshift = (__v2du) vec_splat_s32(__B);

[Bug ipa/83346] inliner crash with attribute always_inline/flatten on a destructor

2017-12-12 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83346 --- Comment #3 from Andi Kleen --- Fixed by https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00764.html

[Bug tree-optimization/83403] Missed register promotion opportunities in loop

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

[Bug tree-optimization/83403] New: Missed register promotion opportunities in loop

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83403 Bug ID: 83403 Summary: Missed register promotion opportunities in loop Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug driver/50740] CPUID leaf 7 for BMI/BMI2/AVX2 feature detection not qualified with max_level and doesn't use subleaf

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

[Bug tree-optimization/83312] [8 regression] bogus -Warray-bounds warning

2017-12-12 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83312 --- Comment #7 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00778.html

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

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83332 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2017-12-12 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83332 --- Comment #6 from Bill Schmidt --- Author: wschmidt Date: Tue Dec 12 20:44:57 2017 New Revision: 255588 URL: https://gcc.gnu.org/viewcvs?rev=255588=gcc=rev Log: 2017-12-12 Bill Schmidt PR target/83332

[Bug c/83402] New: PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32

2017-12-12 Thread munroesj at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 Bug ID: 83402 Summary: PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32 Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug target/83401] New: cpuid function for leaf 7 may not be accessed when sub-leaf (%ecx) is undefined

2017-12-12 Thread warnerme at ptd dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83401 Bug ID: 83401 Summary: cpuid function for leaf 7 may not be accessed when sub-leaf (%ecx) is undefined Product: gcc Version: 5.4.0 Status: UNCONFIRMED

[Bug driver/50740] CPUID leaf 7 for BMI/BMI2/AVX2 feature detection not qualified with max_level and doesn't use subleaf

2017-12-12 Thread warnerme at ptd dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50740 Mark Warner changed: What|Removed |Added CC||warnerme at ptd dot net --- Comment #4

[Bug c++/83400] New: g++ -O1 doesn't execute any code in destructors with a throw statement if it sees another throw

2017-12-12 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83400 Bug ID: 83400 Summary: g++ -O1 doesn't execute any code in destructors with a throw statement if it sees another throw Product: gcc Version: 7.2.1 Status: UNCONFIRMED

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #11 from Alexandre Oliva --- the problem is that a concatn resulting from decomposing a reg is not unshared in a debug insn because it's between blocks. reverting the remove_forwarder_block part of the tree-cfgcleanup.c changes in

[Bug middle-end/83373] False positive reported by -Wstringop-overflow

2017-12-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83373 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor

[Bug tree-optimization/78450] strlen(s) return value can be assumed to be less than the size of s

2017-12-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78450 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor

[Bug fortran/83344] Use of uninitialized memory with ASSOCIATE and strings

2017-12-12 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83344 --- Comment #7 from Steve Kargl --- On Tue, Dec 12, 2017 at 08:00:32PM +, anlauf at gmx dot de wrote: > > Intel v15 gives the result you probably expected: > > len(a) = 1 > len(bb) = 2 > len(ccc) = 3 > len(a) = 1 > len(a) = 1 > len(bb) = 2

[Bug fortran/83344] Use of uninitialized memory with ASSOCIATE and strings

2017-12-12 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83344 --- Comment #6 from Steve Kargl --- In resolve.c(resolve_assoc_var) one finds this chuck of code /* Fix up the type-spec for CHARACTER types. */ if (sym->ts.type == BT_CHARACTER && !sym->attr.select_type_temporary) { if

[Bug target/82748] ICE with __builtin_fabsq and __float128 in copy_to_mode_reg, at explow.c:612

2017-12-12 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82748 Michael Meissner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/83344] Use of uninitialized memory with ASSOCIATE and strings

2017-12-12 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83344 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #5

[Bug target/83334] __builtin_ms_va_copy used in function with sysv_abi is broken

2017-12-12 Thread zenith432 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83334 --- Comment #5 from zenith432 at users dot sourceforge.net --- I looked at the source a bit, and I see what's going on. __builtin_ms_va_copy and __builtin_sysv_va_copy are treated both the same as __builtin_va_copy, which is implemented in

[Bug sanitizer/83382] UBSAN tiggers false-positive warning [-Werror=uninitialized]

2017-12-12 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83382 --- Comment #2 from Dmitry Babokin --- (In reply to Richard Biener from comment #1) > The interaction between sanitizers and middle-end emitted warnings is > difficult at best. Can you avoid -Werror when sanitizing? I can, if it's absolutely

[Bug libstdc++/59568] complex type operator>> does not set eofbit for input streams.

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

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #10 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #9 from Jakub Jelinek --- > Reduced testcase for AIX, -O2 -gdwarf-4 (both C and C++): Also fails on Solaris/SPARC, though still with -gdwarf-2.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #9 from Jakub Jelinek --- Reduced testcase for AIX, -O2 -gdwarf-4 (both C and C++): int fn1 (void); void fn2 (void *, const char *); void fn3 (void); void fn4 (long long x) { fn3 (); } void fn5 (long long x) { if (x)

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Rainer Orth changed: What|Removed |Added Target|powerpc-ibm-aix*, ia64-*-* |powerpc-ibm-aix*, ia64-*-*,

[Bug libstdc++/57139] std::tuple conversion constructor does the wrong checks

2017-12-12 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57139 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/83373] False positive reported by -Wstringop-overflow

2017-12-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83373 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/78450] strlen(s) return value can be assumed to be less than the size of s

2017-12-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78450 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/83344] Use of uninitialized memory with ASSOCIATE and strings

2017-12-12 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83344 --- Comment #4 from Steve Kargl --- On Tue, Dec 12, 2017 at 06:34:49PM +, kargl at gcc dot gnu.org wrote: > > gfortran 6, 7, and trunk all give > > % gfc6 -o z a.f90 && ./z > len(a) = 1 > len(bb) = 2 > len(ccc) = 3 > len() = 0 > len() = 0

[Bug tree-optimization/83383] [8 Regression] Wrong code with a bunch of type conversion and ternary operators

2017-12-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83383 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/83298] [8 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

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

[Bug middle-end/81914] [7/8 Regression] gcc 7.1 generates branch for code which was branchless in earlier gcc version

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81914 --- Comment #8 from Jakub Jelinek --- Created attachment 42856 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42856=edit gcc8-pr81914.patch Untested patch that handles all the cases in the #c7 testcase. Though it will not handle some

[Bug target/82190] Possibly latent miscompilation issue on ppc64le-linux-gnu for memcpy-bi.c with -fweb -fno-optimize-strlen

2017-12-12 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82190 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/79393] [7/8 Regression] cc1plus rejects valid code with noexcept

2017-12-12 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79393 --- Comment #6 from Daniel Krügler --- (In reply to Jakub Jelinek from comment #5) > Which DR has been filed for this and has there been any progress on it? I understood the previous comments to refer to

[Bug fortran/83344] Use of uninitialized memory with ASSOCIATE and strings

2017-12-12 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83344 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug libstdc++/65042] gcc5 has a template depth problem that was fine in gcc4

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

[Bug libstdc++/77776] C++17 std::hypot implementation is poor

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

[Bug libstdc++/83395] [7/8 Regression] is_invocable_r fails for cv-qualified void return type

2017-12-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83395 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Tue Dec 12 18:07:24 2017 New Revision: 255585 URL: https://gcc.gnu.org/viewcvs?rev=255585=gcc=rev Log: PR libstdc++/83395 fix invocable traits for INVOKE PR libstdc++/83395

[Bug libstdc++/83395] [7/8 Regression] is_invocable_r fails for cv-qualified void return type

2017-12-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83395 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/83390] valgrind error in lra_eliminate_regs_1

2017-12-12 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83390 David Binderman changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org ---

[Bug middle-end/81914] [7/8 Regression] gcc 7.1 generates branch for code which was branchless in earlier gcc version

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81914 --- Comment #7 from Jakub Jelinek --- Larger testcase with more cases. Some of them, e.g. in f3, are predicted roughly reasonably, but the > 95% predictions are just wrong in these cases. int f1 (long long a, long long b) { return a < b ? -1

[Bug rtl-optimization/83393] [8 Regression] wrong code with -O2 -fno-forward-propagate -fno-tree-bit-ccp

2017-12-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83393 --- Comment #3 from Segher Boessenkool --- In the original code, r108 as set by insn 14 is dead after insn 16. The combination 15->20 should have changed that, but apparently didn't.

[Bug c/83397] void f() { } has zero arguments

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

[Bug c/83397] void f() { } has zero arguments

2017-12-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83397 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code

[Bug libstdc++/83395] [7/8 Regression] is_invocable_r fails for cv-qualified void return type

2017-12-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83395 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Tue Dec 12 17:42:19 2017 New Revision: 255584 URL: https://gcc.gnu.org/viewcvs?rev=255584=gcc=rev Log: PR libstdc++/83395 fix invocable traits for INVOKE PR libstdc++/83395

[Bug c/83397] void f() { } has zero arguments

2017-12-12 Thread izaberina at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83397 --- Comment #1 from Isabella --- int a; static void __attribute__((noinline)) f1() { a = 7; } void g1(void) { f1(); } static void __attribute__((noinline)) f2(void) { a = 7; } void g2(void) { f2(); } gets compiled to f1: movl $7,

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Andreas Schwab changed: What|Removed |Added Target|powerpc-ibm-aix*

[Bug target/83399] New: Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2017-12-12 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 Bug ID: 83399 Summary: Power8 ICE During LRA with 2-op rtl pattern for lvx instruction Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/83398] New: [8 Regression] ICE: in try_ready, at haifa-sched.c:7524 with -O2 -fsched2-use-superblocks -g

2017-12-12 Thread zsojka at seznam dot cz
rtl-df-extra-nographite-amd64 Thread model: posix gcc version 8.0.0 20171212 (experimental) (GCC) Tested revisions: r255581 - FAIL r255576 - FAIL r24 - OK

[Bug target/81228] [7/8 Regression] ICE in gen_vec_cmpv2dfv2di, at config/aarch64/aarch64-simd.md:2508

2017-12-12 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81228 sudi at gcc dot gnu.org changed: What|Removed |Added CC||sudi at gcc dot gnu.org ---

[Bug fortran/83379] [8 Regression] Intermittent failure of min/maxval_char*.f90 test cases

2017-12-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83379 Thomas Koenig changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug target/83381] New test cases gfortran.dg/minval_char* and gfortran.dg/maxval_char* fail erratically

2017-12-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83381 Thomas Koenig changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug target/81228] [7/8 Regression] ICE in gen_vec_cmpv2dfv2di, at config/aarch64/aarch64-simd.md:2508

2017-12-12 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81228 --- Comment #4 from amker at gcc dot gnu.org --- *** Bug 83114 has been marked as a duplicate of this bug. ***

[Bug target/83114] [5/6/7/8 Regression] ICE in gen_vec_cmpv2dfv2di, at config/aarch64/aarch64-simd.md:2495

2017-12-12 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83114 amker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug debug/83391] [8 Regression] error: definition in block 9 does not dominate use in block 8

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83391 --- Comment #9 from Jakub Jelinek --- Or, if you for some reason really need some debug markers, do you really need also debug bind stmts in there? E.g. in light of the AIX bootstrap failure, having just markers before labels shouldn't be that

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #6 from Jakub Jelinek --- Alex, please have a look at this. The problem is again the debug stmts (insns in this case) in unexpected spots. Both the ;; Insn is not within a basic block (debug_insn 4582 4581 4583 (var_location:DI flags

[Bug libstdc++/83395] [7/8 Regression] is_invocable_r fails for cv-qualified void return type

2017-12-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83395 Jonathan Wakely changed: What|Removed |Added Known to work||7.2.0 Target Milestone|---

[Bug c/83397] New: void f() { } has zero arguments

2017-12-12 Thread izaberina at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83397 Bug ID: 83397 Summary: void f() { } has zero arguments Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #5 from David Edelsohn --- Requires DWARF debugging when building the file, e.g., -gdwarf-4, or DWARF debugging set as default in configuration file.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #4 from David Edelsohn --- Created attachment 42854 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42854=edit AIX auto-host.h build file

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #3 from David Edelsohn --- Created attachment 42853 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42853=edit aix configuration file

[Bug target/83381] New test cases gfortran.dg/minval_char* and gfortran.dg/maxval_char* fail erratically

2017-12-12 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83381 --- Comment #3 from seurer at gcc dot gnu.org --- I checked and I was running against r255539. I will retry with current trunk.

[Bug libstdc++/83395] is_invocable_r fails for cv-qualified void return type

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

  1   2   >