[Bug lto/65380] [5 Regression] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 --- Comment #5 from Tobias Burnus --- (In reply to Jan Hubicka from comment #4) > Hmm, this one compiles just fine for me with today mainline. Does the > problem still reproduce for you? Can you possibly dump out node->debug() > and c? Unfortu

[Bug lto/65380] [5 Regression][ICF] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:158

2015-03-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65380 Tobias Burnus changed: What|Removed |Added Summary|[5 Regression] LTO: ICE in |[5 Regression][ICF] LTO:

[Bug debug/46136] ICE: in size_of_dcall_table, at dwarf2out.c:12387 with -fenable-icf-debug

2015-03-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46136 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug debug/46135] ICE: in splice_child_die, at dwarf2out.c:7627 with -g1 -femit-class-debug-always -fenable-icf-debug

2015-03-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46135 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug debug/46132] ICE: in force_decl_die, at dwarf2out.c:20525 with -fenable-icf-debug

2015-03-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46132 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug debug/46138] ICE: SIGSEGV in htab_hash_string (hashtab.c:847) with -g -fenable-icf-debug for almost any fortran program

2015-03-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46138 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug debug/44689] -fenable-icf-debug causes segfault in cp_function_decl_explicit_p

2015-03-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44689 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/59198] [4.8/4.9/5 Regression] ICE on cyclically dependent polymorphic types

2015-03-16 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59198 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Commen

[Bug regression/63150] [4.9 Regression] FAIL: gcc.target/powerpc/pr53199.c scan-assembler-times *

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63150 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Summ

[Bug c++/65390] ICE in strip_typedefs, at cp/tree.c:1361

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65390 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/65390] ICE in strip_typedefs, at cp/tree.c:1361

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65390 --- Comment #2 from Marek Polacek --- Might be a dup of PR63584.

[Bug c++/65390] ICE in strip_typedefs, at cp/tree.c:1361

2015-03-16 Thread alserkli at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65390 --- Comment #3 from Alexander Klimov --- (In reply to Marek Polacek from comment #2) > Might be a dup of PR63584. PR63584 does not produce ICE in 5.0

[Bug c++/65340] [5 Regression] [C++14]ICE in mark_used, at decl2.c:5040

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65340 Marek Polacek changed: What|Removed |Added Keywords||ice-on-invalid-code Status|U

[Bug target/65342] [5 Regression] FAIL: gfortran.dg/intrinsic_(un)?pack_1.f90 -O1 execution test on powerpc-apple-darwin9 after r210201

2015-03-16 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #11 from Iain Sandoe --- Created attachment 35039 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35039&action=edit Patch for discussion OK so this is a frustrating area to debug. One can see the problem easily enough - but fin

[Bug c++/65327] GCC rejects "constexpr volatile int i = 5;"

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65327 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/64895] RA picks the wrong register for -fipa-ra

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64895 --- Comment #10 from vries at gcc dot gnu.org --- Author: vries Date: Mon Mar 16 09:42:21 2015 New Revision: 221448 URL: https://gcc.gnu.org/viewcvs?rev=221448&root=gcc&view=rev Log: Revert 'Use actual_call_used_reg_set to find conflicting regs'

[Bug middle-end/65414] [5 Regression] ICE while building libgcc after stage 2, bootstrap failure on aarch64-linux-gnu

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65414 --- Comment #13 from vries at gcc dot gnu.org --- Author: vries Date: Mon Mar 16 09:42:21 2015 New Revision: 221448 URL: https://gcc.gnu.org/viewcvs?rev=221448&root=gcc&view=rev Log: Revert 'Use actual_call_used_reg_set to find conflicting regs'

[Bug rtl-optimization/64895] RA picks the wrong register for -fipa-ra

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64895 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/64342] [5 Regression] Tests failing when compiled with '-m32 -fpic' after r216154.

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64342 Bug 64342 depends on bug 64895, which changed state. Bug 64895 Summary: RA picks the wrong register for -fipa-ra https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64895 What|Removed |Added ---

[Bug middle-end/65414] [5 Regression] ICE while building libgcc after stage 2, bootstrap failure on aarch64-linux-gnu

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65414 vries at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug c++/65314] invalid type for array subscript

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65314 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/65327] GCC rejects "constexpr volatile int i = 5;"

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65327 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/65409] [4.8/4.9/5 Regression] ICE in store_field

