[Bug inline-asm/64681] gcc assign wrong register for arm inline assembly

2015-01-25 Thread gccbugzilla at limegreensocks dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64681 David changed: What|Removed |Added CC||gccbugzilla@limegreensocks. |

[Bug fortran/60718] [4.8/4.9 regression] Test case gfortran.dg/select_type_4.f90 fails on ARM

2015-01-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60718 --- Comment #22 from Bernd Edlinger --- Hmm I tried to boot-strap a clean gcc 4.9.2 with this patch, but it did not make it. Looks like some one spoiled the armv7l-unknown-linux-gnueabihf target. So it is currently pointless to fix this for

[Bug fortran/62044] [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type

2015-01-25 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62044 paul.richard.thomas at gmail dot com changed: What|Removed |Added CC||paul.richard.thom

[Bug c++/64794] New: GCC failed at virtual function with "override" trailing return type name, followed by override virt-specifier

2015-01-25 Thread boostcpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64794 Bug ID: 64794 Summary: GCC failed at virtual function with "override" trailing return type name, followed by override virt-specifier Product: gcc Version: 5.0

[Bug ipa/61548] [5 Regression] FAIL: gcc.dg/tls/alias-1.c (internal compiler error)

2015-01-25 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61548 --- Comment #13 from Jan Hubicka --- > So, what is here is: > emutls calls varpool_node::create_alias(decl("emutls_v.bar"), > decl("emutls_v.foo")) which sets alias = true and alias_target = > node("emutls_v.foo") on the node for "emutls_v.bar",

[Bug libfortran/64770] [5 Regression] Segmentation fault when opening a file with status="new" and the file exists.

2015-01-25 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64770 --- Comment #5 from Janne Blomqvist --- Author: jb Date: Sun Jan 25 23:04:50 2015 New Revision: 220098 URL: https://gcc.gnu.org/viewcvs?rev=220098&root=gcc&view=rev Log: PR 64770 Make testcase work properly under DejaGNU. 2015-01-26 Janne Blom

[Bug target/64793] New: [SH] missed delay slot

2015-01-25 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64793 Bug ID: 64793 Summary: [SH] missed delay slot Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: u

[Bug target/64792] New: [5 Regression][SH] movu.b movu.w not working

2015-01-25 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64792 Bug ID: 64792 Summary: [5 Regression][SH] movu.b movu.w not working Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/64791] Generic lambda fails to implicitly capture `const` variable

2015-01-25 Thread tom at kera dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791 --- Comment #2 from Tomalak Geret'kal --- Actually, I'm no longer sure that `a` *is* odr-used...

[Bug c++/64755] Error in optimization with std::array

2015-01-25 Thread mednafen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64755 --- Comment #3 from mednafen at gmail dot com --- It looks like your code violates strict aliasing rules. Does the code in question work as you intend it to if you compile with -fno-strict-aliasing ?

[Bug c++/64791] Generic lambda fails to implicitly capture `const` variable

2015-01-25 Thread tom at kera dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791 --- Comment #1 from Tomalak Geret'kal --- Build error: / main.cpp: In instantiation of 'main():: [with auto:1 = int]': /usr/local/include/c++/4.9.2/functional:2149:71: required by substitution of 'template template

[Bug c++/64755] Error in optimization with std::array

2015-01-25 Thread mednafen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64755 mednafen at gmail dot com changed: What|Removed |Added CC||mednafen at gmail dot com ---

[Bug c++/64791] New: Generic lambda fails to implicitly capture `const` variable

2015-01-25 Thread tom at kera dot name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791 Bug ID: 64791 Summary: Generic lambda fails to implicitly capture `const` variable Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Pr

[Bug fortran/59093] Segfault in gfc_trans_pointer_assignment

2015-01-25 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #8 from

[Bug fortran/62044] [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type

2015-01-25 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62044 Mikael Morin changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/64790] gcc generates unreliable code on arm with -mstructure-size-boundary=32

2015-01-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64790 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|c

[Bug fortran/62044] [4.8/4.9/5 Regression] ICE in USE statement with RENAME for extended derived type

2015-01-25 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62044 --- Comment #4 from Mikael Morin --- Author: mikael Date: Sun Jan 25 20:30:53 2015 New Revision: 220097 URL: https://gcc.gnu.org/viewcvs?rev=220097&root=gcc&view=rev Log: fortran/ PR fortran/62044 * decl.c (gfc_match_derived_decl): Don't

[Bug c/64790] New: gcc generates unreliable code on arm with -mstructure-size-boundary=32

2015-01-25 Thread mittorn at sibmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64790 Bug ID: 64790 Summary: gcc generates unreliable code on arm with -mstructure-size-boundary=32 Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/64504] Invalid free() with _GLIBCXX_DEBUG and -fwhole-program

2015-01-25 Thread andrey.vihrov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64504 --- Comment #3 from Andrey Vihrov --- I compiled the example program without and with -fwhole-program to assembly code, and here are the differences: http://pastie.org/9859649 As I understand, normally the ".weak" directive ensures that there is

[Bug c++/51747] [DR 1467] [C++11] cannot call defaulted copy constructor using list-initialization

2015-01-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51747 --- Comment #11 from Ville Voutilainen --- Also, struct base { int x; }; struct derived : base { derived(const base &state) : base{state} {} }; is diagnosed with base-aggr-init2.cpp: In constructor ‘derived::derived(const

[Bug c++/51747] [DR 1467] [C++11] cannot call defaulted copy constructor using list-initialization

2015-01-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51747 --- Comment #10 from Ville Voutilainen --- This code fails with the current trunk: struct B {}; struct D : B {D(B b) : B{b} {}}; base-aggr-init.cpp: In constructor ‘D::D(B)’: base-aggr-init.cpp:2:27: error: too many initializers for ‘B’ struc

[Bug middle-end/64340] [5 Regression] FAIL: gnat.dg/lto8.adb (internal compiler error)

2015-01-25 Thread tbsaunde at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64340 --- Comment #7 from tbsaunde at gcc dot gnu.org --- (In reply to tbsaunde from comment #6) > It seems like the right thing to do is make varpool_node::create_alias() set > ref_list.references, does that seem correct? O.O that was for another bug.

[Bug target/59533] [SH] Missed cmp/pz opportunity

2015-01-25 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59533 --- Comment #7 from Oleg Endo --- If a shll is followed by a cbranch: unsigned int test_09_0 (int x, unsigned int y, unsigned int z) { return ~(x >> 31) ? y : z; } shllr4 bf .L4 mov r6,r5 .L4: rts

[Bug target/59533] [SH] Missed cmp/pz opportunity

2015-01-25 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59533 --- Comment #6 from Oleg Endo --- (In reply to Oleg Endo from comment #5) The same would apply to: int test (unsigned char* x, int y, int z) { return ((*x >> 7) ^ 0) & 1; } which compiles to mov.b @r4,r1 shllr1

[Bug target/59533] [SH] Missed cmp/pz opportunity

2015-01-25 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59533 --- Comment #5 from Oleg Endo --- The issues mentioned above have been fixed by the treg_set_expr patch (r220081). There is one more thing, though: int test2 (int x) { return x < 0; } It's effectively a lshiftrt 31 and compiles to: sh

[Bug libstdc++/29366] atomics config for sh is weird

2015-01-25 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29366 --- Comment #8 from Oleg Endo --- Author: olegendo Date: Sun Jan 25 16:54:33 2015 New Revision: 220094 URL: https://gcc.gnu.org/viewcvs?rev=220094&root=gcc&view=rev Log: libstdc++-v3/ PR target/29366 * config/cpu/sh/atomicity.h (__exchan

[Bug middle-end/64353] [5 Regression] ICE: in execute_todo, at passes.c:1986

2015-01-25 Thread tbsaunde at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64353 tbsaunde at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC

[Bug target/54236] [SH] Improve addc and subc insn utilization

2015-01-25 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54236 --- Comment #11 from Oleg Endo --- Author: olegendo Date: Sun Jan 25 16:41:25 2015 New Revision: 220093 URL: https://gcc.gnu.org/viewcvs?rev=220093&root=gcc&view=rev Log: gcc/testsuite/ PR target/54236 * gcc.target/sh/pr54236-4.c: New.

[Bug fortran/64787] New: Invalid code on sourced allocation of class(*) character string

2015-01-25 Thread antony at cosmologist dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64787 Bug ID: 64787 Summary: Invalid code on sourced allocation of class(*) character string Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/64688] [5 Regression] internal compiler error: Max. number of generated reload insns per insn is achieved (90)

2015-01-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64688 Uroš Bizjak changed: What|Removed |Added Keywords||ra Status|REOPENED

[Bug fortran/64692] Incorrect result for sourced allocate of class(*) array

2015-01-25 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64692 vehre at gcc dot gnu.org changed: What|Removed |Added CC||vehre at gcc dot gnu.org --- C

[Bug c/64743] minor issue with the location of -Wlong-long

2015-01-25 Thread maltsevm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64743 Mikhail Maltsev changed: What|Removed |Added CC||maltsevm at gmail dot com --- Comment

[Bug fortran/61831] [4.9/ 5 Regression] runtime error: pointer being freed was not allocated

2015-01-25 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61831 --- Comment #36 from Mikael Morin --- >[...] > (*(struct string_t[1] * restrict) atmp.7.data)[0] = prt_in; prt_in.chars.data is copied to atmp.7.data[0]. >[...] >while (1) > { >[...] >D.3430 = (*(struct stri

[Bug middle-end/57748] [4.8 Regression] ICE when expanding assignment to unaligned zero-sized array

2015-01-25 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 --- Comment #63 from Mikael Pettersson --- The backport request has been posted: https://gcc.gnu.org/ml/gcc-patches/2015-01/msg02192.html

[Bug c++/64786] Eliminate exceptions thrown/caught inside a function

2015-01-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64786 --- Comment #1 from Marc Glisse --- See also PR53294 and PR64501.

[Bug c++/64786] New: Eliminate exceptions thrown/caught inside a function

2015-01-25 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64786 Bug ID: 64786 Summary: Eliminate exceptions thrown/caught inside a function Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

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

2015-01-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64342 --- Comment #7 from vries at gcc dot gnu.org --- (In reply to Igor Zamyatin from comment #1) > avx512f-kandnw-1.c and funcspec-5.c seem to be non-PIC related issues. I > asked Kirill to look at them. > I cannot reproduce the funcspec-5.c failure

[Bug target/64785] New: [5 Regression][SH] and|or|xor #imm not used

2015-01-25 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64785 Bug ID: 64785 Summary: [5 Regression][SH] and|or|xor #imm not used Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/64782] -mcpu=native should be supported on aarch64

2015-01-25 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64782 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed