[Bug c/45780] Warning for arithmetic operations involving C99 _Bool variable

2019-06-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45780 --- Comment #7 from Eric Gallager --- (In reply to Uroš Bizjak from comment #0) > > >> It can be done ultimately, but as a prerequisite, we should have > > >> warnings in -Wextra for all of > > >> > > >> ? boolvar++; ++boolvar; > > >> ?

[Bug fortran/88139] ICE in get_c_type_name, at fortran/dump-parse-tree.c:3047

2019-06-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88139 kargl at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/85780] ICE in resolve_fl_procedure, at fortran/resolve.c:12504

2019-06-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85780 --- Comment #12 from kargl at gcc dot gnu.org --- *** Bug 88139 has been marked as a duplicate of this bug. ***

[Bug target/34484] libgcc should check if feclearexcept (and others) available for BID support on uclibc

2019-06-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34484 --- Comment #15 from Eric Gallager --- (In reply to Bernhard Reutner-Fischer from comment #8) > From FSFChangelog.10: > Mon Feb 12 20:42:11 1996 Randy Smith > Does Randy have a Bugzilla account that could be cc-ed here?

[Bug c/86157] Wmisleading-indentation disabled after a #line directive

2019-06-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86157 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #13 from Zack Weinberg --- Since examples of this error were observed with base 10, I think the warning should cover 10^i for decimal literal i, too. Relatedly, “note: ^ performs exclusive or, not exponentiation” might be a nice

[Bug ada/90889] New: ada: snapshot 20190614 fails to build with LTO

2019-06-14 Thread jason.duerstock at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90889 Bug ID: 90889 Summary: ada: snapshot 20190614 fails to build with LTO Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug middle-end/90888] std::swap bad code gen -- alias analysis insufficient to remove dead store

2019-06-14 Thread david at doublewise dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90888 David Stone changed: What|Removed |Added CC||david at doublewise dot net --- Comment

[Bug fortran/65819] overzealous checking in gfc_check_dependency for identical=true

2019-06-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65819 --- Comment #4 from Dominique d'Humieres --- > Is this PR still a problem? I get no warnings with > > % gfcx -o z -Wall -Wsurprising -Wextra a.f90 You need -Warray-temporaries and it is still present at revision r272311.

[Bug c/88000] Warn when different local vars regs order may produce different and so unsupported code [-Wasm-register-var]

2019-06-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88000 Eric Gallager changed: What|Removed |Added Status|RESOLVED|REOPENED Keywords|

[Bug c++/87403] [Meta-bug] Issues that suggest a new warning

2019-06-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 88000, which changed state. Bug 88000 Summary: Warn when different local vars regs order may produce different and so unsupported code [-Wasm-register-var] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88000

[Bug c++/86501] shadow template parameter

2019-06-14 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86501 Richard Smith changed: What|Removed |Added CC||richard-gccbugzilla@metafoo

[Bug c++/60223] [c++11] ICE with C++11-style default template parameter

2019-06-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60223 --- Comment #5 from Marek Polacek --- Still ICEs: $ ./cc1plus -quiet 60223.C 60223.C: In substitution of ‘template void foo(A) [with T = ]’: 60223.C:7:16: required from here 60223.C:7:16: internal compiler error: in unify, at cp/pt.c:22789

[Bug fortran/65819] overzealous checking in gfc_check_dependency for identical=true

2019-06-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65819 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug middle-end/90888] New: std::swap bad code gen -- alias analysis insufficient to remove dead store

2019-06-14 Thread david at doublewise dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90888 Bug ID: 90888 Summary: std::swap bad code gen -- alias analysis insufficient to remove dead store Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity:

