[Bug middle-end/80364] [7 Regression]sanitizer detects signed integer overflow in gimple-ssa-sprintf.c

2017-05-10 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80364 --- Comment #7 from Vittorio Zecca --- Marek, I believe this issue has been fixed.

[Bug testsuite/79067] gcc.dg/tree-prof/cold_partition_label.c runs a million times longer than it used to and times out

2017-05-10 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79067 --- Comment #3 from Andi Kleen --- sandra, does this patch fix it? diff --git a/gcc/testsuite/gcc.dg/tree-prof/cold_partition_label.c b/gcc/testsuite/gcc.dg/tree-prof/cold_partition_label.c index 6214e3629f2..924a270e1bd 100644 ---

[Bug c++/80683] Exceptions don't propagate through default member initializer

2017-05-10 Thread ryxi at stu dot xidian.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80683 --- Comment #2 from Xi Ruoyao --- I don't think it's PR66139. In PR66139, the exception is caught, but some destructors aren't called. In this PR, the exception is not caught at all. For this PR, the problem is: 1) GCC created "constexpr

[Bug target/79027] [8 Regression] fold-const.c:11104:1: internal compiler error: Floating point exception

2017-05-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/80090] Incorrect assembler - output_addr_const may generate visibility output between op and address constant

2017-05-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80090 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/80090] Incorrect assembler - output_addr_const may generate visibility output between op and address constant

2017-05-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80090 --- Comment #3 from John David Anglin --- Author: danglin Date: Thu May 11 00:15:04 2017 New Revision: 247874 URL: https://gcc.gnu.org/viewcvs?rev=247874=gcc=rev Log: PR target/80090 * config/pa/pa.c (pa_assemble_integer): When

[Bug target/80090] Incorrect assembler - output_addr_const may generate visibility output between op and address constant

2017-05-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80090 --- Comment #2 from John David Anglin --- Author: danglin Date: Thu May 11 00:13:00 2017 New Revision: 247873 URL: https://gcc.gnu.org/viewcvs?rev=247873=gcc=rev Log: PR target/80090 * config/pa/pa.c (pa_assemble_integer): When

[Bug target/80090] Incorrect assembler - output_addr_const may generate visibility output between op and address constant

2017-05-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80090 --- Comment #1 from John David Anglin --- Author: danglin Date: Wed May 10 23:54:58 2017 New Revision: 247872 URL: https://gcc.gnu.org/viewcvs?rev=247872=gcc=rev Log: PR target/80090 * config/pa/pa.c (pa_assemble_integer): When

[Bug target/79027] [8 Regression] fold-const.c:11104:1: internal compiler error: Floating point exception

2017-05-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 --- Comment #11 from John David Anglin --- Author: danglin Date: Wed May 10 23:09:54 2017 New Revision: 247871 URL: https://gcc.gnu.org/viewcvs?rev=247871=gcc=rev Log: PR target/79027 * config/pa/pa.c

[Bug target/79027] [8 Regression] fold-const.c:11104:1: internal compiler error: Floating point exception

2017-05-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 --- Comment #10 from John David Anglin --- Author: danglin Date: Wed May 10 23:08:32 2017 New Revision: 247870 URL: https://gcc.gnu.org/viewcvs?rev=247870=gcc=rev Log: PR target/79027 * config/pa/pa.c

[Bug target/79027] [8 Regression] fold-const.c:11104:1: internal compiler error: Floating point exception

2017-05-10 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79027 --- Comment #9 from John David Anglin --- Author: danglin Date: Wed May 10 22:54:07 2017 New Revision: 247869 URL: https://gcc.gnu.org/viewcvs?rev=247869=gcc=rev Log: PR target/79027 * config/pa/pa.c

[Bug target/80706] peephole2 uses uninitialized stack variables on i686

2017-05-10 Thread staticfloat at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706 --- Comment #1 from Elliot Saba --- I should also note that this is fixed if I provide `-mfpmath=sse` in addition to any other optimization flags.

[Bug go/64238] ICE in get_partitioning_class, at symtab.c:1775

2017-05-10 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64238 --- Comment #6 from Ian Lance Taylor --- I'm sorry, I still can't recreate it. I'm now at SVN revision 247848. Note that I just committed a number of changes to the Go frontend, and I was using those changes when I tested before. I don't see

[Bug middle-end/80364] [7 Regression]sanitizer detects signed integer overflow in gimple-ssa-sprintf.c

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

[Bug other/80066] dead stores and initializations pointed out by clang --analyze

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

[Bug c/80706] New: peephole2 uses uninitialized stack variables on i686

2017-05-10 Thread staticfloat at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706 Bug ID: 80706 Summary: peephole2 uses uninitialized stack variables on i686 Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug testsuite/80643] NA->FAIL: gcc.dg/pr79214.c gcc.dg/pr79222.c gcc.dg/pr79223.c gcc.dg/tree-ssa/builtins-folding-gimple-ub.c

2017-05-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80643 --- Comment #7 from seurer at gcc dot gnu.org --- The Fortran tests (from 80644) that I traced to this revision still fail on powerpc64le: spawn /home/seurer/gcc/build/gcc-test/gcc/testsuite/gfortran/../../gfortran

[Bug ada/80626] [7/8 Regression] Ada x32 multilib build failure for a-cfinve.ads

2017-05-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80626 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ada/80626] [7/8 Regression] Ada x32 multilib build failure for a-cfinve.ads

2017-05-10 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80626 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed May 10 17:36:50 2017 New Revision: 247850 URL: https://gcc.gnu.org/viewcvs?rev=247850=gcc=rev Log: Ada/x32: PR ada/80626: Correct Memory_Size X32 uses 64 as word size instead

[Bug ada/80626] [7/8 Regression] Ada x32 multilib build failure for a-cfinve.ads

2017-05-10 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80626 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed May 10 17:35:02 2017 New Revision: 247849 URL: https://gcc.gnu.org/viewcvs?rev=247849=gcc=rev Log: Ada/x32: PR ada/80626: Correct Memory_Size X32 uses 64 as word size instead

[Bug tree-optimization/80705] Incorrect code generated for profile counter updates due to SLP+LIM

2017-05-10 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80705 --- Comment #1 from Pat Haugen --- I should have noted that the dumps I was looking at were slp1 and lim4.

[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault

2017-05-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536 --- Comment #14 from Jakub Jelinek --- (In reply to Marek Polacek from comment #13) > This is true, but it happens very rarely. It can happen e.g. when the > fold() call in save_expr() folds away the first operand of a COMPOUND_EXPR, > and the

[Bug tree-optimization/51513] Only partially optimizes away __builtin_unreachable switch default case

2017-05-10 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51513 Peter Bergner changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault

2017-05-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536 --- Comment #13 from Marek Polacek --- (In reply to Jakub Jelinek from comment #12) > (In reply to Marek Polacek from comment #11) > > (In reply to Jakub Jelinek from comment #5) > > > To expand on that, I think we want to drop that call from

[Bug tree-optimization/80705] New: Incorrect code generated for profile counter updates due to SLP+LIM

2017-05-10 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80705 Bug ID: 80705 Summary: Incorrect code generated for profile counter updates due to SLP+LIM Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler

2017-05-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 Dominique d'Humieres changed: What|Removed |Added CC||iains at gcc dot gnu.org ---

[Bug c++/79549] [c++1z] ICE in tsubst, at cp/pt.c:13474 with partial specialization of auto... template parameter pack

2017-05-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549 --- Comment #10 from Jason Merrill --- Author: jason Date: Wed May 10 15:56:09 2017 New Revision: 247842 URL: https://gcc.gnu.org/viewcvs?rev=247842=gcc=rev Log: PR c++/79549 - C++17 ICE with non-type auto template parameter pack

[Bug libfortran/80602] Reduce stack usage for blocked matmul

2017-05-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80602 --- Comment #4 from Thomas Koenig --- Might want to backport the 8.0 patch to gcc-7, but only after the dust from the regressions this caused has settled.

[Bug target/80687] [8 Regression] VLA usage in libgfortran; nvptx target: "sorry, unimplemented: target cannot support alloca"

2017-05-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80687 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/80696] [8 Regression] New Failures to do with matmul

2017-05-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80696 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/80696] [8 Regression] New Failures to do with matmul

2017-05-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80696 --- Comment #2 from Thomas Koenig --- Author: tkoenig Date: Wed May 10 15:45:52 2017 New Revision: 247839 URL: https://gcc.gnu.org/viewcvs?rev=247839=gcc=rev Log: 2017-05-10 Thomas Koenig PR fortran/80687

[Bug target/80687] [8 Regression] VLA usage in libgfortran; nvptx target: "sorry, unimplemented: target cannot support alloca"