2015-03-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65409 --- Comment #11 from Eric Botcazou --- Author: ebotcazou Date: Mon Mar 16 10:26:28 2015 New Revision: 221453 URL: https://gcc.gnu.org/viewcvs?rev=221453&root=gcc&view=rev Log: PR middle-end/65409 * expr.c (store_field): Do not do a direc

[Bug middle-end/65409] [4.8/4.9/5 Regression] ICE in store_field

2015-03-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65409 --- Comment #12 from Eric Botcazou --- Author: ebotcazou Date: Mon Mar 16 10:28:39 2015 New Revision: 221454 URL: https://gcc.gnu.org/viewcvs?rev=221454&root=gcc&view=rev Log: PR middle-end/65409 * expr.c (store_field): Do not do a direc

[Bug c++/65327] GCC rejects "constexpr volatile int i = 5;"

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65327 --- Comment #4 from Marek Polacek --- Presumably started with r166013. Note that in constexpr volatile int a = 42; constexpr int b = a; the initialization of b should be rejected, but it is not. This is a related problem though, my patch doesn'

[Bug middle-end/65409] [4.8/4.9/5 Regression] ICE in store_field

2015-03-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65409 --- Comment #13 from Eric Botcazou --- Author: ebotcazou Date: Mon Mar 16 10:30:29 2015 New Revision: 221456 URL: https://gcc.gnu.org/viewcvs?rev=221456&root=gcc&view=rev Log: PR middle-end/65409 * expr.c (store_field): Do not do a direc

[Bug middle-end/65409] [4.8/4.9/5 Regression] ICE in store_field

2015-03-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65409 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/65340] [5 Regression] [C++14]ICE in mark_used, at decl2.c:5040

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65340 Jakub Jelinek changed: What|Removed |Added Keywords||error-recovery Priority|P3

[Bug ipa/65432] [5 Regression] Invalid read of size 1: ipa_icf::sem_item_optimizer::merge_classes(unsigned int) (ipa-icf.c:2958)

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65432 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/65312] Implicitly-declared default constructor must be defined as deleted

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65312 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug middle-end/65431] [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586)

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65431 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/65414] [5 Regression] ICE while building libgcc after stage 2, bootstrap failure on aarch64-linux-gnu

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65414 --- Comment #15 from vries at gcc dot gnu.org --- If somebody happens to have a commandline and .i file with which the problem can be reproduced using a non-bootstrap compiler, please attach it here. Thanks, - Tom

[Bug c++/65269] internal compiler error: Segmentation fault

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65269 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libstdc++/65434] New: Memory leak in pool constructor

2015-03-16 Thread mitya57 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434 Bug ID: 65434 Summary: Memory leak in pool constructor Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c++/65071] ICE on valid, sizeof...() of template template parameter pack in return type

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65071 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/65427] [4.8/4.9/5 Regression] ICE in emit_move_insn with wide vector types

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65427 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/64820] Libsanitizer fails with ((AddrIsAlignedByGranularity(addr + size))) != (0)" (0x0, 0x0) if ssp is enabled.

2015-03-16 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64820 --- Comment #2 from Maxim Ostapenko --- Author: chefmax Date: Mon Mar 16 11:17:32 2015 New Revision: 221457 URL: https://gcc.gnu.org/viewcvs?rev=221457&root=gcc&view=rev Log: 2015-03-16 Max Ostapenko PR sanitizer/64820 gcc/ * cf

[Bug fortran/59198] [4.8/4.9/5 Regression] ICE on cyclically dependent polymorphic types

2015-03-16 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59198 --- Comment #21 from Jürgen Reuter --- (In reply to Paul Thomas from comment #20) > Patch posted last night: https://gcc.gnu.org/ml/fortran/2015-03/msg00069.html > > A somewhat better version might emerge tonight now that I understand better > w

[Bug sanitizer/65435] New: UBsan runtime error reports in OpenSSL aes_core.c

2015-03-16 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65435 Bug ID: 65435 Summary: UBsan runtime error reports in OpenSSL aes_core.c Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: s

[Bug sanitizer/65435] UBsan runtime error reports in OpenSSL aes_core.c

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65435 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug sanitizer/65435] UBsan runtime error reports in OpenSSL aes_core.c

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65435 --- Comment #2 from Jakub Jelinek --- OpenSSL of course. 136 << 24 is not representable in int. This is undefined behavior in C99/C11, and defined behavior in C++11. Quoting C99 6.5.7/4: "The result of E1 << E2 is E1 left-shifted E2 bit position

[Bug tree-optimization/65427] [4.8/4.9/5 Regression] ICE in emit_move_insn with wide vector types

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65427 --- Comment #2 from Jakub Jelinek --- I think the bug is that tree-vect-generic.c doesn't lower COND_EXPRs, only VEC_COND_EXPRs.

[Bug target/65358] wrong parameter passing code with tail call optimization on arm

2015-03-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65358 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug target/65342] [5 Regression] FAIL: gfortran.dg/intrinsic_(un)?pack_1.f90 -O1 execution test on powerpc-apple-darwin9 after r210201

2015-03-16 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #12 from Alan Modra --- We won't want that mem_operand_gpr change for Linux or AIX as we do the alignment checking of more complex expressions in legitimate_address_p. Do take heed to the comment about accepting odd rtl generated by r

[Bug target/65342] [5 Regression] FAIL: gfortran.dg/intrinsic_(un)?pack_1.f90 -O1 execution test on powerpc-apple-darwin9 after r210201

2015-03-16 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #13 from Iain Sandoe --- (In reply to Alan Modra from comment #12) > We won't want that mem_operand_gpr change for Linux or AIX as we do the > alignment checking of more complex expressions in legitimate_address_p. > Do take heed to t

[Bug fortran/60500] [4.8/4.9/5 Regression] Spurious warning on derived type initialization

2015-03-16 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60500 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment #5

[Bug c++/64954] GCC incorrectly rejects constexpr variable initialization.

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64954 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/64261] false branch of conditional operator ?: evaluated in a template constexpr

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64261 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/65436] New: Max number of extended asm +input operands currently limited to 15

2015-03-16 Thread adam at consulting dot net.nz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65436 Bug ID: 65436 Summary: Max number of extended asm +input operands currently limited to 15 Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancemen

[Bug c++/65159] Linker forgets definition of type_info::__is_pointer_p

2015-03-16 Thread potswa at mac dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65159 --- Comment #10 from David Krauss --- I made a clean build of r220825, and it succeeded. Then I downgraded to r22, and it produced similar link errors, although not in type_info.

[Bug c++/65390] ICE in strip_typedefs, at cp/tree.c:1361

2015-03-16 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65390 Kai Tietz changed: What|Removed |Added Keywords||ice-on-invalid-code CC|

[Bug c++/65390] ICE in strip_typedefs, at cp/tree.c:1361

2015-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65390 --- Comment #5 from Jonathan Wakely --- Reduced: template struct shared_ptr { }; template shared_ptr make_shared(Arg) { return {}; } auto f(int n){ return make_shared(1); }

[Bug c++/65390] ICE in strip_typedefs, at cp/tree.c:1361

2015-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65390 --- Comment #6 from Jonathan Wakely --- Further reduced so it doesn't rely on any C++11 or C++14 features: template struct shared_ptr { }; template shared_ptr make_shared(Arg) { return shared_ptr(); } void f(int n){ make_shared(1); }

[Bug libgomp/65437] New: acc_update_device and acc_update_self fail to initialize runtime.

2015-03-16 Thread u17263 at att dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65437 Bug ID: 65437 Summary: acc_update_device and acc_update_self fail to initialize runtime. Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug inline-asm/65436] Max number of extended asm +input operands currently limited to 15

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65436 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/65358] wrong parameter passing code with tail call optimization on arm

2015-03-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65358 --- Comment #11 from ktkachov at gcc dot gnu.org --- Thinking about it again, there's no reason not to do sibcalls, it's just the code gets confused on how to shuffle the arguments around. Will investigate deeper

[Bug middle-end/65414] [5 Regression] ICE while building libgcc after stage 2, bootstrap failure on aarch64-linux-gnu

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65414 --- Comment #16 from Jakub Jelinek --- While I couldn't reproduce this on aarch64-linux, on arm-linux-gnueabihf without the revert all my bootstraps since Friday ended up with ICEs, both profiledbootstrap and normal bootstraps; for --with-default

[Bug fortran/65438] New: Unnecessary ptr check

2015-03-16 Thread u17263 at att dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65438 Bug ID: 65438 Summary: Unnecessary ptr check Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: u

[Bug ipa/65439] New: [5.0 Regression] FAIL: g++.dg/ipa/ipa-icf-4.C -std=gnu++98 scan-ipa-dump icf "Equal symbols: 6"

