[Bug c/78517] error: non-trivial conversion at assignment

2016-11-24 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78517 prathamesh3492 at gcc dot gnu.org changed: What|Removed |Added CC||prathamesh3492 at gcc

[Bug c++/78522] -O2 optimization confused by enum and pointer usage in constructors.

2016-11-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78522 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/78522] New: -O2 optimization confused by enum and pointer usage in constructors.

2016-11-24 Thread huangs at chromium dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78522 Bug ID: 78522 Summary: -O2 optimization confused by enum and pointer usage in constructors. Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity: normal

[Bug fortran/70070] ICE on initializing character data beyond min/max bound

2016-11-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70070 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug fortran/78518] Warning format regression

2016-11-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78518 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5 Severity|normal

[Bug middle-end/78521] [7 Regression] incorrect byte count in -Wformat-length warning with non-constant width or precision

2016-11-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78521 Martin Sebor changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug middle-end/78521] New: incorrect byte count in -Wformat-length warning with non-constant width or precision

2016-11-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78521 Bug ID: 78521 Summary: incorrect byte count in -Wformat-length warning with non-constant width or precision Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug tree-optimization/78476] snprintf(0, 0, ...) with known arguments not optimized away

2016-11-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78476 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/78476] snprintf(0, 0, ...) with known arguments not optimized away

2016-11-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78476 --- Comment #3 from Martin Sebor --- Author: msebor Date: Thu Nov 24 22:45:18 2016 New Revision: 242854 URL: https://gcc.gnu.org/viewcvs?rev=242854=gcc=rev Log: PR tree-optimization/78476 - snprintf(0, 0, ...) with known arguments not optimized

[Bug middle-end/78520] New: missing warning for snprintf with size greater than INT_MAX

2016-11-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78520 Bug ID: 78520 Summary: missing warning for snprintf with size greater than INT_MAX Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/78519] New: missing warning for sprintf %s with null pointer

2016-11-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78519 Bug ID: 78519 Summary: missing warning for sprintf %s with null pointer Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/78518] New: Warning format regression

2016-11-24 Thread physiker at toast2 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78518 Bug ID: 78518 Summary: Warning format regression Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug libgomp/78468] [7 regression] libgomp.c/reduction-10.c and many more FAIL

2016-11-24 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78468 --- Comment #14 from Dominik Vogt --- Is the dynamic variable stack area properly aligned? Since sparc.h does not define STACK_DYNAMIC_OFFSET it should be aligned to STACK_BONDARY, i.e. 64 bits.

[Bug rtl-optimization/77541] [7 Regression] wrong code with 512bit vectors of int128 @ -O1

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77541 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/78517] New: error: non-trivial conversion at assignment

2016-11-24 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78517 Bug ID: 78517 Summary: error: non-trivial conversion at assignment Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug preprocessor/78497] compiling with -save-temps adds -Wimplicit-fallthrough warnings

2016-11-24 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78497 --- Comment #3 from Alexandre Oliva --- One aspect to the problem is the extra warnings you get. As more and more projects adopt -Werror by default, it means you get a different error with -save-temps. That's bad for users and inconvenient for

[Bug fortran/78500] ICE in gfc_check_vardef_context, at fortran/expr.c:5289

2016-11-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78500 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug lto/50147] LTO: Segmentation fault in infinite_empty_loop_p

2016-11-24 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50147 Dmitry Gorbachev changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/51726] LTO and attribute 'selectany'

2016-11-24 Thread d.g.gorbachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51726 Dmitry Gorbachev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/78500] ICE in gfc_check_vardef_context, at fortran/expr.c:5289

2016-11-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78500 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Nov 24 20:11:49 2016 New Revision: 242849 URL: https://gcc.gnu.org/viewcvs?rev=242849=gcc=rev Log: 2016-11-24 Steven G. Kargl PR

[Bug pch/78508] valgrind error in gt_pch_note_object when compiling C++

2016-11-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78508 --- Comment #2 from Martin Liška --- Minimal test-case: enum { _ISdigit = 8 ? 3 << 8 : 8, _ISpunct }; struct A { static const short a = _ISpunct; }; Reporting: ==85314== Invalid read of size 1 ==85314==at 0x4C2B944: strlen (in

