[Bug target/87067] [8.1, 8.2] LTO-related ICE when running armv7 binutils test suite

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87067 Richard Biener changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug lto/87076] -mpcu/-march not propagated through LTO bytecode (ice/segfault if arch flags do not match)

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87076 --- Comment #2 from Richard Biener --- *** Bug 87067 has been marked as a duplicate of this bug. ***

[Bug lto/87076] -mpcu/-march not propagated through LTO bytecode (ice/segfault if arch flags do not match)

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87076 --- Comment #3 from Richard Biener --- On x86_64 the actual -march switch isn't serialized but it is decomposed into individual -mFEATURE switches by the driver which are serialized. That is, if you make sure that int __attribute__((target("arc

[Bug c/87085] New: with -march=i386, gcc should not generate code including endbr instruction

2018-08-24 Thread chengming at bjuci dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87085 Bug ID: 87085 Summary: with -march=i386, gcc should not generate code including endbr instruction Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: norm

[Bug c++/87072] [6/7 Regression] g++6.2.0 false warning: array subscript is above array bounds, with misleading line number

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87072 Richard Biener changed: What|Removed |Added Blocks||56456 Target Milestone|---

[Bug bootstrap/87073] go bootstrap failure due to ICE in vr_values::extract_range_from_binary_expr

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87073 --- Comment #5 from Richard Biener --- (In reply to Aldy Hernandez from comment #2) > (In reply to Martin Sebor from comment #1) > > I wonder if it's related to pr87059. > > No, not related. > > Reproduced with a stage1 compiler just with --dis

[Bug tree-optimization/87074] [8/9 Regression] Vectorization bug: O3 result differ from O2

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87074 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-* Priority

[Bug c++/87075] [7/8/9 Regression] ICE when compiling the test suite of GLM 0.9.9.0

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87075 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug target/87077] missed optimization for horizontal add for x86 SSE

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

[Bug testsuite/87078] [9 regression] gcc.dg/vect/slp-37.c begins failing with r263772

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87078 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone|

[Bug testsuite/87081] [9 regression] gcc.target/powerpc/vec-init-6.c failures with r262930

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87081 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0

[Bug c/87084] Excessive diagnostic messages for invalid use of __builtin_va_arg_pack{,_len}() in a loop

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87084 Richard Biener changed: What|Removed |Added Keywords||accepts-invalid Status|UNCO

[Bug rtl-optimization/87065] [7/8/9 Regression] combine causes ICE in trunc_int_for_mode

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87065 --- Comment #7 from Richard Biener --- It's combines known_cond: Breakpoint 6, known_cond (x=0x76a65198, cond=EQ, reg=0x76a3fa20, val=0x76a47930) at /space/rguenther/src/gcc-sccvn/gcc/combine.c:9468 9468 enum rtx_code code

[Bug target/87085] with -march=i386, gcc should not generate code including endbr instruction

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87085 Richard Biener changed: What|Removed |Added CC||hjl at gcc dot gnu.org --- Comment #1 f

[Bug c++/86993] [6/7/8/9 Regression] assignment of read-only variable error reported at wrong location

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

[Bug bootstrap/87073] go bootstrap failure due to ICE in vr_values::extract_range_from_binary_expr

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87073 --- Comment #6 from Aldy Hernandez --- Author: aldyh Date: Fri Aug 24 08:06:06 2018 New Revision: 263828 URL: https://gcc.gnu.org/viewcvs?rev=263828&root=gcc&view=rev Log: PR 87073/bootstrap * wide-int-range.cc (wide_int_range_di

[Bug bootstrap/87073] go bootstrap failure due to ICE in vr_values::extract_range_from_binary_expr

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87073 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/87086] New: [9 Regression] ICE in canonize from wide-int.cc when building SPEC2000 254.gap

2018-08-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87086 Bug ID: 87086 Summary: [9 Regression] ICE in canonize from wide-int.cc when building SPEC2000 254.gap Product: gcc Version: unknown Status: UNCONFIRMED Keywords

[Bug tree-optimization/87086] [9 Regression] ICE in canonize from wide-int.cc when building SPEC2000 254.gap

2018-08-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87086 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |9.0 Known to fail|

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #8 from Aldy Hernandez --- On 08/23/2018 04:08 PM, msebor at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 > > --- Comment #7 from Martin Sebor --- > The MIN_EXPR code predates my change -- r255898 just

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 Aldy Hernandez changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Comment

