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

2016-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78501 --- Comment #3 from Richard Biener --- (In reply to prathamesh3492 from comment #2) > Hi, > From the trace, it seems ptrdiff_type_node is set to NULL for ada ? > Either we can guard setting range for CFN_BUILTIN_STRLEN by checking >

[Bug fortran/60853] [OOP] Failure to disambiguate generic with unlimited polymorphic

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

[Bug middle-end/71762] [5/6 Regression] ~X & Y to X < Y doesn't work for uninitialized values

2016-11-24 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71762 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug c++/78506] New: [c++1z] wrong value category for class decomposition

2016-11-24 Thread lucdanton at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78506 Bug ID: 78506 Summary: [c++1z] wrong value category for class decomposition Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[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 rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78507 --- Comment #3 from Richard Biener --- Indeed int_fits_type_p requires an integral type.

[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 rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78507 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug fortran/78505] New: [F08] Coarray source allocation not synchronizing on oversubscribed cores

2016-11-24 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78505 Bug ID: 78505 Summary: [F08] Coarray source allocation not synchronizing on oversubscribed cores Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[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 #9 from prathamesh3492 at gcc dot gnu.org --- Created attachment 40136 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40136=edit move ptrdiff_type_node initialization to build_common_tree_nodes Hi Richard, Thanks for the

[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 #11 from prathamesh3492 at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #10) > Comment on attachment 40136 [details] > move ptrdiff_type_node initialization to build_common_tree_nodes > > So, what do you want to do for

[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 amker at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amker at gcc dot

[Bug ipa/78309] [5/6 Regression] ICE: in get_hash, at ipa-icf.c:2124

2016-11-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78309 --- Comment #6 from Martin Liška --- Author: marxin Date: Thu Nov 24 10:12:24 2016 New Revision: 242824 URL: https://gcc.gnu.org/viewcvs?rev=242824=gcc=rev Log: Add sem_item::m_hash_set (PR ipa/78309) PR ipa/78309 * ipa-icf.c

[Bug c++/77591] [6/7 Regression] decltype(auto) and ternary operator allow returning local reference without a warning

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

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

2016-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78501 --- Comment #5 from Richard Biener --- Ugh, and lto does lto/lto-lang.c: ptrdiff_type_node = integer_type_node; (bogus, possibly causes wrong-code if it's ever used, make sure to remove that init as well)

[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 #4 from Jakub Jelinek --- Even for Fortran and other non-C FEs I think ptrdiff_type_node isn't what you expect it to be. Wouldn't it be better to use signed_type_for (type) as the type instead (where type is the type of strlen's

[Bug middle-end/78333] [5 Regression] always-inline gnu-inline functions break -finstrument-functions

2016-11-24 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78333 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug middle-end/71762] [5/6 Regression] ~X & Y to X < Y doesn't work for uninitialized values

2016-11-24 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71762 --- Comment #14 from rguenther at suse dot de --- On Thu, 24 Nov 2016, clyon at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71762 > > Christophe Lyon changed: > >What|Removed

[Bug middle-end/78333] [5 Regression] always-inline gnu-inline functions break -finstrument-functions

2016-11-24 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78333 --- Comment #8 from rguenther at suse dot de --- On Thu, 24 Nov 2016, clyon at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78333 > > Christophe Lyon changed: > >What|Removed

[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 trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78507 Markus Trippelsdorf changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

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

[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 #12 from Jakub Jelinek --- Or perhaps check ptrdiff_type_node != NULL && TYPE_PRECISION (ptrdiff_type_node) == TYPE_PRECISION (size_type_node) before trying to optimize this? I mean, on VMS it might be fine if strlen returns

[Bug ipa/78309] [5/6 Regression] ICE: in get_hash, at ipa-icf.c:2124

2016-11-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78309 --- Comment #7 from Martin Liška --- Author: marxin Date: Thu Nov 24 10:19:22 2016 New Revision: 242825 URL: https://gcc.gnu.org/viewcvs?rev=242825=gcc=rev Log: Add sem_item::m_hash_set (PR ipa/78309) Backported from mainline

[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 #7 from Jakub Jelinek --- (In reply to Richard Biener from comment #3) > (In reply to prathamesh3492 from comment #2) > > Hi, > > From the trace, it seems ptrdiff_type_node is set to NULL for ada ? > > Either we can guard setting

[Bug middle-end/71762] [5/6 Regression] ~X & Y to X < Y doesn't work for uninitialized values

2016-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71762 --- Comment #13 from Richard Biener --- Author: rguenth Date: Thu Nov 24 09:45:01 2016 New Revision: 242822 URL: https://gcc.gnu.org/viewcvs?rev=242822=gcc=rev Log: 2016-11-23 Richard Biener PR middle-end/71762

[Bug ipa/78309] [5/6 Regression] ICE: in get_hash, at ipa-icf.c:2124

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

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

2016-11-24 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 Rainer Orth changed: What|Removed |Added Target Milestone|--- |7.0

[Bug c++/78502] Analyze 'final'/'override' even for uninstantiated class templates

2016-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78502 Richard Biener changed: What|Removed |Added Keywords||diagnostic Severity|normal

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

2016-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78501 --- Comment #6 from Richard Biener --- (In reply to Jakub Jelinek from comment #4) > Even for Fortran and other non-C FEs I think ptrdiff_type_node isn't what > you expect it to be. Wouldn't it be better to use signed_type_for (type) as > the

[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 #10 from Jakub Jelinek --- Comment on attachment 40136 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40136 move ptrdiff_type_node initialization to build_common_tree_nodes So, what do you want to do for VRP in the vms case

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

2016-11-24 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 Bug ID: 78509 Summary: [7 regression] ICE in in excess_precision_type, at tree.c:8875 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

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

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

[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 #8 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #7) > case FMT_LEN_z: > dirtype = sign ? signed_type_for (size_type_node) : size_type_node; > break; > > case FMT_LEN_t: > dirtype = sign ?

[Bug middle-end/78507] New: [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:915

2016-11-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78507 Bug ID: 78507 Summary: [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

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

2016-11-24 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78508 Bug ID: 78508 Summary: valgrind error in gt_pch_note_object when compiling C++ Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[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 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 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 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 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 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 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 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 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 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/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 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/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 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 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 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 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 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[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 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 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 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 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 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 middle-end/78509] [7 regression] ICE in in excess_precision_type, at tree.c:8875

2016-11-24 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 Rainer Orth changed: What|Removed |Added CC||jgreenhalgh at gcc dot gnu.org ---

[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 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/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 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 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/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 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 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 #2 from James Greenhalgh --- (In reply to Rainer Orth from comment #1) > James, this is caused by your patch series > > [Patch 1/17] Add a new target hook for describing excess precision intentions > > I believe. > > Rainer

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

2016-11-24 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78509 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from James Greenhalgh --- > Thanks, and sorry for the break. No worries: as long as the thing still bootstraps ;-) > Can you help me out with a configure line that

[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 #14 from Jakub Jelinek --- Comment on attachment 40137 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40137 check precision of ptrdiff_type_node and lhs type is equal Formatting is wrong. && should not be at the end of line,

[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/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 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 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 #13 from prathamesh3492 at gcc dot gnu.org --- Created attachment 40137 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40137=edit check precision of ptrdiff_type_node and lhs type is equal Hi Jakub, Thanks for the suggestion.

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

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

[Bug c++/77591] [6/7 Regression] decltype(auto) and ternary operator allow returning local reference without a warning

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

[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 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/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/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 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 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 testsuite/77635] load/store pair testcases need to use -mcpu=generic

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

[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 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 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 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 tree-optimization/78343] [6/7 Regression] Loop is not eliminated

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

[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

[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 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 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 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 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 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 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 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 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 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 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

  1   2   >