[Bug gcov-profile/78783] gcov-tool fails in gcov_read_counter_mem

2017-02-24 Thread wangvisual at sohu dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78783 Opera Wang changed: What|Removed |Added CC||wangvisual at sohu dot com --- Comment #2 f

[Bug libfortran/79612] missing space in diagnostic: Incorrect rank of return array in

2017-02-24 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79612 Dominique d'Humieres changed: What|Removed |Added CC||mikael at gcc dot gnu.org,

[Bug fortran/79597] Incomplete error message "Expecting %

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

[Bug fortran/79601] Possibly wrong use of keyword "intent" in diagnostic

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

[Bug fortran/79601] Possibly wrong use of keyword "intent" in diagnostic

2017-02-24 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79601 --- Comment #2 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Fri Feb 24 23:40:42 2017 New Revision: 245729 URL: https://gcc.gnu.org/viewcvs?rev=245729&root=gcc&view=rev Log: 2017-02-25 Dominique d'Humieres PR fortran/79597

[Bug fortran/79597] Incomplete error message "Expecting %

2017-02-24 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79597 --- Comment #2 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Fri Feb 24 23:40:42 2017 New Revision: 245729 URL: https://gcc.gnu.org/viewcvs?rev=245729&root=gcc&view=rev Log: 2017-02-25 Dominique d'Humieres PR fortran/79597

[Bug c/79677] Weird handling of -Werror=

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

[Bug c/79677] Weird handling of -Werror=

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79677 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Feb 24 23:15:56 2017 New Revision: 245728 URL: https://gcc.gnu.org/viewcvs?rev=245728&root=gcc&view=rev Log: PR c/79677 * opts.h (handle_generated_option): Add GENERAT

[Bug target/79395] Compile error with -mcpu=power9 and __builtin_vec_vcmpne_p

2017-02-24 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79395 --- Comment #2 from Bill Schmidt --- (In reply to acsawdey from comment #1) > * possibly the tests like 3d-01.c should move to gcc.dg/powerpc because > arguably for -mcpu=power9 we are not testing them fully because of -mno-vsx. Please leave the

[Bug target/79395] Compile error with -mcpu=power9 and __builtin_vec_vcmpne_p

2017-02-24 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79395 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/79473] -mload-store-pairs option is not documented in invoke.texi

2017-02-24 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79473 --- Comment #1 from mpf at gcc dot gnu.org --- Author: mpf Date: Fri Feb 24 22:35:59 2017 New Revision: 245725 URL: https://gcc.gnu.org/viewcvs?rev=245725&root=gcc&view=rev Log: Add documentation for -mload-store-pairs gcc/ PR target/794

[Bug target/70120] [6 Regression][aarch64] -g causes Assembler messages: Error: unaligned opcodes detected in executable segment

2017-02-24 Thread mdaniels at qnx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70120 mdaniels at qnx dot com changed: What|Removed |Added CC||mdaniels at qnx dot com --- Co

[Bug target/79709] Subobtimal code with -mavx and explicit vector

2017-02-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79709 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/79709] Subobtimal code with -mavx and explicit vector

2017-02-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79709 --- Comment #3 from Marc Glisse --- (In reply to Marc Glisse from comment #2) > We have trouble with your VSET macro (known issue): > two_28 = BIT_INSERT_EXPR ; > two_29 = BIT_INSERT_EXPR ; > two_30 = BIT_INSERT_EXPR ; > two_31 = BIT_INSE

[Bug target/79709] Subobtimal code with -mavx and explicit vector

2017-02-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79709 --- Comment #2 from Marc Glisse --- We have trouble with your VSET macro (known issue): two_28 = BIT_INSERT_EXPR ; two_29 = BIT_INSERT_EXPR ; two_30 = BIT_INSERT_EXPR ; two_31 = BIT_INSERT_EXPR ; it is easier for gcc if you write: v4do