2017-05-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80687 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Wed May 10 15:45:52 2017 New Revision: 247839 URL: https://gcc.gnu.org/viewcvs?rev=247839=gcc=rev Log: 2017-05-10 Thomas Koenig PR fortran/80687

[Bug testsuite/80694] [8 regression] test cases gcc.dg/vect/vect-44.c and vect-50.c fail starting with r247780

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

[Bug c++/66139] destructor not called for members of partially constructed anonymous struct/array

2017-05-10 Thread majerech.o at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 --- Comment #13 from Ondřej Majerech --- (In reply to Xi Ruoyao from comment #12) > (In reply to Jaak Ristioja from comment #9) > > [1]: http://stackoverflow.com/a/43892501/3919155 > > I don't think this is the same bug. > This bug seems

[Bug fortran/79311] [OOP] ICE in generate_finalization_wrapper, at fortran/class.c:1992

2017-05-10 Thread liakhdi at ornl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79311 --- Comment #10 from DIL --- Thanks for fixing.

[Bug c++/66139] destructor not called for members of partially constructed anonymous struct/array

2017-05-10 Thread ryxi at stu dot xidian.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 --- Comment #12 from Xi Ruoyao --- (In reply to Jaak Ristioja from comment #9) > [1]: http://stackoverflow.com/a/43892501/3919155 I don't think this is the same bug. This bug seems happening because GCC created "constexpr B::B(void)", but

[Bug testsuite/80694] [8 regression] test cases gcc.dg/vect/vect-44.c and vect-50.c fail starting with r247780

2017-05-10 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80694 --- Comment #4 from seurer at gcc dot gnu.org --- These tests have flip-flopped between working and not several times recently. I will got back through the logs and run some test to see if I can find where things started to go bad.

[Bug c++/66139] destructor not called for members of partially constructed anonymous struct/array

2017-05-10 Thread ryxi at stu dot xidian.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 --- Comment #11 from Xi Ruoyao --- This happens for all TARGET_EXPRs with the third operand (cleanup expression), as an INIT_EXPR's rhs. The cleanup sequence are pushed in gimplify_target_expr, which doesn't handle TARGET_EXPRs as the

[Bug target/80640] Missing memory side effect with __atomic_thread_fence (2)

2017-05-10 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80640 --- Comment #7 from Alexander Monakov --- I've submitted a patch [1] for the missing compiler barrier, but however please note that the original ompi code and the example in comment #3 are wrong: in a pattern like while (*foo)

[Bug libstdc++/80703] Including breaks structured bindings

2017-05-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80703 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2017-05-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78939 Markus Trippelsdorf changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug libstdc++/80703] Including breaks structured bindings

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

[Bug c++/80703] New: Including breaks structured bindings

2017-05-10 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80703 Bug ID: 80703 Summary: Including breaks structured bindings Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/80701] gfortran ignores dead code after return statement

2017-05-10 Thread gustavo.hime at mpimet dot mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80701 --- Comment #4 from Gustavo Hime --- Regarding this as a duplicate: on the one hand, it seems to be the same issue. Whether the (any) warning is on by default or not is something that will always be disputable, but the main issue is getting the

[Bug testsuite/80694] [8 regression] test cases gcc.dg/vect/vect-44.c and vect-50.c fail starting with r247780

2017-05-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80694 --- Comment #3 from Bill Schmidt --- (In reply to Bill Schmidt from comment #2) > I think probably these tests failed before the fix, stopped failing with the > fix, and started failing again when the fix was reverted. So the revision > number

[Bug testsuite/80694] [8 regression] test cases gcc.dg/vect/vect-44.c and vect-50.c fail starting with r247780

2017-05-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80694 --- Comment #2 from Bill Schmidt --- I think probably these tests failed before the fix, stopped failing with the fix, and started failing again when the fix was reverted. So the revision number is a red herring -- we need to figure out when

[Bug target/80695] gratuitous use of stxvx to store multiple pointers

2017-05-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80695 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/66139] destructor not called for members of partially constructed anonymous struct/array

2017-05-10 Thread majerech.o at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 --- Comment #10 from Ondřej Majerech --- That SO answer appears to be plain out wrong. Running your snippet on GCC 6.3.1 and 8.0.0 20170507, the program calls terminate for me, even with the cout << "Welcome" line included.