[Bug target/31798] lib1funcs.asm:1000: undefined reference to `raise'

2019-06-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31798 Eric Gallager changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug target/89557] [7/8/9/10 regression] 4*movq to 2*movaps IPC performance regression on znver1 with -Og

2019-06-14 Thread 0xe2.0x9a.0x9b at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89557 --- Comment #9 from Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail dot com> --- (In reply to Richard Biener from comment #5) > Please provide a compilable testcase. Done some time ago. Please change the status of this bug from

[Bug libgomp/57298] GOMP_CPU_AFFINITY will not work when system has >1024 cores

2019-06-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57298 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug middle-end/90577] [9/10 Regression] FAIL: gfortran.dg/lrshift_1.f90 with -O(2|3) and -flto

2019-06-14 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90577 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug fortran/90578] Wrong code with LSHIFT and optimization

2019-06-14 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90578 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/90577] [9/10 Regression] FAIL: gfortran.dg/lrshift_1.f90 with -O(2|3) and -flto

2019-06-14 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90577 --- Comment #5 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Fri Jun 14 18:41:20 2019 New Revision: 272309 URL: https://gcc.gnu.org/viewcvs?rev=272309=gcc=rev Log: 2019-06-14 Harald Anlauf PR fortran/90577 PR

[Bug fortran/90578] Wrong code with LSHIFT and optimization

2019-06-14 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90578 --- Comment #9 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Fri Jun 14 18:41:20 2019 New Revision: 272309 URL: https://gcc.gnu.org/viewcvs?rev=272309=gcc=rev Log: 2019-06-14 Harald Anlauf PR fortran/90577 PR

[Bug fortran/89646] [7/8/9/10 Regression] Spurious actual argument might interfere warning

2019-06-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89646 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug other/90887] New: [10 Regression] r272186 causes -fcompare-debug failure

2019-06-14 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90887 Bug ID: 90887 Summary: [10 Regression] r272186 causes -fcompare-debug failure Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/89646] [7/8/9/10 Regression] Spurious actual argument might interfere warning

2019-06-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89646 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Jun 14 18:17:00 2019 New Revision: 272307 URL: https://gcc.gnu.org/viewcvs?rev=272307=gcc=rev Log: 2019-06-14 Steven G. Kargl PR fortran/89646 *

[Bug middle-end/56888] memcpy implementation optimized as a call to memcpy

2019-06-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug libstdc++/88881] std::filesystem::status gives bad results on mingw32

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1 Jonathan Wakely changed: What|Removed |Added Target Milestone|9.0 |tree-ssa --- Comment #11 from

[Bug libstdc++/90252] PSTL test failures

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90252 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/88881] std::filesystem::status gives bad results on mingw32

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Fri Jun 14 18:11:22 2019 New Revision: 272304 URL: https://gcc.gnu.org/viewcvs?rev=272304=gcc=rev Log: PR libstdc++/1 fix filesystem::symlink_status for Windows The fix for PR

[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Fri Jun 14 18:10:57 2019 New Revision: 272299 URL: https://gcc.gnu.org/viewcvs?rev=272299=gcc=rev Log: PR libstdc++/90770 fix missing src/debug/Makefile Backport from mainline

[Bug libstdc++/90252] PSTL test failures

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90252 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Fri Jun 14 18:10:52 2019 New Revision: 272298 URL: https://gcc.gnu.org/viewcvs?rev=272298=gcc=rev Log: PR libstdc++/90252 Check TBB version and ability to link with -ltbb Backport from

[Bug rtl-optimization/25609] too agressive printf optimization

2019-06-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25609 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #12 from Jonathan Wakely --- (In reply to David Malcolm from comment #11) > Warning for "2 ^ INT" seems reasonable, maybe just for that (I think I agree > with comment #6). > > Not sure what to call it: "-Wexclusive-or"??? I

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #11 from David Malcolm --- Warning for "2 ^ INT" seems reasonable, maybe just for that (I think I agree with comment #6). Not sure what to call it: "-Wexclusive-or"??? I think we'd want to *not* warn if either of the operands are

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #10 from Jonathan Wakely --- (In reply to Eric Gallager from comment #9) > * the "not from the expansion of ’s xor macro" criterion I can see > possibly being a difficulty, due to how many other bugs there are about > gcc's handling

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/90765] preferred_stack_boundary is updated for callee

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

[Bug target/90877] Dead codes in ix86_register_move_cost

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

[Bug rtl-optimization/90765] preferred_stack_boundary is updated for callee

2019-06-14 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90765 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Jun 14 16:24:56 2019 New Revision: 272296 URL: https://gcc.gnu.org/viewcvs?rev=272296=gcc=rev Log: Update preferred_stack_boundary only when expanding function call

[Bug target/90878] [8/9/10 Regression] integer -> SSE register move isn't generated

2019-06-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90878 --- Comment #6 from H.J. Lu --- We have -- Target Hook: bool TARGET_RTX_COSTS (rtx X, machine_mode MODE, int OUTER_CODE, int OPNO, int *TOTAL, bool SPEED) This target hook describes the relative costs of RTL expressions.

[Bug middle-end/90779] Fortran array initialization in offload regions

2019-06-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90779 --- Comment #9 from Jakub Jelinek --- Ok, will retest the updated version and commit, defer the rest to you or somebody else familiar with what is done there.

[Bug middle-end/90779] Fortran array initialization in offload regions

2019-06-14 Thread ams at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90779 --- Comment #8 from Andrew Stubbs --- On GCN I get the lto_priv names, but not the globalization. I think that shows what the expected behaviour is, thanks ... I just need to find that magic. That being so, I think I can confirm that your

[Bug target/90877] Dead codes in ix86_register_move_cost

2019-06-14 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90877 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Jun 14 15:41:43 2019 New Revision: 272294 URL: https://gcc.gnu.org/viewcvs?rev=272294=gcc=rev Log: i386: Update SSE <-> integer move costs Since

[Bug middle-end/90779] Fortran array initialization in offload regions

2019-06-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90779 Jakub Jelinek changed: What|Removed |Added CC||amonakov at gcc dot gnu.org,

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #10 from Joe --- probably noticed but code is always "i <" not "i =" as I stated in the previous comments.

[Bug target/90878] [8/9/10 Regression] integer -> SSE register move isn't generated

2019-06-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90878 --- Comment #5 from H.J. Lu --- (In reply to H.J. Lu from comment #1) > If we make integer register store more expensive, this testcase will > regress: > > [hjl@gnu-cfl-1 unroll]$ cat x.i > void > foo (long p2, long *diag, long d, long i) > { >

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #9 from Joe --- Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 Joe changed: What|Removed |Added Version|7.3.0 |7.4.0 --- Comment #8 from Joe --- Here is

[Bug middle-end/90779] Fortran array initialization in offload regions

2019-06-14 Thread ams at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90779 --- Comment #6 from Andrew Stubbs --- There's not observable difference. I don't quite follow what the patch is trying to achieve, but seems like adding the variable to the offload variables does not address the issue here. I've added a hack to

[Bug tree-optimization/90579] [8/9/10 Regression] Huge store forward stall due to vectorizer

2019-06-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90579 --- Comment #6 from H.J. Lu --- After this bug is fixed, we should revisit the workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=24603 to check if it is still necessary.

[Bug c++/68996] Decltype-specifier in declarator-id should not be accepted

2019-06-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68996 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/90884] Option `-Wctor-dtor-privacy' enables warning even for system headers