[Bug target/79709] Subobtimal code with -mavx and explicit vector

2017-02-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79709 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization, ra --- Comment #1 f

[Bug rtl-optimization/79150] ICE: in commit_one_edge_insertion, at cfgrtl.c:2077 for the gcc.dg/pr77834.c test

2017-02-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79150 --- Comment #6 from Segher Boessenkool --- Well, does that "end with a non-branch" work? Not ICE that is; the real problem will need to be dealt with as well, just probably not in stage 4.

[Bug c++/79588] [7 Regression] ICE in warn_for_restrict with -Wrestrict

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79588 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Feb 24 20:41:54 2017 New Revision: 245719 URL: https://gcc.gnu.org/viewcvs?rev=245719&root=gcc&view=rev Log: PR c++/79588 c-family/ * c-common.c (check_function_restri

[Bug target/79709] Subobtimal code with -mavx and explicit vector

2017-02-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79709 Thomas Koenig changed: What|Removed |Added Target||x86_64-pc-linux-gnu Severity|n

[Bug target/69148] [5 Regression] ICE (floating point exception) on s390x-linux-gnu

2017-02-24 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69148 Vladimir Makarov changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Comme

[Bug target/79709] New: Subobtimal code with -mavx and explicit vector

2017-02-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79709 Bug ID: 79709 Summary: Subobtimal code with -mavx and explicit vector Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ta

[Bug target/79437] Redundant move instruction when getting sign bit of double on 32-bit architecture

2017-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79437 --- Comment #4 from Uroš Bizjak --- (In reply to Vladimir Makarov from comment #3) >17: ax:DI=[sp:SI+0x4] > 6: {ax:DI=ax:DI 0>>0x3f;clobber flags:CC;} >12: ax:SI=ax:SI >13: use ax:SI > > The code is fine with RA point of view.

[Bug target/79038] Improve PowerPC ISA 3.0 conversion between integers and hardware _Float128

2017-02-24 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79038 Michael Meissner changed: What|Removed |Added Attachment #40611|0 |1 is obsolete|

[Bug rtl-optimization/79456] [7 regression] Extra instruction emitted after LRA patch

2017-02-24 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79456 --- Comment #1 from Vladimir Makarov --- I can not reproduce the bug on the fresh trunk any more. I believe the problem is analogous to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79282 and it was solved last week.

[Bug translation/79705] cp/decl.c message not marked for translation

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

[Bug translation/79705] cp/decl.c message not marked for translation

2017-02-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79705 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Fri Feb 24 18:54:13 2017 New Revision: 245717 URL: https://gcc.gnu.org/viewcvs?rev=245717&root=gcc&view=rev Log: PR translation/79705 * decl.c (check_redeclaration_exce

[Bug c/69602] [6/7 Regression] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2017-02-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602 Marek Polacek changed: What|Removed |Added CC||peter at eisentraut dot org --- Comment

[Bug c/79708] -Wlogical-op with duplicate errno symbols

2017-02-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79708 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/79708] New: -Wlogical-op with duplicate errno symbols

2017-02-24 Thread peter at eisentraut dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79708 Bug ID: 79708 Summary: -Wlogical-op with duplicate errno symbols Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/79396] [5/6/7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O2 -march=haswell

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

[Bug middle-end/79396] [5/6/7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O2 -march=haswell

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79396 Jakub Jelinek changed: What|Removed |Added Target Milestone|7.0 |5.5

[Bug middle-end/79396] [5/6/7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O2 -march=haswell

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79396 --- Comment #11 from Jakub Jelinek --- Reduced testcase: struct A { A (); ~A (); }; float foo (float x) { A a; return __builtin_pow (x, 2) + 2; }

[Bug target/79437] Redundant move instruction when getting sign bit of double on 32-bit architecture

2017-02-24 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79437 --- Comment #3 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #2) > Even -mno-stv doesn't help here, the problem is that for the shift we don't > lower DImode operations here until too late (split2) and so EDX:EAX is used > for

[Bug tree-optimization/79390] 10% performance drop in SciMark2 LU after r242550

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #11 from Jakub Jelinek --- Which is what I wrote in #c9. Let's add a target hook and do the cap in there, rather than artificially lowering the max-rtl-if-conversion-insns default.

[Bug c++/79707] New: missing -Wunused-result on an unused new expression

2017-02-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79707 Bug ID: 79707 Summary: missing -Wunused-result on an unused new expression Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/79150] ICE: in commit_one_edge_insertion, at cfgrtl.c:2077 for the gcc.dg/pr77834.c test

2017-02-24 Thread tomtab at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79150 --- Comment #5 from tomtab at gcc dot gnu.org --- Here are some more details about this failure: It is caused by "gcc_assert (!JUMP_P (last))" in commit_one_edge_insertion (gcc/cfgrtl.c:2077): if (returnjump_p (last)) { /* ??? Remove

[Bug rtl-optimization/79150] ICE: in commit_one_edge_insertion, at cfgrtl.c:2077 for the gcc.dg/pr77834.c test

2017-02-24 Thread tomtab at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79150 tomtab at gcc dot gnu.org changed: What|Removed |Added CC||tomtab at gcc dot gnu.org ---

[Bug c++/79687] [5/6/7 Regression] Wrong code with pointer-to-member

2017-02-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79687 --- Comment #21 from Marek Polacek --- Patch posted . Let's see how it pans out.

[Bug tree-optimization/79390] 10% performance drop in SciMark2 LU after r242550

2017-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #10 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #8) > Try --param=max-rtl-if-conversion-insns=2 . > Or try some -mtune that is not: > /* X86_TUNE_ONE_IF_CONV_INSNS: Restrict a number of set insns to be >if-convert

[Bug c/79677] Weird handling of -Werror=

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

[Bug tree-optimization/45397] [5/6 Regression] Issues with integer narrowing conversions

2017-02-24 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 Jeffrey A. Law changed: What|Removed |Added Summary|[5/6/7 Regression] Issues |[5/6 Regression] Issues

[Bug rtl-optimization/79286] [7 Regression] ira and lra wrong code at -O2 and -Os on i686-linux

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

[Bug rtl-optimization/79286] [7 Regression] ira and lra wrong code at -O2 and -Os on i686-linux

2017-02-24 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79286 --- Comment #10 from Jeffrey A. Law --- Author: law Date: Fri Feb 24 15:36:10 2017 New Revision: 245714 URL: https://gcc.gnu.org/viewcvs?rev=245714&root=gcc&view=rev Log: PR rtl-optimizatoin/79286 * ira.c (update_equiv_regs): Dro

[Bug translation/79705] cp/decl.c message not marked for translation

2017-02-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79705 --- Comment #3 from Marek Polacek --- Right, thanks.

[Bug tree-optimization/79390] 10% performance drop in SciMark2 LU after r242550

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #9 from Jakub Jelinek --- Perhaps we just want to limit number of cmov converted insns in a bb rather than all noce* attempts, or we should also check how far is the user of the conditional move; on this exact testcase we turn one of

[Bug lto/78140] [7 Regression] libxul -flto uses 1GB more memory than gcc-6

2017-02-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78140 --- Comment #28 from Martin Jambor --- (In reply to Martin Jambor from comment #27) > Unfortunately, something else has added a further gigabyte to WPA of > FF in the last week: So this fortunately turnout to be a mistake in measurement, I was c

[Bug c++/79706] invalid delete[] expression doesn't cause substitution failure

2017-02-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79706 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug target/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 --- Comment #11 from ktkachov at gcc dot gnu.org --- I'll have a look but -fno-schedule-insns "fixing things" has been known to uncover alias analysis bugs from the GIMPLE level due to the scheduler using the alias information to reorder memory op

[Bug c++/79706] invalid delete[] expression doesn't cause substitution failure

2017-02-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79706 --- Comment #2 from Jonathan Wakely --- The first testcase does fail to compile, but for the wrong reason: e.cc: In instantiation of ‘typename enable_if<_Array, decltype (delete [] ck_delete::__p)>::type ck_delete(_Yp*) [with bool _Array = true

[Bug c++/79706] invalid delete[] expression doesn't cause substitution failure

2017-02-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79706 --- Comment #1 from Jonathan Wakely --- Probably the same issue: struct A { void operator delete(void*) = delete; void operator delete[](void*) = delete; }; using type1 = decltype(delete (A*)0); using type2 = decltype(delete[] (A*)0); Neit

[Bug c++/79706] New: invalid delete[] expression doesn't cause substitution failure

2017-02-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79706 Bug ID: 79706 Summary: invalid delete[] expression doesn't cause substitution failure Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal

[Bug translation/79705] cp/decl.c message not marked for translation

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

[Bug tree-optimization/79390] 10% performance drop in SciMark2 LU after r242550

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #8 from Jakub Jelinek --- Try --param=max-rtl-if-conversion-insns=2 . Or try some -mtune that is not: /* X86_TUNE_ONE_IF_CONV_INSNS: Restrict a number of set insns to be if-converted to one. */ DEF_TUNE (X86_TUNE_ONE_IF_CONV_INSN,

[Bug rtl-optimization/79150] ICE: in commit_one_edge_insertion, at cfgrtl.c:2077 for the gcc.dg/pr77834.c test

2017-02-24 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79150 mpf at gcc dot gnu.org changed: What|Removed |Added Priority|P2 |P3 Known to fail|

[Bug c++/79687] [5/6/7 Regression] Wrong code with pointer-to-member

2017-02-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79687 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/79390] 10% performance drop in SciMark2 LU after r242550

2017-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #7 from Uroš Bizjak --- The testcase for RTL if-conversion part: --cut here-- extern double A[32]; int foo (void) { double t = A[0]; int jp = 0; int i; for (i = 0; i < 32; i++) { double ab = A[i]; if (ab > t

[Bug target/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

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

[Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 --- Comment #9 from Jakub Jelinek --- As there are two different comparisons, I've in the debugger tried to manually optimize just one of them and not the other one (return 0 in gdb), and it seems that it is the: &tmp == _286 comparison that matt

[Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-24 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 --- Comment #8 from rguenther at suse dot de --- On Fri, 24 Feb 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 > > --- Comment #7 from Jakub Jelinek --- > Comparing PTRS_COMPARE_UNEQUAL={287,286} fre

[Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 --- Comment #7 from Jakub Jelinek --- Comparing PTRS_COMPARE_UNEQUAL={287,286} fre3 (287 doesn't occur in the list, so it is never optimize using ptrs_compare_unequal, 286 is only optimize for _286), the differences are: _286 = &MEM[(struct fu

[Bug c++/79658] [-Wuninitialized] referencing uninitialized field of POD struct should warn

2017-02-24 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79658 --- Comment #8 from Pedro Alves --- Created attachment 40823 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40823&action=edit reproducer v4 Same as above.

[Bug c++/79658] [-Wuninitialized] referencing uninitialized field of POD struct should warn

2017-02-24 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79658 --- Comment #7 from Pedro Alves --- Today I remembered to try reducing the v3 reproducer by converting to C instead of C++. The resulting warnings are not exactly the same, but they're very similar. The fact that we still only get warnings for

[Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 --- Comment #6 from Jakub Jelinek --- for i in /tmp/rh1422456-_*.s; do j=`basename $i .s`; echo ===$j===; g++ -o /tmp/$j{,.s}; /tmp/$j; done ===rh1422456-_150=== ===rh1422456-_155=== ===rh1422456-_192=== ===rh1422456-_212=== ===rh1422456-_233===

[Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 --- Comment #5 from Jakub Jelinek --- Repeated on current trunk r245696, this time with: --- gcc/tree-ssa-alias.c.jj 2017-01-10 08:12:48.0 +0100 +++ gcc/tree-ssa-alias.c2017-02-24 12:15:17.869368974 +0100 @@ -387,7 +387,13 @@

[Bug translation/79705] cp/decl.c message not marked for translation

2017-02-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79705 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/79687] [5/6/7 Regression] Wrong code with pointer-to-member

2017-02-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79687 --- Comment #20 from Marek Polacek --- Oh well. Anyway, this --- a/gcc/cp/cp-gimplify.c +++ b/gcc/cp/cp-gimplify.c @@ -1973,7 +1973,8 @@ cp_fold_maybe_rvalue (tree x, bool rval) { x = cp_fold (x); if (rval && DECL_P (x) -

[Bug translation/79705] cp/decl.c message not marked for translation

2017-02-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79705 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug preprocessor/79701] #pragma ignored "-Wcomment" has no effect

2017-02-24 Thread damien at iwi dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79701 --- Comment #1 from Damien GERARD --- behavior observed: - debian 9 with gcc 6.3 & 5.4 gcc (Debian 6.3.0-7) 6.3.0 20170218 gcc-5 (Debian 5.4.1-5) 5.4.1 20170205 - CentOS 7.2 gcc 6.2 (rhel-devtoolset)

[Bug rtl-optimization/79150] ICE: in commit_one_edge_insertion, at cfgrtl.c:2077 for the gcc.dg/pr77834.c test

2017-02-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79150 --- Comment #2 from Richard Biener --- Priority on non-regression bugs is meaningless. So - can you identify a working release (list it in Known-to-work)?

[Bug translation/79705] New: cp/decl.c message not marked for translation

2017-02-24 Thread fmarchal at perso dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79705 Bug ID: 79705 Summary: cp/decl.c message not marked for translation Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: transl

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 --- Comment #21 from Richard Biener --- Author: rguenth Date: Fri Feb 24 11:51:33 2017 New Revision: 245713 URL: https://gcc.gnu.org/viewcvs?rev=245713&root=gcc&view=rev Log: 2017-02-24 Richard Biener PR tree-optimization/79389

[Bug tree-optimization/79690] IVOPTs drops gs: prefix

2017-02-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79690 --- Comment #5 from Richard Biener --- Vectorizer fix I am testing: Index: gcc/tree-vect-stmts.c === --- gcc/tree-vect-stmts.c (revision 245712) +++ gcc/tree-vect-stmts.c

[Bug rtl-optimization/79150] ICE: in commit_one_edge_insertion, at cfgrtl.c:2077 for the gcc.dg/pr77834.c test

2017-02-24 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79150 mpf at gcc dot gnu.org changed: What|Removed |Added Target|mips-mti-* |mips* Priority|P3

[Bug tree-optimization/79390] 10% performance drop in SciMark2 LU after r242550

2017-02-24 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #6 from rguenther at suse dot de --- On Fri, 24 Feb 2017, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 > > Uroš Bizjak changed: > >What|Removed |Added > -

[Bug tree-optimization/79390] 10% performance drop in SciMark2 LU after r242550

2017-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 Uroš Bizjak changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5 fr

[Bug target/79404] [7 Regression] h8300: ICE at gcc/ira.c:5541 whilst building libgcc

2017-02-24 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79404 --- Comment #6 from dhowells at redhat dot com --- That builds now, thanks!

[Bug target/71695] m68k: long long multiplication broken

2017-02-24 Thread martin at netbsd dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71695 Martin Husemann changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug tree-optimization/56541] vectorizaton fails in conditional assignment of a constant

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

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2017-02-24 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 56541, which changed state. Bug 56541 Summary: vectorizaton fails in conditional assignment of a constant https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56541 What|Removed |Added -

[Bug middle-end/78401] SciMark v2.0 Composite test runs 1,5 times slower under GCC 6.2 than under Clang 3.9

2017-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78401 --- Comment #1 from Uroš Bizjak --- Can you please provide perf report of hot spots?

[Bug other/79703] [meta-bug] SciMark 2.0 performance issues

2017-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79703 Uroš Bizjak changed: What|Removed |Added CC||t.artem at mailcity dot com --- Comment #1

[Bug c/79692] [7 Regression] -Wformat-overflow false positive?

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

[Bug middle-end/78406] Crafty v23.4 is 20% slower under GCC 6.2 than under Clang 3.9

2017-02-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78406 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/79704] [meta-bug] Phoronix Test Suite compiler performance issues

2017-02-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79704 Bug 79704 depends on bug 78406, which changed state. Bug 78406 Summary: Crafty v23.4 is 20% slower under GCC 6.2 than under Clang 3.9 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78406 What|Removed |Added --

[Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 --- Comment #4 from Richard Biener --- I don't see any unconditional delete() in .fre1 or .fre3 (r245696 - did you do your analysis with r235622? There were PTA fixes afterwards).

[Bug target/79704] [meta-bug] Phoronix Test Suite compiler performance issues

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

[Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 --- Comment #3 from Richard Biener --- (In reply to Jakub Jelinek from comment #2) > E.g. on 122 valgrind says: > ==21905== Invalid free() / delete / delete[] / realloc() > ==21905==at 0x484B224: operator delete(void*) (vg_replace_malloc.c:57

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/79704] [meta-bug] Phoronix Test Suite compiler performance issues

2017-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79704 Uroš Bizjak changed: What|Removed |Added Keywords||meta-bug Status|UNCONFIRMED

[Bug target/79704] New: [meta-bug] Phoronix Test Suite compiler performance issues

2017-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79704 Bug ID: 79704 Summary: [meta-bug] Phoronix Test Suite compiler performance issues Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal P

[Bug c++/79687] [5/6/7 Regression] Wrong code with pointer-to-member

2017-02-24 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79687 --- Comment #19 from Volker Reichelt --- No, that's again invalid. The second operand of .* or .-> must point to a valid class member, otherwise you'll get undefined behavior. The only way to achieve this in this class with a single member is to

[Bug target/79703] SciMark 2.0 performance issues

2017-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79703 Uroš Bizjak changed: What|Removed |Added Keywords||meta-bug Status|UNCONFIRMED

[Bug target/79703] New: SciMark 2.0 performance issues

2017-02-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79703 Bug ID: 79703 Summary: SciMark 2.0 performance issues Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug libstdc++/78939] [C++17] interferes with structured binding from struct

2017-02-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78939 Jonathan Wakely changed: What|Removed |Added CC||kreckel at ginac dot de --- Comment #6

[Bug libstdc++/79702] AX_CXX_COMPILE_STDCXX([17]) does not work with GCC=7.0.1

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

[Bug libstdc++/79702] AX_CXX_COMPILE_STDCXX([17]) does not work with GCC=7.0.1

2017-02-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79702 --- Comment #3 from Andrew Pinski --- typedef __SIZE_TYPE__ size_t; template using __void_t = void; template struct integral_constant { static constexpr _Tp value = __v; typedef _Tp value_type; typedef integral_constant<_Tp, __v> type;

[Bug middle-end/29887] wrong-code for errno handling on overflow/underflow

2017-02-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29887 Richard Biener changed: What|Removed |Added Target||i?86-*-* Status|WAITING

[Bug libstdc++/79702] AX_CXX_COMPILE_STDCXX([17]) does not work with GCC=7.0.1

2017-02-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79702 --- Comment #2 from Markus Trippelsdorf --- And #include is enough to reproduce.

[Bug libstdc++/79702] AX_CXX_COMPILE_STDCXX([17]) does not work with GCC=7.0.1

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

  1   2   >