[Bug tree-optimization/87086] [9 Regression] ICE in canonize from wide-int.cc when building SPEC2000 254.gap

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87086 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #10 from Aldy Hernandez --- (In reply to Martin Sebor from comment #7) > So the fix is presumably to change len3 to > > len3 = fold_convert_loc (loc, ssizetype, arg3); > > Given the difference between sizetype and ssizetype is

[Bug rtl-optimization/87065] [7/8/9 Regression] combine causes ICE in trunc_int_for_mode

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87065 --- Comment #8 from Jakub Jelinek --- --- gcc/combine.c.jj2018-08-24 08:55:25.0 +0200 +++ gcc/combine.c 2018-08-24 11:00:01.974006314 +0200 @@ -6495,7 +6495,7 @@ simplify_if_then_else (rtx x) pc_rtx, pc

[Bug web/87050] Bump wwwdocs to html5

2018-08-24 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87050 --- Comment #4 from Janne Blomqvist --- Sure, I can chip in a little, though I'm no html expert. Do you have some branch somewhere where you're working, or?

[Bug testsuite/87064] [9 regression] libgomp.oacc-fortran/reduction-3.f90 fails starting with r263751

2018-08-24 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87064 --- Comment #4 from Janne Blomqvist --- Well, that is, ahem, interesting. So it seems that OACC does the vector_length reduction incorrectly; the correct result is obviously 10.0 and not 9.0 which then causes the failure. I'm a bit lost why that

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug middle-end/87041] [8/9 Regression] GCC 8 regression: -Wformat "reading through null pointer" on unreachable code

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87041 --- Comment #2 from Jakub Jelinek --- That change just improved the constant folding. In C++ which has done that constant folding forever we don't warn, because check_format_arguments is called with the non-folded original arguments (though, bef

[Bug tree-optimization/87087] New: Optimization hangs up and consumes over 15Gb of memory

2018-08-24 Thread konstantin.vladimirov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87087 Bug ID: 87087 Summary: Optimization hangs up and consumes over 15Gb of memory Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug target/86989] ICE in rs6000_output_addr_const_extra, at config/rs6000/rs6000.c:20994

2018-08-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86989 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Fri Aug 24 10:49:27 2018 New Revision: 263829 URL: https://gcc.gnu.org/viewcvs?rev=263829&root=gcc&view=rev Log: rs6000: Check that the base of a TOCREL is the TOC (PR86989) There

[Bug c++/87088] New: Attached program doesn't finish compiling and linking

2018-08-24 Thread miltonkbenjamin at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 Bug ID: 87088 Summary: Attached program doesn't finish compiling and linking Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/87088] Attached program doesn't finish compiling and linking

2018-08-24 Thread miltonkbenjamin at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 --- Comment #1 from miltonkbenjamin --- Thanks for your support Best, Milt

[Bug c/87028] false positive -Wstringop-truncation strncpy with global variable source string

2018-08-24 Thread anon63 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87028 --- Comment #6 from anon63 --- Dear Martin, Thank you for all these details. Well, re-reading what I wrote in Comment 0, I think I should explain what I meant by "Lots of codebases can't be compiled with -Werror flag now.". Since the gcc-7 ->

[Bug tree-optimization/87087] [8/9 Regression] Optimization hangs up and consumes over 15Gb of memory

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87087 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug tree-optimization/87087] [8 Regression] Optimization hangs up and consumes over 15Gb of memory

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87087 Richard Biener changed: What|Removed |Added Known to work||9.0 Summary|[8/9 Regression]

[Bug c++/87088] Attached program doesn't finish compiling and linking

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/87086] [9 Regression] ICE in canonize from wide-int.cc when building SPEC2000 254.gap

2018-08-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87086 --- Comment #2 from ktkachov at gcc dot gnu.org --- (In reply to Aldy Hernandez from comment #1) > Duplicate. > > *** This bug has been marked as a duplicate of bug 87059 *** Are you sure this is a dup? PR 87059 seems to be about strncmp whereas

