[Bug tree-optimization/49234] [4.5/4.6/4.7/4.8 Regression] -Wstrict-overflow gives obviously unwarranted warning

2013-03-01 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49234 --- Comment #12 from Aldy Hernandez 2013-03-01 19:17:32 UTC --- > --- Comment #11 from Ian Lance Taylor 2013-03-01 > 14:52:53 UTC --- > I suspect we can handle this case by observing that all the incoming values to > the PHI node are con

[Bug tree-optimization/49234] [4.5/4.6/4.7/4.8 Regression] -Wstrict-overflow gives obviously unwarranted warning

2013-03-01 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49234 --- Comment #14 from Aldy Hernandez 2013-03-01 19:33:47 UTC --- On 03/01/13 13:23, ian at airs dot com wrote: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49234 > > --- Comment #13 from Ian Lance Taylor 2013-03-01 > 19:23:00 UTC ---

[Bug testsuite/52297] [4.7 Regression] FAIL: gcc.dg/lto/trans-mem-1 c_lto_trans-mem-1_0.o-c_lto_trans-mem-1_1.o link, -flto -fgnu-tm

2012-02-22 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52297 --- Comment #7 from Aldy Hernandez 2012-02-22 20:20:34 UTC --- On 02/22/12 14:08, jakub at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52297 > > --- Comment #6 from Jakub Jelinek 2012-02-22 > 20:08:46 UTC --- > (In repl

[Bug c++/52558] write introduction incorrect wrt the C++11 memory model

2012-03-12 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 --- Comment #6 from Aldy Hernandez 2012-03-12 15:42:45 UTC --- On 03/12/12 10:32, rguenther at suse dot de wrote: es, but still cared about introducing write >> data races. This test case has both. I don't understand why we would allow >> intro

[Bug c++/52558] write introduction incorrect wrt the C++11 memory model

2012-03-12 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52558 --- Comment #10 from Aldy Hernandez 2012-03-12 15:56:30 UTC --- On 03/12/12 10:45, rguenther at suse dot de wrote: >> Just to get this straight, am I to assume that the default code >> generation for GCC is a single threaded environment? I just

[Bug testsuite/59160] The test c-c++-common/cilk-plus/PS/reduction-3.c fails on x86_64-apple-darwin1(0|3)*.

2013-11-18 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59160 --- Comment #1 from Aldy Hernandez --- > Is the line > > /* FIXME: This test has been xfailed until reductions are fixed. */ > > still relevant? I don't see any xfail in the source. > The FIXME is not relevant anymore. Can you post a patch to g

[Bug testsuite/59160] The test c-c++-common/cilk-plus/PS/reduction-3.c fails on x86_64-apple-darwin1(0|3)*.

2013-11-18 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59160 --- Comment #3 from Aldy Hernandez --- On 11/18/13 09:02, dominiq at lps dot ens.fr wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59160 > > --- Comment #2 from Dominique d'Humieres --- >> The FIXME is not relevant anymore. Can you post a

[Bug testsuite/59160] The test c-c++-common/cilk-plus/PS/reduction-3.c fails on x86_64-apple-darwin1(0|3)*.

2013-11-18 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59160 --- Comment #5 from Aldy Hernandez --- On 11/18/13 09:45, dominiq at lps dot ens.fr wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59160 > > --- Comment #4 from Dominique d'Humieres --- >> You need to post it on gcc-patches because I am not

[Bug tree-optimization/56572] GCC generates non-optimal transactional code when inlining nested transaction.

2013-12-11 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56572 --- Comment #6 from Aldy Hernandez --- > walk the transaction tree and delete nested transactions. Hopefully > we could do this before actually creating the uninstrumented path. > > I think moving the creation of the uninstrumented path after ipa

[Bug other/51174] AIX unexpected error_mark node in new TM tests

2011-11-17 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51174 --- Comment #9 from Aldy Hernandez 2011-11-17 19:04:43 UTC --- > I do not understand what you are asking. You can reproduce the failures or > you > cannot? My rs6000.c patch fixes some of the failures. The varasm.c patch is > necessary to fix

[Bug lto/51916] FAIL: gcc.dg/lto/trans-mem-3 c_lto_trans-mem-3_0.o-c_lto_trans-mem-3_1.o link, -flto (internal compiler error)