2019-06-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90884 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/90884] Option `-Wctor-dtor-privacy' enables warning even for system headers

2019-06-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90884 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Fri Jun 14 14:49:57 2019 New Revision: 272291 URL: https://gcc.gnu.org/viewcvs?rev=272291=gcc=rev Log: PR c++/90884 - stray note with -Wctor-dtor-privacy. * class.c

[Bug target/90886] loop/while/for problem

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 Jonathan Wakely changed: What|Removed |Added Status|WAITING |NEW --- Comment #7 from Jonathan

[Bug target/83531] Build broken on macOS 10.13.2

2019-06-14 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531 --- Comment #10 from Iain Sandoe --- (In reply to MCCCS from comment #6) > After reading your comment, I noticed that > there were two things I forgot to mention: > But yes, there's no need to hurry > to fix it. It's existed since > October

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #6 from Joe --- Hmmm... Maybe 7.3.0 isn't supported either.

[Bug middle-end/90779] Fortran array initialization in offload regions

2019-06-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90779 --- Comment #5 from Jakub Jelinek --- (In reply to Andrew Stubbs from comment #4) > The problem is that the variables are added to the offload_var_table but not > exported so that libgomp cannot find the symbol at load time. This causes a >

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 Joe changed: What|Removed |Added Version|5.4.0 |7.3.0 --- Comment #5 from Joe --- Tested with

[Bug target/90886] loop/while/for problem

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #4 from Jonathan Wakely --- GCC 5.4 is no longer maintained or supported by the GCC project.

[Bug target/87281] qsort checking ICE in ia64_reorg building libgo

2019-06-14 Thread jason.duerstock at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87281 --- Comment #8 from Jason Duerstock --- (In reply to Joseph S. Myers from comment #0) > Building an all-languages cross compiler for ia64-linux-gnu, trunk r264193, > I see the following ICE building libgo > bytes.go:211:1: internal compiler

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #3 from Joe --- Changing i to 127 produces following assembly... volatile unsigned char x; int main() { while (1) { for (unsigned char i = 0 ; i < 127 ; i++) { x = i; } } } 0090 : 90: 80 e0 ldi

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2019-06-14 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 --- Comment #5 from rguenther at suse dot de --- On June 14, 2019 2:27:22 PM GMT+02:00, "jamborm at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 > >--- Comment #4 from Martin Jambor --- >(In reply to Richard

[Bug target/90886] loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 --- Comment #2 from Joe --- Using built-in specs. Reading specs from /usr/lib/gcc/avr/5.4.0/device-specs/specs-avr2 COLLECT_GCC=avr-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/avr/5.4.0/lto-wrapper Target: avr Configured with: ../gcc/configure -v

[Bug middle-end/64242] Longjmp expansion incorrect

2019-06-14 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64242 --- Comment #27 from Wilco --- (In reply to dave.anglin from comment #26) > On 2019-06-10 9:51 a.m., wilco at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64242 > > > > --- Comment #25 from Wilco --- > > I believe

[Bug target/90886] loop/while/for problem

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 Jonathan Wakely changed: What|Removed |Added Target||avr-*-*

[Bug middle-end/90779] Fortran array initialization in offload regions

2019-06-14 Thread ams at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90779 --- Comment #4 from Andrew Stubbs --- The problem is that the variables are added to the offload_var_table but not exported so that libgomp cannot find the symbol at load time. This causes a fatal error in a mutex-locked section, which causes

[Bug c++/90886] New: loop/while/for problem

2019-06-14 Thread joe at freakyacres dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886 Bug ID: 90886 Summary: loop/while/for problem Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/85552] Adding curly braces to the declaration of a std::unique_ptr to a forward declared class breaks compilation

2019-06-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85552 --- Comment #5 from Jason Merrill --- Author: jason Date: Fri Jun 14 13:22:33 2019 New Revision: 272287 URL: https://gcc.gnu.org/viewcvs?rev=272287=gcc=rev Log: PR c++/85552 - wrong instantiation of dtor for DMI. The problem here is

[Bug c++/90875] warnings about switch values outside range don't have associated option

2019-06-14 Thread mbelivea at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90875 Matthew Beliveau changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/89325] [7/8/9/10 Regression] False warnings about "optimization attribute" on operators when -fno-ipa-cp-clone

2019-06-14 Thread chtz at informatik dot uni-bremen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325 Christoph Hertzberg changed: What|Removed |Added CC||chtz at informatik dot

[Bug c++/90881] -Wunused-value false positive in SFINAE context

2019-06-14 Thread federico.kircheis at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90881 --- Comment #6 from Federico Kircheis --- > With my patch, we wouldn't warn on this second testcase. But clang++ > doesn't warn, either. Yes, I just wanted to point out that giving warning in unevaluated contexts has some benefits too. I

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2019-06-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 --- Comment #4 from Martin Jambor --- (In reply to Richard Biener from comment #3) > ...I also wonder why SRA does not elide the aggregate copy. SRA has a special condition not to attempt to totally scalarize array of chars, so that it does not

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2019-06-14 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 --- Comment #7 from Iain Sandoe --- (In reply to John Marshall from comment #6) > > let's not speculate ... could you (and/or Rainer) try this (untested) patch > > and > > see how far it gets you? > > Fails in approximately the same place as

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2019-06-14 Thread John.W.Marshall at glasgow dot ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 --- Comment #6 from John Marshall --- > let's not speculate ... could you (and/or Rainer) try this (untested) patch > and > see how far it gets you? Fails in approximately the same place as without: ../../gcc/configure --disable-nls

[Bug target/90834] Header and startup objects not found on macOS 10.15

2019-06-14 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90834 --- Comment #11 from Iain Sandoe --- (In reply to Iain Sandoe from comment #10) > (In reply to John Marshall from comment #9) > > This has an unfortunate side-effect that the compiler looks in the > > non-existent

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #8 from Jonathan Wakely --- The right heuristic for the warning isn't entirely obvious though. I think it should only warn when both operands are integer literals. Should all kinds of integer literals be treated equally? Is 0x11 ^

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread yann at droneaud dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #7 from Yann Droneaud --- The issue was noted on twitter by John Regehr, in https://twitter.com/johnregehr/status/1139295920997068800 and following messages. The warning was suggest again by John Regehr in

[Bug target/87281] qsort checking ICE in ia64_reorg building libgo

2019-06-14 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87281 --- Comment #7 from Eric Botcazou --- > I don't understand how that applies in the context of Joseph's > build-many-glibcs.py script. This PR is about a compiler issue so I presume that build-many-glibcs.py tests the compiler at some point? If

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #6 from Jonathan Wakely --- There's nothing wrong about implicit fallthrough, misleading indentation, ambiguous else, or missing parentheses in nested logic expressions either. But people get it wrong all the time. I can't see a

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #5 from Richard Biener --- Maybe we should accept 2**32 as extension ;)

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 Richard Biener changed: What|Removed |Added Severity|normal |enhancement --- Comment #4 from

[Bug c++/90884] Option `-Wctor-dtor-privacy' enables warning even for system headers

2019-06-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90884 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/90881] -Wunused-value false positive in SFINAE context

2019-06-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90881 --- Comment #5 from Marek Polacek --- (In reply to Federico Kircheis from comment #4) > (In reply to Jonathan Wakely from comment #1) > > Confirmed. We shouldn't give that warning in unevaluated contexts (decltype, > > sizeof, etc.) because

[Bug target/87281] qsort checking ICE in ia64_reorg building libgo

2019-06-14 Thread jason.duerstock at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87281 --- Comment #6 from Jason Duerstock --- (In reply to Eric Botcazou from comment #5) > Note that you need to test the trunk in order to get the diagnostics, or > else to configure the 9.x compiler with --enable-checking=release,misc at > least.

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #3 from Jonathan Wakely --- read_bytes(, (char *) &(val), ( (n < (2 ^ 8)) ? 1 : ( (n < (2 ^ 16)) ? 2 : ( (n < (2 ^ 24)) ? 3 : 4 ) ) ) );

[Bug target/90834] Header and startup objects not found on macOS 10.15

2019-06-14 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90834 --- Comment #10 from Iain Sandoe --- (In reply to John Marshall from comment #9) > The Homebrew folks have been configuring with a sysroot to work around this > on Mojave since it came out last year: > >

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2019-06-14 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 --- Comment #5 from Iain Sandoe --- (In reply to John Marshall from comment #4) > (In reply to comment #3) > > > --- Comment #2 from Iain Sandoe --- > > > * for the other things, if it's a beta, then perhaps there's some chance > > > it > > >

