[Bug rtl-optimization/83363] [8 Regression] wrong code at -O2 -fno-forward-propagate

2017-12-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83363 --- Comment #2 from Segher Boessenkool --- I cannot reproduce the problem. It generates better optimised code than before (removing half the insns in foo), but it is still correct and does not abort.

[Bug rtl-optimization/83364] [8 Regression] wrong code with -O -fno-forward-propagate -fno-tree-coalesce-vars -fno-tree-ter

2017-12-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83364 --- Comment #2 from Segher Boessenkool --- I cannot reproduce this one, either. I built with r29.

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

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81889 --- Comment #9 from Richard Biener --- Author: rguenth Date: Tue Dec 12 08:50:31 2017 New Revision: 255573 URL: https://gcc.gnu.org/viewcvs?rev=255573&root=gcc&view=rev Log: 2017-12-12 Richard Biener PR tree-optimization/81889

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

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81889 Richard Biener changed: What|Removed |Added Known to work||8.0 Summary|[7/8 Regression]

[Bug tree-optimization/80631] [6/7/8 Regression] Compiling with -O3 -mavx2 gives wrong code

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80631 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Tue Dec 12 08:55:02 2017 New Revision: 255574 URL: https://gcc.gnu.org/viewcvs?rev=255574&root=gcc&view=rev Log: PR tree-optimization/80631 * tree-vect-loop.c (get_initial

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

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83382 Richard Biener changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Richard

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

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83383 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/83385] [8 Regression] [graphite] Wrong code w/ -O1 -floop-nest-optimize

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

[Bug middle-end/83384] Optimize heap allocation as stack allocation

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

[Bug tree-optimization/83386] [8 Regression] [graphite] Wrong code w/ -O1 -floop-nest-optimize

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

[Bug tree-optimization/80631] [6/7 Regression] Compiling with -O3 -mavx2 gives wrong code

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80631 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] |[6/7 Regression] Compiling

[Bug sanitizer/83388] reference statement index not found error with -fsanitize=null

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83388 Richard Biener changed: What|Removed |Added Keywords||lto CC|

[Bug testsuite/81179] gcc.dg/vect/pr65947-9.c and gcc.dg/vect/pr65947-14.c fail starting with r249553

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

[Bug target/83368] alloca after setjmp breaks PIC base reg

2017-12-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83368 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 Richard Biener changed: What|Removed |Added Priority|P4 |P1 --- Comment #5 from Richard Biener

[Bug c++/83372] Compiler segfaults

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

[Bug sanitizer/83388] reference statement index not found error with -fsanitize=null

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83388 --- Comment #2 from Jakub Jelinek --- Compilation with -m32 and linking without? I'd expect that to fail more miserably. That said, what we are doing with the sanitizers is similar to what we are doing with debug stmts, if compilation is with -f

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

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83359 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Tue Dec 12 09:21:35 2017 New Revision: 255575 URL: https://gcc.gnu.org/viewcvs?rev=255575&root=gcc&view=rev Log: PR tree-optimization/83359 * tree-cfg.h (fold_loop_intern

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

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

[Bug sanitizer/83388] reference statement index not found error with -fsanitize=null

2017-12-12 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83388 --- Comment #3 from rguenther at suse dot de --- On Tue, 12 Dec 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83388 > > --- Comment #2 from Jakub Jelinek --- > Compilation with -m32 and linking without?

[Bug debug/83378] [8 regression] gcc.dg/guality/pr54970.c xpass

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83378 Richard Biener changed: What|Removed |Added Keywords|wrong-debug | Status|UNCONFIRMED

[Bug rtl-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic

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

[Bug tree-optimization/31914] FRE does not do const or copy propagation while it could

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31914 Richard Biener changed: What|Removed |Added Resolution|WONTFIX |FIXED --- Comment #4 from Richard Biene

[Bug sanitizer/83388] reference statement index not found error with -fsanitize=null

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83388 --- Comment #4 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #3) > > That said, what we are doing with the sanitizers is similar to what we are > > doing with debug stmts, if compilation is with -flto -g and linking without

[Bug lto/83380] disk full while writing LTO files leads to ICE

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83380 Richard Biener changed: What|Removed |Added Keywords||lto CC|

[Bug c/83390] New: 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 Bug ID: 83390 Summary: valgrind error in lra_eliminate_regs_1 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libstdc++/83389] New: std::tie generates sub-optimal code when used to compare POD fields

2017-12-12 Thread lucanus81 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83389 Bug ID: 83389 Summary: std::tie generates sub-optimal code when used to compare POD fields Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/83389] std::tie generates sub-optimal code when used to compare POD fields