2012-01-20 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51916 --- Comment #3 from Aldy Hernandez 2012-01-20 16:25:19 UTC --- > No luck!-(I get 'No symbol "fcode" in current context.' and if not ' optimized out>'). > The only things I have been to print stepping through > streamer_get_builtin_tree (ib=, data

[Bug lto/51916] FAIL: gcc.dg/lto/trans-mem-3 c_lto_trans-mem-3_0.o-c_lto_trans-mem-3_1.o link, -flto (internal compiler error)

2012-01-20 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51916 --- Comment #5 from Aldy Hernandez 2012-01-20 20:03:09 UTC --- > I have never done that!-(I guess I have to pass something like CFLAGS and > CXXFLAGS in configure or make). What is the official way to do it? From the Debugging GCC wiki (http://

[Bug sanitizer/81601] [7/8 Regression] incorrect Warray-bounds warning with -fsanitize

2018-01-17 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81601 --- Comment #12 from Aldy Hernandez --- The warning occurs in vrp1, not evrp, but for the record... evrp dump: tcp_chrono_set (struct tcp_sock * tp) { int type; _1; int _2; unsigned char _3; unsigned char _4; : _1 = tp_11(D)->ch

[Bug rtl-optimization/84068] [8 Regression] ICE: qsort checking failed: qsort comparator non-negative on sorted output: 1 with -fno-sched-critical-path-heuristic --param=max-sched-extend-regions-iters

2018-01-30 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84068 --- Comment #4 from Aldy Hernandez --- > Yes it's latent and the fix is trivial. Testing to see whether it affects > codequality. Thanks Wilco, I appreciate it. Errr, we all do :).

[Bug rtl-optimization/59393] [6/7/8 regression] mips16/7/8 code size

2018-02-04 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59393 --- Comment #13 from Aldy Hernandez --- Do we care though? Does this bug pose a big enough problem on non MIPS16 that we would like addressed? Just curious On Sun, Feb 4, 2018 at 10:50 AM, law at redhat dot com wrote: > https://gcc.gnu.or

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

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

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

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

[Bug debug/84408] [8 regression] gcc.dg/plugin/poly-int-07_plugin.c compilation times out with -g

2018-02-20 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84408 --- Comment #7 from Aldy Hernandez --- Ok. Will do. On Feb 20, 2018 15:12, "law at redhat dot com" wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84408 > > Jeffrey A. Law changed: > >What|Removed |Ad

[Bug middle-end/87813] sprintf pass calling evrp at -O0 and setting global ranges which affect strnlen expansion

2018-11-05 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87813 --- Comment #10 from Aldy Hernandez --- On 11/5/18 11:06 AM, msebor at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87813 > > --- Comment #9 from Martin Sebor --- > (In reply to Aldy Hernandez from comment #6) > > I ag

[Bug gcov-profile/55734] [4.8 Regression] gcov-io.c uses builtins not available in non-GCC compilers

2012-12-18 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734 --- Comment #10 from Aldy Hernandez 2012-12-18 16:48:40 UTC --- Ah yes, now I remember. Yes, there is a problem with libgcov.a. I wasn't seeing it because I was only building cc1. You are correct Teresa, that is the reason for the gym

[Bug testsuite/54139] [4.8 regression] some ARM Thumb-2 tests appear to be run on ARMv5TE hardware causing unhandled exceptions

2013-01-15 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54139 --- Comment #6 from Aldy Hernandez 2013-01-15 16:49:24 UTC --- > The third is for failures like "FAIL: gcc.c-torture/execute/builtins/memset.c > compilation, -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects" that fail to > link due to m

[Bug libitm/55693] [4.8 Regression] libitm.c++/eh-1.C execution test fails on darwin from r193271

2013-01-18 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55693 --- Comment #14 from Aldy Hernandez 2013-01-18 17:14:56 UTC --- > You can use DYLD_PRINT_BINDINGS to find out which __cxa_allocate_exception > call > is being used, it'll also give you the addresses so you can make sure that the > right o

[Bug target/55939] [4.6/4.7/4.8 regression] gcc miscompiles gmp-5.0.5 on m68k-linux

2013-01-21 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55939 --- Comment #9 from Aldy Hernandez 2013-01-22 00:23:03 UTC --- An image with parameters/instructions would be ideal. Heck...not ideal...great! Thanks so much. "mikpe at it dot uu.se" wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug libitm/55693] [4.8 Regression] libitm.c++/eh-1.C execution test fails on darwin from r193271