[Bug rtl-optimization/77541] [7 Regression] wrong code with 512bit vectors of int128 @ -O1

2016-11-24 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77541 --- Comment #5 from Vladimir Makarov --- Author: vmakarov Date: Thu Nov 24 19:54:27 2016 New Revision: 242848 URL: https://gcc.gnu.org/viewcvs?rev=242848=gcc=rev Log: 2016-11-24 Vladimir Makarov PR

[Bug fortran/78500] ICE in gfc_check_vardef_context, at fortran/expr.c:5289

2016-11-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78500 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Nov 24 19:26:33 2016 New Revision: 242847 URL: https://gcc.gnu.org/viewcvs?rev=242847=gcc=rev Log: 2016-11-24 Steven G. Kargl PR

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2016-11-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 31096, which changed state. Bug 31096 Summary: a*C == b*C where C is a constant is not optimized to a == b https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31096 What|Removed |Added

[Bug middle-end/31096] a*C == b*C where C is a constant is not optimized to a == b

2016-11-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31096 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/39683] -fstrict-overflow misses multiply in comparison

2016-11-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39683 Bug 39683 depends on bug 31096, which changed state. Bug 31096 Summary: a*C == b*C where C is a constant is not optimized to a == b https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31096 What|Removed |Added

[Bug c/78512] [7 Regression] r242674 miscompiles Linux kernel

2016-11-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512 --- Comment #4 from Martin Sebor --- The show_tx_maxrate and show_trans_timeout functions mentioned in the listing in comment #1 are defined in Linux's net/core/net-sysfs.c. They return "sprintf(buf, "%lu\n", queue->tx_maxrate)" and

[Bug fortran/78500] ICE in gfc_check_vardef_context, at fortran/expr.c:5289

2016-11-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78500 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Nov 24 18:27:58 2016 New Revision: 242846 URL: https://gcc.gnu.org/viewcvs?rev=242846=gcc=rev Log: 2016-11-24 Steven G. Kargl PR

[Bug sanitizer/78513] [7 Regression] Failure to build linux kernel with KASAN support

2016-11-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78513 --- Comment #3 from Martin Liška --- (In reply to Jakub Jelinek from comment #2) > Does kernel enable -fsanitize-use-after-scope now? Selecting CONFIG_KASAN=y enables -fsanitize=address, which currently be default enables

[Bug target/67822] OpenMP offloading to nvptx fails

2016-11-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67822 Alexander Monakov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/67822] OpenMP offloading to nvptx fails

2016-11-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67822 --- Comment #3 from Alexander Monakov --- Author: amonakov Date: Thu Nov 24 18:10:42 2016 New Revision: 242842 URL: https://gcc.gnu.org/viewcvs?rev=242842=gcc=rev Log: Allow -fopenmp in NVPTX mkoffload PR target/67822 *

[Bug c/78512] [7 Regression] r242674 miscompiles Linux kernel

2016-11-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/78515] [7 Regression] ICE: in fold_binary_loc, at fold-const.c:8999 with -Os -mavx512bw

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78515 --- Comment #2 from Jakub Jelinek --- I think the bug is in compute_complex_assign_jump_func, it assumes that all 2+ operand GIMPLE_ASSIGNs are arithmetics (doesn't even consider 3 operand ones). So it happily records BIT_INSERT_EXPR that has 3

[Bug target/78516] New: [7 Regression] ICE in lra_assign for e500v2

2016-11-24 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78516 Bug ID: 78516 Summary: [7 Regression] ICE in lra_assign for e500v2 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/78458] [7 Regression] LRA ICE building libgcc for powerpc-linux-gnuspe e500v2

2016-11-24 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78458 Joseph S. Myers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/78515] [7 Regression] ICE: in fold_binary_loc, at fold-const.c:8999 with -Os -mavx512bw

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

[Bug ipa/78515] New: [7 Regression] ICE: in fold_binary_loc, at fold-const.c:8999 with -Os -mavx512bw

