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

2016-11-21 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78437 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2016-11-21 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78437 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/78443] New: Incorrect behavior with non_overridable keyword

2016-11-21 Thread perini at wisc dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 Bug ID: 78443 Summary: Incorrect behavior with non_overridable keyword Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: f

[Bug target/78438] [7 Regression] incorrect comparison optimization

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

[Bug target/78438] [7 Regression] incorrect comparison optimization

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78438 --- Comment #2 from Jakub Jelinek --- Before combine we have: (insn 6 5 7 2 (parallel [ (set (reg:SI 92) (ashiftrt:SI (reg:SI 93 [ b ]) (const_int 11 [0xb]))) (clobber (reg:CC 17 flags))

[Bug target/78426] [7 Regression] wrong code with strncmp on SH

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78426 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug tree-optimization/78427] missed optimization of loop condition

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78427 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug tree-optimization/78428] [5/6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78428 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug tree-optimization/78429] [7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/78430] libstc++-v3 Build failed

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

[Bug target/78444] New: Wrong prologue stack alignment for implicit dtor on x86_64-darwin*

2016-11-21 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78444 Bug ID: 78444 Summary: Wrong prologue stack alignment for implicit dtor on x86_64-darwin* Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug target/78436] [7 Regression] incorrect write to larger-than-type bitfield (signed char x:9)

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

[Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin*

2016-11-21 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78444 Iain Sandoe changed: What|Removed |Added Keywords||wrong-code Target|

[Bug target/78436] [7 Regression] incorrect write to larger-than-type bitfield (signed char x:9)

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78436 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comm

[Bug tree-optimization/78435] bogus array subscript warning

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

[Bug target/78436] [7 Regression] incorrect write to larger-than-type bitfield (signed char x:9)

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78436 --- Comment #3 from Richard Biener --- Hmm, maybe it's DECL_SIZE (of the FIELD_DECL) vs. TYPE_PRECISION mismatch not honored by store merging (I can very well think of other places having the same confusion...).

[Bug target/78439] [7 Regression] error: insn does not satisfy its constraints (arm-linux-gnueabihf)

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78439 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug target/78438] [7 Regression] incorrect comparison optimization

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78438 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Jakub Jelin

[Bug target/78436] [7 Regression] incorrect write to larger-than-type bitfield (signed char x:9)

2016-11-21 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78436 --- Comment #4 from ktkachov at gcc dot gnu.org --- Assignment of negative values to signed bitfields has caused me some headaches in encode_tree_to_bitpos due to native_encode_expr sign-extending the value to GET_MODE_SIZE (TYPE_MODE (...)) bytes

[Bug target/78445] New: [7 Regression] ICE in maybe_gen_insn, at optabs.c:7014

2016-11-21 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78445 Bug ID: 78445 Summary: [7 Regression] ICE in maybe_gen_insn, at optabs.c:7014 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-21 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 --- Comment #5 from Dominik Vogt --- Is that with any specific version of Glibc?

[Bug target/78438] [7 Regression] incorrect comparison optimization

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78438 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #4 from Jakub Jelinek -

[Bug target/78436] [7 Regression] incorrect write to larger-than-type bitfield (signed char x:9)

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78436 --- Comment #5 from Jakub Jelinek --- The over-sized bitfield isn't really needed for this, making it more severe: struct S { long int : 23; long int a : 24; long int b : 10; long int c : 24; signed char d : 8; } s; __attribute__((noin

[Bug target/78439] [7 Regression] error: insn does not satisfy its constraints (arm-linux-gnueabihf)

2016-11-21 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78439 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 --- Comment #6 from Markus Trippelsdorf --- (In reply to Dominik Vogt from comment #5) > Is that with any specific version of Glibc? I was using trunk.

[Bug tree-optimization/78436] [7 Regression] incorrect write to larger-than-type bitfield (signed char x:9)

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78436 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Component|target

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 --- Comment #7 from Markus Trippelsdorf --- To reproduce build glibc with -O3 and then run "make check". Or directly: ~ % ~/glibc_build/elf/ld.so --library-path /home/trippels/glibc_build/ ~/glibc_build/posix/tst-vfork3

[Bug target/78439] [7 Regression] error: insn does not satisfy its constraints (arm-linux-gnueabihf)

2016-11-21 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78439 --- Comment #2 from ktkachov at gcc dot gnu.org --- Reduced testcase: enum demangle_component_type { DEMANGLE_COMPONENT_THROW_SPEC }; struct demangle_component { enum demangle_component_type type; struct { struct { struct de

[Bug tree-optimization/78436] [7 Regression] incorrect write to larger-than-type bitfield (signed char x:9)

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78436 --- Comment #6 from Jakub Jelinek --- Created attachment 40096 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40096&action=edit gcc7-pr78436.patch Untested fix. Most of the changes are just nits I ran into when debugging, the real fix is

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-21 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 --- Comment #8 from Dominik Vogt --- This code from maybe_script_execute() writes past the allocated array bounds: /* Construct an argument list for the shell. */ char *new_argv[argc + 1]; new_argv[0] = (char *) _

[Bug c++/47877] -fvisibility-inlines-hidden does not hide member template functions

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47877 Richard Biener changed: What|Removed |Added Keywords||documentation Status|UNCONF

[Bug tree-optimization/78435] bogus array subscript warning

2016-11-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78435 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug middle-end/78445] [7 Regression] ICE in maybe_gen_insn, at optabs.c:7014

2016-11-21 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78445 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/78446] New: Ambiguous member lookup for operator() in a function call expression treated as hard error in SFINAE context

2016-11-21 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78446 Bug ID: 78446 Summary: Ambiguous member lookup for operator() in a function call expression treated as hard error in SFINAE context Product: gcc Version: 7.0

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-21 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 --- Comment #9 from Dominik Vogt --- ... and I think the buffer allocated in __execvpe() is also one byte too small: char buffer[path_len + file_len + 1]; ... char *pend = mempcpy (buffer, p, subp - p); <-- path_len *pend = '/';

[Bug middle-end/67335] [6/7 Regression] ICE in compiling omp simd function with unused argument

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

[Bug target/78439] [7 Regression] error: insn does not satisfy its constraints (arm-linux-gnueabihf)

2016-11-21 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78439 --- Comment #3 from ktkachov at gcc dot gnu.org --- The ICE happens due to r242590. Need to figure out if it is the cause of the bug or just exposes it

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED URL|

[Bug tree-optimization/78396] [7 regression] gcc.dg/vect/bb-slp-cond-1.c FAILs after fix for PR77848

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78396 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 from

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

2016-11-21 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78437 --- Comment #3 from Eric Botcazou --- Created attachment 40098 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40098&action=edit Tentative fix It only affects Alpha (by default) but I no longer have access to Alpha hardware so I'm going to

[Bug target/78439] [7 Regression] error: insn does not satisfy its constraints (arm-linux-gnueabihf)

2016-11-21 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78439 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee

[Bug c++/78073] inherited initializer_list constructor is not accessible

2016-11-21 Thread a...@q-fu.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78073 Andrey Zholos changed: What|Removed |Added CC||a...@q-fu.com --- Comment #2 from Andrey

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

2016-11-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #3 from Martin Liška --- I've just verified that clang 3.8.1 emits *_noabort calls with -fsanitize-recover=all: $ clang++ -fsanitize=address -fsanitize-recover=all /tmp/leak.c -S ; grep store leak.s callq __asan_report_stor

[Bug rtl-optimization/78447] New: [7 Regression] wrong code when combine changes shifts by << 5 and >> 15 to >> 10 at -O

2016-11-21 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78447 Bug ID: 78447 Summary: [7 Regression] wrong code when combine changes shifts by << 5 and >> 15 to >> 10 at -O Product: gcc Version: 7.0 Status: UNCONFIRMED Keyw

