[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 --- Comment #11 from H.J. Lu hjl.tools at gmail dot com --- (In reply to Thiago Macieira from comment #8) (In reply to H.J. Lu from comment #6) /export/build/gnu/gcc-5/build-x86_64-linux/gcc/xgcc

[Bug c/65892] gcc fails to implement N685 aliasing of union members

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

[Bug fortran/65792] allocation of scalar elemental function with structure constructor fails

2015-04-25 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65792 Paul Thomas pault at gcc dot gnu.org changed: What|Removed |Added CC||pault at gcc dot

[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 --- Comment #5 from H.J. Lu hjl.tools at gmail dot com --- (In reply to Thiago Macieira from comment #3) Thanks H.J.! Can I ask that -fsymbolic be the default? Otherwise, code with -fPIE MUST add -fsymbolic in GCC 5+, but can't add it prior

[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 --- Comment #6 from H.J. Lu hjl.tools at gmail dot com --- (In reply to H.J. Lu from comment #5) BTW, you should add -fsymbolic to -fPIC if the shared library will be created by -Bsymbolic. It will improve shared library performance. Here is

[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 --- Comment #8 from Thiago Macieira thiago at kde dot org --- (In reply to H.J. Lu from comment #6) (In reply to H.J. Lu from comment #5) BTW, you should add -fsymbolic to -fPIC if the shared library will be created by -Bsymbolic. It will

[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 --- Comment #9 from H.J. Lu hjl.tools at gmail dot com --- (In reply to Thiago Macieira from comment #7) You're not accounting for loss of performance in the shared libraries that can't use -Bsymbolic due to the copy relocations, both at

[Bug c/65891] New: -Wlogical-op now warns about logical ‘and’ of equal expressions even when different types/sizeofs are involved

2015-04-25 Thread gerald at pfeifer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65891 Bug ID: 65891 Summary: -Wlogical-op now warns about logical ‘and’ of equal expressions even when different types/sizeofs are involved Product: gcc Version:

[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 --- Comment #7 from Thiago Macieira thiago at kde dot org --- (In reply to H.J. Lu from comment #4) (In reply to Thiago Macieira from comment #3) Thanks H.J.! Can I ask that -fsymbolic be the default? Otherwise, code with -fPIE MUST add

[Bug web/64968] Upgrade GCC Bugzilla to 5.0

2015-04-25 Thread LpSolit at netscape dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64968 Frédéric Buclin LpSolit at netscape dot net changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/65892] gcc fails to implement N685 aliasing of union members

2015-04-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org --- Also if we follow that defect resolution, basically strict aliasing does not mean anything any more and we would have to turn off strict aliasing for all structs.

[Bug rtl-optimization/14319] incorrect optimization of union of structs with common initial sequences

2015-04-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14319 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added CC||msebor at gcc

[Bug c++/65890] New: [C++03]sizeof(qualified-id) accepted when the operand denotes a non-static member

2015-04-25 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65890 Bug ID: 65890 Summary: [C++03]sizeof(qualified-id) accepted when the operand denotes a non-static member Product: gcc Version: 4.9.1 Status: UNCONFIRMED

[Bug c++/65890] [C++03]sizeof(qualified-id) accepted when the operand denotes a non-static member

2015-04-25 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65890 --- Comment #2 from frankhb1989 at gmail dot com --- Tested here: http://melpon.org/wandbox/, both G++ 5.1 and 6.0 accepted the invalid code.

[Bug c/65892] New: gcc fails to implement N685 aliasing of union members

2015-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 Bug ID: 65892 Summary: gcc fails to implement N685 aliasing of union members Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/65892] gcc fails to implement N685 aliasing of union members

2015-04-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- Some folks think that resolution is not fully correct.

[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 --- Comment #10 from H.J. Lu hjl.tools at gmail dot com --- (In reply to Thiago Macieira from comment #7) (In reply to H.J. Lu from comment #4) (In reply to Thiago Macieira from comment #3) Thanks H.J.! Can I ask that -fsymbolic be

[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 --- Comment #3 from Thiago Macieira thiago at kde dot org --- Thanks H.J.! Can I ask that -fsymbolic be the default? Otherwise, code with -fPIE MUST add -fsymbolic in GCC 5+, but can't add it prior because the option didn't exist. Please leave

[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 --- Comment #4 from H.J. Lu hjl.tools at gmail dot com --- (In reply to Thiago Macieira from comment #3) Thanks H.J.! Can I ask that -fsymbolic be the default? Otherwise, code with -fPIE MUST add -fsymbolic in GCC 5+, but can't add it prior

[Bug c++/65890] [C++03]sizeof(qualified-id) accepted when the operand denotes a non-static member

2015-04-25 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65890 --- Comment #1 from frankhb1989 at gmail dot com --- Oops, wrong version of case pasted ... I once wanted to use this minimal one: sizeof(Tag::m); Nevertheless, the conclusion is the same for this issue. (There are other mess, e.g. Clang++ 3.6

[Bug c/65881] no documentation of __uint128_t

2015-04-25 Thread shawn at churchofgit dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65881 Shawn Landden shawn at churchofgit dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c/65891] -Wlogical-op now warns about logical ‘and’ of equal expressions even when different types/sizeofs are involved

2015-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65891 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

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

2015-04-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64782 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

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

2015-04-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64782 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/52085] incomplete enum not completed correctly if packed was used

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

[Bug libstdc++/65883] New: numeric_limitsunsigned __int128::max() returns incorrect value

2015-04-25 Thread john at johnmaddock dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65883 Bug ID: 65883 Summary: numeric_limitsunsigned __int128::max() returns incorrect value Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: blocker

[Bug libfortran/48852] Invalid spaces in list-directed output of complex constants

2015-04-25 Thread thenlich at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48852 --- Comment #12 from Thomas Henlich thenlich at users dot sourceforge.net --- (In reply to Jerry DeLisle from comment #10) gfortran currently does this with default formatting, list directed outout: - (

[Bug c++/65882] [5/6 Regression] Internal compiler error: Error reporting routines re-entered

2015-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65882 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW

[Bug fortran/61907] load of invalid value for 'bool' in trans-array.c trans_array_constructor

2015-04-25 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61907 --- Comment #4 from Vittorio Zecca zeccav at gmail dot com --- Still in 5.1.0 at trans-array.c:2223

[Bug fortran/61908] load of invalid value for 'expr_t' in interface.c compare_actual_formal

2015-04-25 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61908 --- Comment #4 from Vittorio Zecca zeccav at gmail dot com --- Stiil in 5.1.0 at interface.c:2701

[Bug target/65867] [5/6 Regression] bootstrap fails for mingw32 due to missing header in ssp.c

2015-04-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65867 Kai Tietz ktietz at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/65882] New: Internal compiler error: Error reporting routines re-entered

2015-04-25 Thread yan12125 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65882 Bug ID: 65882 Summary: Internal compiler error: Error reporting routines re-entered Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/65882] Internal compiler error: Error reporting routines re-entered

2015-04-25 Thread yan12125 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65882 --- Comment #2 from yan12125 at gmail dot com --- Sorry, I don't know why the attachment is lost. I re-attach the file here: https://gist.githubusercontent.com/yan12125/b5498cb6ac2be4a5649a/raw/json.ii

[Bug fortran/64230] [4.9/5 Regression] Invalid memory reference in a compiler-generated finalizer for allocatable component

2015-04-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64230 --- Comment #10 from Dominique d'Humieres dominiq at lps dot ens.fr --- Do you see this too? Yes, and the test runs if I remove/comment the line Deallocate (x) The test gfortran.dg/class_allocate_18.f90 has the same problem: see pr64921.

[Bug fortran/65841] Seg fault on intrinsic assignment to allocatable derived type with allocatable component

2015-04-25 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65841 --- Comment #4 from Paul Thomas pault at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #3) This PR is fixed by Andre's patch for pr59678 (all tests). Note that the last test in comment 1 segfault with only the [fist

[Bug c++/65882] Internal compiler error: Error reporting routines re-entered

2015-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65882 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug c/52085] incomplete enum not completed correctly if packed was used

2015-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52085 --- Comment #4 from Marek Polacek mpolacek at gcc dot gnu.org --- Author: mpolacek Date: Sat Apr 25 10:12:01 2015 New Revision: 222440 URL: https://gcc.gnu.org/viewcvs?rev=222440root=gccview=rev Log: PR c/52085 * c-decl.c (finish_enum):

[Bug libstdc++/65883] [5/6 Regression] numeric_limitsunsigned __int128::max() returns incorrect value

2015-04-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65883 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug libstdc++/65861] libstdc++ is silently generating wrong code when its std::search is given an input iterator

2015-04-25 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65861 --- Comment #7 from Jack Howarth howarth.at.gcc at gmail dot com --- (In reply to Jonathan Wakely from comment #6) And even if they don't read the libstdc++ documentation, std::search doesn't work with input iterators, that's always been true:

[Bug libfortran/48852] Invalid spaces in list-directed output of complex constants

2015-04-25 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48852 --- Comment #13 from Jerry DeLisle jvdelisle at gcc dot gnu.org --- (In reply to Thomas Henlich from comment #12) --- snip --- There is also case C (right-flush in 2*w+3): --- snip --- Oh yes, Thanks Thomas. I now see you mentioned this in

[Bug c++/65885] New: lambda expressions in templates fail to capture `const int' variables

2015-04-25 Thread myoga.murase at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65885 Bug ID: 65885 Summary: lambda expressions in templates fail to capture `const int' variables Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/65861] libstdc++ is silently generating wrong code when its std::search is given an input iterator

2015-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65861 --- Comment #8 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Jack Howarth from comment #7) Is there e reason for gcc not to detect such wrong code issues by default? Read the docs, the concept checks only enforce C++03

[Bug tree-optimization/65887] New: remove va_arg ap copies

2015-04-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65887 Bug ID: 65887 Summary: remove va_arg ap copies Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: tree-optimization

[Bug tree-optimization/65823] [6 Regression] ICE in gcc.c-torture/execute/stdarg-2.c -O0/-O1 for arm

2015-04-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65823 vries at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug other/53313] Add warning levels

