[Bug tree-optimization/78608] gimple-ssa-sprintf.c:570:17: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78608 --- Comment #4 from Markus Trippelsdorf --- The patch fixes all issue that I came across. Please apply your patch. Thanks.

[Bug target/77822] [6 Regression] arm64 Error: immediate value out of range 0 to 63 at operand 3

2016-12-02 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822 --- Comment #32 from Andreas Krebbel --- Author: krebbel Date: Fri Dec 2 08:26:19 2016 New Revision: 243159 URL: https://gcc.gnu.org/viewcvs?rev=243159&root=gcc&view=rev Log: PR target/77822: Add helper macro EXTRACT_ARGS_IN_RANGE to system.h.

[Bug target/77822] [6 Regression] arm64 Error: immediate value out of range 0 to 63 at operand 3

2016-12-02 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822 --- Comment #33 from Andreas Krebbel --- Author: krebbel Date: Fri Dec 2 08:30:16 2016 New Revision: 243160 URL: https://gcc.gnu.org/viewcvs?rev=243160&root=gcc&view=rev Log: PR target/77822: S390: Validate argument range of {zero,sign}_extract

[Bug middle-end/78629] vec.h: null pointer passed as argument 1, which is declared to never be null

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78629 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/77822] [6 Regression] arm64 Error: immediate value out of range 0 to 63 at operand 3

2016-12-02 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822 Andreas Krebbel changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/77822] [6 Regression] arm64 Error: immediate value out of range 0 to 63 at operand 3

2016-12-02 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #35 from Andreas Kr

[Bug ipa/78555] gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552

2016-12-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78555 --- Comment #8 from Martin Liška --- Author: marxin Date: Fri Dec 2 08:36:01 2016 New Revision: 243163 URL: https://gcc.gnu.org/viewcvs?rev=243163&root=gcc&view=rev Log: Fix runtime error: left shift of negative value (PR PR ipa/78555

[Bug target/78639] [7 Regression] Power9 bad code generation for cactusADM benchmark

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78639 Richard Biener changed: What|Removed |Added Target||powerpc64le-*-* Target Milestone|---

[Bug c++/78637] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in pop_namespace, at cp/name-lookup.c:3826)

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78637 Richard Biener changed: What|Removed |Added Keywords||error-recovery Priority|P3

[Bug rtl-optimization/78638] [7 regression] test cases gcc.target/powerpc/rlwimi-0.c and rlwimi-2.c fail starting with r243000

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

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug rtl-optimization/78634] [7 Regression] 30% performance drop after r242832.

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78634 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug ipa/78555] gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552

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

[Bug target/78633] [7 Regression] [SH] libgcc/fp-bit.c:944:1: error: invalid rtl sharing found in the insn

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78633 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug rtl-optimization/78575] [7 Regression] ICE: in trunc_int_for_mode, at explow.c:55 with -O2 -g

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78575 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Dec 2 08:42:12 2016 New Revision: 243164 URL: https://gcc.gnu.org/viewcvs?rev=243164&root=gcc&view=rev Log: PR rtl-optimization/78575 * config/i386/i386.c (timode_sca

[Bug fortran/78641] [5/6/7 Regression] [OOP] ICE on polymorphic allocatable function in array constructor

2016-12-02 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78641 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug rtl-optimization/78547] [7 Regression] ICE: in loc_cmp, at var-tracking.c:3417 with -Os -g -mstringop-strategy=libcall -freorder-blocks-algorithm=simple

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78547 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Dec 2 08:44:42 2016 New Revision: 243165 URL: https://gcc.gnu.org/viewcvs?rev=243165&root=gcc&view=rev Log: PR rtl-optimization/78547 * emit-rtl.c (unshare_all_rtl):

[Bug fortran/78641] [5/6/7 Regression] [OOP] ICE on polymorphic allocatable function in array constructor

2016-12-02 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78641 --- Comment #2 from janus at gcc dot gnu.org --- Possibly related to PR 58557.

[Bug fortran/78641] [5/6/7 Regression] [OOP] ICE on polymorphic allocatable function in array constructor

2016-12-02 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78641 --- Comment #3 from janus at gcc dot gnu.org --- Here is a slightly simpler version, replacing the function call with a variable reference, which fails with the same ICE with version 5, 6 and trunk: implicit none type foo end type type(foo)

[Bug rtl-optimization/78575] [7 Regression] ICE: in trunc_int_for_mode, at explow.c:55 with -O2 -g

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78575 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/78547] [7 Regression] ICE: in loc_cmp, at var-tracking.c:3417 with -Os -g -mstringop-strategy=libcall -freorder-blocks-algorithm=simple

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78547 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/67839] Bit addressable instructions generated for invalid memory address

