[Bug bootstrap/79076] bootstrap comparison failure with Sun tools

2017-01-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79076 --- Comment #3 from Eric Botcazou --- > I forgot to mention that this was happening with 5.4.0 and 6.3.0 as well. Then try with a standard configuration, in particular remove the in-tree binutils if you don't use them! You can drop cloog and

[Bug lto/78407] [5/6/7 Regression] LTO breaks separate overriding of symbol aliases

2017-01-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78407 --- Comment #2 from Jan Hubicka --- The following patch fixes the issue === --- symtab.c(revision 244386) +++ symtab.c(working copy) @@ -1989,13 +1989,12 @@

[Bug tree-optimization/32199] jc1: out of memory allocating 4072 bytes after a total of 805021000 bytes

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32199 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libstdc++/64865] std::allocator::construct/destroy not called for specialization of std::allocator

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64865 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/67214] undefined behaviour in std::num_get::_M_extract_int()

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67214 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/71444] Error constants for MinGW-w64

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71444 Jonathan Wakely changed: What|Removed |Added CC||beck.ct at gmail dot com --- Comment

[Bug libstdc++/68307] [mingw32] Missing enum values in std::errc

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68307 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/63537] [5/6 Regression] Missed optimization: Loop unrolling adds extra copy when returning aggregate

2017-01-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63537 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com

[Bug c/78304] [7 Regression] -Wformat doesn't warn anymore for inttypes.h format string argument type mismatches

2017-01-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78304 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Fri Jan 13 19:27:43 2017 New Revision: 244453 URL: https://gcc.gnu.org/viewcvs?rev=244453=gcc=rev Log: Don't suppress bogus usage of macros from system headers in -Wformat (PR

[Bug middle-end/63184] [5/6/7 Regression] Fails to simplify comparison

2017-01-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63184 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #8

[Bug c++/69375] GCC allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug libstdc++/65411] Unsafe(?) repeated call to fclose() in config/io/basic_file_stdio.cc

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65411 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/78304] [7 Regression] -Wformat doesn't warn anymore for inttypes.h format string argument type mismatches

2017-01-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78304 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79058] [7 Regression] ARM: internal compiler error: in extract_constrain_insn, at recog.c:2213

2017-01-13 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79058 --- Comment #20 from Arnd Bergmann --- // new reduced test case, build with "arm-linux-gnueabi-gcc-7.0.0 -c -Os -mbig-endian" struct nilfs_segment_usage { int su_flags; } a; enum { NILFS_SEGMENT_USAGE_ACTIVE, NILFS_SEGMENT_USAGE_DIRTY } fn1();

[Bug c++/79078] Warnings from deprecated attribute are too noisy

2017-01-13 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79078 Eric Gallager changed: What|Removed |Added CC||egall at gwmail dot gwu.edu --- Comment

[Bug c++/64095] [C++14] Ellipsis at end of generic lambda parameter-declaration-clause should be parsed as a parameter pack

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64095 Jonathan Wakely changed: What|Removed |Added CC||gnu-9fbaow at upsuper dot org ---

[Bug libstdc++/69375] GCC allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Component|c++

[Bug target/78176] [MIPS] miscompiles ldxc1 with large pointers on 32-bits

2017-01-13 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176 Doug Gilmore changed: What|Removed |Added CC||doug.gilmore at imgtec dot com ---

[Bug libstdc++/69375] GCC allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|redi at gcc

[Bug c++/77451] Cannot convert lambda [](auto&&...){} to std::function<void()>

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77451 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Component|libstdc++

[Bug c++/77561] Unclear diagnostic for invalid declaration of partial specialization as friend

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77561 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/78616] Poison strndup in system.h

2017-01-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #13 from David Malcolm --- (In reply to Jeffrey A. Law from comment #12) > Regression fixed (regression marker removed). All that's left is to poison > strndup in system.h Candidate patch:

[Bug libstdc++/77451] Cannot convert lambda [](auto&&...){} to std::function<void()>

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77451 --- Comment #2 from Jonathan Wakely --- This is a compiler bug not a library one: int main() { auto l = [](auto&&...) {}; l(); } l.cc: In function ‘int main()’: l.cc:4:5: error: no match for call to ‘(main()::) ()’

[Bug c++/69375] GCC allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/79058] [7 Regression] ARM: internal compiler error: in extract_constrain_insn, at recog.c:2213

2017-01-13 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79058 --- Comment #21 from Arnd Bergmann --- // reduced version of 0xB0981CD0 file long a; struct { int su_flags; } * b; struct nilfs_segment_usage *e; void fn1(); enum { NILFS_SEGMENT_USAGE_ACTIVE, NILFS_SEGMENT_USAGE_DIRTY } fn2() { return

[Bug c++/64095] [C++14] Ellipsis at end of generic lambda parameter-declaration-clause should be parsed as a parameter pack

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64095 --- Comment #4 from Jonathan Wakely --- (In reply to Ed Catmur from comment #0) > Clang is similarly incorrect; Clang 3.5 had the same bug, but it was fixed for 3.6

[Bug c++/77451] Cannot convert lambda [](auto&&...){} to std::function<void()>

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77451 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug tree-optimization/32306] [5/6/7 Regression] redundant && || not eliminated

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32306 Martin Sebor changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug fortran/66310] Problems with intrinsic repeat for large number of copies

2017-01-13 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66310 --- Comment #16 from Janne Blomqvist --- Author: jb Date: Fri Jan 13 17:05:48 2017 New Revision: 28 URL: https://gcc.gnu.org/viewcvs?rev=28=gcc=rev Log: PR 78534 Change character length from int to size_t In order to handle large

[Bug fortran/78534] Use a larger integer type for character lengths on 64-bit targets

2017-01-13 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78534 --- Comment #18 from Janne Blomqvist --- Author: jb Date: Fri Jan 13 17:05:48 2017 New Revision: 28 URL: https://gcc.gnu.org/viewcvs?rev=28=gcc=rev Log: PR 78534 Change character length from int to size_t In order to handle large

[Bug target/77728] [5/6/7 Regression] Miscompilation multiple vector iteration on ARM

2017-01-13 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #5 from Yichao Yu --- Ping again? Anything new or I can help with here?

[Bug ipa/70583] [6/7 Regression] FAIL: g++.old-deja/g++.abi/vtable2.C -std=gnu++98 execution test

2017-01-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70583 Jeffrey A. Law changed: What|Removed |Added Priority|P2 |P4 CC|

[Bug c++/77442] error: ‘free’ is not a member of ‘std’ std::free(ptr);

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77442 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/65255] std::thread does not work for cross compiling on ARM

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65255 --- Comment #10 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #8) > I have a patch for std::thread which would mean it doesn't use shared_ptr, > so this wouldn't be a problem even if you don't use the same arm version. This

[Bug c++/71166] [7 Regression] ICE with nested constexpr/initializer

2017-01-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71166 --- Comment #14 from Marek Polacek --- Author: mpolacek Date: Fri Jan 13 17:27:54 2017 New Revision: 244450 URL: https://gcc.gnu.org/viewcvs?rev=244450=gcc=rev Log: PR c++/71166 * g++.dg/cpp0x/constexpr-array18.C: New test.

[Bug libstdc++/65411] Unsafe(?) repeated call to fclose() in config/io/basic_file_stdio.cc

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65411 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Fri Jan 13 17:52:34 2017 New Revision: 244451 URL: https://gcc.gnu.org/viewcvs?rev=244451=gcc=rev Log: PR65411 don't retry fclose on EINTR PR libstdc++/65411 *

[Bug c/32643] [5/6/7 Regression] Wrong error message with unsigned char a = uchar&512

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32643 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug target/71321] [6 Regression] x86: worse code for uint8_t % 10 and / 10

2017-01-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71321 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com

[Bug target/79058] [7 Regression] ARM: internal compiler error: in extract_constrain_insn, at recog.c:2213

2017-01-13 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79058 --- Comment #19 from Arnd Bergmann --- Created attachment 40516 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40516=edit preprocessed linux-4.10/fs/nilfs2/sufile.c source, 0xB0981CD0 build Another version of the source file, also still

[Bug c++/79085] New: ICE with placement new to unaligned location

2017-01-13 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79085 Bug ID: 79085 Summary: ICE with placement new to unaligned location Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug middle-end/33699] [5/6/7 regression] missing optimization on const addr area store

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33699 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to

[Bug c++/36016] for-loop scoping problem: Method gets called after destructor

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36016 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to

[Bug pch/78508] valgrind error in gt_pch_note_object when compiling C++

2017-01-13 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78508 --- Comment #3 from David Binderman --- Still broken, a couple of months later, in gcc dated 2017 Jan 13.

[Bug c++/55004] [meta-bug] constexpr issues

2017-01-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 71166, which changed state. Bug 71166 Summary: [7 Regression] ICE with nested constexpr/initializer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71166 What|Removed |Added

[Bug c++/71166] [7 Regression] ICE with nested constexpr/initializer

2017-01-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71166 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/11832] Optimization of common stores in switch statements

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11832 Bug 11832 depends on bug 33315, which changed state. Bug 33315 Summary: stores not commoned by sinking https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33315 What|Removed |Added

[Bug tree-optimization/33315] stores not commoned by sinking

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33315 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/35098] ICE with attribute unused in template

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35098 Martin Sebor changed: What|Removed |Added Last reconfirmed|2008-02-06 12:25:16 |2017-1-13 CC|

[Bug libstdc++/77451] Cannot convert lambda [](auto&&...){} to std::function<void()>

2017-01-13 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77451 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #1 from TC

[Bug c++/70996] regression - infinite compilation of sequence overrided operator<

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70996 Jonathan Wakely changed: What|Removed |Added Keywords||compile-time-hog

[Bug middle-end/50199] [5/6 Regression] wrong code with -flto -fno-merge-constants

2017-01-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50199 Jakub Jelinek changed: What|Removed |Added Summary|[5/6/7 Regression] wrong|[5/6 Regression] wrong code

[Bug c++/69375] GCC allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375 --- Comment #4 from Jonathan Wakely --- My front-end debugging skills are pitiful, but I've found something suspicious. ptm_initializer uses TYPE_PTRMEM_POINTED_TO_TYPE to get that pointee type. For this case that expands to

[Bug fortran/79087] New: CPATH environment variable not recognised.

2017-01-13 Thread w6ws at earthlink dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79087 Bug ID: 79087 Summary: CPATH environment variable not recognised. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug tree-optimization/77485] Missed dead store elimination of aggregate store followed by partial stores

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77485 Bug 77485 depends on bug 33562, which changed state. Bug 33562 Summary: [5/6 Regression] aggregate DSE disabled https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33562 What|Removed |Added

[Bug tree-optimization/33562] [5/6 Regression] aggregate DSE disabled

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33562 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/78660] [7 Regression] 7.0 bootstrap fail on mips64el-unknow-linux: configure-stage2-target-libgcc' failed

2017-01-13 Thread matthew.fortune at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78660 Matthew Fortune changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug tree-optimization/77485] Missed dead store elimination of aggregate store followed by partial stores

2017-01-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77485 Bug 77485 depends on bug 33562, which changed state. Bug 33562 Summary: [5/6 Regression] aggregate DSE disabled https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33562 What|Removed |Added

[Bug tree-optimization/33562] [5/6 Regression] aggregate DSE disabled

2017-01-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33562 Jeffrey A. Law changed: What|Removed |Added Status|RESOLVED|NEW Resolution|FIXED

[Bug target/78660] [7 Regression] 7.0 bootstrap fail on mips64el-unknow-linux: configure-stage2-target-libgcc' failed

2017-01-13 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78660 mpf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P2 Status|WAITING

[Bug c++/69375] GCC allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375 --- Comment #5 from Jonathan Wakely --- For the attached reproducer this condition is never true in cp_build_qualified_type_real /* But preserve any function-cv-quals on a FUNCTION_TYPE. */ if (TREE_CODE (type) == FUNCTION_TYPE)

[Bug target/78660] [7 Regression] 7.0 bootstrap fail on mips64el-unknow-linux: configure-stage2-target-libgcc' failed

2017-01-13 Thread matthew.fortune at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78660 --- Comment #8 from Matthew Fortune --- Created attachment 40518 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40518=edit testcase I have narrowed this bug down to a mis-compilation of gcc/c/c-decl.c where there are a few code

[Bug c++/79086] Localtime_r does a spinlock unnecessarily killing performance when run millions of times

2017-01-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79086 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/79086] New: Localtime_r does a spinlock unnecessarily killing performance when run millions of times

2017-01-13 Thread dgotwisn at netscout dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79086 Bug ID: 79086 Summary: Localtime_r does a spinlock unnecessarily killing performance when run millions of times Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c/79082] -Wformat-truncation inconsistent behaviour

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79082 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/79075] Lots of tests fail with _GLIBCXX_USE_CXX11_ABI=0

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79075 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79058] [7 Regression] ARM: internal compiler error: in extract_constrain_insn, at recog.c:2213

2017-01-13 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79058 --- Comment #17 from Arnd Bergmann --- (In reply to Dominik Vogt from comment #16) > Or rather this one which avoids triggering an assertion failure in > in_hard_reg_set_p (): I tried this version, and while it fixes the test case I originally

[Bug c++/79078] Warnings from deprecated attribute are too noisy

2017-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79078 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #6

[Bug target/78397] The stack is not 8 bytes aligned on ARM

2017-01-13 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78397 --- Comment #5 from Richard Earnshaw --- (In reply to Alexandre Martins from comment #4) > Unfortunatly, it's not crashing into the __aeabi_read_tp function, but into > the dynamic linker of freebsd (rtld-elf). For info, this function is located

[Bug target/79058] [7 Regression] ARM: internal compiler error: in extract_constrain_insn, at recog.c:2213

2017-01-13 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79058 --- Comment #18 from Arnd Bergmann --- Created attachment 40515 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40515=edit preprocessed linux-4.10/fs/nilfs2/sufile.c source, 0x2F25F020 build The file is slightly different, because of

[Bug tree-optimization/77485] Missed dead store elimination of aggregate store followed by partial stores

2017-01-13 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77485 --- Comment #15 from Jeffrey A. Law --- Author: law Date: Sat Jan 14 06:16:23 2017 New Revision: 244461 URL: https://gcc.gnu.org/viewcvs?rev=244461=gcc=rev Log: PR tree-optimization/33562 PR tree-optimization/61912 PR

[Bug tree-optimization/33562] [5/6 Regression] aggregate DSE disabled

2017-01-13 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33562 --- Comment #30 from Jeffrey A. Law --- Author: law Date: Sat Jan 14 06:16:23 2017 New Revision: 244461 URL: https://gcc.gnu.org/viewcvs?rev=244461=gcc=rev Log: PR tree-optimization/33562 PR tree-optimization/61912 PR

[Bug middle-end/61912] Missed (partial) dead store elimination for structures on GIMPLE

2017-01-13 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61912 --- Comment #8 from Jeffrey A. Law --- Author: law Date: Sat Jan 14 06:16:23 2017 New Revision: 244461 URL: https://gcc.gnu.org/viewcvs?rev=244461=gcc=rev Log: PR tree-optimization/33562 PR tree-optimization/61912 PR

[Bug tree-optimization/79088] New: wrong code at -O2 on x86_64-linux-gnu

2017-01-13 Thread su at cs dot ucdavis.edu
/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 20170113 (experimental) [trunk revision 244397] (GCC) $ $ gcc-trunk -Os small.c

[Bug fortran/79072] [5/6/7 Regression] ICE with class(*) pointer function result and character value

2017-01-13 Thread neil.n.carlson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79072 --- Comment #3 from neil.n.carlson at gmail dot com --- Why is this tagged with 'ice-on-invalid-code'? What is invalid about the code?

[Bug c++/71166] [7 Regression] ICE with nested constexpr/initializer

2017-01-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71166 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c/69558] [6/7 Regression] glib2 warning pragmas stopped working

2017-01-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug fortran/79072] ICE with class(*) pointer function result and character value

2017-01-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79072 Martin Liška changed: What|Removed |Added Keywords|ice-on-invalid-code | Known to work|4.7.4

[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

2017-01-13 Thread m.ostapenko at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061 --- Comment #6 from Maxim Ostapenko --- Created attachment 40514 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40514=edit Untested fix 1. The fix I'm testing now. With this patch trivial example works and attached testcase doesn't raise

[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

2017-01-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061 --- Comment #7 from Jakub Jelinek --- Comment on attachment 40514 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40514 Untested fix 1. But DECL_SOURCE_FILE is not the main input file of the TU that contains it, if e.g. a variable is

[Bug c++/79083] New: GCC incorrectly compiles calls to constexpr static methods via a non-constexpr variable

2017-01-13 Thread matt at godbolt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79083 Bug ID: 79083 Summary: GCC incorrectly compiles calls to constexpr static methods via a non-constexpr variable Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug lto/66295] [5/6/7 Regression] LTO generates incorrect resolver call for function multiversioning

2017-01-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66295 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug tree-optimization/78604] [7 regression] test case gcc.target/powerpc/p8vector-vectorize-1.c fails starting with r242750

2017-01-13 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78604 --- Comment #4 from amker at gcc dot gnu.org --- (In reply to amker from comment #3) > For function sign_lt and uns_lt, the change causes worse code generation > unfortunately. Take uns_lt as example, the difference in optimized dump is > So

[Bug fortran/79072] ICE with class(*) pointer function result and character value

2017-01-13 Thread neil.n.carlson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79072 --- Comment #5 from neil.n.carlson at gmail dot com --- Here's a more complete example that avoids the ICE. It gives correct results with 6.3: 5 fubar 5 fubar But incorrect results with 7.0: 5 fubar 0

[Bug c++/77508] [7 Regression] ICE on valid C++ code: in finish_class_member_access_expr, at cp/typeck.c:2783

2017-01-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77508 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/79058] [7 Regression] ARM: internal compiler error: in extract_constrain_insn, at recog.c:2213

2017-01-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79058 --- Comment #15 from Dominik Vogt --- There's some code to reload such paradoxical subregs in lra-constraints.c:simplify_operand_subreg(): /* Force a reload for a paradoxical subreg. For paradoxical subreg, IRA allocates hardreg to the

[Bug c++/71166] [7 Regression] ICE with nested constexpr/initializer

2017-01-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71166 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/47931] missing -Waddress warning for comparison with NULL

2017-01-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47931 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug libstdc++/78389] list::merge and list::sort are not exception safe

2017-01-13 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78389 --- Comment #1 from ville at gcc dot gnu.org --- Author: ville Date: Fri Jan 13 14:46:25 2017 New Revision: 244439 URL: https://gcc.gnu.org/viewcvs?rev=244439=gcc=rev Log: PR libstdc++/78389 * include/bits/list.tcc (merge(list&&)): Adjust list

[Bug c++/71406] [7 Regression] ICE on valid C++ code on x86_64-linux-gnu: in finish_class_member_access_expr, at cp/typeck.c:2782

2017-01-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71406 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/78397] The stack is not 8 bytes aligned on ARM

2017-01-13 Thread alexandre.martins at stormshield dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78397 --- Comment #4 from Alexandre Martins --- Unfortunatly, it's not crashing into the __aeabi_read_tp function, but into the dynamic linker of freebsd (rtld-elf). For info, this function is located into the libc on freebsd. Must the dynamic

[Bug libstdc++/78389] list::merge and list::sort are not exception safe

2017-01-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78389 Ville Voutilainen changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/79086] Localtime_r does a spinlock unnecessarily killing performance when run millions of times

2017-01-13 Thread dgotwisn at netscout dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79086 --- Comment #2 from Dave Gotwisner --- Thanks. There's an equivalent bug over there.

[Bug tree-optimization/66826] Unused result from dlsym in constructor results in a segfault

2017-01-13 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66826 --- Comment #6 from Yuri Gribov --- (In reply to Rich Felker from comment #5) > maybe there are workarounds glibc could do to prevent tco without needing a > new attribute... X-posted to Glibc BZ:

[Bug rtl-optimization/59461] missed zero-extension elimination in the combiner

2017-01-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59461 --- Comment #9 from Eric Botcazou --- > This is a notoriously hard topic to address. All instructions affect the > full 64-bit register including those that do 32-bit arithmetic i.e. they > will set/clear the upper bits to replicate bit-31. So

[Bug other/46542] GCC 4.7 pending patches meta-bug

2017-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46542 Bug 46542 depends on bug 43174, which changed state. Bug 43174 Summary: Teaching SCEV about ADDR_EXPR causes regression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43174 What|Removed |Added

[Bug tree-optimization/43174] Teaching SCEV about ADDR_EXPR causes regression

2017-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43174 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/59461] missed zero-extension elimination in the combiner

2017-01-13 Thread matthew.fortune at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59461 --- Comment #10 from Matthew Fortune --- (In reply to Eric Botcazou from comment #9) > > This is a notoriously hard topic to address. All instructions affect the > > full 64-bit register including those that do 32-bit arithmetic i.e. they > >

[Bug tree-optimization/77283] [7 Regression] Revision 238005 disables loop unrolling

2017-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77283 --- Comment #18 from Richard Biener --- Author: rguenth Date: Fri Jan 13 08:47:57 2017 New Revision: 244394 URL: https://gcc.gnu.org/viewcvs?rev=244394=gcc=rev Log: 2017-01-13 Richard Biener PR

[Bug target/79079] [6/7] Wrong code gen for __builtin_mul_overflow when TRULY_NOOP_TRUNCATION (32, 64) == false

2017-01-13 Thread npickito at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79079 --- Comment #3 from Kito Cheng --- Hi Jakub: Thank your review, your are right, I might change all gen_lowpart to convert_modes to deal with all other TRULY_NOOP_TRUNCATION == false case, in RISC-V and MIPS64 only TRULY_NOOP_TRUNCATION(64, 32)

[Bug target/79080] [7 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn) (error: shared rtx)

2017-01-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79080 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

  1   2   >