2015-03-16 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65439 Bug ID: 65439 Summary: [5.0 Regression] FAIL: g++.dg/ipa/ipa-icf-4.C -std=gnu++98 scan-ipa-dump icf "Equal symbols: 6" Product: gcc Version: 5.0 Status: UNCONFIRMED

[Bug tree-optimization/65440] New: pass_lim misses support for predicated code motion

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65440 Bug ID: 65440 Summary: pass_lim misses support for predicated code motion Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Compon

[Bug libffi/65441] New: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors)

2015-03-16 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65441 Bug ID: 65441 Summary: FAIL: libffi.call/float2.c -W -Wall -Wno-psabi (test for excess errors) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug c++/65071] ICE on valid, sizeof...() of template template parameter pack in return type

2015-03-16 Thread maltsevm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65071 --- Comment #3 from Mikhail Maltsev --- For the record: a patch for this PR https://gcc.gnu.org/ml/gcc-patches/2015-02/msg01067.html

[Bug tree-optimization/65440] pass_lim misses support for predicated code motion

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65440 --- Comment #1 from vries at gcc dot gnu.org --- Concrete example ( based on example at https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/tree-ssa-loop-im.c;h=9aba79ba776944ec6fba8459354deabe8c126b75;hb=HEAD#l333) test.c: ... #include const char

[Bug sanitizer/65435] UBsan runtime error reports in OpenSSL aes_core.c

2015-03-16 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65435 --- Comment #3 from Bernd Edlinger --- FYI, I've now opened an issue in the OpenSSL bug tracker: http://rt.openssl.org/Ticket/Display.html?id=3751

[Bug tree-optimization/65442] New: pass_lim misses support for exit-first loops

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65442 Bug ID: 65442 Summary: pass_lim misses support for exit-first loops Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: t

[Bug tree-optimization/65440] pass_lim misses support for predicated code motion

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65440 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||missed-optimization --- Commen

[Bug c++/59991] Recursive lambda capture in C++1y constexpr function template causes internal compiler error

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59991 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/65439] [5.0 Regression] FAIL: g++.dg/ipa/ipa-icf-4.C -std=gnu++98 scan-ipa-dump icf "Equal symbols: 6"

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65439 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug c++/65159] Linker forgets definition of type_info::__is_pointer_p

2015-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65159 --- Comment #11 from Jonathan Wakely --- (In reply to David Krauss from comment #10) > I made a clean build of r220825, and it succeeded. Then I downgraded to > r22, and it produced similar link errors, although not in type_info. This is rat

[Bug c++/59761] ICE: g++ segfaults in test case involving constexpr default constructor with uninitialized member and template type alias

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59761 Marek Polacek changed: What|Removed |Added Keywords||ice-on-invalid-code Status|U

[Bug libstdc++/65434] Memory leak in pool constructor

2015-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/65430] false negative of -Wsequence-point

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65430 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/65430] Missing -Wsequence-point warning with COMPOUND_EXPRs

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65430 Marek Polacek changed: What|Removed |Added Keywords||diagnostic Target Milestone|---

[Bug c/51562] missing -Wsequence-point warning for expression with commas.

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51562 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/65430] Missing -Wsequence-point warning with COMPOUND_EXPRs

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65430 Marek Polacek changed: What|Removed |Added CC||willus0 at hotmail dot com --- Comment #

[Bug libstdc++/65434] Memory leak in pool constructor

2015-03-16 Thread mitya57 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434 --- Comment #2 from Dmitry Shachnev --- Will anything bad happen if that memory is freed in the destructor? For me, the issue is mostly aesthetic — I got used to not seeing any Valgrind warnings in my programs :)

[Bug c/37303] const compound initializers in structs are written to .data instead of .rodata

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/59491] compiler can't detect if xpression is always fixed value

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59491 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/65423] No warning on always-true/false predicates containing bitwise operations

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65423 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/17534] gcc fails to diagnose suspect expressions that have incompatible bit masks

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17534 Marek Polacek changed: What|Removed |Added CC||chengniansun at gmail dot com --- Commen

[Bug c/17534] gcc fails to diagnose suspect expressions that have incompatible bit masks

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17534 Marek Polacek changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #7

[Bug tree-optimization/65443] New: Don't peel last iteration from loop in transform_to_exit_first_loop

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65443 Bug ID: 65443 Summary: Don't peel last iteration from loop in transform_to_exit_first_loop Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug c++/65061] [4.8/4.9/5 Regression] Issue with using declaration and member class template