[Bug tree-optimization/77644] missed optimization with sqrt in comparison

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77644 --- Comment #5 from Richard Biener --- Err, abs(A) < sqrt (B) isn't handled yet, no? Though I'm not sure if it's wise to emit A * A < B for that given A * A is going to drop of quite some bits in precision and likeliness to overflow / underflow

[Bug tree-optimization/77644] missed optimization with sqrt in comparison

2017-05-10 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77644 prathamesh3492 at gcc dot gnu.org changed: What|Removed |Added CC||prathamesh3492 at gcc

[Bug tree-optimization/77644] missed optimization with sqrt in comparison

2017-05-10 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77644 --- Comment #3 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Wed May 10 13:26:09 2017 New Revision: 247835 URL: https://gcc.gnu.org/viewcvs?rev=247835=gcc=rev Log: 2017-05-10 Prathamesh Kulkarni

[Bug fortran/80701] gfortran ignores dead code after return statement

2017-05-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80701 --- Comment #3 from Dominique d'Humieres --- This PR seems related to pr46476. While I am opposed to put any effort from the gfortran side, if the flags mentioned in pr46476 are implemented in the middle-end, they could benefit gfortran. Any

[Bug rtl-optimization/80474] ipa-cp wrongly adding LO(symbol) twice

2017-05-10 Thread jan.smets at nokia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80474 --- Comment #5 from Jan Smets --- We get 'good' code on 7.1/trunk since 2016-04-29 Patrick Palka tree-ssa-threadedge.c (simplify_control_stmt_condition): Split out into ...

[Bug c++/66139] destructor not called for members of partially constructed anonymous struct/array

2017-05-10 Thread jaak at ristioja dot ee
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 Jaak Ristioja changed: What|Removed |Added CC||jaak at ristioja dot ee --- Comment #9

[Bug fortran/80701] gfortran ignores dead code after return statement

2017-05-10 Thread gustavo.hime at mpimet dot mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80701 --- Comment #2 from Gustavo Hime --- --- Comment #1 from Dominique d'Humieres --- > The compiler does generate a warning about the implicit interface if > -Wimplicit-interface is turned on explicitly. I would suggest this should > be on by

[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault

2017-05-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536 --- Comment #12 from Jakub Jelinek --- (In reply to Marek Polacek from comment #11) > (In reply to Jakub Jelinek from comment #5) > > To expand on that, I think we want to drop that call from there and instead > > be able to simplify somehow a

[Bug c++/46476] Missing Warning about unreachable code after return

2017-05-10 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Franz Sirl changed: What|Removed |Added CC||sirl at gcc dot gnu.org --- Comment #10

[Bug c++/66139] destructor not called for members of partially constructed anonymous struct/array

2017-05-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139 Markus Trippelsdorf changed: What|Removed |Added CC||majerech.o at gmail dot com ---

[Bug c++/80683] Exceptions don't propagate through default member initializer

2017-05-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80683 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault

2017-05-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536 --- Comment #11 from Marek Polacek --- (In reply to Jakub Jelinek from comment #5) > To expand on that, I think we want to drop that call from there and instead > be able to simplify somehow a SAVE_EXPR if after c_fully_fold or cp_fold it >

[Bug testsuite/79067] gcc.dg/tree-prof/cold_partition_label.c runs a million times longer than it used to and times out

2017-05-10 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79067 --- Comment #2 from Andi Kleen --- There's a separate fix for the random failures (or w/a increase /proc/sys/kernel/perf_event_mlock_kb), see PR 77684 Not running the test on systems without FDO seems best. I don't think it does anything useful

[Bug tree-optimization/79830] GCC generates counterproductive code surrounding very simple loops (improvement request)

2017-05-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79830 --- Comment #6 from amker at gcc dot gnu.org --- BTW, I don't see problem in iv_elimination for the second loop, the .L7 one. It eliminates three IVs into one IV. Well, the bloated loop header could be further simplified, but it's another issue

[Bug fortran/80701] gfortran ignores dead code after return statement

2017-05-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80701 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug testsuite/77684] many tree-prof testsuite failures in parallel make check

2017-05-10 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77684 --- Comment #5 from Andi Kleen --- Created attachment 41337 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41337=edit limit perf buffer size This patch allows parallelism upto 16 with the default setting. Currently testing

[Bug tree-optimization/80702] New: FRE fails to eliminate to leader dominating after unreachable edge removal

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80702 Bug ID: 80702 Summary: FRE fails to eliminate to leader dominating after unreachable edge removal Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords:

