[Bug tree-optimization/81365] [7/8 Regression] GCC miscompiles swap

2017-07-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81365 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Mon Jul 17 09:10:23 2017 New Revision: 250261 URL: https://gcc.gnu.org/viewcvs?rev=250261&root=gcc&view=rev Log: PR tree-optimization/81365 * tree-ssa-phiprop.c (propagate

[Bug lto/81351] [8 regression] Many LTO testcases FAIL

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81351 Richard Biener changed: What|Removed |Added Keywords||lto Priority|P3

[Bug tree-optimization/81354] [5/6 Regression] Segmentation fault in SSA Strength Reduction using -O3

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81354 Richard Biener changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug target/81356] __builtin_strcpy is not good for copying an empty string on aarch64

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81356 --- Comment #3 from Richard Biener --- A GIMPLE level optimization to *a = '\0'; would still be ok but I agree with Andrew.

[Bug c++/81359] [7/8 Regression] bogus error: constructor required before non-static data member for ‘Foo::Bar::test’ has been parsed

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81359 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/81423] [6/7/8 Regression] Wrong code at -O2

2017-07-17 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81423 --- Comment #5 from Segher Boessenkool --- There are a few issues here. 1) I cannot reproduce it: a trunk x86_64-linux compiler stores to memory in that insn 20 (the testcase from comment 3). 2) 17, 18 -> 19 should already match. Instead we ge

[Bug bootstrap/81459] GNAT 7.1.0 build failed on the Debian 9/x86_64

2017-07-17 Thread barbos at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81459 --- Comment #4 from hothing --- Problem is solved.

[Bug target/81316] Missing memory side effect on __atomic_store

2017-07-17 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81316 Alexander Monakov changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/81426] [SH]: unable to find a register to spill in class 'R0_REGS' when building webkit2gtk

2017-07-17 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 --- Comment #1 from Oleg Endo --- Have you tried compiling the package with -mlra?

[Bug target/81426] [SH]: unable to find a register to spill in class 'R0_REGS' when building webkit2gtk

2017-07-17 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 --- Comment #2 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #1) > Have you tried compiling the package with -mlra? Not yet, I will give it a try now.

[Bug target/81426] [SH]: unable to find a register to spill in class 'R0_REGS' when building webkit2gtk

2017-07-17 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 --- Comment #3 from Oleg Endo --- (In reply to John Paul Adrian Glaubitz from comment #2) > > Not yet, I will give it a try now. Please try. It might allow you to at least build the package. Regardless of that, let's keep this PR open.

[Bug tree-optimization/81428] [7/8 Regression] ICE: in build_one_cst, at tree.c:2079 with -O2. Fixed point division.

2017-07-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81428 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Jul 17 10:20:41 2017 New Revision: 250265 URL: https://gcc.gnu.org/viewcvs?rev=250265&root=gcc&view=rev Log: PR tree-optimization/81428 * match.pd (X / X -> one): Don'

[Bug ipa/81360] [8 Regression] ice in estimate_edge_growth, at ipa-inline.h:86

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

[Bug ada/81361] Exceptions mishandled (_Unwind_Resume() can't return)

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81361 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug target/81362] [8 regression] FAIL: gcc.dg/vect/no-vfa-vect-57.c execution test

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0 Summary|[8.0 regression]

[Bug target/81363] [8 regression] FAIL: gcc.dg/vect/pr51581-1.c (internal compiler error)

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

[Bug tree-optimization/81366] pragma omp simd reduce(max:m) not vectorizing

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

[Bug middle-end/81368] GCC reports bad option if -fdata-sections/-ffunction-sections is specified through #pragma or function attribute

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

[Bug tree-optimization/81374] [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391

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

[Bug tree-optimization/81373] [7/8 Regression] Graphite ICE in ssa_default_def at gcc/tree-dfa.c:305

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81373 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug driver/81382] glibc deadlock in signal handler

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

[Bug middle-end/28859] GCC calls malloc from within signal context

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28859 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #

[Bug tree-optimization/81384] built-in form of strnlen missing

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

[Bug libgomp/81386] [8 regression] libgomp.fortran/appendix-a/a.16.1.f90 fails starting with 249424

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

[Bug sanitizer/81387] UBSAN consumes too much memory at -O2

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81387 --- Comment #4 from Richard Biener --- There's a dup of this specific issue (workaround: -fno-ree), can't find it right now.

[Bug sanitizer/81387] UBSAN consumes too much memory at -O2

2017-07-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81387 --- Comment #5 from Jakub Jelinek --- Maybe we should just disable the REE pass if we can predict from number of basic blocks, their sizes or number of edges that DF_UD_CHAIN + DF_DU_CHAIN computation will be really expensive.

[Bug tree-optimization/81388] [7/8 Regression] Incorrect code generation with -O1

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81388 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug tree-optimization/81403] [8 Regression] wrong code at -O3

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81403 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|NEW

[Bug lto/81406] [6/7/8 Regression] ICE in check_die, at dwarf2out.c:6185

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

[Bug middle-end/81408] Lots of new -Wunsafe-loop-optimizations warnings with 7 compared to 6

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81408 Richard Biener changed: What|Removed |Added Keywords||diagnostic Component|c++

[Bug gcov-profile/81442] error: verify_flow_info: REG_BR_PROB is set but cfg probability is not during RTL pass: outof_cfglayout

2017-07-17 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81442 Thomas Schwinge changed: What|Removed |Added Keywords||openacc Status|UNCONFIRMED

[Bug c++/81410] [5/6/7/8 Regression] -O3 breaks code

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81410 Richard Biener changed: What|Removed |Added Keywords||wrong-code Priority|P3

[Bug tree-optimization/81418] [8 Regression] ICE in vect_get_vec_def_for_stmt_copy

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81418 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|NEW

[Bug rtl-optimization/81423] [6/7/8 Regression] Wrong code at -O2

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81423 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/81030] [8 Regression] ICE on valid code at -O1 (only) on x86_64-linux-gnu: verify_flow_info failed

2017-07-17 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81030 Tom de Vries changed: What|Removed |Added Keywords||patch --- Comment #9 from Tom de Vries -

[Bug middle-end/81441] slowdown due to -fpeel-loops and -ftracer added by -fprofile-use

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

[Bug middle-end/81443] gcc-7.1.0/MIPS N32: build/genrecog.o: virtual memory exhausted: Cannot allocate memory

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81443 Richard Biener changed: What|Removed |Added Target||mips Status|UNCONFIRMED

[Bug target/81426] [SH]: unable to find a register to spill in class 'R0_REGS' when building webkit2gtk

2017-07-17 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 --- Comment #4 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #3) > Please try. It might allow you to at least build the package. Regardless > of that, let's keep this PR open. It helps, indeed. The build now passes the

[Bug tree-optimization/81450] Typedef with assume aligned builtin yields segmentation fault in nested loop

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

[Bug target/81456] [7/8 Regression] x86-64 optimizer makes wrong decision when optimizing for size

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

[Bug tree-optimization/81374] [8 Regression] ICE in bb_top_order_cmp, at tree-loop-distribution.c:391

2017-07-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81374 --- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Mon Jul 17 11:34:30 2017 New Revision: 250268 URL: https://gcc.gnu.org/viewcvs?rev=250268&root=gcc&view=rev Log: PR tree-optimization/81374 * tree-loop-distribut

[Bug middle-end/81457] Inconsistent section flags for section attribute

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81457 --- Comment #1 from Richard Biener --- Please post the patch to gcc-patches

[Bug sanitizer/81460] [8 Regression] ICE in force_constant_size, at gimplify.c:684

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

[Bug tree-optimization/81461] Optimization for removing same variable comparisons in loop: while(it != end1 && it != end2)

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

[Bug tree-optimization/81463] [8 Regression] ICE in scale_loop_profile at gcc/cfgloopmanip.c:603

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81463 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Version|7.0

[Bug tree-optimization/81462] [8 Regression] ICE in estimate_bb_frequencies at gcc/predict.c:3546

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81462 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Version|7.0

[Bug middle-end/81464] [8 Regression] ICE in expand_omp_for_static_chunk, at omp-expand.c:4236

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

[Bug tree-optimization/81369] [8 Regression] ICE in generate_code_for_partition

2017-07-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81369 --- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Mon Jul 17 11:38:15 2017 New Revision: 250269 URL: https://gcc.gnu.org/viewcvs?rev=250269&root=gcc&view=rev Log: PR target/81369 * tree-loop-distribution.c (merg

[Bug other/81458] Misdetection of gcc_cv_as_cfi_advance_working

2017-07-17 Thread joerg at netbsd dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81458 --- Comment #2 from Joerg Sonnenberger --- More testing seems to point to binutils 2.28 as fixing objcopy. It is still not clear whether there is any reason to preferring it though, especially as many systems ship older versions.

[Bug tree-optimization/81369] [8 Regression] ICE in generate_code_for_partition

2017-07-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81369 --- Comment #4 from amker at gcc dot gnu.org --- Author: amker Date: Mon Jul 17 11:40:54 2017 New Revision: 250270 URL: https://gcc.gnu.org/viewcvs?rev=250270&root=gcc&view=rev Log: PR target/81369 * tree-loop-distribution.c (clas

[Bug tree-optimization/81388] [7/8 Regression] Incorrect code generation with -O1

2017-07-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81388 amker at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amker at gcc dot gnu.org

[Bug sanitizer/81302] [7/8 Regression] Segmentation fault in diagnose_tm_1 at trans-mem.c

2017-07-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81302 --- Comment #4 from Martin Liška --- Author: marxin Date: Mon Jul 17 11:44:54 2017 New Revision: 250271 URL: https://gcc.gnu.org/viewcvs?rev=250271&root=gcc&view=rev Log: Do not allow -fgnu-tm w/ -fsanitize={kernel-,}address (PR sanitizer/81302)

[Bug tree-optimization/81162] [8 Regression] UBSAN switch triggers incorrect optimization in SLSR

2017-07-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81162 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de --- C

[Bug c++/81347] g++ confused by namespaces and friend classes

2017-07-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|RESOL

[Bug c++/81347] g++ confused by namespaces and friend classes

2017-07-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 --- Comment #3 from Jonathan Wakely --- I would guess that the instantiation of A::tree injects the type map into the enclosing namespace, and then the using-declaration finds two declarations and thinks it's an error. bug.cc:17:10: error: ‘map’

[Bug target/81426] [SH]: unable to find a register to spill in class 'R0_REGS' when building webkit2gtk

2017-07-17 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 --- Comment #5 from Oleg Endo --- (In reply to John Paul Adrian Glaubitz from comment #4) > > It helps, indeed. The build now passes the problematic source code file. > However, it now bails out later with: > > /tmp/cck5XKuE.s: Assembler messag

<    1   2