[Bug middle-end/89544] Argument marshalling incorrectly assumes stack slots are naturally aligned.

2019-08-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89544 --- Comment #6 from Bernd Edlinger --- This is half fixed now: Since r274531 the original test case no longer generates wrong code, but only slightly non-optimal code. I had so far two test cases: $ cat unaligned-argument-1.c /* { dg-do

[Bug libstdc++/41861] [DR 887][C++0x] does not use monotonic_clock

2019-08-17 Thread mac at mcrowe dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 --- Comment #18 from Mike Crowe --- (In reply to Mike Crowe from comment #17) > In https://sourceware.org/ml/libc-alpha/2019-02/msg00637.html , I proposed > the addition of the pthread_cond_clockwait function (among others) to glibc, > and

[Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922

2019-08-17 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 --- Comment #24 from Uroš Bizjak --- It looks that the patch introduced a (small?) runtime regression of 5% in SPEC2000 300.twolf on haswell [1]. Maybe worth looking at. [1]

[Bug middle-end/89544] Argument marshalling incorrectly assumes stack slots are naturally aligned.

2019-08-17 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89544 --- Comment #7 from Bernd Edlinger --- However while writing the patch "Sanitizing the middle-end interface to the back-end for strict alignment": https://gcc.gnu.org/ml/gcc-patches/2019-08/msg01130.html I discovered another wrong code bug,

[Bug fortran/91471] f951: internal compiler error: gfc_variable_attr(): Bad array reference

2019-08-17 Thread SameeranJayant.Joshi at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471 --- Comment #2 from Sameeran Joshi --- (In reply to kargl from comment #1) > I have a patch that prevents the ICE. Remove ICE-on-valid-code > tag as the code is invalid. It fails when a value is assigned to the allocated space: program

[Bug libgomp/91473] Test case libgomp.fortran/appendix-a/a.28.5.f90 is invalid

2019-08-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91473 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/91390] treatment of extra parameter in a subroutine call

2019-08-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91390 Bug 91390 depends on bug 91443, which changed state. Bug 91443 Summary: -Wargument-mismatch does not catch mismatch for global procedure https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91443 What|Removed |Added

[Bug fortran/91443] -Wargument-mismatch does not catch mismatch for global procedure

2019-08-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91443 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/91443] -Wargument-mismatch does not catch mismatch for global procedure

2019-08-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91443 --- Comment #4 from Thomas Koenig --- (In reply to Janne Blomqvist from comment #3) > I'm seeing a failure in the testcase libgomp.fortran/appendix-a/a.28.5.f90 > which looks like it might(?) be caused by this: > > $ gfortran a.28.5.f90 >

[Bug fortran/91473] [10 regression] test case libgomp.fortran/appendix-a/a.28.5.f90 fails starting with r274551

2019-08-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91473 --- Comment #6 from Thomas Koenig --- Author: tkoenig Date: Sat Aug 17 11:57:25 2019 New Revision: 274602 URL: https://gcc.gnu.org/viewcvs?rev=274602=gcc=rev Log: 2019-08-17 Thomas Koenig PR fortran/91473 *

[Bug fortran/78719] [F03] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1438

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78719 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Aug 17 14:27:07 2019 New Revision: 274604 URL: https://gcc.gnu.org/viewcvs?rev=274604=gcc=rev Log: 2019-08-17 Steven G. Kargl PR fortran/78719 * decl.c

[Bug fortran/78719] [F03] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1438

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78719 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug testsuite/91458] FAIL: g++.dg/tree-ssa/pr19807.C -std=gnu++98 scan-tree-dump-times optimized "\\\\[\\\\(void .\\\\) \\\\+ 8B\\\\]" 3

2019-08-17 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91458 --- Comment #6 from dave.anglin at bell dot net --- On 2019-08-15 10:47 a.m., danglin at gcc dot gnu.org wrote: > Similar fail: > FAIL: g++.dg/tree-ssa/ssa-dse-1.C scan-tree-dump-times dse1 > "MEM[(struct FixBuf *)& +

[Bug fortran/40976] Merge DECL of procedure call with DECL of gfc_get_function_type

2019-08-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40976 Bug 40976 depends on bug 91443, which changed state. Bug 91443 Summary: -Wargument-mismatch does not catch mismatch for global procedure https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91443 What|Removed |Added

[Bug rtl-optimization/91347] [7/8/9/10 Regression] pointer_string in linux vsprintf.c is miscompiled when sibling calls are optimized

2019-08-17 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91347 --- Comment #11 from dave.anglin at bell dot net --- On 2019-08-16 8:17 a.m., John David Anglin wrote: > On 2019-08-16 5:47 a.m., ebotcazou at gcc dot gnu.org wrote: >> Created attachment 46721 >> -->

[Bug fortran/78739] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1477

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78739 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Aug 17 14:39:51 2019 New Revision: 274605 URL: https://gcc.gnu.org/viewcvs?rev=274605=gcc=rev Log: 2019-08-17 Steven G. Kargl PR fortran/78739 * match.c

[Bug fortran/91471] f951: internal compiler error: gfc_variable_attr(): Bad array reference

2019-08-17 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471 --- Comment #3 from Steve Kargl --- On Sat, Aug 17, 2019 at 08:04:23AM +, SameeranJayant.Joshi at amd dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471 > > --- Comment #2 from Sameeran Joshi --- > (In reply to kargl from