2016-11-24 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78515 Bug ID: 78515 Summary: [7 Regression] ICE: in fold_binary_loc, at fold-const.c:8999 with -Os -mavx512bw Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords:

[Bug c/78512] [7 Regression] r242674 miscompiles Linux kernel

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

[Bug sanitizer/78513] [7 Regression] Failure to build linux kernel with KASAN support

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78513 --- Comment #2 from Jakub Jelinek --- Does kernel enable -fsanitize-use-after-scope now?

[Bug preprocessor/78169] internal compiler error: in get_substring_ranges_for_loc, at input.c:1379

2016-11-24 Thread arnd at linaro dot org
e /home/arnd/git/gcc/gcc/gimple-ssa-sprintf.c:2799 $ /home/arnd/cross-gcc/bin/x86_64-linux-gcc-7.0.0 --version x86_64-linux-gcc-7.0.0 (GCC) 7.0.0 20161124 (experimental)

[Bug target/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-24 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 --- Comment #8 from James Greenhalgh --- (In reply to Jakub Jelinek from comment #7) > (In reply to James Greenhalgh from comment #6) > > None of the logic was there in the original code, so there is not much to > > compare. > > ?? Since

[Bug sanitizer/78513] [7 Regression] Failure to build linux kernel with KASAN support

2016-11-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78513 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/66358] [5/6/7 Regression] [SH] ICE: in extract_constrain_insn, at recog.c:2232

2016-11-24 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66358 --- Comment #23 from David Binderman --- Problem seems to have gone away with gcc version 6.1.1, dated 20160621

[Bug c++/78514] New: ICE in tsubst, at cp/pt.c:13073

2016-11-24 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78514 Bug ID: 78514 Summary: ICE in tsubst, at cp/pt.c:13073 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/44685] internal compiler error: in final_scan_insn, at final.c:2650 while compiling program with complex types

2016-11-24 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44685 --- Comment #5 from David Binderman --- Seems fixed in gcc version 6.1.1, dated 20160621

[Bug libgomp/78468] [7 regression] libgomp.c/reduction-10.c and many more FAIL

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78468 --- Comment #13 from Jakub Jelinek --- Yes, sure, there are 2 alloca uses in the parallel region, one is for y variable, which uses __builtin_alloca_with_align ((p4 - 1 + 1) * 4, 32) and the other is for a, which uses __builtin_alloca_with_align

[Bug c/78512] [7 Regression] r242674 miscompiles Linux kernel

2016-11-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512 --- Comment #1 from Markus Trippelsdorf --- I run md5sum on the object files with and without -fno-printf-return-value. Looking at a few files that differ they show a common pattern: good vs bad diff: @@ -312,7 +312,7 @@ movq$.LC1,

[Bug target/48863] A Bug When Assembler Instructions with C Expression Operands in arm-elf-gcc 4.5

2016-11-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48863 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug libgomp/78468] [7 regression] libgomp.c/reduction-10.c and many more FAIL

2016-11-24 Thread rdapp at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78468 rdapp at linux dot vnet.ibm.com changed: What|Removed |Added CC||rdapp at linux dot

[Bug inline-asm/70184] Explicit register variables holding function arguments overwritten by conversion libcall

2016-11-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70184 --- Comment #8 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Nov 24 15:22:34 2016 New Revision: 242840 URL: https://gcc.gnu.org/viewcvs?rev=242840=gcc=rev Log: [TER] PR target/48863 : Don't replace expressions across local

[Bug target/48863] A Bug When Assembler Instructions with C Expression Operands in arm-elf-gcc 4.5

2016-11-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48863 --- Comment #6 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Nov 24 15:22:34 2016 New Revision: 242840 URL: https://gcc.gnu.org/viewcvs?rev=242840=gcc=rev Log: [TER] PR target/48863 : Don't replace expressions across local

[Bug c/78512] [7 Regression] r242674 miscompiles Linux kernel

2016-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug sanitizer/78513] [7 Regression] Failure to build linux kernel with KASAN support

2016-11-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78513 ktkachov at gcc dot gnu.org changed: What|Removed |Added Keywords||link-failure

[Bug sanitizer/78513] New: [7 Regression] Failure to build linux kernel with KASAN support

2016-11-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78513 Bug ID: 78513 Summary: [7 Regression] Failure to build linux kernel with KASAN support Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug libgomp/78468] [7 regression] libgomp.c/reduction-10.c and many more FAIL

2016-11-24 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78468 --- Comment #11 from Dominik Vogt --- (In reply to r...@cebitec.uni-bielefeld.de from comment #9) > > 2) Replace "p7" in foo with just "7". If it still fails we know the bug is > > not > > triggered by the dynamic allocation of a or b. > >

[Bug middle-end/78153] strlen return value can be assumed to be less than PTRDIFF_MAX

2016-11-24 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78153 --- Comment #3 from Andreas Schwab --- Program received signal SIGSEGV, Segmentation fault. vrp_val_max (type=0x0) at ../../gcc/tree-vrp.c:156 156 if (!INTEGRAL_TYPE_P (type))

[Bug rtl-optimization/78437] [7 Regression] invalid sign-extend conversion in REE pass

2016-11-24 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78437 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/78437] [7 Regression] invalid sign-extend conversion in REE pass

2016-11-24 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78437 --- Comment #7 from Eric Botcazou --- Author: ebotcazou Date: Thu Nov 24 15:01:32 2016 New Revision: 242839 URL: https://gcc.gnu.org/viewcvs?rev=242839=gcc=rev Log: PR rtl-optimization/78437 * ree.c (get_uses): New function.

[Bug middle-end/78153] strlen return value can be assumed to be less than PTRDIFF_MAX

2016-11-24 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78153 --- Comment #2 from Andreas Schwab <sch...@linux-m68k.org> --- This breaks ada on aarch64: /opt/gcc/gcc-20161124/Build/./prev-gcc/xgcc -B/opt/gcc/gcc-20161124/Build/./prev-gcc/ -B/usr/aarch64-suse-linux/bin/ -B/usr/aarch64-suse-linux/bin/

[Bug bootstrap/78493] profiledbootstrap failure: error: attempt to free a non-heap object 'names' in ../../gcc/cp/parser.c:11482:23

2016-11-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78493 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/78512] New: [7 Regression] r242674 miscompiles Linux kernel

2016-11-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512 Bug ID: 78512 Summary: [7 Regression] r242674 miscompiles Linux kernel Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libgomp/78468] [7 regression] libgomp.c/reduction-10.c and many more FAIL

2016-11-24 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78468 --- Comment #10 from Rainer Orth --- Created attachment 40141 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40141=edit reduced testcase and assembler output I've managed at least some reduction of the testcase: as you can see, one stack

[Bug libgomp/78468] [7 regression] libgomp.c/reduction-10.c and many more FAIL

2016-11-24 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78468 --- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #8 from Dominik Vogt --- > Some things to try with reduction-10.c: > > 1) Remove all OMP pragmas from the code. If it still fails it's not a > limbgomp > bug. The

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #11 from Jakub Jelinek --- (In reply to Richard Biener from comment #10) > (In reply to Jakub Jelinek from comment #9) > > Note in the testcase a = (struct buf) {}, b = (struct buf) {} generates > > significantly more efficient code

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #10 from Richard Biener --- (In reply to Jakub Jelinek from comment #9) > Note in the testcase a = (struct buf) {}, b = (struct buf) {} generates > significantly more efficient code than a = b = (struct buf) {} - the former > is 2x

[Bug target/70118] UBSan claims misaligned access in SSE instrinsics

2016-11-24 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70118 Allan Jensen changed: What|Removed |Added Attachment #40130|0 |1 is obsolete|

[Bug pch/78508] valgrind error in gt_pch_note_object when compiling C++

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

[Bug sanitizer/78267] [7 Regression] libsanitizer breaks bootstrap on x86_64-apple-darwin16 at r241977

2016-11-24 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78267 --- Comment #57 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #56 from Jakub Jelinek --- > So, is this resolved now? The bootstrap failures are AFAIK, but perhaps we should keep it open for the fixinclude fix backports discovered?