[Bug lto/87089] New: [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-08-24 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 Bug ID: 87089 Summary: [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h Product: gcc V

[Bug preprocessor/87088] Attached program doesn't finish compiling and linking

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Component|c++

[Bug c++/87090] New: Constexpr variables in functions are not optimized correctly

2018-08-24 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87090 Bug ID: 87090 Summary: Constexpr variables in functions are not optimized correctly Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal P

[Bug preprocessor/87088] Attached program doesn't finish compiling and linking

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088 --- Comment #4 from Jonathan Wakely --- FWIW this was changed by r247222 2017-04-25 Bernd Edlinger * c-common.c (c_type_hasher, type_hash_table): Remove. (c_common_get_alias_set): Remove unreachable code. * c-opts.c (c_

[Bug debug/79342] [6 Regression] ICE in output_index_string, at dwarf2out.c:25635 with -gsplit-dwarf

2018-08-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79342 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Aug 24 11:28:40 2018 New Revision: 263831 URL: https://gcc.gnu.org/viewcvs?rev=263831&root=gcc&view=rev Log: DWARF: Call set_indirect_string on DW_MACINFO_start_file Since -g

[Bug target/87085] with -march=i386, gcc should not generate code including endbr instruction

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87085 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/86989] ICE in rs6000_output_addr_const_extra, at config/rs6000/rs6000.c:20994

2018-08-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86989 --- Comment #3 from Segher Boessenkool --- Fixed on trunk; backports pending.

[Bug c/66970] Add __has_builtin() macro

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66970 --- Comment #11 from Jonathan Wakely --- (In reply to felix from comment #7) > I made the feature closely mimic The Other Compiler's behaviour: only > function built-ins are recognised. This includes generic functions like > __builtin_add_overflo

[Bug debug/87039] [8/9 Regression] DW_OP_fbreg used without a frame base on a C++ code w/ -fopenmp

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87039 --- Comment #1 from Jakub Jelinek --- I think this shows a pretty major bug caused by the early dwarf changes - it happens too early. When OpenMP/OpenACC etc. does move_sese_region_to_fn, it duplicates the BLOCK which is on the boundary and shoul

[Bug tree-optimization/87087] [8 Regression] Optimization hangs up and consumes over 15Gb of memory

2018-08-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87087 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug target/87077] missed optimization for horizontal add for x86 SSE

2018-08-24 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87077 --- Comment #3 from trashyankes at wp dot pl --- (In reply to Richard Biener from comment #2) > Can you attach the source please? These stupid Web 2.0 sites do not allow > to save it to a file. Code: ``` #include #include struct alignas(32)

[Bug debug/87039] [8/9 Regression] DW_OP_fbreg used without a frame base on a C++ code w/ -fopenmp

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87039 --- Comment #2 from Jakub Jelinek --- Actually, I think this got broken with PR78363 r244892. Before that the early_global_decl hooks are only called on the functions when all the functions are lowered and thus the BLOCKs moved.

[Bug tree-optimization/87087] [8 Regression] Optimization hangs up and consumes over 15Gb of memory

2018-08-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87087 --- Comment #4 from Martin Liška --- ... and started with r257441.

[Bug c++/87091] New: Malformed fix-it hint for missing header

2018-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87091 Bug ID: 87091 Summary: Malformed fix-it hint for missing header Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3

[Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-08-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug testsuite/87064] [9 regression] libgomp.oacc-fortran/reduction-3.f90 fails starting with r263751

2018-08-24 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87064 Janne Blomqvist changed: What|Removed |Added CC||cesar at codesourcery dot com --- Comm

[Bug c++/87091] Malformed fix-it hint for missing header

2018-08-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87091 --- Comment #1 from David Malcolm --- Looks a lot like the issue I fixed in r263606.

[Bug c++/51180] [C++0x] inner class alias-definition variadic template error

2018-08-24 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51180 trashyankes at wp dot pl changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug c++/87091] Malformed fix-it hint for missing header

2018-08-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87091 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2018-08-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 --- Comment #8 from Alexander Monakov --- (In reply to Jakub Jelinek from comment #7) > Treating the missing else cost as 0 cost isn't right either, it is ok to > accept some small cost, otherwise we wouldn't do the if conversion ever with > miss

[Bug middle-end/87092] New: [9 Regression] internal compiler error: Segmentation fault

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87092 Bug ID: 87092 Summary: [9 Regression] internal compiler error: Segmentation fault Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/80093] missed optimization opportunity with std::uniform_int_distribution

