[Bug fortran/84931] Expansion of array constructor with constant implied-do-object goes sideways

2018-03-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84931 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Mon Mar 19 07:04:35 2018 New Revision: 258641 URL: https://gcc.gnu.org/viewcvs?rev=258641&root=gcc&view=rev Log: 2018-03-19 Thomas Koenig PR fortran/84931 * simplify

[Bug c++/84938] [7/8 Regression] internal compiler error: in gen_reg_rtx, at emit-rtl.c:1187 (gen_reg_rtx()/maybe_legitimize_operand())

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84938 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84939] [6/7/8 Regression] internal compiler error: in gimplify_expr, at gimplify.c:12382

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84939 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84939] [6/7/8 Regression] internal compiler error: in gimplify_expr, at gimplify.c:12382

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84939 Marek Polacek changed: What|Removed |Added Target Milestone|--- |6.5

[Bug c++/84939] [6/7/8 Regression] internal compiler error: in gimplify_expr, at gimplify.c:12382

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84939 --- Comment #2 from Marek Polacek --- G++ 4.9 says: 84939.C:8:46: warning: taking sizeof array of runtime bound [-Wvla] a() { (sizeof(char[static_cast(d)])); } ^

[Bug tree-optimization/71485] g++ ICE on x86_64-linux-gnu in “gimplify_expr”

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71485 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/84944] New: UBSAN: gcc/optabs.c:6550:26: runtime error: load of value 131075, which is not a valid value for type 'memmodel'

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84944 Bug ID: 84944 Summary: UBSAN: gcc/optabs.c:6550:26: runtime error: load of value 131075, which is not a valid value for type 'memmodel' Product: gcc Version: unkn

[Bug c++/84940] [7/8 Regression] internal compiler error: in build_value_init_noctor, at cp/init.c:465

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84940 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/84944] UBSAN: gcc/optabs.c:6550:26: runtime error: load of value 131075, which is not a valid value for type 'memmodel'

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84944 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/84643] gcc/optabs.c:6549:26: runtime error: load of value 131075, which is not a valid value for type 'memmodel'

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84643 --- Comment #1 from Martin Liška --- *** Bug 84944 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/84643] gcc/optabs.c:6549:26: runtime error: load of value 131075, which is not a valid value for type 'memmodel'

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84643 --- Comment #2 from Martin Liška --- It's caused by fact that #define IX86_HLE_ACQUIRE (1 << 16) #define IX86_HLE_RELEASE (1 << 17) are not defined in memmodel enum.

[Bug c++/84940] [7/8 Regression] internal compiler error: in build_value_init_noctor, at cp/init.c:465

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84940 --- Comment #2 from Marek Polacek --- r239267

[Bug c++/84941] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/84945] New: UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84945 Bug ID: 84945 Summary: UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int' Product: gcc Version: unknown Status: U

[Bug c++/84942] [6/7/8 Regression] internal compiler error: in fold_convert_const_int_from_real, at fold-const.c:2011

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84942 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84943] [8 Regression] internal compiler error: in build_call_a, at cp/call.c:374

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84943 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/84946] New: UBSAN: in mem_valid_for_store_merging ../../gcc/gimple-ssa-store-merging.c:3951

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84946 Bug ID: 84946 Summary: UBSAN: in mem_valid_for_store_merging ../../gcc/gimple-ssa-store-merging.c:3951 Product: gcc Version: unknown Status: UNCONFIRMED Severit

[Bug tree-optimization/84946] UBSAN: in mem_valid_for_store_merging ../../gcc/gimple-ssa-store-merging.c:3951

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84946 Martin Liška changed: What|Removed |Added Last reconfirmed||2018-3-19 Blocks|

[Bug tree-optimization/84811] [8 Regression] ICE on valid code at -O3 in 64-bit mode on x86_64-linux-gnu: in smallest_mode_for_size, at stor-layout.c:355

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84811 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|NEW CC|

[Bug c++/84937] [7/8 Regression] ICE with class template argument deduction and auto

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84937 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84937] [7/8 Regression] ICE with class template argument deduction and auto

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84937 --- Comment #1 from Marek Polacek --- r240756

