[Bug c++/63522] [4.8/4.9/5 Regression] ICE: unexpected expression 'ElementIndices' of kind template_parm_index

2014-12-24 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63522 --- Comment #2 from Jason Merrill --- Author: jason Date: Thu Dec 25 07:27:54 2014 New Revision: 219066 URL: https://gcc.gnu.org/viewcvs?rev=219066&root=gcc&view=rev Log: PR c++/63522 * parser.c (cp_parser_type_parameter): Call check

[Bug target/64403] New: m32c-elf ICE with -mcpu=m32cm and cleanup

2014-12-24 Thread yselkowi at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64403 Bug ID: 64403 Summary: m32c-elf ICE with -mcpu=m32cm and cleanup Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/64402] New: mep-elf ICE in libgcc/unwind-dw2.c

2014-12-24 Thread yselkowi at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64402 Bug ID: 64402 Summary: mep-elf ICE in libgcc/unwind-dw2.c Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/53987] [SH] Unnecessary zero-extensions

2014-12-24 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53987 --- Comment #7 from Oleg Endo --- In bzip2-1.0.2/blocksort.s there is code such as: .L294: mov.b @(4,r11),r0 extu.b r0,r11 mov.b @(4,r3),r0 extu.b r0,r3 cmp/eq r3,r11 bf .L314 m

[Bug target/45360] arm: -mhard-float != -mfloat-abi=hard during linking

2014-12-24 Thread yselkowi at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45360 Yaakov Selkowitz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/57636] cr16: ICE while building libgcc

2014-12-24 Thread yselkowi at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57636 --- Comment #6 from Yaakov Selkowitz --- This is working in 4.9.2, so it seems that indeed fixed it.

[Bug target/63681] bfin-rtems ICE in cfg_layout_initialize, at cfgrtl.c:4233

2014-12-24 Thread yselkowi at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63681 --- Comment #3 from Yaakov Selkowitz --- I'm seeing an ICE in the same code on the tic6x-elf target as well.

[Bug target/51244] [SH] Inefficient conditional branch and code around T bit

2014-12-24 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51244 --- Comment #84 from Oleg Endo --- Author: olegendo Date: Wed Dec 24 21:55:59 2014 New Revision: 219062 URL: https://gcc.gnu.org/viewcvs?rev=219062&root=gcc&view=rev Log: gcc/ PR target/51244 * config/sh/sh.md (*mov_t_msb_neg): Convert s

[Bug ipa/64390] "-shared" does not resolve symbols from lto generated archives

2014-12-24 Thread htl10 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64390 Hin-Tak Leung changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/63681] bfin-rtems ICE in cfg_layout_initialize, at cfgrtl.c:4233

2014-12-24 Thread yselkowi at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63681 Yaakov Selkowitz changed: What|Removed |Added CC||yselkowi at redhat dot com --- Commen

[Bug libgcc/64401] New: avr-elf crtbegin.o fails to compile

2014-12-24 Thread yselkowi at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64401 Bug ID: 64401 Summary: avr-elf crtbegin.o fails to compile Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc

[Bug bootstrap/64400] New: Unable to bootstrap for iq2000-elf target

2014-12-24 Thread yselkowi at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64400 Bug ID: 64400 Summary: Unable to bootstrap for iq2000-elf target Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstr

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-12-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #8 from Jonathan Wakely --- No, really, that's not how make_unique works. You do not use 'new' with make_unique, that's the whole point, so you would say make_unique() to create a B. Your motivating examples should be valid C++ of yo

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-12-24 Thread mw_triad at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #7 from Matthew Woehlke --- (In reply to Jonathan Wakely from comment #6) > (In reply to Matthew Woehlke from comment #5) > > Actually, this may be required for 'make_unique(new B)' to warn, since > > That's not how make_unique works

[Bug libstdc++/64399] g++ does not diagnose when upcasting owning pointer (e.g. unique_ptr) with non-virtual destructor

2014-12-24 Thread mw_triad at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64399 --- Comment #7 from Matthew Woehlke --- (In reply to Thiago Macieira from comment #3) > Because it's not a bug. > > This is a totally valid scenario. Valid in what way? I constructed a Y but arranged, probably by accident, that its dtor is neve

[Bug libobjc/51891] class_copyIvarList crashes on empty ivars

2014-12-24 Thread dpapavas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51891 --- Comment #3 from Dimitris Papavasiliou --- Created attachment 34329 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34329&action=edit A patch that fixes the issue and provides a suitable testcase.

[Bug ipa/64390] "-shared" does not resolve symbols from lto generated archives

2014-12-24 Thread htl10 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64390 --- Comment #3 from Hin-Tak Leung --- I wonder if it isn't '-shared' but that a mixture of object files and archives are being used. See also: http://stackoverflow.com/questions/27372667/undefined-reference-cross-compiling-static-libraries-with-

[Bug testsuite/64032] [5 Regression] FAIL: gcc.dg/undefined-loop-2.c (test for warnings, line 18)

2014-12-24 Thread ams at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64032 Andrew Stubbs changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/12086] memcmp(i,j,4) should use word (SI) subtraction

2014-12-24 Thread owner at bugs dot debian.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12086 --- Comment #14 from owner at bugs dot debian.org --- Thank you for the additional information you have supplied regarding this Bug report. This is an automatically generated reply to let you know your message has been received. Your message has

[Bug testsuite/64032] [5 Regression] FAIL: gcc.dg/undefined-loop-2.c (test for warnings, line 18)

2014-12-24 Thread ams at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64032 --- Comment #5 from Andrew Stubbs --- Author: ams Date: Wed Dec 24 14:27:06 2014 New Revision: 219059 URL: https://gcc.gnu.org/viewcvs?rev=219059&root=gcc&view=rev Log: Fix undefined-loop-2.c test case. 2014-12-24 Andrew Stubbs PR tests

[Bug middle-end/12086] memcmp(i,j,4) should use word (SI) subtraction

2014-12-24 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12086 --- Comment #13 from Eelis --- It's also worth noting that this affects operator== for std::array. :(

[Bug target/64160] msp430 code generation error adding 32-bit integers

2014-12-24 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64160 --- Comment #7 from Nick Clifton --- Author: nickc Date: Wed Dec 24 13:36:29 2014 New Revision: 219058 URL: https://gcc.gnu.org/viewcvs?rev=219058&root=gcc&view=rev Log: PR target/64160 * config/msp430/msp430.md (addsi splitter): Do not

[Bug c++/64395] void_t doesn't work as expected

2014-12-24 Thread benzejaa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64395 benzejaa at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|-

[Bug middle-end/50865] Invalid code generation for INT64_MIN % 1 on x86_64

2014-12-24 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50865 Mikael Pettersson changed: What|Removed |Added Attachment #34323|0 |1 is obsolete|

[Bug libstdc++/64399] g++ does not diagnose when upcasting owning pointer (e.g. unique_ptr) with non-virtual destructor

2014-12-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64399 --- Comment #6 from Marc Glisse --- (In reply to Jonathan Wakely from comment #4) > It might be valid with a custom deleter, but the example shown has undefined > behaviour. When the derived class does not add any member or redefine any importan

[Bug c++/63985] Accepts invalid range-based for declaration

2014-12-24 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63985 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/63985] Accepts invalid range-based for declaration

2014-12-24 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63985 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Dec 24 09:07:23 2014 New Revision: 219054 URL: https://gcc.gnu.org/viewcvs?rev=219054&root=gcc&view=rev Log: /cp 2014-12-04 Paolo Carlini PR c++/63985 * parser.

[Bug libstdc++/64399] g++ does not diagnose when upcasting owning pointer (e.g. unique_ptr) with non-virtual destructor

2014-12-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64399 --- Comment #5 from Jonathan Wakely --- N.B. we definitely want -Wdelete-non-virtual-dtor not the less useful -Wnon-virtual-dtor

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-12-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #6 from Jonathan Wakely --- (In reply to Matthew Woehlke from comment #5) > Actually, this may be required for 'make_unique(new B)' to warn, since That's not how make_unique works.

[Bug libstdc++/64399] g++ does not diagnose when upcasting owning pointer (e.g. unique_ptr) with non-virtual destructor

2014-12-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64399 --- Comment #4 from Jonathan Wakely --- It might be valid with a custom deleter, but the example shown has undefined behaviour.

[Bug libgomp/42616] OMP'ed loop inside pthread leads to crash.

2014-12-24 Thread java4ada at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42616 --- Comment #17 from java4ada at yahoo dot com --- Is this fixed by https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=218576 ?