[Bug target/77728] [5 Regression] Miscompilation multiple vector iteration on ARM

2017-05-10 Thread mkuvyrkov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #60 from Maxim Kuvyrkov --- (In reply to Jakub Jelinek from comment #59) > And another thing was the bug > mentioned here, introduced for arm32 in 5.2 and for aarch64 only during > development of GCC 7. So there was no release for

[Bug target/80671] config/aarch64/cortex-a57-fma-steering.c:416: bad statement order ?

2017-05-10 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80671 --- Comment #2 from wilco at gcc dot gnu.org --- Author: wilco Date: Wed May 10 11:01:26 2017 New Revision: 247831 URL: https://gcc.gnu.org/viewcvs?rev=247831=gcc=rev Log: Move an use-after-free access before the delete. gcc/ PR

[Bug target/77728] [5 Regression] Miscompilation multiple vector iteration on ARM

2017-05-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #59 from Jakub Jelinek --- It does mention it: "GCC has been updated to the latest revision of the procedure call standard (AAPCS64) to provide support for paramater passing when data types have been over-aligned." There were two

[Bug target/77728] [5 Regression] Miscompilation multiple vector iteration on ARM

2017-05-10 Thread mkuvyrkov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Maxim Kuvyrkov changed: What|Removed |Added CC||mkuvyrkov at gcc dot gnu.org ---

[Bug tree-optimization/79830] GCC generates counterproductive code surrounding very simple loops (improvement request)

2017-05-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79830 --- Comment #5 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > It is induction variable optimization (-fivopts) that re-writes the main > induction variable. We have > > Original cost 17 (complexity 2) > >

[Bug ada/80626] [7/8 Regression] Ada x32 multilib build failure for a-cfinve.ads

2017-05-10 Thread steven at uplinklabs dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80626 --- Comment #5 from Steven Noonan --- (In reply to H.J. Lu from comment #3) > Please try > > diff --git a/gcc/ada/system-linux-x86.ads b/gcc/ada/system-linux-x86.ads > index 22a212e..533d94e 100644 > --- a/gcc/ada/system-linux-x86.ads > +++

[Bug middle-end/69921] Switch OpenACC kernels number of gangs from "decide at run time" to "decide at compile time"

2017-05-10 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69921 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/79894] [5 Regression] ICE in gfc_add_modify_loc, at fortran/trans.c:159

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79894 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug middle-end/79756] [5 Regression] ICE in execute_todo, at passes.c:2011

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79756 --- Comment #10 from Richard Biener --- Author: rguenth Date: Wed May 10 10:01:23 2017 New Revision: 247829 URL: https://gcc.gnu.org/viewcvs?rev=247829=gcc=rev Log: 2017-05-10 Richard Biener Backport from mainline

[Bug middle-end/79756] [5 Regression] ICE in execute_todo, at passes.c:2011

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79756 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/79666] [5 Regression] wrong code (SIGFPE) at -O2 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79666 --- Comment #10 from Richard Biener --- Author: rguenth Date: Wed May 10 10:01:23 2017 New Revision: 247829 URL: https://gcc.gnu.org/viewcvs?rev=247829=gcc=rev Log: 2017-05-10 Richard Biener Backport from mainline

[Bug middle-end/79732] [5 Regression] ICE in set_ssa_default_def, at tree-dfa.c:327

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79732 --- Comment #10 from Richard Biener --- Author: rguenth Date: Wed May 10 10:01:23 2017 New Revision: 247829 URL: https://gcc.gnu.org/viewcvs?rev=247829=gcc=rev Log: 2017-05-10 Richard Biener Backport from mainline

[Bug fortran/79894] [5 Regression] ICE in gfc_add_modify_loc, at fortran/trans.c:159

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79894 --- Comment #9 from Richard Biener --- Author: rguenth Date: Wed May 10 10:01:23 2017 New Revision: 247829 URL: https://gcc.gnu.org/viewcvs?rev=247829=gcc=rev Log: 2017-05-10 Richard Biener Backport from mainline

[Bug tree-optimization/79666] [5 Regression] wrong code (SIGFPE) at -O2 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79666 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug middle-end/79732] [5 Regression] ICE in set_ssa_default_def, at tree-dfa.c:327

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79732 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug fortran/80701] New: gfortran ignores dead code after return statement

2017-05-10 Thread gustavo.hime at mpimet dot mpg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80701 Bug ID: 80701 Summary: gfortran ignores dead code after return statement Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/46476] Missing Warning about unreachable code after return