2013-01-23 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55693 --- Comment #25 from Aldy Hernandez 2013-01-23 14:11:53 UTC --- > looks like (yet another) permutation of what works/doesn't with "ELF-style > weak > linking" I don't have darwin11 or 12 (yet) - but should do soon. > FWIW, I reproduced

[Bug target/55939] [4.6/4.7/4.8 regression] gcc miscompiles gmp-5.0.5 on m68k-linux

2013-01-29 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55939 --- Comment #16 from Aldy Hernandez 2013-01-29 19:47:24 UTC --- >> double d, d2; >> ... >> if (d != d2) { >> dumpd(d,d2); >> return -1; >> } >> >> By this point, "d" and "d2" are in fp2/fp3, and

[Bug tree-optimization/71691] [6/7 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (Floating point exception)

2016-12-07 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71691 --- Comment #18 from Aldy Hernandez --- On 12/07/2016 11:38 AM, law at redhat dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71691 > > --- Comment #17 from Jeffrey A. Law --- > It's just latent. We still need to fix it appropriat

[Bug rtl-optimization/64081] [5/6/7 Regression] r217827 prevents RTL loop unroll

2017-02-06 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64081 Aldy Hernandez changed: What|Removed |Added CC||aldyh at redhat dot com --- Comment

[Bug lto/47889] [4.7/4.8/4.9 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228

2014-01-09 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889 --- Comment #12 from Aldy Hernandez --- On 01/09/14 15:43, d.g.gorbachev at gmail dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889 > > --- Comment #11 from Dmitry Gorbachev --- > GCC 4.7 still crashes on the testcase from attach

[Bug lto/47889] [4.7 Regression] Segmentation fault in useless_type_conversion_p, at tree-ssa.c:1228

2014-01-09 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889 --- Comment #14 from Aldy Hernandez --- On 01/09/14 16:01, d.g.gorbachev at gmail dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47889 > > --- Comment #13 from Dmitry Gorbachev --- > It was 4.7.4 20131207 (prerelease). > Can you tr

[Bug debug/58315] [4.8/4.9/5 Regression] Excessive memory use with -g

2015-02-24 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58315 --- Comment #21 from Aldy Hernandez --- On 02/24/2015 12:39 AM, rguenther at suse dot de wrote: > But yes, we have multiple such assignments to 'this' at the (possible > assembler) location of a single statement which of course doesn't help. > >

[Bug debug/58315] [4.8/4.9/5 Regression] Excessive memory use with -g

2015-02-24 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58315 --- Comment #23 from Aldy Hernandez --- On 02/24/2015 07:53 AM, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58315 > > --- Comment #22 from Jakub Jelinek --- > (In reply to Aldy Hernandez from comment #21) >> Le

[Bug target/65278] [5 Regression] ICE (in output_718, at config/rs6000/rs6000.md:11592) on powerpc-linux-gnu

2015-03-02 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65278 --- Comment #4 from Aldy Hernandez --- On 03/02/2015 08:30 AM, doko at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65278 > > --- Comment #2 from Matthias Klose --- > yes, 32bit powerpc, > > /usr/lib/gcc/powerpc-linux-gn

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-08 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #5 from Aldy Hernandez --- I don't have access to a Darwin box. Could you provide a preprocessed file so I can try to reproduce the defined but not used problem on a cross build? Also, what triplet? Thanks. On Jun 7, 2015 4:09 AM,

[Bug bootstrap/66448] [6 Regression] Bootstrap fails on darwin after r224161

2015-06-09 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 --- Comment #10 from Aldy Hernandez --- It's not supposed to. It's for issue three as stated. On Jun 9, 2015 4:36 AM, "dominiq at lps dot ens.fr" wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448 > > --- Comment #9 from Dominique d

[Bug debug/66597] [6 Regression] Bootstrap failure since debug-early merge

2015-06-19 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66597 --- Comment #4 from Aldy Hernandez --- On 06/19/2015 11:50 AM, krebbel at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66597 > > --- Comment #2 from Andreas Krebbel --- > (In reply to Aldy Hernandez from comment #1) >> I

[Bug debug/66468] [6 Regression] ICE in in check_die, at dwarf2out.c:5719

2015-07-21 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66468 --- Comment #9 from Aldy Hernandez --- On 07/20/2015 03:14 PM, jason at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66468 > > --- Comment #8 from Jason Merrill --- > The problem seems to be that we inlined the function,

[Bug middle-end/48124] [4.3/4.4/4.5/4.6/4.7 Regression] likely wrong code bug

2011-03-15 Thread aldyh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48124 --- Comment #5 from Aldy Hernandez 2011-03-15 12:42:36 UTC --- > struct S > { >signed a : 26; >signed b : 16; >signed c : 10; >volatile signed d : 14; >int e; > } s; > I think you can't just modify s.e when writing s.d (I thin

[Bug tree-optimization/96818] [11 Regression] ICE: in decompose, at wide-int.h:984 at -O since r11-2883

2020-10-14 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 --- Comment #11 from Aldy Hernandez --- Ah...it can be closed. On Wed, Oct 14, 2020, 17:58 jamborm at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 > > --- Comment #10 from Martin Jambor

[Bug tree-optimization/97609] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708

2020-10-29 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97609 --- Comment #8 from Aldy Hernandez --- Yes. On Thu, Oct 29, 2020, 09:47 marxin at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97609 > > Martin Liška changed: > >What|Removed

[Bug tree-optimization/97721] [11 Regression] ICE in verify_range, at value-range.cc:361

2020-11-05 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97721 --- Comment #10 from Aldy Hernandez --- > > as well as here: > > > > if (TREE_CODE (val1) == INTEGER_CST && TREE_CODE (val2) == INTEGER_CST) > > { > > /* We cannot compare overflowed values. */ > > if (TREE_OVERFLOW (v

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-19 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 --- Comment #20 from Aldy Hernandez --- On Wed, May 19, 2021 at 8:31 AM rguenth at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 > > --- Comment #17 from Richard Biener --- > (In reply to Andrew Macleod from co

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-26 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 --- Comment #26 from Aldy Hernandez --- On Wed, May 26, 2021 at 10:34 AM rguenther at suse dot de wrote: > It's probably too strict for multiple_of_p which is fine with > overflows that preserve modulo behavior. Could you provide an example?

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-26 Thread aldyh at redhat dot com via Gcc-bugs
od at redhat dot com wrote: > >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 >> >> --- Comment #28 from Andrew Macleod --- >> (In reply to rguent...@suse.de from comment #27) >>> On Wed, 26 May 2021, aldyh at redhat dot com wrote: >>>

[Bug tree-optimization/100787] [12 Regression] Bootstrap failure caused by r12-1077

2021-05-28 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100787 --- Comment #7 from Jakub Jelinek --- Perhaps if EVRP is folding debug stmts it could first fold non-debug stmts (and remember if there were any debug stmts) and only fold debug stmts afterwards, either just by using caches and not adding anythi

[Bug tree-optimization/106679] [13 regression] gcc.dg/tree-prof/cmpsf-1.c fails after r13-2098-g5adfb6540db95d

2022-08-19 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106679 --- Comment #2 from Aldy Hernandez --- Huh. I wonder why this didn't show up in my regression tests. Are these tests not run by default? Either way, I'll take a look. On Thu, Aug 18, 2022, 23:29 pinskia at gcc dot gnu.org < gcc-bugzi...@gcc.gn

[Bug middle-end/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-06 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 Aldy Hernandez changed: What|Removed |Added CC||aldyh at redhat dot com --- Comment

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #18 from Defunct account. Do not use. --- > Yes. I guess it would be nice to have a CTOR or so for the case > where the path is really a single edge like in this case. Good idea. Will do.

[Bug tree-optimization/103188] [12 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 Aldy Hernandez changed: What|Removed |Added CC||aldyh at redhat dot com

[Bug middle-end/102519] [12 Regression] VRP Jump threader memory explosion

2021-09-29 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102519 --- Comment #16 from Aldy Hernandez --- On Wed, Sep 29, 2021 at 10:46 PM dje at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102519 > > --- Comment #15 from David Edelsohn --- > I annotated execute_vrp_threader() to

[Bug bootstrap/102527] [12 regression] out of memory compiling insn-emit.c

2021-09-29 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102527 --- Comment #11 from Aldy Hernandez --- This looks mighty suspicious ;-) diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 69a3ab0ea9d..c24c67f8874 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -4408,6 +4408,7 @@ hybrid_threader::~hybrid

[Bug middle-end/102519] [12 Regression] VRP Jump threader memory explosion

2021-09-29 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102519 --- Comment #20 from Aldy Hernandez --- Doesn't make a difference. If the blocks are stale, they need to be reconstructed anyhow. It's preexisting behavior in VRP anyhow. I heard you the first time ;-). On Thu, Sep 30, 2021 at 7:49 AM aldot

[Bug middle-end/102519] [12 Regression] VRP Jump threader memory explosion

2021-09-29 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102519 --- Comment #21 from Aldy Hernandez --- However, if you care to test a patch, I'd be happy to review it. On Thu, Sep 30, 2021 at 7:49 AM aldot at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102519 > > Bernhard Reutn

[Bug tree-optimization/102542] [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94

2021-10-01 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102542 --- Comment #7 from Aldy Hernandez --- On Fri, Oct 1, 2021 at 1:46 PM rguenth at gcc dot gnu.org wrote: > > Could I inconvenience you to tweak this function with your insight? It's a > > tiny function, and it seems you're much more qualified

[Bug tree-optimization/102546] [12 Regregression] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-10-01 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 --- Comment #12 from Aldy Hernandez --- Absolutely, but I didn't want to pollute the patch for this PR. Consider the patch to do so pre-approved :-). On Sat, Oct 2, 2021, 00:20 jakub at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > http

[Bug other/102605] address instruction from -fdump-tree-*-gimple doesn't work with -fgimple

2021-10-06 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102605 --- Comment #5 from Aldy Hernandez --- > > BTW, the __MEM_REF output from the dumps does not work in -fgimple either. > > More errors. > > Can you share an example? This is from gcc.c-torture/execute/961125-1.c compiled with -fgimple: char * b

[Bug other/102605] address instruction from -fdump-tree-*-gimple doesn't work with -fgimple

2021-10-06 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102605 --- Comment #7 from Aldy Hernandez --- On Wed, Oct 6, 2021 at 10:14 AM rguenther at suse dot de wrote: > Btw, please report cases where -gimple doesn't produce valid GIMPLE FE > inputs (OK, there are known cases with mangled symbol names when

[Bug tree-optimization/102622] [12 Regression] Wrong code with -O3 for skylake-avx512 and icelake-server by r12-3903

2021-10-06 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102622 --- Comment #10 from Aldy Hernandez --- Does :1-1 fail? In which case it's definitely the first thread.

[Bug tree-optimization/102646] large performance changes between 1932e1169a236849f5e7f1cd386da100d9af470f and 9cfb95f9b92326e86e99b50350ebf04fa9cd2477 (probably jump threading)

2021-10-11 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102646 --- Comment #3 from Aldy Hernandez --- Most if not all the performance changes I've seen so far have been, not due to the jump threader changes, but to the restrictions we've put into place for jump threadable paths. Before, we used to thread p

[Bug tree-optimization/102703] [12 Regression] Dead Code Elimination Regression at -O3 since r12-2591-g2e96b5f14e402569

2021-10-13 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 --- Comment #8 from Aldy Hernandez --- On Wed, Oct 13, 2021, 11:37 pinskia at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 > > --- Comment #7 from Andrew Pinski --- > Because: > if

[Bug tree-optimization/102794] [12 Regression] missing vrp in evrp dealing with casts and ands

2021-10-16 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102794 --- Comment #2 from Aldy Hernandez --- I haven't looked at this, but there's a pending patch with more restrictions for loop threading in the presence of loops. Does this help? https://gcc.gnu.org/pipermail/gcc-patches/2021-October/581637.html

[Bug testsuite/102857] [12 regression] r12-4526 caused regressions on ssa-dom-thread-7.c

2021-10-23 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102857 --- Comment #12 from Aldy Hernandez --- Thank you for your help on this (and the myriad of other PRs ;-)). I'll submit upstream. On Sat, Oct 23, 2021 at 11:06 AM pinskia at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?i

[Bug middle-end/101671] pr83510 fails with -Os because threader confuses -Warray-bounds

2021-07-29 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101671 --- Comment #2 from Aldy Hernandez --- Yeah, that would be great. Thanks! On Thu, Jul 29, 2021 at 6:05 PM msebor at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101671 > > Martin Sebor changed: > >What