[Bug ipa/80609] [8 Regression] crash_signal in reset_inline_summary on ia64 bootstrap

2017-10-11 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80609 Michael Matz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/82512] attribute alias warning suppressed (the wrong way)

2017-10-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82512 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-11 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #20 from Chris Johns --- I have been testing the patch attached to RTEMS ticket https://devel.rtems.org/ticket/3171 and it has built gcc once for ARM and then it did not build for SPARC plus SPARC build can fail on different header fi

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-10-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 Martin Sebor changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de --- Com

[Bug middle-end/82479] missing popcount builtin detection

2017-10-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)

2017-10-11 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233 --- Comment #12 from Christophe Lyon --- I am running the GCC tests under proot + qemu. proot is similar to chroot but does not require root privileges, qemu is a well known emulator that enables me to run validations for arm/aarch64 on x86 hosts

[Bug go/80914] gcc-go binaries don't run

2017-10-11 Thread steven at uplinklabs dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80914 --- Comment #11 from Steven Noonan --- Weird, I wonder why you can't repro it. I built with this to get a stack trace (I assume -O and -ggdb work properly when placed here): $ go.gcc test -o testbin -gccgoflags '-O0 -ggdb3 -Wl,--compress-debug-

[Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961

2017-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159 --- Comment #14 from Jakub Jelinek --- Created attachment 42340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42340&action=edit gcc8-pr82159.patch Untested fix for that.

[Bug c/81404] suggested hints for standard C macros should avoid GCC predefined macros

2017-10-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug go/80914] gcc-go binaries don't run

2017-10-11 Thread steven at uplinklabs dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80914 --- Comment #12 from Steven Noonan --- Oh this is kind of interesting. It runs fine at '-O1 -ggdb3' $ go.gcc test -o testbin -gccgoflags '-O1 -ggdb3 -Wl,--compress-debug-sections=zlib' OK: 136 passed PASS ok github.com/twstrike/ed448

[Bug c/81404] suggested hints for standard C macros should avoid GCC predefined macros

2017-10-11 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404 --- Comment #2 from Andreas Schwab --- Probably all reserved identifiers should be discuraged for fixit hints.

[Bug c/82435] new __attribute__((alias)) warning gets in the way

2017-10-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82435 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug target/82498] Missed optimization for x86 rotate instruction

2017-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/69576] tailcall could use a conditional branch on x86, but doesn't

2017-10-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69576 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment #

[Bug target/82516] Optimize jmp chain

2017-10-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82516 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/69576] tailcall could use a conditional branch on x86, but doesn't

2017-10-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69576 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/82520] New: Missing warning when stack addresses escape the current scope

2017-10-11 Thread ajax at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82520 Bug ID: 82520 Summary: Missing warning when stack addresses escape the current scope Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/82481] dangling reference in mutex:693

2017-10-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82481 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|ASSIGNED Last reconfirmed|

[Bug c/81404] suggested hints for standard C macros should avoid GCC predefined macros

2017-10-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404 --- Comment #3 from Martin Sebor --- Agreed with comment #2 for reserved symbols that have non-reserved counterparts (such as INT_MAX). (If the set of non-reserved symbols changes depending on options, e.g., with -std=c11 vs earlier modes, it wo

[Bug c/82520] Missing warning when stack addresses escape the current scope

2017-10-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82520 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug target/82498] Missed optimization for x86 rotate instruction

2017-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498 --- Comment #3 from Jakub Jelinek --- Not to mention that the #c0 code has undefined behavior if rot is not 0, but a multiple of 8 * sizeof(uint32_t), like 32, 64, ... If you insisted on the rot == 0 check it would need to be done after the the r

[Bug target/82498] Missed optimization for x86 rotate instruction

2017-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498 --- Comment #4 from Jakub Jelinek --- Two further cases: unsigned f10 (unsigned x, unsigned char y) { y %= __CHAR_BIT__ * __SIZEOF_INT__; return (x << y) | (x >> (-y & ((__CHAR_BIT__ * __SIZEOF_INT__) - 1))); } unsigned f11 (unsigned x, unsi

[Bug tree-optimization/80155] [7/8 regression] Performance regression with code hoisting enabled

2017-10-11 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80155 --- Comment #33 from prathamesh3492 at gcc dot gnu.org --- Created attachment 42341 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42341&action=edit Test-case to reproduce regression with cortex-m7 I have attached an artificial test-case th

[Bug c/7356] syntax errors immediately before an #include are reported for within the included file

2017-10-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7356 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c/7356] syntax errors immediately before an #include are reported for within the included file

2017-10-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7356 --- Comment #7 from David Malcolm --- (In reply to David Malcolm from comment #6) > Candidate patch: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82013 Oops; wrong link; correct link is: https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00697.h

[Bug sanitizer/82353] [8 Regression] runtime ubsan crash