[Bug ipa/84947] New: UBSAN: ipcp_bits_lattice::meet_with(generic_wide_int >, generic_wide_int >, unsigned int) ../../gcc/ipa-cp.c:1058

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84947 Bug ID: 84947 Summary: UBSAN: ipcp_bits_lattice::meet_with(generic_wide_int >, generic_wide_int >, unsigned int) ../../gcc/ipa-cp.c:1058 Product: gcc

[Bug tree-optimization/84946] UBSAN: in mem_valid_for_store_merging ../../gcc/gimple-ssa-store-merging.c:3951

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84946 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/84936] [8 Regression] ICE with unexpanded parameter pack

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84936 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/84901] --dynamic-list=export is ignored in presence of -flto

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

[Bug target/84899] [6/7 Regression] ICE: in final_scan_insn_1, at final.c:3139 (error: could not split insn)

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84899 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug c/84900] Compiler report a error unexpectedly.

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84900 Richard Biener changed: What|Removed |Added Keywords||accepts-invalid --- Comment #1 from Ric

[Bug c++/84936] [8 Regression] ICE with unexpanded parameter pack

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84936 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/84906] [8 Regression] Ambiguous conversion not diagnosed, causes entire selection-statement to be omitted

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

[Bug target/84908] retpoline weirdness: 7.3.0-1 and 4.8.5-16: with -fPIC: R_X86_64_PC32 against undefined symbol `__x86_indirect_thunk_rax'

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

[Bug target/84711] AArch32 big-endian fails when taking subreg of a vector mode to a scalar mode.

2018-03-19 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84711 --- Comment #9 from Tamar Christina --- Hi Christophhe, This seems to be a combine issue. It thinks that (set (reg/i:SF 16 s0) (vec_select:SF (reg:V4SF 16 s0 [ xD.6085 ]) (parallel [ (const_int 0 [0]) ])

[Bug ipa/84947] UBSAN: ipcp_bits_lattice::meet_with(generic_wide_int >, generic_wide_int >, unsigned int) ../../gcc/ipa-cp.c:1058

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84947 Martin Liška changed: What|Removed |Added Last reconfirmed||2018-3-19 Target Milestone|---

[Bug c++/84927] [7/8 Regressiion] ICE with NSDMI and reference

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84927 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/84919] [8 Regression] error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84919 Richard Biener changed: What|Removed |Added Keywords||diagnostic Target Milestone|---

[Bug c++/84925] [8 Regression] ICE with segfault in __PRETTY_FUNCTION__

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84925 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/84945] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84945 Martin Liška changed: What|Removed |Added Last reconfirmed||2018-3-19 CC|

[Bug tree-optimization/84929] [8 Regression] ICE at -O3 on valid code on x86_64-linux-gnu: tree check: expected polynomial_chrec, have nop_expr in analyze_siv_subscript_cst_affine, at tree-data-ref.c:

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84929 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/84927] [7/8 Regressiion] ICE with NSDMI and reference

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

[Bug c/84900] Compiler report a error unexpectedly.

2018-03-19 Thread 141242068 at smail dot nju.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84900 --- Comment #2 from wierton <141242068 at smail dot nju.edu.cn> --- (In reply to Richard Biener from comment #1) > I belive the code is invalid and using literal 0 instead of test = 0 > shouldn't make it accepted either. clang rejects both varian

[Bug tree-optimization/84935] FAIL: gcc.dg/tree-ssa/pr84512.c scan-tree-dump optimized "return 285;"

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84935 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/84936] [8 Regression] ICE with unexpanded parameter pack

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84936 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84945 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Last reconfirmed|2018-03-19 00:00:0

[Bug c++/84937] [7/8 Regression] ICE with class template argument deduction and auto

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84937 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/84940] [7/8 Regression] internal compiler error: in build_value_init_noctor, at cp/init.c:465

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84940 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/84943] [8 Regression] internal compiler error: in build_call_a, at cp/call.c:374

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84943 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/84938] [7/8 Regression] internal compiler error: in gen_reg_rtx, at emit-rtl.c:1187 (gen_reg_rtx()/maybe_legitimize_operand())

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84938 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/84942] [6/7/8 Regression] internal compiler error: in fold_convert_const_int_from_real, at fold-const.c:2011

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84942 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

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

[Bug c++/84939] [6/7/8 Regression] internal compiler error: in gimplify_expr, at gimplify.c:12382

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84939 Richard Biener changed: What|Removed |Added Keywords||error-recovery Priority|P3

[Bug tree-optimization/84946] [8 Regression] UBSAN: in mem_valid_for_store_merging ../../gcc/gimple-ssa-store-merging.c:3951

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84946 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Version|unknown

[Bug fortran/84615] [8 Regression] Executable Segfault for some tests compiled with -m32 after r256284

2018-03-19 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84615 --- Comment #11 from Janne Blomqvist --- Yes, makes sense. And the same happens if one uses an external function with a hand-rolled interface declaration: function chararray2string(chararray) result(text) character(len=1), dimension(:) :: char

[Bug fortran/84615] [8 Regression] Executable Segfault for some tests compiled with -m32 after r256284

2018-03-19 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84615 --- Comment #12 from Janne Blomqvist --- So to be clear, the problem seems to be that while the code generation for the function itself appears Ok, it generates the interface wrong (i.e. uses the declared charlen kind instead of C_SIZE_T), and th

[Bug target/84711] AArch32 big-endian fails when taking subreg of a vector mode to a scalar mode.

2018-03-19 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84711 --- Comment #10 from Tamar Christina --- Author: tnfchris Date: Mon Mar 19 09:14:25 2018 New Revision: 258642 URL: https://gcc.gnu.org/viewcvs?rev=258642&root=gcc&view=rev Log: gcc/ 2018-03-19 Tamar Christina PR target/84711

[Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

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

[Bug rtl-optimization/84643] gcc/optabs.c:6549:26: runtime error: load of value 131075, which is not a valid value for type 'memmodel'

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84643 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug go/84948] New: [8 regression] ICE in set_from, at go/gofrontend/types.cc:2660

2018-03-19 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84948 Bug ID: 84948 Summary: [8 regression] ICE in set_from, at go/gofrontend/types.cc:2660 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug go/84948] [8 regression] ICE in set_from, at go/gofrontend/types.cc:2660

2018-03-19 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84948 Andreas Schwab changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/84942] [6/7/8 Regression] internal compiler error: in fold_convert_const_int_from_real, at fold-const.c:2011

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

[Bug fortran/84615] [8 Regression] Executable Segfault for some tests compiled with -m32 after r256284

2018-03-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84615 --- Comment #13 from Thomas Koenig --- (In reply to Janne Blomqvist from comment #12) > So to be clear, the problem seems to be that while the code generation for > the function itself appears Ok, it generates the interface wrong (i.e. uses > the

[Bug inline-asm/84941] [6/7/8 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Compon

[Bug fortran/84615] [8 Regression] Executable Segfault for some tests compiled with -m32 after r256284

2018-03-19 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84615 --- Comment #14 from Janne Blomqvist --- (In reply to Thomas Koenig from comment #13) > (In reply to Janne Blomqvist from comment #12) > > So to be clear, the problem seems to be that while the code generation for > > the function itself appears

[Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

2018-03-19 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84945 Julia Koval changed: What|Removed |Added CC||julia.koval at intel dot com --- Comment #

[Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84945 --- Comment #4 from Jakub Jelinek --- See above, that is an ABI change on all of x86.

[Bug target/84932] [8 Regression] i386/cpuinfo.h:293: 4 * bad bitshifts ?

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84932 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 84932, which changed state. Bug 84932 Summary: [8 Regression] i386/cpuinfo.h:293: 4 * bad bitshifts ? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84932 What|Removed |Added

[Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84945 Jakub Jelinek changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #5

[Bug inline-asm/84941] [6/7/8 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

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

[Bug tree-optimization/84933] [8 Regression] ICE in set_value_range, at tree-vrp.c:288 since r257852

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84933 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Version|unknown

[Bug ipa/84947] UBSAN: ipcp_bits_lattice::meet_with(generic_wide_int >, generic_wide_int >, unsigned int) ../../gcc/ipa-cp.c:1058

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84947 Richard Biener changed: What|Removed |Added Version|unknown |8.0.1 Target Milestone|8.0

[Bug c++/84949] New: -ffast-math bugged with respect to NaNs

2018-03-19 Thread christ...@lipka-koeln.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 Bug ID: 84949 Summary: -ffast-math bugged with respect to NaNs Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/84949] -ffast-math bugged with respect to NaNs

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Com

[Bug c++/84942] [6/7/8 Regression] internal compiler error: in fold_convert_const_int_from_real, at fold-const.c:2011

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84942 --- Comment #3 from Jakub Jelinek --- Created attachment 43700 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43700&action=edit gcc8-pr84942.patch Full untested patch.

[Bug middle-end/84891] -fno-signed-zeros leads to optimization which should be possible only if also -ffinite-math-only is on

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 Richard Biener changed: What|Removed |Added CC||kargl at gcc dot gnu.org,

[Bug c++/84940] [7/8 Regression] internal compiler error: in build_value_init_noctor, at cp/init.c:465

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

[Bug c++/84940] [7/8 Regression] internal compiler error: in build_value_init_noctor, at cp/init.c:465

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84940 --- Comment #4 from Jakub Jelinek --- Slightly adjusted testcase: void foo (int x) { struct {} a[1][x](-a[0]); // { dg-error "wrong type argument to unary minus" } }

[Bug c++/84665] [7/8 Regression] internal compiler error: in build_value_init, at cp/init.c:343

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665 --- Comment #3 from Jakub Jelinek --- Related to PR84940.

[Bug c++/84940] [7/8 Regression] internal compiler error: in build_value_init_noctor, at cp/init.c:465

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84940 Jakub Jelinek changed: What|Removed |Added Keywords||error-recovery Priority|P2

[Bug target/84908] retpoline weirdness: 7.3.0-1 and 4.8.5-16: with -fPIC: R_X86_64_PC32 against undefined symbol `__x86_indirect_thunk_rax'