[Bug tree-optimization/78429] [7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 Martin Liška changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org,

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

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #4 from Jakub Jelinek --- Maybe llvm doesn't care about backwards compatibility, but we do.

[Bug target/78439] [7 Regression] error: insn does not satisfy its constraints (arm-linux-gnueabihf)

2016-11-21 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78439 --- Comment #5 from ktkachov at gcc dot gnu.org --- Testing a patch.

[Bug tree-optimization/78428] [5/6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode

2016-11-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78428 Martin Liška changed: What|Removed |Added CC||hjl.tools at gmail dot com,

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

2016-11-21 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78437 --- Comment #4 from Uroš Bizjak --- (In reply to Eric Botcazou from comment #3) > Created attachment 40098 [details] > Tentative fix > > It only affects Alpha (by default) but I no longer have access to Alpha > hardware so I'm going to play with

[Bug tree-optimization/78429] [7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 --- Comment #3 from Eric Botcazou --- It looks like this guard in set_and_canonicalize_value_range: /* For one bit precision if max < min, then the swapped range covers all values, so for VR_RANGE it is varying and for VR

[Bug target/78093] [avr] New variable attribute "absdata" and option "-mabsdata" to enable LDS / STS on Reduced Tiny

2016-11-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78093 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Mon Nov 21 12:23:14 2016 New Revision: 242660 URL: https://gcc.gnu.org/viewcvs?rev=242660&root=gcc&view=rev Log: PR target/78093 * config/avr/avr.c (avr_decl_maybe_lds_p)

[Bug middle-end/78429] [5/6/7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Component|tree-optimization

[Bug middle-end/78429] [5/6/7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 --- Comment #5 from Richard Biener --- It's built by build_nonstandard_boolean_type via (gdb) bt #0 0x01204281 in build_nonstandard_boolean_type (precision=32) at /space/rguenther/src/gcc-git/gcc/tree.c:8219 #1 0x0120e478 i

[Bug middle-end/78429] [6/7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 Richard Biener changed: What|Removed |Added Target Milestone|5.5 |6.3 Summary|[5/6/7 Regressio

[Bug rtl-optimization/78447] [7 Regression] wrong code when combine changes shifts by << 5 and >> 15 to >> 10 at -O

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78447 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug middle-end/78429] [6/7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 --- Comment #7 from Eric Botcazou --- > Wasn't backported to GCC5 (yet). There is no plan to backport it to GCC 5 though.

[Bug middle-end/78429] [6/7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 --- Comment #8 from Eric Botcazou --- > where -1 no longer "fits" bool even though it should. So > > /* Short-circuit boolean types since various transformations assume that > they can only take values 0 and 1. */ > if (TREE_CODE (typ

[Bug middle-end/78429] [6/7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 --- Comment #9 from Richard Biener --- (In reply to Eric Botcazou from comment #8) > > where -1 no longer "fits" bool even though it should. So > > > > /* Short-circuit boolean types since various transformations assume that > > they can

[Bug middle-end/78429] [6/7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 --- Comment #10 from Eric Botcazou --- > It's built by build_nonstandard_boolean_type via > > (gdb) bt > #0 0x01204281 in build_nonstandard_boolean_type (precision=32) > at /space/rguenther/src/gcc-git/gcc/tree.c:8219 > #1 0x00

[Bug middle-end/78411] [7 Regression] FAIL: gcc.target/i386/pr45685.c scan-assembler-times cmov 6

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78411 --- Comment #6 from Jakub Jelinek --- Oh, starting with r242550 this FAILs now everywhere. The question is why it FAILed for H.J. before r242550. So shall we just add -ftree-loop-if-convert to dg-options of this test?

[Bug middle-end/78429] [6/7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 --- Comment #11 from Richard Biener --- The following made them signed (but not precision 1). https://gcc.gnu.org/ml/gcc-patches/2015-10/msg03030.html

[Bug tree-optimization/78396] [7 regression] gcc.dg/vect/bb-slp-cond-1.c FAILs after fix for PR77848

2016-11-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78396 --- Comment #3 from Bill Schmidt --- The ??? comments worry me -- can't this leave us with the same kinds of regressions that led to PR77848? I think the specific test in that PR may regress again.

[Bug middle-end/78429] [6/7 Regression] ice on valid C code on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (internal compiler error: in set_value_range, at tree-vrp.c:361)

2016-11-21 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 --- Comment #12 from rguenther at suse dot de --- On Mon, 21 Nov 2016, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78429 > > --- Comment #10 from Eric Botcazou --- > > It's built by build_nonstandard_bool

[Bug middle-end/78411] [7 Regression] FAIL: gcc.target/i386/pr45685.c scan-assembler-times cmov 6

2016-11-21 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78411 --- Comment #7 from rguenther at suse dot de --- On Mon, 21 Nov 2016, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78411 > > --- Comment #6 from Jakub Jelinek --- > Oh, starting with r242550 this FAILs now eve

[Bug tree-optimization/78396] [7 regression] gcc.dg/vect/bb-slp-cond-1.c FAILs after fix for PR77848

2016-11-21 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78396 --- Comment #4 from rguenther at suse dot de --- On Mon, 21 Nov 2016, wschmidt at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78396 > > --- Comment #3 from Bill Schmidt --- > The ??? comments worry me -- can't this le

[Bug go/78432] [7 Regression] -fdump-go-spec ICEs for aligned causing x32 libgo library to fail to build

2016-11-21 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78432 Matthias Klose changed: What|Removed |Added Target|x86_64-linux-gnu, |x86_64-linux-gnu, |s3

[Bug target/64802] [ARM] Selecting an -mcpu or -march that supports only one of ARM/Thumb should default to the ISA that *is* supported

2016-11-21 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64802 Thomas Preud'homme changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug rtl-optimization/78342] [7 Regression] ICE in rtl_verify_bb_insns, at cfgrtl.c:2657 (error: flow control insn inside a basic block)

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

[Bug middle-end/78411] [7 Regression] FAIL: gcc.target/i386/pr45685.c scan-assembler-times cmov 6

2016-11-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78411 --- Comment #8 from Richard Biener --- diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 4f17200..c50c598 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -3017,6 +3017,7 @@ insert_into_preds_of_block (basic_block block, unsig

[Bug libstdc++/78448] New: Container max_size() functions don't consider the range of their difference_type

2016-11-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78448 Bug ID: 78448 Summary: Container max_size() functions don't consider the range of their difference_type Product: gcc Version: unknown Status: UNCONFIRMED Severi

Re: copy_n should result in a one past the end input iterator

2016-11-21 Thread Jonathan Wakely
On 21/11/16 03:10 +, Robert Young wrote: /* gcc -Wall -Wextra -std=c++11 copy_n_vs_copy.cpp -lstdc++ -o copy_n_vs_copy One Past the End https://gcc.gnu.org/onlinedocs/libstdc++/manual/iterators.html#iterators.predefined.end BUG location: /usr/lib/gcc/x86_64-pc-linux-gnu/5.1.0/include/g++-v5

[Bug tree-optimization/78413] [7 Regression] ICE in single_pred_edge, at basic-block.h:361

2016-11-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78413 --- Comment #7 from Bill Schmidt --- Author: wschmidt Date: Mon Nov 21 14:10:11 2016 New Revision: 242661 URL: https://gcc.gnu.org/viewcvs?rev=242661&root=gcc&view=rev Log: [gcc] 2016-11-21 Bill Schmidt PR tree-optimization/78413

[Bug tree-optimization/78396] [7 regression] gcc.dg/vect/bb-slp-cond-1.c FAILs after fix for PR77848

2016-11-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78396 --- Comment #5 from Bill Schmidt --- OK, I'll test it out shortly.

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-11-21 Thread matt at godbolt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #13 from Matt Godbolt --- We will try and get a small repro case. It comes from open source software: it's from the compiling_tests.cpp program in trompeloeil (https://github.com/rollbear/trompeloeil/blob/master/compiling_tests.cpp. T

[Bug c++/71973] c++ handles built-in functions inconsistently

2016-11-21 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71973 --- Comment #5 from Bernd Edlinger --- Author: edlinger Date: Mon Nov 21 14:17:05 2016 New Revision: 242662 URL: https://gcc.gnu.org/viewcvs?rev=242662&root=gcc&view=rev Log: gcc: 2016-11-21 Bernd Edlinger PR c++/71973 * doc/

[Bug tree-optimization/78413] [7 Regression] ICE in single_pred_edge, at basic-block.h:361

2016-11-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78413 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/78400] [7 Regression] ICE: in df_refs_verify, at df-scan.c:4045 when building powerpc crosscompiler

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78400 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Mon Nov 21 14:44:21 2016 New Revision: 242663 URL: https://gcc.gnu.org/viewcvs?rev=242663&root=gcc&view=rev Log: shrink-wrap: Fix problem with DF checking (PR78400) With my previou

[Bug tree-optimization/78114] [7 regression] gfortran.dg/vect/fast-math-mgrid-resid.f FAILs

2016-11-21 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78114 --- Comment #10 from amker at gcc dot gnu.org --- Author: amker Date: Mon Nov 21 14:58:19 2016 New Revision: 242664 URL: https://gcc.gnu.org/viewcvs?rev=242664&root=gcc&view=rev Log: gcc/testsuite PR testsuite/78114 * gfor

[Bug rtl-optimization/71785] Computed gotos are mostly optimized away

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 --- Comment #8 from Segher Boessenkool --- Author: segher Date: Mon Nov 21 15:15:21 2016 New Revision: 242665 URL: https://gcc.gnu.org/viewcvs?rev=242665&root=gcc&view=rev Log: Testcase for PR71785 gcc/testsuite/ PR rtl-optimization/71

[Bug rtl-optimization/71785] Computed gotos are mostly optimized away

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71785 Segher Boessenkool changed: What|Removed |Added Status|NEW |ASSIGNED Known to work|

[Bug rtl-optimization/78342] [7 Regression] ICE in rtl_verify_bb_insns, at cfgrtl.c:2657 (error: flow control insn inside a basic block)

2016-11-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78342 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org -

[Bug sanitizer/78208] Compile-time hog with -fsanitize=null with operator overloading

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78208 --- Comment #1 from Jakub Jelinek --- As discussed on gcc-patches, I think this is only a compile-time hog with -fdump-tree-original.

[Bug libfortran/78449] New: compile time ieee_support_halting is not correct on arm and aarch64 ( FAIL: gfortran.dg/ieee/ieee_8.f90 -Os execution test )

2016-11-21 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78449 Bug ID: 78449 Summary: compile time ieee_support_halting is not correct on arm and aarch64 ( FAIL: gfortran.dg/ieee/ieee_8.f90 -Os execution test ) Product: gcc

[Bug tree-optimization/78396] [7 regression] gcc.dg/vect/bb-slp-cond-1.c FAILs after fix for PR77848

2016-11-21 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78396 --- Comment #6 from Bill Schmidt --- gfortran.dg/vect/pr77848.f indeed still passes with this change. I suppose that similar code where something else in the block could be vectorized would still regress, though. I don't think that's sufficient

[Bug rtl-optimization/78447] [7 Regression] wrong code when combine changes shifts by << 5 and >> 15 to >> 10 at -O

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

[Bug preprocessor/78324] Valgrind issues seen with gcc.dg/tree-ssa/builtin-sprintf-2.c

2016-11-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78324 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Mon Nov 21 15:50:38 2016 New Revision: 242667 URL: https://gcc.gnu.org/viewcvs?rev=242667&root=gcc&view=rev Log: substring_loc info needs default track-macro-expansion (PR preprocessor

[Bug preprocessor/78324] Valgrind issues seen with gcc.dg/tree-ssa/builtin-sprintf-2.c

2016-11-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78324 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug preprocessor/77810] provide format_inform_at_substring to go with format_warning_at_substring

2016-11-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77810 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug middle-end/78445] [7 Regression] ICE in maybe_gen_insn, at optabs.c:7014

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

[Bug tree-optimization/78450] New: strlen(s) return value can be assumed to be less than the size of s

2016-11-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78450 Bug ID: 78450 Summary: strlen(s) return value can be assumed to be less than the size of s Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/78445] [7 Regression] ICE in maybe_gen_insn, at optabs.c:7014

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78445 --- Comment #3 from Jakub Jelinek --- That change is clearly bogus, if we have any masked loads/stores, we need to version the loop, even if -ftree-loop-if-convert. Will test a patch for this.

[Bug tree-optimization/78114] [7 regression] gfortran.dg/vect/fast-math-mgrid-resid.f FAILs

2016-11-21 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78114 --- Comment #11 from janus at gcc dot gnu.org --- r242664 seems to fix the issue I reported in comment 3/4. Thanks!

[Bug middle-end/78445] [7 Regression] ICE in maybe_gen_insn, at optabs.c:7014

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

[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword

2016-11-21 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code Status|

[Bug preprocessor/77810] provide format_inform_at_substring to go with format_warning_at_substring

2016-11-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77810 --- Comment #3 from Martin Sebor --- I haven't posted the patch for review. IIRC, I put it together in hopes of enhancing the -Wformat-length notes to refer to the arguments of the directives and offering fixit hints showing how to resolve some

[Bug middle-end/77831] add fixit hints to -Wformat-length

2016-11-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77831 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/78451] New: FAIL: gcc.target/i386/sse-22a.c: error: inlining failed in call to always_inline '_mm512_setzero_ps'

2016-11-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78451 Bug ID: 78451 Summary: FAIL: gcc.target/i386/sse-22a.c: error: inlining failed in call to always_inline '_mm512_setzero_ps' Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug bootstrap/77676] powerpc64 and powerpc64le stage2 bootstrap fail

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

[Bug tree-optimization/78428] [5/6/7 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu in 64-bit mode

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

[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword

2016-11-21 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 --- Comment #2 from janus at gcc dot gnu.org --- Indeed this behavior is a bug. Looking at the dump generated with -fdump-tree-original, it seems that all typebound-procedure calls are generated as they should be: * The three calls in the main p

  1   2   3   >