2017-10-11 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353 --- Comment #6 from Vladimir Makarov --- Author: vmakarov Date: Wed Oct 11 19:35:48 2017 New Revision: 253656 URL: https://gcc.gnu.org/viewcvs?rev=253656&root=gcc&view=rev Log: 2017-10-11 Vladimir Makarov PR sanitizer/82353 *

[Bug c++/82521] New: No -Wtype-limits warning when using templates

2017-10-11 Thread enrique.fernandez.perdomo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82521 Bug ID: 82521 Summary: No -Wtype-limits warning when using templates Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/81422] [aarch64] internal compiler error: in update_equiv_regs, at ira.c:3425

2017-10-11 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81422 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Oct 11 19:43:54 2017 New Revision: 253657 URL: https://gcc.gnu.org/viewcvs?rev=253657&root=gcc&view=rev Log: /gcc 2017-10-11 Qing Zhao PR target/81422 *

[Bug target/81422] [aarch64] internal compiler error: in update_equiv_regs, at ira.c:3425

2017-10-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81422 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|ibuclaw at g

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-10-11 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 --- Comment #6 from Bernd Edlinger --- I wonder why this condition on the warning is symmetrical: (!FUNC_OR_METHOD_TYPE_P (t2) || (prototype_p (t1) && prototype_p (t2) && !types_compatible_p (t1, t2 I mean if you have

[Bug c++/80194] [5 Regression] ICE with local constant referenced by a lambda expression

2017-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80194 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Wed Oct 11 20:49:46 2017 New Revision: 253658 URL: https://gcc.gnu.org/viewcvs?rev=253658&root=gcc&view=rev Log: PR c++/80194 * g++.dg/cpp1y/pr80194.C: New test. Added:

[Bug c++/78523] [5 Regression] ICE on valid lambda code with implicit capture

2017-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78523 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Oct 11 20:50:07 2017 New Revision: 253659 URL: https://gcc.gnu.org/viewcvs?rev=253659&root=gcc&view=rev Log: PR c++/78523 * g++.dg/cpp1y/pr78523.C: New test. Added:

[Bug c++/82414] [5 Regression] Issue with ODR/LTO in G++

2017-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82414 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Wed Oct 11 20:50:27 2017 New Revision: 253660 URL: https://gcc.gnu.org/viewcvs?rev=253660&root=gcc&view=rev Log: PR c++/82414 * g++.dg/lto/pr82414_0.C: New test. Added:

[Bug tree-optimization/78558] [5 Regression] Incorrect loop optimization leads to crash

2017-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78558 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Oct 11 20:50:46 2017 New Revision: 253661 URL: https://gcc.gnu.org/viewcvs?rev=253661&root=gcc&view=rev Log: PR tree-optimization/78558 * gcc.dg/vect/pr78558.c: New te

[Bug middle-end/80421] [5 Regression] Case dispatch is scrambled in switch-statement

2017-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80421 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Wed Oct 11 20:51:08 2017 New Revision: 253662 URL: https://gcc.gnu.org/viewcvs?rev=253662&root=gcc&view=rev Log: PR middle-end/80421 * gcc.c-torture/execute/pr80421.c: New

[Bug c++/82522] New: std::map::insert(value_type &&) not selected

2017-10-11 Thread jengelh at inai dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522 Bug ID: 82522 Summary: std::map::insert(value_type &&) not selected Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/82323] circular ifunc attribute on a function definition silently accepted

2017-10-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323 --- Comment #7 from Martin Sebor --- (In reply to Bernd Edlinger from comment #6) Sounds reasonable. I put the following example together to illustrate an incompatible alias declaration that should be diagnosed but isn't. char* f (void) __at

[Bug libstdc++/82522] std::map::insert(value_type &&) not selected

2017-10-11 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522 Paolo Carlini changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #1 from Paolo Carl

[Bug libstdc++/82522] std::map::insert(value_type &&) not selected

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

[Bug libstdc++/82522] std::map::insert(value_type &&) not selected

2017-10-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522 --- Comment #3 from Jonathan Wakely --- It was added by http://wg21.link/lwg2354 and we don't implement that yet.

[Bug target/82498] Missed optimization for x86 rotate instruction

2017-10-11 Thread lloyd at randombit dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498 --- Comment #5 from Jack Lloyd --- Jakub thank you very much for your comments, this was helpful for me in getting consistent rol/ror generation. Speaking as a user it's frustrating that Clang and GCC don't just have a builtin for rotations like

[Bug rtl-optimization/81434] AArch64 instruction fusing and pipeline scheduling problem

2017-10-11 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81434 Jim Wilson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ada/82523] New: test

2017-10-11 Thread bugzila at zhorachu dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82523 Bug ID: 82523 Summary: test Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc

[Bug c++/82524] New: expensive-optimizations produces wrong results

2017-10-11 Thread Vasilis.Vlachoudis at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524 Bug ID: 82524 Summary: expensive-optimizations produces wrong results Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug middle-end/82524] expensive-optimizations produces wrong results

2017-10-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524 --- Comment #1 from Andrew Pinski --- Most likely this is the bswap optimization gone wrong. There has been fixes to that pass since September too.

<    1   2