[Bug fortran/91471] f951: internal compiler error: gfc_variable_attr(): Bad array reference

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Aug 17 14:23:10 2019 New Revision: 274603 URL: https://gcc.gnu.org/viewcvs?rev=274603=gcc=rev Log: 2019-08-17 Steven G. Kargl PR fortran/91471 *

[Bug lto/91478] New: FAIL: gcc.dg/debug/pr41893-1.c -gdwarf-2 -g1 (test for excess errors)

2019-08-17 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91478 Bug ID: 91478 Summary: FAIL: gcc.dg/debug/pr41893-1.c -gdwarf-2 -g1 (test for excess errors) Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/91479] New: Template deductions fails for static template member with default template parameter when inside template class

2019-08-17 Thread dmatthews at utexas dot edu
ution failed: :6:40: note: mismatched types 'const U' and 'int' 6 | static void bar(int x) { bar(x); } | Output of "gcc -v": Using built-in specs. COLLECT_GCC=/opt/compiler-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-201908

[Bug middle-end/84877] Local stack copy of BLKmode parameter on the stack is not aligned when the requested alignment exceeds MAX_SUPPORTED_STACK_ALIGNMENT

2019-08-17 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84877 --- Comment #20 from dave.anglin at bell dot net --- On 2019-07-08 6:04 a.m., amylaar at gcc dot gnu.org wrote: > Created attachment 46577 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46577=edit > patch for aligned stack - but clamping

[Bug c++/90505] [9/10 Regression] g++ rejects a valid code

2019-08-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505 --- Comment #6 from Marek Polacek --- Test from 91479: template struct foo { template static void bar(const U&) {} static void bar(int x) { bar(x); } };

[Bug c++/91479] Template deductions fails for static template member with default template parameter when inside template class

2019-08-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91479 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/90505] [9/10 Regression] g++ rejects a valid code

2019-08-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90505 Marek Polacek changed: What|Removed |Added CC||dmatthews at utexas dot edu --- Comment

[Bug fortran/78739] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1477

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78739 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/82992] ICE in create_int_parameter_array, at fortran/module.c:6586

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82992 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/91471] f951: internal compiler error: gfc_variable_attr(): Bad array reference

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug libstdc++/91480] New: Nonconforming definitions of standard library feature-test macros

2019-08-17 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91480 Bug ID: 91480 Summary: Nonconforming definitions of standard library feature-test macros Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal

[Bug lto/64636] Bootstrapping gcc-4.9.2 fails if lto is enabled

2019-08-17 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64636 John Paul Adrian Glaubitz changed: What|Removed |Added CC||glaubitz at physik dot

[Bug fortran/82992] ICE in create_int_parameter_array, at fortran/module.c:6586

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82992 --- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Aug 17 17:15:42 2019 New Revision: 274608 URL: https://gcc.gnu.org/viewcvs?rev=274608=gcc=rev Log: 2019-08-17 Steven G. Kargl PR fortran/82992 *

[Bug fortran/82992] ICE in create_int_parameter_array, at fortran/module.c:6586

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82992 --- Comment #8 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Aug 17 18:08:21 2019 New Revision: 274609 URL: https://gcc.gnu.org/viewcvs?rev=274609=gcc=rev Log: 2019-08-17 Steven G. Kargl PR fortran/82992 *

[Bug fortran/78719] [F03] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1438

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78719 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Aug 17 18:11:58 2019 New Revision: 274610 URL: https://gcc.gnu.org/viewcvs?rev=274610=gcc=rev Log: 2019-08-17 Steven G. Kargl PR fortran/78719 * decl.c

[Bug fortran/78739] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1477

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78739 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Aug 17 18:14:26 2019 New Revision: 274611 URL: https://gcc.gnu.org/viewcvs?rev=274611=gcc=rev Log: 2019-08-17 Steven G. Kargl PR fortran/78739 * match.c

[Bug fortran/82173] [meta-bug] Parameterized derived type errors

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173 Bug 82173 depends on bug 89413, which changed state. Bug 89413 Summary: [PDT] ICE in resolve_fl_derived, at fortran/resolve.c:14392 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89413 What|Removed |Added

[Bug fortran/89413] [PDT] ICE in resolve_fl_derived, at fortran/resolve.c:14392

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89413 kargl at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug fortran/78719] [F03] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1438

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78719 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/91471] f951: internal compiler error: gfc_variable_attr(): Bad array reference

2019-08-17 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Aug 17 18:16:51 2019 New Revision: 274612 URL: https://gcc.gnu.org/viewcvs?rev=274612=gcc=rev Log: 2019-08-17 Steven G. Kargl PR fortran/91471 *

[Bug fortran/91426] Different colors for errors with multiple locations

2019-08-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91426 --- Comment #2 from Thomas Koenig --- Having had occasion to look at a few hundred multi-line error messages today, I have now changed my mind on what I would consider best :-) I now think different colors for primary and secondary error

[Bug c/49706] No warning for (!x > 1) which is always false

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

[Bug tree-optimization/18487] Warnings for pure and const functions that are not actually pure or const

2019-08-17 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18487 --- Comment #19 from Eric Gallager --- (In reply to Dávid Bolvanský from comment #18) > a.c > > int foo(void) __attribute__((const)); > > > int main(void) { > return foo(); > } > > b.c > > #include > > int foo(void) { >