[Bug c++/82790] New: [GCC 5, 6, 7] -Wuseless-cast doesn't detect unnecessary removal of const

2017-10-31 Thread eugene.zelenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82790 Bug ID: 82790 Summary: [GCC 5, 6, 7] -Wuseless-cast doesn't detect unnecessary removal of const Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)

2017-10-31 Thread brycm001 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82737 --- Comment #14 from Matti Bryce --- (In reply to Martin Liška from comment #12) > (In reply to Matti Bryce from comment #7) > > (In reply to Martin Liška from comment #5) > > > Confirmed with cross compiler, I reduce a test-case. > > > > I've

[Bug c/79696] missing -Wunused-result on calls to malloc() and calloc()

2017-10-31 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79696 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|2017-07-31

[Bug other/82590] auto-host.h error: declaration does not declare anything

2017-10-31 Thread bastl at eclipso dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82590 --- Comment #1 from bastl --- Compiling gcc-7.2.0 with gcc-7.2.0 works fine. What I did on this error and the other errors followed: comment out the definitions cousing the errors like: 1.) gcc/system.h:496:14: error: ambiguating new

[Bug target/82002] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13233

2017-10-31 Thread dansan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82002 --- Comment #9 from dansan at gcc dot gnu.org --- Author: dansan Date: Tue Oct 31 21:48:55 2017 New Revision: 254284 URL: https://gcc.gnu.org/viewcvs?rev=254284=gcc=rev Log: PR target/82002 Part 1: Correct ICE caused by wrong calculation gcc:

[Bug c++/81702] [7/8 Regression] ICE in gimple_get_virt_method_for_vtable

2017-10-31 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81702 Martin Jambor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/81702] [7/8 Regression] ICE in gimple_get_virt_method_for_vtable

2017-10-31 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81702 --- Comment #9 from Martin Jambor --- Author: jamborm Date: Tue Oct 31 21:36:51 2017 New Revision: 254283 URL: https://gcc.gnu.org/viewcvs?rev=254283=gcc=rev Log: [PR 81702] Remove devirtualization assert 2017-10-31 Martin Jambor

[Bug libgcc/82635] std::thread's join broken on FreeBSD with all GCCs >= 5

2017-10-31 Thread andreast at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635 --- Comment #12 from Andreas Tobler --- Will soon commit a fix, for gcc6/7/8 on FreeBSD > 9.3. Older gcc's and OS releases will not be supported by this fix.

[Bug target/82333] [8 Regression] powerpc64le _Float128 ICE in as_a, at machmode.h:345

2017-10-31 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82333 --- Comment #1 from Michael Meissner --- This occurs because both fld and ff128 return the same constant (0), one using it as a long double and the other as a _Float128. Having a 0 constant is not important. If we return 1 in both functions,

[Bug c++/82789] Invalid code generated for std::array element-wise processing with -O3

2017-10-31 Thread nazarenkoal at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82789 --- Comment #1 from Alexander Nazarenko --- (In reply to Alexander Nazarenko from comment #0) Minor correction: In code must be: template A l_and_r( A const l, A const r )

[Bug c++/82789] New: Invalid code generated for std::array element-wise processing with -O3

2017-10-31 Thread nazarenkoal at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82789 Bug ID: 82789 Summary: Invalid code generated for std::array element-wise processing with -O3 Product: gcc Version: lto Status: UNCONFIRMED Severity: normal

[Bug libstdc++/70129] [6 Regression] stdlib.h: No such file or directory when using -isystem /usr/include

2017-10-31 Thread chuck at ece dot cmu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 --- Comment #5 from chuck cranor --- I don't think anyone would manually add "-isystem /usr/include" ... but build systems that provide variables for third party headers that may or may not be installed in /usr/include often trigger this. e.g.

[Bug tree-optimization/82788] New: wrong code with -fstack-clash-protection --param=stack-clash-protection-probe-interval=10 on simple code

2017-10-31 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82788 Bug ID: 82788 Summary: wrong code with -fstack-clash-protection --param=stack-clash-protection-probe-interval=10 on simple code Product: gcc Version: 8.0

[Bug middle-end/82658] Suboptimal codegen on AVR when right-shifting 8-bit unsigned integers.

2017-10-31 Thread mike.k at digitalcarbide dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82658 --- Comment #2 from mike.k at digitalcarbide dot com --- I wanted to validate if this issue was presenting in the toolchains for other architectures, so I tested a bit: GCC 7.2.0 on x86-64 (-O3): C: movzx eax, BYTE PTR [rsp-1] shr al mov

[Bug libstdc++/70129] [6 Regression] stdlib.h: No such file or directory when using -isystem /usr/include

2017-10-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 --- Comment #4 from Jonathan Wakely --- Why do you need to use either option? /usr/include is already a system include dir, so -isystem /usr/include serves no useful purpose.

[Bug libstdc++/70129] [6 Regression] stdlib.h: No such file or directory when using -isystem /usr/include

2017-10-31 Thread chuck at ece dot cmu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 chuck cranor changed: What|Removed |Added CC||chuck at ece dot cmu.edu --- Comment #3

[Bug rtl-optimization/81803] [7/8 regression] miscompilation at -O1 on mips64el

2017-10-31 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803 --- Comment #19 from Eric Botcazou --- Author: ebotcazou Date: Tue Oct 31 18:27:52 2017 New Revision: 254275 URL: https://gcc.gnu.org/viewcvs?rev=254275=gcc=rev Log: PR rtl-optimization/81803 * lra-constraints.c

[Bug target/68192] AIX libstdc++ TLS symbols not exported

2017-10-31 Thread brian at groose dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68192 --- Comment #7 from Brian Groose --- It turns out I was using binutils' nm when building gcc. I rebuilt gcc making sure that only the AIX nm was available, and ld can now find the symbols.

[Bug c/82787] New: gnu gcc (4.8 - 7.1) cannot parse some system headers in macOS (10.13)

2017-10-31 Thread drikosev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82787 Bug ID: 82787 Summary: gnu gcc (4.8 - 7.1) cannot parse some system headers in macOS (10.13) Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal

[Bug ada/82785] [8 Regression] gnat bootstrap fails on m68k-linux-gnu

2017-10-31 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82785 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ada/82785] [8 Regression] gnat bootstrap fails on m68k-linux-gnu

2017-10-31 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82785 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Tue Oct 31 17:29:26 2017 New Revision: 254274 URL: https://gcc.gnu.org/viewcvs?rev=254274=gcc=rev Log: PR ada/82785 * gcc-interface/Makefile.in (m68k/Linux): Fix

[Bug c++/82247] [concepts] Name deduction in concepts fails depending on the argument type

2017-10-31 Thread mjklaim at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82247 --- Comment #5 from Joël Lamotte --- I'll have to recheck when I have access to a proper computer, but that indeed would explain this(weird) behavior. My understanding was that for basic types, ADL would still work using global namespace, which

[Bug sanitizer/64234] Statically sanitized executable does not export ASan symbols

2017-10-31 Thread ygribov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64234 Yury Gribov changed: What|Removed |Added CC||ygribov at gcc dot gnu.org --- Comment #5

[Bug ada/82785] [8 Regression] gnat bootstrap fails on m68k-linux-gnu

2017-10-31 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82785 --- Comment #2 from John Paul Adrian Glaubitz --- Thanks Matthias for reporting the issue and thanks Eric for working on it!

[Bug ada/82785] [8 Regression] gnat bootstrap fails on m68k-linux-gnu

2017-10-31 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82785 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/78829] bit-rotten "C99 mode" references in GCC manual

2017-10-31 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78829 --- Comment #4 from joseph at codesourcery dot com --- _Alignof is alignment requirement (in all contexts), __alignof__ is preferred alignment (so on 32-bit x86, for long long they are 4 and 8 respectively, because a long long in a structure

[Bug libstdc++/82777] incorrect result of std::filesystem::path::lexically_normal

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

[Bug target/82786] New: aarch64 frame patch caused a number of target specific test failures.