[Bug sanitizer/78267] [7 Regression] libsanitizer breaks bootstrap on x86_64-apple-darwin16 at r241977

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78267 --- Comment #56 from Jakub Jelinek --- So, is this resolved now?

[Bug c++/78511] New: ICE on using concept name as a "requires" parameter

2016-11-24 Thread gcc-bugzilla at minijackson dot 33mail.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78511 Bug ID: 78511 Summary: ICE on using concept name as a "requires" parameter Product: gcc Version: c++-concepts Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/78282] [6/7 Regression] Overload resolution failure, in parameter pack expansion, inside a template class

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

[Bug target/62180] (RX600) - compiler doesn't honor -fstrict-volatile-bitfields and generates incorrect machine code for I/O register access

2016-11-24 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62180 Oleg Endo changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/78460] [7 Regression] [SH] OOM building glibc string tst-cmp.c

2016-11-24 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78460 Oleg Endo changed: What|Removed |Added CC||olegendo at gcc dot gnu.org --- Comment #2

[Bug target/78012] -mfpxx produces assembly code using odd FP registers on MIPS

2016-11-24 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78012 Maciej W. Rozycki changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug tree-optimization/71595] [7 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:704

2016-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71595 --- Comment #8 from Richard Biener --- Author: rguenth Date: Thu Nov 24 12:25:22 2016 New Revision: 242835 URL: https://gcc.gnu.org/viewcvs?rev=242835=gcc=rev Log: 2016-11-24 Richard Biener PR

[Bug rtl-optimization/78120] [6/7 Regression] If conversion no longer performed

2016-11-24 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78120 --- Comment #12 from Bernd Schmidt --- Author: bernds Date: Thu Nov 24 12:22:16 2016 New Revision: 242834 URL: https://gcc.gnu.org/viewcvs?rev=242834=gcc=rev Log: PR rtl-optimization/78120 * ifcvt.c

[Bug tree-optimization/71595] [7 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:704

2016-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71595 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/78120] [6/7 Regression] If conversion no longer performed

2016-11-24 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78120 --- Comment #11 from Bernd Schmidt --- Author: bernds Date: Thu Nov 24 12:17:52 2016 New Revision: 242833 URL: https://gcc.gnu.org/viewcvs?rev=242833=gcc=rev Log: PR rtl-optimization/78120 * rtlanal.c (insn_rtx_cost): Use

[Bug rtl-optimization/78120] [6/7 Regression] If conversion no longer performed

2016-11-24 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78120 --- Comment #10 from Bernd Schmidt --- Author: bernds Date: Thu Nov 24 12:16:47 2016 New Revision: 242832 URL: https://gcc.gnu.org/viewcvs?rev=242832=gcc=rev Log: PR rtl-optimization/78120 * config/i386/i386.c (ix86_rtx_costs):

[Bug target/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 --- Comment #7 from Jakub Jelinek --- (In reply to James Greenhalgh from comment #6) > None of the logic was there in the original code, so there is not much to > compare. ?? Since -fexcess-precision=standard has been introduced, gcc has the

[Bug middle-end/78429] [6/7 Regression] ICE in set_value_range, at tree-vrp.c on non-standard boolean

2016-11-24 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/78429] [6/7 Regression] ICE in set_value_range, at tree-vrp.c on non-standard boolean

2016-11-24 Thread ebotcazou at gcc dot gnu.org
predicate. (wi::fits_to_tree_p): Use it for boolean types. * tree.c (int_fits_type_p): Likewise. Added: branches/gcc-6-branch/gcc/testsuite/gcc.c-torture/compile/20161124-1.c - copied unchanged from r242829, trunk/gcc/testsuite/gcc.c-torture/compile/20161124-1.c Modified

[Bug middle-end/78429] [6/7 Regression] ICE in set_value_range, at tree-vrp.c on non-standard boolean

2016-11-24 Thread ebotcazou at gcc dot gnu.org
predicate. (wi::fits_to_tree_p): Use it for boolean types. * tree.c (int_fits_type_p): Likewise. Added: trunk/gcc/testsuite/gcc.c-torture/compile/20161124-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree.c trunk/gcc/tree.h

[Bug middle-end/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-24 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 --- Comment #6 from James Greenhalgh --- None of the logic was there in the original code, so there is not much to compare. The question for the backend when TYPE is EXCESS_PRECISION_TYPE_FAST or EXCESS_PRECISION_TYPE_STANDARD is, does it wants

[Bug c/78510] [7 Regression] ICE on invalid C code at -O2 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: verify_gimple failed)

2016-11-24 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78510 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug bootstrap/78493] profiledbootstrap failure: error: attempt to free a non-heap object 'names' in ../../gcc/cp/parser.c:11482:23