2017-12-12 Thread lucanus81 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83389 --- Comment #1 from Luca Stoppa --- Created attachment 42846 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42846&action=edit Generated assembler file The code was compiled with g++ -std=c++17 -O3 -S sample.cpp g++ --version: g++ (GCC) 7.

[Bug rtl-optimization/83363] [8 Regression] wrong code at -O2 -fno-forward-propagate

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83363 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Dec 12 09:51:05 2017 New Revision: 255576 URL: https://gcc.gnu.org/viewcvs?rev=255576&root=gcc&view=rev Log: PR rtl-optimization/83363 PR rtl-optimization/83364

[Bug rtl-optimization/83364] [8 Regression] wrong code with -O -fno-forward-propagate -fno-tree-coalesce-vars -fno-tree-ter

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83364 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Dec 12 09:51:05 2017 New Revision: 255576 URL: https://gcc.gnu.org/viewcvs?rev=255576&root=gcc&view=rev Log: PR rtl-optimization/83363 PR rtl-optimization/83364

[Bug c/83390] valgrind error in lra_eliminate_regs_1

2017-12-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83390 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug rtl-optimization/83363] [8 Regression] wrong code at -O2 -fno-forward-propagate

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

[Bug rtl-optimization/83364] [8 Regression] wrong code with -O -fno-forward-propagate -fno-tree-coalesce-vars -fno-tree-ter

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

[Bug tree-optimization/83385] [8 Regression] [graphite] Wrong code w/ -O1 -floop-nest-optimize

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83385 --- Comment #3 from Richard Biener --- Nothing obvious (well, the .optimized result is obviously broken). ISL transforms [scheduler] original ast: { for (int c0 = 0; c0 <= 1; c0 += 1) { S_9(c0); for (int c1 = 0; c1 <= 1; c1 += 1) {

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

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83359 Richard Biener 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 --- Comment #2 from David Binderman --- (In reply to Markus Trippelsdorf from comment #1) > Note that you need to use valgrind trunk for gcc trunk to avoid false > positives. > See: https://bugs.kde.org/show_bug.cgi?id=387766. I thought I was us

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

2017-12-12 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81889 --- Comment #11 from janus at gcc dot gnu.org --- (In reply to Richard Biener from comment #10) > Fixed on trunk sofar Works great here (without any side effects, apparently). Thanks for fixing! > not sure if this particular fix should be backp

[Bug ipa/83178] [8 regression] g++.dg/ipa/devirt-22.C fail

2017-12-12 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83178 Ramana Radhakrishnan changed: What|Removed |Added Keywords||missed-optimization S

[Bug sanitizer/83388] reference statement index not found error with -fsanitize=null

2017-12-12 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83388 --- Comment #5 from rguenther at suse dot de --- On Tue, 12 Dec 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83388 > > --- Comment #4 from Jakub Jelinek --- > (In reply to rguent...@suse.de from comment

[Bug tree-optimization/83391] New: [8 Regression] error: definition in block 9 does not dominate use in block 8

2017-12-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83391 Bug ID: 83391 Summary: [8 Regression] error: definition in block 9 does not dominate use in block 8 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: norm

[Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected

2017-12-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82679 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Tue Dec 12 10:38:09 2017 New Revision: 255577 URL: https://gcc.gnu.org/viewcvs?rev=255577&root=gcc&view=rev Log: PR c/82679 * c-decl.c (grokdeclarator): Check declspecs

[Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected

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

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

2017-12-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83391 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2017-12-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83391 --- Comment #2 from Markus Trippelsdorf --- s/I reload ICEs/I get reload ICEs

[Bug ipa/82801] [6/7/8 Regression] Internal compiler error with Eigen and __attribute__((always_inline, flatten))

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82801 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

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

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

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

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83383 --- Comment #2 from Jakub Jelinek --- Cleaned up testcase for testsuite, in C (so gcc.c-torture/execute/): /* PR tree-optimization/83383 */ unsigned long long int a = 16ULL; unsigned char b = 195; unsigned long long int c = ~0ULL; unsigned char

[Bug sanitizer/83392] New: FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c scan-tree-dump-times

2017-12-12 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83392 Bug ID: 83392 Summary: FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c scan-tree-dump-times Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: norm

[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 --- Comment #3 from David Binderman --- (In reply to David Binderman from comment #2) > I'll have a build of latest valgrind, latest gcc and report back in a few > hours. Still going wrong. $ egrep "^==[0-9]|^Config" mk.out ... Configuring in

[Bug tree-optimization/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 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

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

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79393 --- Comment #5 from Jakub Jelinek --- Which DR has been filed for this and has there been any progress on it?

[Bug c/80942] -Woverlength-strings should no longer be implied by -Wpedantic

2017-12-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80942 --- Comment #7 from Eric Gallager --- If this bug is fixed, then it should no longer be necessary to explicitly specify -Wno-overlength-strings when building GCC itself. I could submit a patch removing it from the relevant configure script(s).

[Bug tree-optimization/83385] [8 Regression] [graphite] Wrong code w/ -O1 -floop-nest-optimize

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83385 --- Comment #4 from Richard Biener --- Author: rguenth Date: Tue Dec 12 12:15:38 2017 New Revision: 255579 URL: https://gcc.gnu.org/viewcvs?rev=255579&root=gcc&view=rev Log: 2017-12-12 Richard Biener PR tree-optimization/83385

[Bug tree-optimization/83385] [8 Regression] [graphite] Wrong code w/ -O1 -floop-nest-optimize

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

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

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

[Bug tree-optimization/80884] [8 regression] test case gcc.target/powerpc/20050830-1.c fails starting with r247886

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

[Bug sanitizer/83388] reference statement index not found error with -fsanitize=null

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

[Bug tree-optimization/80884] [8 regression] test case gcc.target/powerpc/20050830-1.c fails starting with r247886

2017-12-12 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80884 --- Comment #3 from amker at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #2) > Any progress? Sorry, this is after interchange on my list. Hopefully I can get to it soon. Thanks.

[Bug c++/83389] std::tie generates sub-optimal code when used to compare POD fields

2017-12-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83389 Jonathan Wakely changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #2 from Jonathan Wakel

[Bug tree-optimization/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 #4 from Jakub Jelinek --- Started with r255566, likely related to the allowing of debug stmts before labels.

[Bug tree-optimization/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 #5 from Jakub Jelinek --- Before that commit, we had: [local count: 357878150]: # iftmp.0_19 = PHI : # DEBUG i => iftmp.0_19 # DEBUG e => 0 if (iftmp.0_19 != 0) before dom2 and dom2 turned it into: [local count: 2759046

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

2017-12-12 Thread zsojka at seznam dot cz
disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-255576-checking-yes-rtl-df-extra-nographite-amd64 Thread model: posix gcc version 8.0.0 20171212 (experimental) (GCC) Tested revisions: trunk r255576 - FAIL trunk r255386 - FAIL .combine shows: insn_cost 4 for 8: r111:SI=[`d']

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

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83393 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug tree-optimization/83389] std::tie generates sub-optimal code when used to compare POD fields

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

[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 --- Comment #4 from David Binderman --- (In reply to David Binderman from comment #3) > Still going wrong. If I remove the -funroll-loops the problem goes away. $ egrep "^==[0-9]|^Config" mk.out ... Configuring in x86_64-pc-linux-gnu/libquadma

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

2017-12-12 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83393 --- Comment #1 from Zdenek Sojka --- (In reply to Zdenek Sojka from comment #0) > ... even though insn 16 output (r108) should be used insn 20; ... s/insn 16/insn 14/ Later, there is: Trying 18 -> 20: 18: r116:SI=0 20: {r108:HI=r108:HI

[Bug tree-optimization/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 #6 from Jakub Jelinek --- The bb is split in: #0 gsi_split_seq_before (i=0x7fffd940, pnew_seq=0x7fffd918) at ../../gcc/gimple-iterator.c:415 #1 0x011fc89d in gimple_split_block (bb=, stmt=0x0) at ../../gcc/tree-cfg.c

[Bug tree-optimization/83389] std::tie generates sub-optimal code when used to compare POD fields

2017-12-12 Thread lucanus81 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83389 --- Comment #4 from Luca Stoppa --- (In reply to Jonathan Wakely from comment #2) > This isn't a libstdc++ bug. std::tie is doing exactly what it's meant to do, > which is generate a tuple of references, so of course it's not the same as > compar

[Bug middle-end/67220] GCC fails to properly handle libcall symbol visibility of built functions

2017-12-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67220 --- Comment #4 from H.J. Lu --- The last patch is at https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=5bf0d3520f9c646452b16805fcb47cc1804dd514

[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 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug rtl-optimization/83327] Spilling into hard regs not taken into account in lra liveness analysis

2017-12-12 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83327 Tom de Vries changed: What|Removed |Added Attachment #42817|0 |1 is obsolete|

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

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

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

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83391 --- Comment #8 from Richard Biener --- (In reply to Jakub Jelinek from comment #6) > The bb is split in: > #0 gsi_split_seq_before (i=0x7fffd940, pnew_seq=0x7fffd918) at > ../../gcc/gimple-iterator.c:415 > #1 0x011fc89d in gimpl

[Bug target/83387] PowerPC64 + Ada + RTEMS: Infinite loops in do_reload()

2017-12-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment #

[Bug c++/83394] New: [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 Bug ID: 83394 Summary: [8 Regression] always_inline vs. noinline no longer diagnosed Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Pr

[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 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/83387] PowerPC64 + Ada + RTEMS: Infinite loops in do_reload()

2017-12-12 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #2 from Sebastian Huber --- (In reply to Peter Bergner from comment #1) > Is the insn you're dying with contain FP operands? I know the backend for > 64-bit PowerPC assumes/requires 64-bit FP hardware is available and since > you're

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

2017-12-12 Thread kaballo86 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83395 Bug ID: 83395 Summary: is_invocable_r fails for cv-qualified void return type Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/58142] _pthread_tsd_cleanup called before destructors are called

2017-12-12 Thread der-martin-stumpf at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58142 Martin Stumpf changed: What|Removed |Added CC||der-martin-stumpf at web dot de --- Comm

[Bug target/83387] PowerPC64 + Ada + RTEMS: Infinite loops in do_reload()

2017-12-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #3 from Peter Bergner --- (In reply to Sebastian Huber from comment #2) > Is -msoft-float supported on 64-bit PowerPC? It is not important for us. I > just copied the 32-bit multilibs without much thought. It is used by the linux ker

[Bug c++/83322] [8 Regression] r255469 causes: ICE: tree check: expected class ‘type’, have ‘exceptional’ (baselink) in diag_attr_exclusions, at attribs.c:393

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83322 --- Comment #3 from Jakub Jelinek --- Created attachment 42851 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42851&action=edit gcc8-pr83322.patch Untested fix.

[Bug target/83387] PowerPC64 + Ada + RTEMS: Infinite loops in do_reload()

2017-12-12 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #4 from Sebastian Huber --- (In reply to Peter Bergner from comment #3) > (In reply to Sebastian Huber from comment #2) > > Is -msoft-float supported on 64-bit PowerPC? It is not important for us. I > > just copied the 32-bit multilib

[Bug c++/64867] warning for passing non-POD to varargs function

2017-12-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867 Eric Gallager changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|egallager at gcc

[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 #1 from Jakub Jelinek --- I think it would be better to get rid of the last_decl stuff and instead diagnose what hasn't been diagnosed yet and duplicate_decl time when processing attributes there.

[Bug target/83387] PowerPC64 + Ada + RTEMS: Infinite loops in do_reload()

2017-12-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #5 from Peter Bergner --- (In reply to Sebastian Huber from comment #4) > If I remove the -msoft-float, the two example source files compile > (-mno-altivec seems to cause no harm). Well the first question, is do you really need to u

[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 #4 from Jakub Jelinek --- Predictions for bb 2 DS theory heuristics: 98.0% combined heuristics: 98.0% negative return heuristics of edge 2->4: 2.0% Predictions for bb 3 1 edges in bb 3 predicted to even probabilities Predictions

[Bug target/83387] PowerPC64 + Ada + RTEMS: Infinite loops in do_reload()

2017-12-12 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #6 from Sebastian Huber --- (In reply to Peter Bergner from comment #5) > (In reply to Sebastian Huber from comment #4) > > If I remove the -msoft-float, the two example source files compile > > (-mno-altivec seems to cause no harm).

[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 #5 from Jakub Jelinek --- Oops, it is most likely the PRED_NEGATIVE_RETURN stuff instead.

[Bug bootstrap/83396] New: [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 Bug ID: 83396 Summary: [8 Regression] Bootstrap failures with Statement Frontiers Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[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 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[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 #2 from David Edelsohn --- Created attachment 42852 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42852&action=edit preprocessed source

[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 #6 from Jakub Jelinek --- Another testcase, which has even higher prediction of not returning -1: int cmp (int a, int b) { if (a < b) return -1; if (a > b) return 1; return 0; } In the #c0 case, we have in the IL: :

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

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

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

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83394 Richard Biener changed: What|Removed |Added Keywords||diagnostic, wrong-code Priori

[Bug c++/81933] [7/8 Regression] Invalid "constexpr call flows off the end of the function" error

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81933 --- Comment #2 from Jakub Jelinek --- Somewhat reduced testcase: namespace std { template struct __decay_and_strip { typedef _Tp __type; }; template struct enable_if { typedef int type; }; template struct _Head_base { constexpr _Head_base(_H

[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|

[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 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&action=edit aix 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&action=edit AIX auto-host.h build file

  1   2   >