2018-08-24 Thread trashyankes at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80093 trashyankes at wp dot pl changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 --- Comment #9 from Jakub Jelinek --- (In reply to Alexander Monakov from comment #8) > Well, original_costs is already initialized with COSTS_N_INSNS (2), > accounting for test and branch that would be removed. So it's not too bad: > in pr78120.

[Bug target/87077] missed optimization for horizontal add for x86 SSE

2018-08-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87077 Richard Biener changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Richard Biener

[Bug c++/87080] [9 Regression] ice in cp_get_fndecl_from_callee, at cp/cvt.c:965

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87080 Marek Polacek changed: What|Removed |Added Target Milestone|--- |9.0 Summary|ice in

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 Marek Polacek changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #

[Bug middle-end/87092] [9 Regression] internal compiler error: Segmentation fault

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

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2018-08-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 --- Comment #10 from Alexander Monakov --- Scaling costs by edge probabilities would also solve this issue, perhaps in a cleaner way. (to be clear: if speed_p, instead of taking the weird faux-minimum, add to original_cost the linear combination

[Bug target/86973] [6/7/8/9 Regression] ICE in expand_call, at calls.c:4217

2018-08-24 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86973 --- Comment #4 from Michael Matz --- FWIW, the testcase is broken since it can be compiled, namely since the two attributes ms_abi and sysv_abi are accepted, which is r137525 from 2008. Only broken with -mno-accumulate-outgoing-args of course.

[Bug c++/87093] New: is_constructible (__is_constructible() instrinsic) explicitly instantiates conversion member function of source

2018-08-24 Thread TonyELewis at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87093 Bug ID: 87093 Summary: is_constructible (__is_constructible() instrinsic) explicitly instantiates conversion member function of source Product: gcc Version: 9.0

[Bug libstdc++/68222] _Safe_iterator provides operators the wrapped iterator can't actually support

2018-08-24 Thread TonyELewis at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68222 --- Comment #4 from Tony E Lewis --- Yes - Godbolt's GCC trunk is now showing an error where I'd expect within the original repro code. Great stuff. Thanks very much for your work on this.

[Bug testsuite/87064] [9 regression] libgomp.oacc-fortran/reduction-3.f90 fails starting with r263751

2018-08-24 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87064 cesar at gcc dot gnu.org changed: What|Removed |Added CC||cesar at gcc dot gnu.org,

[Bug rtl-optimization/87047] [7/8/9 Regression] performance regression because of if-conversion

2018-08-24 Thread already5chosen at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87047 --- Comment #11 from Michael_S --- Sorry for intervening, but IMHO a new __builtin is long overdue. __builtin (In reply to Jakub Jelinek from comment #9) > (In reply to Alexander Monakov from comment #8) > > Well, original_costs is already initia

[Bug c++/87075] [7/8/9 Regression] ICE when compiling the test suite of GLM 0.9.9.0

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87075 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2018-08-24 Thread joey.ye at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 Joey Ye changed: What|Removed |Added CC||joey.ye at arm dot com --- Comment #36 from Jo

[Bug c/82967] "did you mean" suggestions are way too suggestive

2018-08-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82967 --- Comment #6 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01542.html

[Bug tree-optimization/87074] [8/9 Regression] Vectorization bug: O3 result differ from O2

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

[Bug tree-optimization/87074] [8/9 Regression] Vectorization bug: O3 result differ from O2

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87074 Jakub Jelinek changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #3 f

[Bug bootstrap/87073] go bootstrap failure due to ICE in vr_values::extract_range_from_binary_expr

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87073 Aldy Hernandez changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Comment

[Bug tree-optimization/87086] [9 Regression] ICE in canonize from wide-int.cc when building SPEC2000 254.gap

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87086 --- Comment #3 from Aldy Hernandez --- My bad. This is a duplicate but of pr87073, which is now fixed on mainline. *** This bug has been marked as a duplicate of bug 87073 ***

[Bug c++/86953] [6/7/8/9 Regression] compiler crashes with constexpr operator== and specific struct (cxx_eval_bit_field_ref, at cp/constexpr.c:2704)

2018-08-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86953 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Depends

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #12 from Aldy Hernandez --- BTW, this is reproducible with an x86-64 cross by forcing the generation of cmpstrnsi with -mcpu=cell and the following patch: diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 9ea

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 H.J. Lu changed: What|Removed |Added Target|powerpc64le-linux | --- Comment #13 from H.J. Lu --- This bug al

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #14 from Aldy Hernandez --- (In reply to H.J. Lu from comment #13) > This bug also happens on x86-64. Would you happen to have a preprocessed testcase on x86-64?

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #15 from Segher Boessenkool --- (In reply to Aldy Hernandez from comment #12) > (It really irks me that the PPC backend has backend behavior that depends on > what assembler (or cross assembler) is available at configure time. It > m