2016-11-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78493 --- Comment #2 from Martin Liška --- Author: marxin Date: Thu Nov 24 11:26:12 2016 New Revision: 242828 URL: https://gcc.gnu.org/viewcvs?rev=242828=gcc=rev Log: cp_parser_range_for: use safe_push instead of quick_push (PR PR

[Bug middle-end/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c/78510] [7 Regression] ICE on invalid C code at -O2 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: verify_gimple failed)

2016-11-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78510 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug middle-end/78501] [7 regression] SEGV in vrp_val_max

2016-11-24 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78501 --- Comment #19 from prathamesh3492 at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #18) > Comment on attachment 40139 [details] > fix formatting of patch in comment 13 > > LGTM. Thanks, I have started bootstrap on

[Bug target/65496] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2318 with -O3 -fsched2-use-superblocks -mavx512dq --param=max-pending-list-length=0

2016-11-24 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65496 Zdenek Sojka changed: What|Removed |Added Known to fail||7.0 --- Comment #4 from Zdenek Sojka

[Bug middle-end/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-24 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 James Greenhalgh changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/78501] [7 regression] SEGV in vrp_val_max

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78501 --- Comment #18 from Jakub Jelinek --- Comment on attachment 40139 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40139 fix formatting of patch in comment 13 LGTM.

[Bug middle-end/78507] [7 Regression] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have pointer_type in int_fits_type_p, at tree.c:9153

2016-11-24 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78507 --- Comment #4 from amker at gcc dot gnu.org --- Types of @2/@3 are guarded by INTEGER_CST@2/INTEGER_CST@3, but type of @1 is not checked. Should check INTEGRAL_TYPE_P for it before calling int_fits_type_p.

[Bug driver/77497] [5/6/7 Regression] Setting DWARF level and debug level together has flag-ordering-dependent results

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77497 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/78501] [7 regression] SEGV in vrp_val_max

2016-11-24 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78501 --- Comment #17 from prathamesh3492 at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #15) > For the tests, I think they would just pass on VMS. In one case you are > comparing if 0x7fffULL <= (unsigned int) something,

[Bug middle-end/78501] [7 regression] SEGV in vrp_val_max

2016-11-24 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78501 --- Comment #16 from prathamesh3492 at gcc dot gnu.org --- Created attachment 40139 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40139=edit fix formatting of patch in comment 13 Done formatting changes in this version. Does it look OK ?

[Bug c++/77581] [5/6/7 Regression] ICE: instantiate_template_1, cp/pt.c:17391

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

[Bug middle-end/78501] [7 regression] SEGV in vrp_val_max

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78501 --- Comment #15 from Jakub Jelinek --- For the tests, I think they would just pass on VMS. In one case you are comparing if 0x7fffULL <= (unsigned int) something, that is for 32-bit int clearly never true and should be folded. And

[Bug testsuite/77634] some vectorized testcases fail with -mcpu=thunderx

2016-11-24 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77634 hs.naveen2u at gmail dot com changed: What|Removed |Added CC||hs.naveen2u at gmail dot

[Bug c/78510] New: ice on invalid C code at -O2 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: verify_gimple failed)

2016-11-24 Thread chengniansun at gmail dot com
20161124 (experimental) [trunk revision 242818] (GCC) $ $ gcc-trunk -O3 small.c small.c: In function ‘main’: small.c:17:5: error: type mismatch in conditional expression int main() { fn2(); return 0; } ^~~~ short int int short int iftmp.1_11 = _6 == 4 ? 4 : 0; small.c:17:5: internal compiler

  1   2   >