2016-12-02 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67839 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |6.0 --- Comment #6 from Georg-Johann

[Bug target/67839] Bit addressable instructions generated for invalid memory address

2016-12-02 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67839 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/78641] [5/6/7 Regression] [OOP] ICE on polymorphic allocatable function in array constructor

2016-12-02 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78641 --- Comment #4 from janus at gcc dot gnu.org --- This patch seems to fix comment 3: Index: gcc/fortran/class.c === --- gcc/fortran/class.c (revision 243035) +++ gcc/fortran/class.c

[Bug other/67373] Can't compile gcc snapshot for avr target with mingw

2016-12-02 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67373 Georg-Johann Lay changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/78642] New: [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-02 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 Bug ID: 78642 Summary: [7 regression] ICE: invalid rtl sharing found in the insn on sparc Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

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

[Bug fortran/78640] [F2015] gfortran accepts invalid allocatable polymorphic result in pure function

2016-12-02 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78640 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/78641] [5/6/7 Regression] [OOP] ICE on polymorphic allocatable function in array constructor

2016-12-02 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78641 --- Comment #5 from Dominique d'Humieres --- The ICE appeared between revisions r216305 (2014-10-16, compiles) and r216470 (2014-10-20, ICE), likely r216427 (pr63553).

[Bug fortran/78641] [5/6/7 Regression] [OOP] ICE on polymorphic allocatable function in array constructor

2016-12-02 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78641 janus at gcc dot gnu.org changed: What|Removed |Added CC||pault at gcc dot gnu.org --- C

[Bug target/78643] New: ICE in convert_move, at expr.c:230

2016-12-02 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78643 Bug ID: 78643 Summary: ICE in convert_move, at expr.c:230 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/78637] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in pop_namespace, at cp/name-lookup.c:3826)

2016-12-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78637 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|paolo.carlin

[Bug ipa/78644] New: [7 Regression] ICE: SIGSEGV in is_gimple_reg_type with -Og -fipa-cp

2016-12-02 Thread zsojka at seznam dot cz
-amd64 Thread model: posix gcc version 7.0.0 20161202 (experimental) (GCC) Some checking is probably needed in order to have verify_gimple_in_cfg() called.

[Bug c++/78645] New: ICE on invalid C++ code on x86_64-linux-gnu (Segmentation fault, cxx_eval_call_expression)

2016-12-02 Thread chengniansun at gmail dot com
/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20161202 (experimental) [trunk revision 243153] (GCC) $ $ gcc

[Bug tree-optimization/78646] New: incorrect result type for pointer addition in slsr

2016-12-02 Thread stefan at reservoir dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78646 Bug ID: 78646 Summary: incorrect result type for pointer addition in slsr Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/78647] New: ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected tree_list, have error_mark in get_attribute_name, at attribs.c:664)

2016-12-02 Thread chengniansun at gmail dot com
: posix gcc version 7.0.0 20161202 (experimental) [trunk revision 243153] (GCC) $ $ gcc-trunk small.C small.C: In function ‘void f()’: small.C:3:35: error: expected primary-expression before ‘)’ token void f() { alignas(do_not_remove(A)); } ^ small.C:3:37: internal

[Bug c++/78645] ICE on invalid C++ code on x86_64-linux-gnu (Segmentation fault, cxx_eval_call_expression)

2016-12-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78645 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/78646] incorrect result type for pointer addition in slsr

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78646 Richard Biener changed: What|Removed |Added CC||wschmidt at linux dot vnet.ibm.com ---

[Bug c++/78645] [6/7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (Segmentation fault, cxx_eval_call_expression)

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78645 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug ipa/78644] [7 Regression] ICE: SIGSEGV in is_gimple_reg_type with -Og -fipa-cp

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78644 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug middle-end/78328] wrong wording for unbounded alloc case in -Walloca-larger-than note

2016-12-02 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78328 --- Comment #2 from Aldy Hernandez --- Author: aldyh Date: Fri Dec 2 12:20:42 2016 New Revision: 243174 URL: https://gcc.gnu.org/viewcvs?rev=243174&root=gcc&view=rev Log: PR middle-end/78328 * gimple-ssa-warn-alloca.c (alloca_ca

[Bug middle-end/78328] wrong wording for unbounded alloc case in -Walloca-larger-than note

2016-12-02 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78328 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug rtl-optimization/78038] [5 Regression] internal compiler error: in get_sub_rtx, at ree.c:655

2016-12-02 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78038 --- Comment #12 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Dec 2 12:22:54 2016 New Revision: 243175 URL: https://gcc.gnu.org/viewcvs?rev=243175&root=gcc&view=rev Log: [ree] PR rtl-optimization/78038: Handle global register d

[Bug c++/78648] New: ICE on invalid C++ code on x86_64-linux-gnu (Segmentation fault, contains_struct_check)

2016-12-02 Thread chengniansun at gmail dot com
/x86_64-pc-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20161202 (experimental) [trunk revision 243153] (GCC) $ $ gcc-trunk

[Bug rtl-optimization/78038] [5 Regression] internal compiler error: in get_sub_rtx, at ree.c:655

2016-12-02 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78038 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug target/78631] [Intel MPX] libmpxwrappers shared library leads to a non-bounds-preserving memcpy()

2016-12-02 Thread dmitrii.kuvais...@tu-dresden.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78631 --- Comment #2 from Dmitrii Kuvaiskii --- (In reply to Ilya Enkovich from comment #1) > PLT section is generated by linker. To have MPX friendly PLT you have to > have MPX enabled linker supporting '-z bndplt' flag and GCC should be > configured

[Bug c++/78649] New: ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in build_value_init_noctor, at cp/init.c:3

2016-12-02 Thread chengniansun at gmail dot com
-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20161202 (experimental) [trunk revision 243153] (GCC) $ $ gcc-trunk small.C small.C: In instantiation of ‘void test() [with T = void; Args = {}]’: small.C:4:24: required from here small.C:2:51: error: variable or field ‘t’ declared

[Bug target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78642 --- Comment #2 from Jakub Jelinek --- Can't reproduce in a cross-compiler, I also see (clobber (reg/i:SI 8 %o0 [24])) just once in the IL. That said, rtl sharing verification has been mistakenly not performed even with --enable-checking=rtl duri

[Bug c++/78649] [5/6/7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in build_value_init_noctor,

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

[Bug target/78650] New: ira-costs.c:1716:53: runtime error: member access within null pointer of type 'struct cost_classes'

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78650 Bug ID: 78650 Summary: ira-costs.c:1716:53: runtime error: member access within null pointer of type 'struct cost_classes' Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug c++/78651] New: Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2016-12-02 Thread dyp-cpp at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 Bug ID: 78651 Summary: Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug target/78650] ira-costs.c:1716:53: runtime error: member access within null pointer of type 'struct cost_classes'

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78650 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2016-12-02 Thread dyp-cpp at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #1 from dyp-cpp at gmx dot net --- Same issue if the LocalException is a non-local class with internal linkage.

[Bug c++/78649] [5/6/7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in build_value_init_noctor,

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78649 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |5.5

[Bug c++/78649] [5/6/7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in build_value_init_noctor,

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78649 Richard Biener changed: What|Removed |Added Keywords||error-recovery, |

[Bug rtl-optimization/78652] New: LRA generates wrong code by inheriting changed register

2016-12-02 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78652 Bug ID: 78652 Summary: LRA generates wrong code by inheriting changed register Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority

[Bug rtl-optimization/78652] LRA generates wrong code by inheriting changed register

2016-12-02 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78652 --- Comment #1 from amker at gcc dot gnu.org --- GCC is configured as below: --target=arm-none-eabi --prefix=... --with-gmp=... --with-mpfr=... --with-mpc=... --with-isl=... --disable-shared --disable-nls --disable-threads --disable-tls --enable-c

[Bug tree-optimization/78646] incorrect result type for pointer addition in slsr

2016-12-02 Thread stefan at reservoir dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78646 --- Comment #2 from Stefan M Freudenberger --- It's not an ICE on x86, but the dump shows the incorrect pointer type. Can I assert that the cand_type is a pointer and not a reference?

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

2016-12-02 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78505 vehre at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|un

[Bug c++/78649] [5/6/7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in build_value_init_noctor,

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

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-02 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/78648] [5/6/7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (Segmentation fault, contains_struct_check)

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

[Bug c++/78648] [5/6/7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (Segmentation fault, contains_struct_check)

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78648 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4

[Bug tree-optimization/78646] incorrect result type for pointer addition in slsr

2016-12-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78646 --- Comment #3 from Andrew Pinski --- A reference type is treated as a pointer type all the way through the middle end of gcc. Why is there an issue with that for your target?

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-12-02 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 --- Comment #2 from James Greenhalgh --- Author: jgreenhalgh Date: Fri Dec 2 14:29:35 2016 New Revision: 243182 URL: https://gcc.gnu.org/viewcvs?rev=243182&root=gcc&view=rev Log: [Patch 1/2 PR78561] Rename get_pool_size to get_pool_size_upper_b

[Bug rtl-optimization/78561] Constant pool size (offset) can become stale where constant pool entires become unused

2016-12-02 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78561 --- Comment #3 from James Greenhalgh --- Author: jgreenhalgh Date: Fri Dec 2 14:31:10 2016 New Revision: 243183 URL: https://gcc.gnu.org/viewcvs?rev=243183&root=gcc&view=rev Log: [Patch 2/2 PR78561] Recalculate constant pool size before emittin

[Bug c++/67054] Constructor inheritance with non-default constructible members

2016-12-02 Thread martin.hierholzer at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67054 --- Comment #2 from Martin Hierholzer --- I stumbled across this bug, too (and asked about it on stackoverflow, since I wasn't sure if it's valid C++11, see http://stackoverflow.com/questions/40932844/constructor-inheritance-and-direct-member-ini

[Bug libstdc++/78595] Unnecessary copies in _Rb_tree

2016-12-02 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78595 Ville Voutilainen changed: What|Removed |Added Version|7.0 |unknown --- Comment #5 from Ville Vo

[Bug libstdc++/78595] Unnecessary copies in _Rb_tree

2016-12-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78595 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > This prints "conv" twice, because we create a temporary to get the key here: > > pair<_Base_ptr, _Base_ptr> __res > = _M_get_insert_unique_pos(_K

[Bug other/78653] New: badly optimized kernel code with -fsanitize=object-size -fsanitize=null

2016-12-02 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78653 Bug ID: 78653 Summary: badly optimized kernel code with -fsanitize=object-size -fsanitize=null Product: gcc Version: 7.0 URL: https://bugs.linaro.org/show_bug.cgi?id=2

[Bug other/78653] badly optimized kernel code with -fsanitize=object-size -fsanitize=null

2016-12-02 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78653 --- Comment #1 from Christophe Lyon --- Created attachment 40227 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40227&action=edit preprocessed source from linux/drivers/media/dvb-frontends/zl10353.i

[Bug other/78653] badly optimized kernel code with -fsanitize=object-size -fsanitize=null

2016-12-02 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78653 Christophe Lyon changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/78653] badly optimized kernel code with -fsanitize=object-size -fsanitize=null

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78653 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug other/78654] New: ubsan can lead to excessive stack usage

2016-12-02 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78654 Bug ID: 78654 Summary: ubsan can lead to excessive stack usage Product: gcc Version: 7.0 URL: https://bugs.linaro.org/show_bug.cgi?id=2350 Status: UNCONFIRMED Severi

[Bug other/78654] ubsan can lead to excessive stack usage

2016-12-02 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78654 --- Comment #1 from Christophe Lyon --- Created attachment 40228 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40228&action=edit preprocessed source from linux/crypto/serpent_generic.c

[Bug other/78654] ubsan can lead to excessive stack usage

2016-12-02 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78654 --- Comment #2 from Christophe Lyon --- Created attachment 40229 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40229&action=edit preprocessed source from linux/drivers/media/dvb-frontends/mb86a16.c

[Bug libstdc++/78595] Unnecessary copies in _Rb_tree

2016-12-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78595 --- Comment #7 from Jonathan Wakely --- Pure evil: #include #include struct Key { int key; }; struct X { operator std::pair() const { return { { x }, 0 }; } int x; }; template struct Alloc { Alloc() = default; template Alloc(co

[Bug c++/78655] New: gcc doesn't exploit the fact that the result of pointer addition can not be nullptr

2016-12-02 Thread vanyacpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78655 Bug ID: 78655 Summary: gcc doesn't exploit the fact that the result of pointer addition can not be nullptr Product: gcc Version: 7.0 Status: UNCONFIRMED Severit

[Bug libstdc++/78595] Unnecessary copies in _Rb_tree

2016-12-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78595 --- Comment #8 from Jonathan Wakely --- Oops, the second condition *should* fail in that last example, but here it shouldn't: #include #include #include struct Key { int key; }; struct X { operator std::pair() const { return { { x }, 0 };

[Bug libstdc++/78058] Complex initialization of nested std::optional does not work

2016-12-02 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78058 Ville Voutilainen changed: What|Removed |Added CC||ville.voutilainen at gmail dot com

[Bug libstdc++/78058] Complex initialization of nested std::optional does not work

2016-12-02 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78058 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #24 from Jakub Jelinek --- Author: jakub Date: Fri Dec 2 15:42:04 2016 New Revision: 243194 URL: https://gcc.gnu.org/viewcvs?rev=243194&root=gcc&view=rev Log: PR target/78614 * rtl.c (copy_rtx): Don't clear used flag

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

2016-12-02 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78505 vehre at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #2 from ve

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

2016-12-02 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #22 from Mark Wielaard --- Created attachment 40230 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40230&action=edit d_printing mark/walk/unmark protection (In reply to Nathan Sidwell from comment #21) > Why doesn't a mark/walk

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

2016-12-02 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #23 from Mark Wielaard --- Created attachment 40231 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40231&action=edit Check output with d_printing.patch

[Bug ipa/78599] [7 Regression] hwint.h:292:72: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

2016-12-02 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78599 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment #

[Bug c++/78656] New: Fix-it suggestion for std::alocator doesn't include std::allocator

2016-12-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78656 Bug ID: 78656 Summary: Fix-it suggestion for std::alocator doesn't include std::allocator Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug target/78255] [5/6/7 regression] Indirect sibling call causing wrong code generation for ARM

2016-12-02 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78255 --- Comment #10 from wilco at gcc dot gnu.org --- (In reply to Richard Earnshaw from comment #8) > Hmm, why is this even being considered on ARM? > > arm.h:#define NO_FUNCTION_CSE 1 > > doc/tm.texi > @defmac NO_FUNCTION_CSE > Define this macro t

[Bug ipa/78599] [7 Regression] hwint.h:292:72: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78599 --- Comment #8 from Markus Trippelsdorf --- (In reply to Martin Jambor from comment #7) > I cannot reproduce this using the testcase from comment #1 even whe I add > -fsanitize=undefined to the command line. Is this on x86_64? You need to use a

[Bug other/78653] badly optimized kernel code with -fsanitize=object-size -fsanitize=null

2016-12-02 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78653 Christophe Lyon changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/72785] [7 Regression] kernel build error since r236831

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

[Bug target/70322] STV doesn't optimize andn

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70322 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Dec 2 16:28:41 2016 New Revision: 243195 URL: https://gcc.gnu.org/viewcvs?rev=243195&root=gcc&view=rev Log: PR target/70322 * config/i386/i386.c (dimode_scalar_to_vec

[Bug target/70799] STV pass does not convert DImode shifts

2016-12-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70799 --- Comment #6 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #5) > (In reply to Uroš Bizjak from comment #0) > > These should all be converted to DImode vector shifts for SSE2/AVX2 32bit > > target (and similar for rotates): > > The

[Bug tree-optimization/78646] incorrect result type for pointer addition in slsr

2016-12-02 Thread stefan at reservoir dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78646 --- Comment #4 from Stefan M Freudenberger --- I guess there wouldn't be an issue if it were a reference type. However, there is an issue with the incorrect alignment for the object type.

[Bug ipa/78644] [7 Regression] ICE: SIGSEGV in is_gimple_reg_type with -Og -fipa-cp

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

[Bug rtl-optimization/78638] [7 regression] test cases gcc.target/powerpc/rlwimi-0.c and rlwimi-2.c fail starting with r243000

2016-12-02 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78638 --- Comment #2 from Bill Seurer --- I see it on both BE and LE, power7 and power8. Also a whole bunch more of your new tests started complaining: New failures: FAIL: gcc.target/powerpc/ppc-negeq0-1.c scan-assembler-not cntlz FAIL: gcc.target/po

[Bug rtl-optimization/78638] [7 regression] test cases gcc.target/powerpc/rlwimi-0.c and rlwimi-2.c fail starting with r243000

2016-12-02 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78638 --- Comment #3 from Bill Seurer --- Also on power6...

[Bug ipa/78644] [7 Regression] ICE: SIGSEGV in is_gimple_reg_type with -Og -fipa-cp

2016-12-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78644 --- Comment #3 from Jakub Jelinek --- So, before ccp4 we have: _7 = x3_1 + x2_3; _8 = {_7, _7, _7, _7}; x4.1_9 = x4; _15 = {_7, _7, _7, _7}; _16 = BIT_FIELD_REF <_15, 128, 0>; _17 = BIT_FIELD_REF ; _18 = _16 + _17; _19 = {_7, _7,

[Bug target/78255] [5/6/7 regression] Indirect sibling call causing wrong code generation for ARM

2016-12-02 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78255 --- Comment #11 from Jeffrey A. Law --- IIRC the (proprietary) linker didn't generate argument shuffling stubs for indirect calls. So we ran into problems if any pass changed a direct into an indirect call. The only pass that did this back in t

  1   2   >