2017-05-10 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #9 from Jon Grant --- Happy to pay 200 USD bounty on a committed implementation for -Wunreachable-code examples. Even just instructions just after "return" or "break" etc

[Bug c++/46476] Missing Warning about unreachable code after return

2017-05-10 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Jon Grant changed: What|Removed |Added CC||jg at jguk dot org --- Comment #8 from Jon

[Bug c/80698] new unreachable code implementation possible?

2017-05-10 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80698 Jon Grant changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/71012] ICE: in expand_expr_real_2, at expr.c:9348 when compiling stress-ng

2017-05-10 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71012 --- Comment #4 from Arseny Solokha --- int mw; int j3 (int cn) { const int l7 = 0; int wz; for (wz = l7; wz < l7 + 3; ++wz) while (mw != 0) { cn ^= -(wz == l7); ++mw; } return cn; } actually leads to

[Bug c/80698] new unreachable code implementation possible?

2017-05-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80698 Andrew Pinski changed: What|Removed |Added Depends on||46476 --- Comment #1 from Andrew Pinski

[Bug target/80700] [8 Regression] ICE: Bus error (on SPE target)

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

[Bug c++/80145] [c++1y] ICE after failed return type deduction

2017-05-10 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80145 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/80145] [c++1y] ICE after failed return type deduction

2017-05-10 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80145 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed May 10 08:34:02 2017 New Revision: 247828 URL: https://gcc.gnu.org/viewcvs?rev=247828=gcc=rev Log: /cp 2017-05-10 Paolo Carlini PR

[Bug fortran/80666] character length parameter fails if declaration order incorrect

2017-05-10 Thread kloedej at knmi dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80666 --- Comment #2 from Jos de Kloe --- (In reply to Dominique d'Humieres from comment #1) > Why do you think this a bug in gfortran? > > The code compiles if you remove 'implicit none'. With it you have to define > 'keylen' before using it, as in

[Bug rtl-optimization/80700] [8 Regression] ICE: Bus error (on SPE target)

2017-05-10 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80700 --- Comment #1 from Arseny Solokha --- ==15430== Invalid read of size 1 ==15430==at 0xB9161C: constrain_operands(int, unsigned long) (recog.c:2583) ==15430==by 0xB92204: extract_constrain_insn(rtx_insn*) (recog.c:2212) ==15430==by

[Bug rtl-optimization/80700] New: [8 Regression] ICE: Bus error (on SPE target)

2017-05-10 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80700 Bug ID: 80700 Summary: [8 Regression] ICE: Bus error (on SPE target) Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug middle-end/80222] may_alias folded away

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80222 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/80334] [5 Regression] Segfault when taking address of copy of unaligned struct

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80334 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/80122] __builtin_va_arg_pack() and __builtin_va_arg_pack_len() does not work correctly

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80122 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/80334] [5 Regression] Segfault when taking address of copy of unaligned struct

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80334 --- Comment #9 from Richard Biener --- Author: rguenth Date: Wed May 10 07:53:45 2017 New Revision: 247827 URL: https://gcc.gnu.org/viewcvs?rev=247827=gcc=rev Log: 2017-05-10 Richard Biener Backport from mainline

[Bug middle-end/80222] may_alias folded away

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80222 --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed May 10 07:53:45 2017 New Revision: 247827 URL: https://gcc.gnu.org/viewcvs?rev=247827=gcc=rev Log: 2017-05-10 Richard Biener Backport from mainline

[Bug middle-end/80539] [5 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "chrec_fold_plus_poly_poly"

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80539 --- Comment #8 from Richard Biener --- Author: rguenth Date: Wed May 10 07:53:45 2017 New Revision: 247827 URL: https://gcc.gnu.org/viewcvs?rev=247827=gcc=rev Log: 2017-05-10 Richard Biener Backport from mainline

[Bug middle-end/80539] [5 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "chrec_fold_plus_poly_poly"

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80539 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/80122] __builtin_va_arg_pack() and __builtin_va_arg_pack_len() does not work correctly

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80122 --- Comment #10 from Richard Biener --- Author: rguenth Date: Wed May 10 07:53:45 2017 New Revision: 247827 URL: https://gcc.gnu.org/viewcvs?rev=247827=gcc=rev Log: 2017-05-10 Richard Biener Backport from mainline

  1   2   >