2015-03-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug libstdc++/65434] Memory leak in pool constructor

2015-03-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434 --- Comment #3 from Jonathan Wakely --- (In reply to Dmitry Shachnev from comment #2) > Will anything bad happen if that memory is freed in the destructor? Yes, because other destructors could run later, and could (potentially) need to use the p

[Bug middle-end/65431] [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586)

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65431 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Mon Mar 16 16:10:17 2015 New Revision: 221459 URL: https://gcc.gnu.org/viewcvs?rev=221459&root=gcc&view=rev Log: PR middle-end/65431 * omp-low.c (delete_omp_context): Only splay_t

[Bug c++/59324] C++11: -Wsequence-point

2015-03-16 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59324 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Commen

[Bug c/53064] -Wsequence-point behaves inconsistently

2015-03-16 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53064 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic Status|UNCO

[Bug tree-optimization/65443] Don't peel last iteration from loop in transform_to_exit_first_loop

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65443 --- Comment #1 from vries at gcc dot gnu.org --- Consider test.c, compiled with -O2 -tree-parallelize-loops=2: ... #include extern unsigned int *a; void f (unsigned int n) { int i; unsigned int sum = 1; #pragma omp parallel { #pragma omp

[Bug sanitizer/65400] tsan mis-compiles inlineable C functions

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65400 --- Comment #6 from Jakub Jelinek --- Both patches look wrong to me. For the first change, it is wrong to add TSAN_FUNC_EXIT (), you should never add it out of nothing. First of all, you might consider allowing TSAN_FUNC_EXIT () in find_return_b

[Bug ipa/65439] [5.0 Regression] FAIL: g++.dg/ipa/ipa-icf-4.C -std=gnu++98 scan-ipa-dump icf "Equal symbols: 6"

2015-03-16 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65439 Dominique d'Humieres changed: What|Removed |Added Target|hppa2.0w-hp-hpux11.11 |hppa2.0w-hp-hpux11.11,

[Bug tree-optimization/65443] Don't peel last iteration from loop in transform_to_exit_first_loop

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65443 --- Comment #2 from vries at gcc dot gnu.org --- AFAIU, this is meant with the todo: ... : goto ; : i_17 = (int) ivtmp_6; _7 = (long unsigned int) i_17; _8 = _7 * 4; _9 = pretmp_24 + _8; _10 = *_9; sum_11 = _10 + sum_y; i_12 =

[Bug tree-optimization/65443] Don't peel last iteration from loop in transform_to_exit_first_loop

2015-03-16 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65443 --- Comment #3 from vries at gcc dot gnu.org --- (In reply to vries from comment #2) > The problem with this transformation is that '_20 + 1' might overflow, > that's what the comment 'This may need some additional preconditioning in > case NIT =

[Bug middle-end/65414] [5 Regression] ICE while building libgcc after stage 2, bootstrap failure on aarch64-linux-gnu

2015-03-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65414 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #17 fro

[Bug driver/65444] New: -z bndplt isn't passed to linker for -mmpx when building dynamic objects

2015-03-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65444 Bug ID: 65444 Summary: -z bndplt isn't passed to linker for -mmpx when building dynamic objects Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug c++/65327] GCC rejects "constexpr volatile int i = 5;"

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65327 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Mon Mar 16 18:30:49 2015 New Revision: 221463 URL: https://gcc.gnu.org/viewcvs?rev=221463&root=gcc&view=rev Log: DR 1688 PR c++/65327 * decl.c (grokdeclarator): Allow volat

[Bug c++/65327] GCC rejects "constexpr volatile int i = 5;"

2015-03-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65327 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/65431] [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586)

2015-03-16 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65431 Markus Trippelsdorf changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/65427] [4.8/4.9 Regression] ICE in emit_move_insn with wide vector types

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65427 Jakub Jelinek changed: What|Removed |Added Known to work||5.0 Summary|[4.8/4.9/5 Regres

[Bug tree-optimization/65427] [4.8/4.9/5 Regression] ICE in emit_move_insn with wide vector types

2015-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65427 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Mar 16 18:50:43 2015 New Revision: 221464 URL: https://gcc.gnu.org/viewcvs?rev=221464&root=gcc&view=rev Log: PR tree-optimization/65427 * tree-vect-generic.c (do_cond, expand_

[Bug target/65240] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu

2015-03-16 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65240 Michael Meissner changed: What|Removed |Added Attachment #34956|0 |1 is obsolete|

  1   2   >