2018-03-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908 H.J. Lu changed: What|Removed |Added Resolution|INVALID |MOVED --- Comment #7 from H.J. Lu --- It is a

[Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int'

2018-03-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84945 --- Comment #6 from H.J. Lu --- (In reply to Jakub Jelinek from comment #2) > Created attachment 43696 [details] > gcc8-pr84945.patch > > Untested fix. > I think this ought to work well on x86_64/i?86-linux, but I'm afraid is > going to be an AB

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-03-19 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 --- Comment #1 from Florian Weimer --- This bit needs to change for glibc 2.27 and later: #ifdef __i386__ # define DL_INTERNAL_FUNCTION __attribute__((regparm(3), stdcall)) #else # define DL_INTERNAL_FUNCTION #endif We removed the regparm attri

[Bug middle-end/84891] -fno-signed-zeros leads to optimization which should be possible only if also -ffinite-math-only is on

2018-03-19 Thread no...@turm-lahnstein.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 --- Comment #4 from ead --- From my naive point of view: - The c++ standard doesn't define how complex-number-multiplication should work, it is implementation defined/gcc-specific (I'm not a standard-scholar, so might be very wrong about it).

[Bug c++/84938] [7/8 Regression] internal compiler error: in gen_reg_rtx, at emit-rtl.c:1187 (gen_reg_rtx()/maybe_legitimize_operand())

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84938 --- Comment #2 from Jakub Jelinek --- int &&a = 1 / ~-1; is enough. When we have int &&b = 1 / 0; this doesn't ICE. When creating TRUNC_DIV_EXPR for the latter, we don't set the constant bit on it, because the last argument is integer_zerop. T

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-03-19 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 --- Comment #2 from rguenther at suse dot de --- On Mon, 19 Mar 2018, fw at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 > > --- Comment #1 from Florian Weimer --- > This bit needs to change for glibc 2.27 and la

[Bug c++/84938] [7/8 Regression] internal compiler error: in gen_reg_rtx, at emit-rtl.c:1187 (gen_reg_rtx()/maybe_legitimize_operand())

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

[Bug middle-end/84891] -fno-signed-zeros leads to optimization which should be possible only if also -ffinite-math-only is on

2018-03-19 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 --- Comment #5 from rguenther at suse dot de --- On Mon, 19 Mar 2018, no...@turm-lahnstein.de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84891 > > --- Comment #4 from ead --- > From my naive point of view: > >- The c++ standard

[Bug demangler/84950] New: UBSAN: libiberty/cplus-dem.c:4430:3: runtime error: null pointer passed as argument 2, which is declared to never be null

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84950 Bug ID: 84950 Summary: UBSAN: libiberty/cplus-dem.c:4430:3: runtime error: null pointer passed as argument 2, which is declared to never be null Product: gcc Vers

[Bug demangler/84951] New: UBSAN: libiberty/d-demangle.c:209:14: runtime error: signed integer overflow: 922337203685477581 * 10 cannot be represented in type 'long int'

2018-03-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84951 Bug ID: 84951 Summary: UBSAN: libiberty/d-demangle.c:209:14: runtime error: signed integer overflow: 922337203685477581 * 10 cannot be represented in type 'long int' Product

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-03-19 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 --- Comment #3 from Florian Weimer --- (In reply to rguent...@suse.de from comment #2) > I think as there are already quite some __GLIBC_PREREQ uses in the > sanitizer lib changing the above prototype appropriately would be > good enough. If th

[Bug tree-optimization/84929] [8 Regression] ICE at -O3 on valid code on x86_64-linux-gnu: tree check: expected polynomial_chrec, have nop_expr in analyze_siv_subscript_cst_affine, at tree-data-ref.c:

2018-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84929 --- Comment #3 from Richard Biener --- Author: rguenth Date: Mon Mar 19 12:49:30 2018 New Revision: 258643 URL: https://gcc.gnu.org/viewcvs?rev=258643&root=gcc&view=rev Log: 2018-03-19 Richard Biener PR tree-optimization/84929

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 --- Comment #4 from Jakub Jelinek --- That won't really work, if you configure against one glibc version and run against another one, that will still not work properly. So I think we need something like: --- libsanitizer/sanitizer_common/sanitize

[Bug c/84890] Overly verbose notes for missing headers

2018-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84890 --- Comment #6 from Jonathan Wakely --- I have very little sympathy for anybody who thinks that an automated message from a compiler is "kind of personal", but how about instead of asking a question or equivocating with "you may want to ..." just

[Bug c++/53281] poor error message for calling a non-const method from a const object

2018-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53281 --- Comment #8 from Jonathan Wakely --- (In reply to David Malcolm from comment #6) > It seems best to special-case the "const member fn/param called with > non-const" cases and to report them directly in terms of the types in user's > source wit

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/84918] Better handling of "std::cout >> 42;"

2018-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84918 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > I'd much rather see a solution to the more general problem of drowning the > user in information when the overload set is very large. Which is now PR 84920

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 --- Comment #6 from Jakub Jelinek --- Filed https://reviews.llvm.org/D44623 upstream.

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-03-19 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 --- Comment #8 from Jakub Jelinek --- Distributions should never backport symbol additions to symbol versioned libraries, unless they backport all the corresponding changes. So no, I don't think this is an issue.

[Bug c++/84812] [8 Regression] ICE with local function

2018-03-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84812 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84812] [8 Regression] ICE with local function

2018-03-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84812 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Mon Mar 19 14:07:07 2018 New Revision: 258644 URL: https://gcc.gnu.org/viewcvs?rev=258644&root=gcc&view=rev Log: [C++/84812] ICE with local fn decl https://gcc.gnu.org/ml/gcc-patches/2

[Bug tree-optimization/84935] FAIL: gcc.dg/tree-ssa/pr84512.c scan-tree-dump optimized "return 285;"

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84935 --- Comment #2 from Jakub Jelinek --- Is that with r258590 in? I don't think hppa* is vect_int_mult effective target.

  1   2   3   >