[Bug target/90834] Header and startup objects not found on macOS 10.15

2019-06-14 Thread John.W.Marshall at glasgow dot ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90834 John Marshall changed: What|Removed |Added CC||John.W.Marshall at glasgow dot ac.

[Bug c++/90881] -Wunused-value false positive in SFINAE context

2019-06-14 Thread federico.kircheis at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90881 --- Comment #4 from Federico Kircheis --- (In reply to Jonathan Wakely from comment #1) > Confirmed. We shouldn't give that warning in unevaluated contexts (decltype, > sizeof, etc.) because unevaluated operands have no effects at all, with or >

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2019-06-14 Thread John.W.Marshall at glasgow dot ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 John Marshall changed: What|Removed |Added CC||John.W.Marshall at glasgow dot ac.

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 Jonathan Wakely changed: What|Removed |Added Summary|GCC should warning about|GCC should warn about 2^16

[Bug target/87281] qsort checking ICE in ia64_reorg building libgo

2019-06-14 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87281 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/90885] GCC should warning about 2^16 and 2^32 and 2^64

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 --- Comment #1 from Jonathan Wakely --- And maybe also 10^X where X is a literal. https://codesearch.isocpp.org/cgi-bin/cgi_ppsearch?q=10+%5E=Search A sample: tp->tv_sec = attributes[0] / 10^9; tp->tv_nsec = attributes[0] %

[Bug c++/90885] New: GCC should warning about 2^16 and 2^32 and 2^64

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 Bug ID: 90885 Summary: GCC should warning about 2^16 and 2^32 and 2^64 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug c/90882] Possible security breach through undefined behavior when treating boolean as int

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90882 --- Comment #5 from Jonathan Wakely --- (In reply to Kevin Dewald from comment #1) > From what I've read, modifying a boolean variable with an int pointer is > undefined. Yes. > Nevertheless, this feels unexpected from a programmers point of >

[Bug c++/90881] -Wunused-value false positive in SFINAE context

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90881 --- Comment #3 from Jonathan Wakely --- That was quick!

[Bug c++/90880] compile error instead of SFINAE with non-public member variables

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90880 --- Comment #4 from Jonathan Wakely --- (In reply to Federico Kircheis from comment #3) > Sorry if linking to external bug trackers in comments is bad practice, but I > did not saw any rule about it. There's no rule against it, it's useful. >

[Bug c++/90884] Option `-Wctor-dtor-privacy' enables warning even for system headers

2019-06-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90884 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2019-06-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 Richard Biener changed: What|Removed |Added CC||jamborm at gcc dot gnu.org,

[Bug tree-optimization/90879] fold zero-equality of strcmp between a longer string and a smaller array

2019-06-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90879 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   >