2017-10-31 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82786 Bug ID: 82786 Summary: aarch64 frame patch caused a number of target specific test failures. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug ada/82785] New: [8 Regression] gnat bootstrap fails on m68k-linux-gnu

2017-10-31 Thread doko at gcc dot gnu.org
Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with trunk 20171031: a-dispat.adb:33:06: "System.Linux" is not a predefined library unit a-dispat.adb:33:06: "Ada.Dispatching (body)" depends on &

[Bug driver/82754] -m32 -B doesn't work with crtn.o

2017-10-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82754 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/82784] Remove semicolon after "do {} while (0)" macros

2017-10-31 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784 --- Comment #4 from Tom de Vries --- Created attachment 42506 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42506=edit More minimal asan.c patch

[Bug other/82784] Remove semicolon after "do {} while (0)" macros

2017-10-31 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784 --- Comment #3 from Tom de Vries --- Created attachment 42505 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42505=edit asan.c patch

[Bug c++/82247] [concepts] Name deduction in concepts fails depending on the argument type

2017-10-31 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82247 Casey Carter changed: What|Removed |Added CC||Casey at Carter dot net --- Comment #4

[Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6

2017-10-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702 --- Comment #8 from Martin Liška --- > We are not using directly lcov, but a replacement we rewrote in Rust. > We can easily support reading from multiple gcov files instead of one > (actually, we already support it when llvm is used, since it

[Bug other/82784] Remove semicolon after "do {} while (0)" macros

2017-10-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784 --- Comment #2 from Jonathan Wakely --- So the way it's used is correct ... but why bother with the do {...} while(0) in that case? It could just use {...} instead.

[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

2017-10-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614 --- Comment #9 from Martin Liška --- (In reply to Marco Castelluccio from comment #8) > Created attachment 42462 [details] > Archive with GCNO and GCDA file generated with GCC 6 > > This is an archive containing the GCNO and GCDA files

[Bug other/82784] Remove semicolon after "do {} while (0)" macros

2017-10-31 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784 --- Comment #1 from Andrew Pinski --- Some of these makes sense. gcc/asan.c makes sense: #define DEF_SANITIZER_BUILTIN(ENUM, NAME, TYPE, ATTRS) \ do { \ decl =

[Bug c++/82085] [6 Regression] ICE: Template variable reference used in nested template alias

2017-10-31 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085 --- Comment #13 from Paolo Carlini --- Thanks!

[Bug other/82784] New: Remove semicolon after "do {} while (0)" macros

2017-10-31 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784 Bug ID: 82784 Summary: Remove semicolon after "do {} while (0)" macros Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug hsa/82771] FAIL: brig.dg/test/gimple/packed.hsail (internal compiler error)

2017-10-31 Thread visit0r at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82771 --- Comment #1 from visit0r at gcc dot gnu.org --- Author: visit0r Date: Tue Oct 31 13:00:53 2017 New Revision: 254265 URL: https://gcc.gnu.org/viewcvs?rev=254265=gcc=rev Log: [BRIGFE] Fix PR 82771. Modified: trunk/gcc/brig/ChangeLog

[Bug debug/82769] [8 regression] gcc.dg/guality/pr68037-1.c multiple fails

2017-10-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82769 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/81570] create_pseudo_cfg assumes that INCOMING_FRAME_SP_OFFSET is a constant

2017-10-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81570 H.J. Lu changed: What|Removed |Added CC||andrey.y.guskov at intel dot com --- Comment

[Bug c++/82781] [6/7/8 Regression] Vector extension operators return wrong result in constexpr

2017-10-31 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82781 Marc Glisse changed: What|Removed |Added Known to work||5.4.0 Target Milestone|---

[Bug c++/81716] Bogus -Wlto warning with forward-declared pointers

2017-10-31 Thread sgunderson at bigfoot dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81716 --- Comment #2 from sgunderson at bigfoot dot com --- Still there in: gcc version 8.0.0 20171017 (experimental) [trunk revision 253812] (Debian 20171017-1)

[Bug c++/82781] Vector extension operators return wrong result in constexpr

2017-10-31 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82781 Marc Glisse changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRMED

[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)

2017-10-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82737 --- Comment #13 from Jonathan Wakely --- (In reply to Matti Bryce from comment #0) > My .i file is (far) too big to be uploaded directly Not if you compress it with zip, gzip, bzip2 or something similar. (In reply to Matti Bryce from comment

[Bug tree-optimization/82776] Unable to optimize the loop when iteration count is unavailable.

2017-10-31 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82776 --- Comment #7 from amker at gcc dot gnu.org --- Testing a patch.

[Bug gcov-profile/82633] Document GCOV and function removal (-fkeep-inline-functions, -fkeep-static-functions)

2017-10-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633 Martin Liška changed: What|Removed |Added Known to work||8.0 Known to fail|

[Bug gcov-profile/82633] Document GCOV and function removal (-fkeep-inline-functions, -fkeep-static-functions)

2017-10-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633 --- Comment #10 from Martin Liška --- Author: marxin Date: Tue Oct 31 11:55:19 2017 New Revision: 254257 URL: https://gcc.gnu.org/viewcvs?rev=254257=gcc=rev Log: GCOV: document behavior of -fkeep-{static,inline}-functions (PR

[Bug fortran/82783] New: gfotran ICEs when compiling polymorphic function call

2017-10-31 Thread aluaces at udc dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82783 Bug ID: 82783 Summary: gfotran ICEs when compiling polymorphic function call Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765

2017-10-31 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694 --- Comment #10 from amker at gcc dot gnu.org --- (In reply to amker from comment #9) > (In reply to Markus Trippelsdorf from comment #8) > > I think -fno-strict-overflow/-fwrapv should use the old behavior. > > The kernel really needs a flag to

[Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765

2017-10-31 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694 --- Comment #9 from amker at gcc dot gnu.org --- (In reply to Markus Trippelsdorf from comment #8) > I think -fno-strict-overflow/-fwrapv should use the old behavior. > The kernel really needs a flag to control pointer wrapping. Well, GCC

[Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765

2017-10-31 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694 --- Comment #8 from Markus Trippelsdorf --- I think -fno-strict-overflow/-fwrapv should use the old behavior. The kernel really needs a flag to control pointer wrapping.

[Bug tree-optimization/82776] Unable to optimize the loop when iteration count is unavailable.

2017-10-31 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82776 --- Comment #6 from amker at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #5) > (In reply to amker from comment #4) > > Well, one decision needs to be made is whether such bound information should > > be covered by

[Bug tree-optimization/82776] Unable to optimize the loop when iteration count is unavailable.

2017-10-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82776 --- Comment #5 from Jakub Jelinek --- (In reply to amker from comment #4) > Well, one decision needs to be made is whether such bound information should > be covered by -faggressive-loop-optimizations. We already did this for > undefined

[Bug target/82772] GCC crashes as compiling ags_thread.c source file on alpha architecture

2017-10-31 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82772 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)

2017-10-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82737 --- Comment #12 from Martin Liška --- (In reply to Matti Bryce from comment #7) > (In reply to Martin Liška from comment #5) > > Confirmed with cross compiler, I reduce a test-case. > > I've attempted to reduce a test case, but after 2 days of

[Bug tree-optimization/82776] Unable to optimize the loop when iteration count is unavailable.

2017-10-31 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82776 --- Comment #4 from amker at gcc dot gnu.org --- Well, one decision needs to be made is whether such bound information should be covered by -faggressive-loop-optimizations. We already did this for undefined behavior of sign type and array bound.

[Bug target/82772] GCC crashes as compiling ags_thread.c source file on alpha architecture

2017-10-31 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82772 --- Comment #8 from uros at gcc dot gnu.org --- Author: uros Date: Tue Oct 31 10:36:33 2017 New Revision: 254255 URL: https://gcc.gnu.org/viewcvs?rev=254255=gcc=rev Log: PR target/82772 * config/alpha/sync.md (fetchop_constr) :

[Bug c++/82782] New: ICE: nested template alias and specialized template with auto template parameter

2017-10-31 Thread rbock at eudoxos dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82782 Bug ID: 82782 Summary: ICE: nested template alias and specialized template with auto template parameter Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)

2017-10-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82737 --- Comment #11 from Martin Liška --- Created attachment 42503 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42503=edit Slightly reduced test-case With following test-case, I see ICE with following cross-compiler: ../configure

[Bug c++/82085] [6 Regression] ICE: Template variable reference used in nested template alias

2017-10-31 Thread rbock at eudoxos dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085 --- Comment #12 from Roland B --- Done, reported as bug 82782. Thanks for your help!

[Bug target/82772] GCC crashes as compiling ags_thread.c source file on alpha architecture

2017-10-31 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82772 --- Comment #7 from uros at gcc dot gnu.org --- Author: uros Date: Tue Oct 31 10:34:55 2017 New Revision: 254254 URL: https://gcc.gnu.org/viewcvs?rev=254254=gcc=rev Log: PR target/82772 * config/alpha/sync.md (fetchop_constr) :

[Bug target/82772] GCC crashes as compiling ags_thread.c source file on alpha architecture

2017-10-31 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82772 --- Comment #6 from uros at gcc dot gnu.org --- Author: uros Date: Tue Oct 31 10:33:12 2017 New Revision: 254253 URL: https://gcc.gnu.org/viewcvs?rev=254253=gcc=rev Log: PR target/82772 * config/alpha/sync.md (fetchop_constr) :

[Bug target/82641] Unable to enable crc32 for a certain function with target attribute on ARM (aarch32)

2017-10-31 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82641 Tamar Christina changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/82776] Unable to optimize the loop when iteration count is unavailable.

2017-10-31 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82776 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org ---

[Bug c/78829] bit-rotten "C99 mode" references in GCC manual

2017-10-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78829 --- Comment #3 from Jonathan Wakely --- https://gcc.gnu.org/onlinedocs/gcc/Alignment.html should discuss the relationship between GCC's __alignof__ and C11's _Alignof. Are they identical? Should _Alignof be preferred when using C11? It could

[Bug target/82772] GCC crashes as compiling ags_thread.c source file on alpha architecture

2017-10-31 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82772 --- Comment #5 from Uroš Bizjak --- (In reply to Joël Krähemann from comment #4) > Hi, > Yesterday I was trying to set up an alpha VM. Since I didn't build it I > don't have access to the preprocessed source. > > As doing a qemu image with

[Bug target/82641] Unable to enable crc32 for a certain function with target attribute on ARM (aarch32)

2017-10-31 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82641 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82674] ICE with -fstack-clash-protection

2017-10-31 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82674 --- Comment #8 from Segher Boessenkool --- Author: segher Date: Tue Oct 31 09:49:40 2017 New Revision: 254252 URL: https://gcc.gnu.org/viewcvs?rev=254252=gcc=rev Log: Subject: [PATCH] rs6000: Fix crash with big stack clash interval (PR82674)

[Bug c++/82781] New: Vector extension operators return wrong result in constexpr

2017-10-31 Thread florent.hivert at lri dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82781 Bug ID: 82781 Summary: Vector extension operators return wrong result in constexpr Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal

[Bug c++/82780] [8 Regression] ICE on compiling Boost

2017-10-31 Thread sgunderson at bigfoot dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82780 --- Comment #1 from sgunderson at bigfoot dot com --- Here's a version that's valid C++: class a { }; template class c { c(c &) : a(static_cast (e.d)) {} a d; };

[Bug c++/82360] [8 Regression] tree check fail in get_inner_reference, at expr.c:6996

2017-10-31 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82360 Markus Trippelsdorf changed: What|Removed |Added CC||sgunderson at bigfoot dot com ---

[Bug c++/82780] [8 Regression] ICE on compiling Boost

2017-10-31 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82780 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/82780] New: [8 Regression] ICE on compiling Boost

2017-10-31 Thread sgunderson at bigfoot dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82780 Bug ID: 82780 Summary: [8 Regression] ICE on compiling Boost Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/82085] [6 Regression] ICE: Template variable reference used in nested template alias

2017-10-31 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085 --- Comment #11 from Paolo Carlini --- Just to clarify why I think a separate bug report is more appropriate: if I revert the small change I committed for this bug, the new testcase does *not* trigger the ICE fixed here.

[Bug c++/82085] [6 Regression] ICE: Template variable reference used in nested template alias

2017-10-31 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085 --- Comment #10 from Paolo Carlini --- Yes, please, open a new bug, it's a different issue.

[Bug fortran/82567] [6/7/8] gfortran takes a long time to compile a simple implied-do with -Optimization.

2017-10-31 Thread chinoune.mehdi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82567 --- Comment #7 from Chinoune --- Fixed

[Bug target/82772] GCC crashes as compiling ags_thread.c source file on alpha architecture

2017-10-31 Thread jkraehemann at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82772 --- Comment #4 from Joël Krähemann --- Hi, Yesterday I was trying to set up an alpha VM. Since I didn't build it I don't have access to the preprocessed source. As doing a qemu image with debian there were some problems with the kernel. The

[Bug fortran/82567] [6/7/8] gfortran takes a long time to compile a simple implied-do with -Optimization.

2017-10-31 Thread chinoune.mehdi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82567 Chinoune changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug bootstrap/82670] UBSAN bootstrap broken after recent libsanitizer merge

2017-10-31 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82670 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org ---

[Bug sanitizer/82779] [8 regression] On ppc64le bootstrap-ubsan causes "gcc -dumpspecs" segfault

2017-10-31 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82779 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/82778] crash: insn does not satisfy its constraints

2017-10-31 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82778 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||collison at gcc dot gnu.org

[Bug c++/82085] [6 Regression] ICE: Template variable reference used in nested template alias

2017-10-31 Thread rbock at eudoxos dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085 --- Comment #9 from Roland B --- Here is the new minimal example (please let me know if this should go into a new bug report): // - template struct make_char_sequence; template struct

[Bug sanitizer/82779] New: [8 regression] On ppc64le bootstrap-ubsan causes "gcc -dumpspecs" segfault

2017-10-31 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82779 Bug ID: 82779 Summary: [8 regression] On ppc64le bootstrap-ubsan causes "gcc -dumpspecs" segfault Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/82778] crash: insn does not satisfy its constraints

2017-10-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82778 --- Comment #2 from Jakub Jelinek --- Created attachment 42502 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42502=edit gcc8-pr82778.patch The following untested patch ought to fix it. recog_memoized doesn't handle the important part

[Bug c++/82085] [6 Regression] ICE: Template variable reference used in nested template alias

2017-10-31 Thread rbock at eudoxos dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085 --- Comment #8 from Roland B --- (In reply to Paolo Carlini from comment #7) > Fixed trunk and 7.3.0 so far. Awesome! Sadly, my "real" code still produces an internal compile error. I will try to create a new minimal example. Until then, you

[Bug target/82002] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13233

2017-10-31 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82002 --- Comment #8 from Uroš Bizjak --- *** Bug 82485 has been marked as a duplicate of this bug. ***

[Bug target/82485] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13232

2017-10-31 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82485 Uroš Bizjak changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/82002] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13233

2017-10-31 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82002 --- Comment #7 from Uroš Bizjak --- *** Bug 82712 has been marked as a duplicate of this bug. ***

[Bug target/82712] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:11383

2017-10-31 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82712 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/82778] crash: insn does not satisfy its constraints

2017-10-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82778 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug tree-optimization/82776] Unable to optimize the loop when iteration count is unavailable.

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

[Bug tree-optimization/82776] Unable to optimize the loop when iteration count is unavailable.

2017-10-31 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82776 --- Comment #1 from Marc Glisse --- That could be because gcc sadly refuses to optimize away infinite loops (happens for other cases, and cddce2 dump (the pass that removes the whole thing when the macro is defined) says "can not prove