[Bug c++/86942] A trailing-return-type is allowed when the return type is not 'auto' for using declarations

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86942 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Fri Aug 24 15:48:43 2018 New Revision: 263836 URL: https://gcc.gnu.org/viewcvs?rev=263836&root=gcc&view=rev Log: PR c++/67012 PR c++/86942 * decl.c (grokdeclara

[Bug c++/67012] decltype(auto) with trailing return type

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

[Bug c++/67012] decltype(auto) with trailing return type

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67012 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Fri Aug 24 15:48:43 2018 New Revision: 263836 URL: https://gcc.gnu.org/viewcvs?rev=263836&root=gcc&view=rev Log: PR c++/67012 PR c++/86942 * decl.c (grokdeclara

[Bug c++/86942] A trailing-return-type is allowed when the return type is not 'auto' for using declarations

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

[Bug c++/86942] A trailing-return-type is allowed when the return type is not 'auto' for using declarations

2018-08-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86942 --- Comment #4 from Marek Polacek --- Fixed.

[Bug c/87028] false positive -Wstringop-truncation strncpy with global variable source string

2018-08-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87028 Martin Sebor changed: What|Removed |Added Keywords||patch Status|NEW

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #16 from Aldy Hernandez --- On 08/24/2018 11:41 AM, segher at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 > > --- Comment #15 from Segher Boessenkool --- > (In reply to Aldy Hernandez from comment #12

[Bug ipa/87094] New: Suboptimal accounting for stack growth in inlining

2018-08-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87094 Bug ID: 87094 Summary: Suboptimal accounting for stack growth in inlining Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug c++/87093] is_constructible (__is_constructible() instrinsic) explicitly instantiates conversion member function of source

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

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #17 from H.J. Lu --- On x86-64: [hjl@gnu-cfl-1 gcc]$ cat x.c int a, b; void c(void) { if (b) b = a / b; } [hjl@gnu-cfl-1 gcc]$ ./xgcc -B./ -O3 -funroll-loops -ffast-math -fwrapv -S x.c during GIMPLE pass: evrp x.c: In functio

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #18 from Aldy Hernandez --- BTW, the suggest patch in comment 10 causes an x86-64 regression on gcc.dg/attr-nonstring-3.c because of some incompatibility with ssizetype and sizetype. I believe it's related to this: https://gcc.gnu.o

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #19 from Aldy Hernandez --- (In reply to H.J. Lu from comment #17) > On x86-64: > > [hjl@gnu-cfl-1 gcc]$ cat x.c > int a, b; > > void > c(void) { > if (b) > b = a / b; > } > [hjl@gnu-cfl-1 gcc]$ ./xgcc -B./ -O3 -funroll-loops

[Bug bootstrap/87073] go bootstrap failure due to ICE in vr_values::extract_range_from_binary_expr

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87073 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #9 from

[Bug middle-end/87092] [9 Regression] internal compiler error: Segmentation fault

2018-08-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87092 --- Comment #2 from H.J. Lu --- *** This bug has been marked as a duplicate of bug 87073 ***

[Bug tree-optimization/87059] [9 Regression] internal compiler error: in set_value_range, at tree-vrp.c:289

2018-08-24 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87059 --- Comment #20 from Aldy Hernandez --- (In reply to Aldy Hernandez from comment #18) > BTW, the suggest patch in comment 10 causes an x86-64 regression on > gcc.dg/attr-nonstring-3.c because of some incompatibility with ssizetype and > sizetype.

[Bug c++/30812] enhancement: exception specification in __PRETTY_FUNCTION__

2018-08-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30812 Eric Gallager changed: What|Removed |Added CC||jason at redhat dot com,

[Bug middle-end/87092] [9 Regression] internal compiler error: Segmentation fault

2018-08-24 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87092 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Aug 24 16:58:27 2018 New Revision: 263837 URL: https://gcc.gnu.org/viewcvs?rev=263837&root=gcc&view=rev Log: Add a testcase for PR middle-end/87092 PR middle-end/87092

  1   2   >