2015-04-25 Thread david at doublewise dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53313 --- Comment #13 from David Stone david at doublewise dot net --- I understand the difference between the two. I just prefer an opt-out system of warnings instead of opt-in. If absolutely no one could possibly want a warning, it shouldn't exist.

[Bug other/65884] New: libgccjit fails to link on ia64-linux-gnu

2015-04-25 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65884 Bug ID: 65884 Summary: libgccjit fails to link on ia64-linux-gnu Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug tree-optimization/65818] [6 Regression] libiberty/vprintf-support.c:41:1: ICE: in expand_i fn_va_arg_1, at tree-stdarg.c:1095

2015-04-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65818 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||patch --- Comment #12 from

[Bug target/65886] [5/6 Regression] External reference in PIE to DSO created with -Wl,-Bsymbolic

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug target/65886] New: [5/6 Regression] External reference in PIE to DSO created with -Wl,-Bsymbolic

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 Bug ID: 65886 Summary: [5/6 Regression] External reference in PIE to DSO created with -Wl,-Bsymbolic Product: gcc Version: 5.0 Status: UNCONFIRMED Severity:

[Bug c++/65843] [5/6 Regression] multiple use of const variable in lamba in template function causes compile error

2015-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65843 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC||myoga.murase at

[Bug c++/65885] lambda expressions in templates fail to capture `const int' variables

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

[Bug target/65886] [5/6 Regression] External reference in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 --- Comment #1 from H.J. Lu hjl.tools at gmail dot com --- A patch is posted at https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01546.html

[Bug c/65888] New: Need a way to disable copy relocations

2015-04-25 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65888 Bug ID: 65888 Summary: Need a way to disable copy relocations Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/65889] New: ICE on invalid(?) with sizeof polymorphic variable [OOP]

2015-04-25 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65889 Bug ID: 65889 Summary: ICE on invalid(?) with sizeof polymorphic variable [OOP] Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug target/65886] [5/6 Regression] External reference in PIE incompatible with DSO created by -Wl,-Bsymbolic

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added CC||thiago at kde dot

[Bug c/65888] Need a way to disable copy relocations

2015-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65888 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED