[Bug ada/86916] 8.1.0 (x86_64-apple-darwin15) Constraint_Error erroneous memory access

2018-08-11 Thread rogermc at iinet dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86916 --- Comment #3 from Roger Mc Murtrie --- This problem doesn't occur for compile only. It occurs when I Build All from GPS

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-11 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 --- Comment #6 from dave.anglin at bell dot net --- On 2018-08-11 8:04 PM, redi at gcc dot gnu.org wrote: > This should do it: I'll give it a test on my next build. Thanks, Dave

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 --- Comment #5 from Jonathan Wakely --- This should do it: --- a/libstdc++-v3/src/c++17/memory_resource.cc +++ b/libstdc++-v3/src/c++17/memory_resource.cc @@ -25,6 +25,7 @@ #include #include #include +#include namespace std

[Bug c++/86920] A matching template specialization is not selected

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

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-11 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 --- Comment #4 from dave.anglin at bell dot net --- On 2018-08-11 4:08 PM, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 > > --- Comment #3 from Jonathan Wakely --- > N.B. this doesn't need compare and

[Bug target/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA

2018-08-11 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 --- Comment #15 from dave.anglin at bell dot net --- On 2018-08-11 5:51 PM, bugzilla-gcc at thewrittenword dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 > > --- Comment #13 from The Written Word com> --- > (In reply to The

[Bug target/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA

2018-08-11 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 --- Comment #14 from The Written Word --- (In reply to The Written Word from comment #13) > (In reply to The Written Word from comment #10) > > (In reply to John David Anglin from comment #9) > > > It would help to see the uses of long_double

[Bug target/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA

2018-08-11 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 --- Comment #13 from The Written Word --- (In reply to The Written Word from comment #10) > (In reply to John David Anglin from comment #9) > > It would help to see the uses of long_double in stdlib.h. > > /usr/include/stdlib.h has: > > #

[Bug target/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA

2018-08-11 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 --- Comment #12 from The Written Word --- (In reply to The Written Word from comment #11) > Created attachment 44528 [details] > stdlib.h long_double patch My first attempt but it didn't work.

[Bug target/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA

2018-08-11 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 --- Comment #11 from The Written Word --- Created attachment 44528 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44528=edit stdlib.h long_double patch

[Bug tree-optimization/86829] Missing sin(atan(x)) and cos(atan(x)) optimizations

2018-08-11 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86829 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug libstdc++/86910] std::filesystem::create_directories doesn't set error code or throw while violating postcondition.

2018-08-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86910 Jonathan Wakely changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Jonathan

[Bug target/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA

2018-08-11 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 --- Comment #10 from The Written Word --- (In reply to John David Anglin from comment #9) > It would help to see the uses of long_double in stdlib.h. /usr/include/stdlib.h has: # ifndef _LONG_DOUBLE #define _LONG_DOUBLE # if

[Bug c++/86920] New: A matching template specialization is not selected

2018-08-11 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86920 Bug ID: 86920 Summary: A matching template specialization is not selected Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/86919] New: strlen of a multidimensional array element with non-constant offset not folded

2018-08-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86919 Bug ID: 86919 Summary: strlen of a multidimensional array element with non-constant offset not folded Product: gcc Version: 9.0 Status: UNCONFIRMED Severity:

[Bug target/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA

2018-08-11 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org ---

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 --- Comment #3 from Jonathan Wakely --- N.B. this doesn't need compare and exchange, just exchange. I'll fix this early next week.

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-11 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 --- Comment #2 from dave.anglin at bell dot net --- On 2018-08-11 3:31 PM, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 > > --- Comment #1 from Jonathan Wakely --- > Does hppa64 really not have native

[Bug c++/86918] New: internal compiler error: unexpected expression 'v' of kind template_parm_index

2018-08-11 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86918 Bug ID: 86918 Summary: internal compiler error: unexpected expression 'v' of kind template_parm_index Product: gcc Version: 9.0 Status: UNCONFIRMED Severity:

[Bug c++/86569] [6/7/8 Regression] -Wnonnull-compare affects code generation since r233684

2018-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86569 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8/9 Regression]|[6/7/8 Regression]

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/86738] [8 Regression] gcc 8.2: Internal compiler error memcpy

2018-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86738 Jakub Jelinek changed: What|Removed |Added Summary|[8/9 Regression] gcc 8.2: |[8 Regression] gcc 8.2:

[Bug middle-end/86627] [6/7 Regression] Signed 128-bit division by 2 no longer expanded to RTL

2018-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86627 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8/9 Regression] Signed |[6/7 Regression] Signed

[Bug c/85704] [8/9 Regression] cc1 run out of memory when it compile

2018-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85704 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/80334] [5 Regression] Segfault when taking address of copy of unaligned struct

2018-08-11 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80334 --- Comment #12 from Alexandre Oliva --- Created attachment 44527 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44527=edit candidate patch to fix the error noted in comment 11 This patch fixes the unaligned accesses in the testcase in

[Bug libstdc++/86846] [9 Regression] ld: (Warning) Unsatisfied symbol "__atomic_exchange_8" in libstdc++.sl

2018-08-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 --- Comment #1 from Jonathan Wakely --- Does hppa64 really not have native atomic ops for sizeof(void*) ? I guess we need to use a mutex here, as I don't want libstdc++ to depend on libatomic.

[Bug tree-optimization/80334] [5 Regression] Segfault when taking address of copy of unaligned struct

2018-08-11 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80334 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug middle-end/78917] missing -Wnonnull passing null to a nonnull function

2018-08-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78917 --- Comment #2 from Martin Sebor --- Another test case: $ cat f.c && gcc -O2 -S -Wall -Wextra f.c int f (int i) { const char * p = __builtin_strchr (i ? "123" : "456", '2'); return __builtin_strlen (p); } The strlen argument is a phi with

[Bug tree-optimization/86914] [8/9 Regression] -O2 generates wrong code with strlen() of pointers within one-element arrays of structures

2018-08-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86914 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Martin

[Bug tree-optimization/86914] [8/9 Regression] -O2 generates wrong code with strlen() of pointers within one-element arrays of structures

2018-08-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86914 Martin Sebor changed: What|Removed |Added Keywords||wrong-code

[Bug tree-optimization/86835] [8 Regression] Bogus "is used uninitialized" warning with -ffast-math

2018-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86835 Jakub Jelinek changed: What|Removed |Added Summary|[8/9 Regression] Bogus "is |[8 Regression] Bogus "is

[Bug c++/86915] Segmentation fault for an array of auto in template parameter

2018-08-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86915 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/86915] Segmentation fault for an array of auto in template parameter

2018-08-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86915 Marek Polacek changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug bootstrap/81033] [8/9 Regression] there are cases where ld64 is not able to determine correct atom boundaries from the output GCC currently produces

2018-08-11 Thread staticfloat at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81033 Elliot Saba changed: What|Removed |Added CC||staticfloat at gmail dot com --- Comment

[Bug c++/86917] [6/7/8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798

2018-08-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 --- Comment #2 from Marek Polacek --- Started with Merge C++ delayed folding branch., r230365.

[Bug c++/86917] [6/7/8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798

2018-08-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug c++/86917] New: ICE in verify_ctor_sanity, at cp/constexpr.c:2798

2018-08-11 Thread hans.buchmann at fhnw dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 Bug ID: 86917 Summary: ICE in verify_ctor_sanity, at cp/constexpr.c:2798 Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ada/86916] 8.1.0 (x86_64-apple-darwin15) Constraint_Error erroneous memory access

2018-08-11 Thread rogermc at iinet dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86916 --- Comment #2 from Roger Mc Murtrie --- Correction "As I have used gcc 6.1.0 with getting this error" should have been: "As I have used gcc 6.1.0 WITHOUT getting this error"

[Bug ada/86916] 8.1.0 (x86_64-apple-darwin15) Constraint_Error erroneous memory access

2018-08-11 Thread rogermc at iinet dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86916 --- Comment #1 from Roger Mc Murtrie --- I am also getting this problem with gcc 6.1.0 +===GNAT BUG DETECTED==+ | 6.1.0 (x86_64-apple-darwin15) GCC error: | | in

[Bug tree-optimization/86914] gcc 8.1 -O2 generates wrong code with strlen() of pointers within one-element arrays of structures

2018-08-11 Thread even.rouault at spatialys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86914 --- Comment #1 from Even Rouault --- Interstingly with gcc 8.2, char c[0] doesn't generate the appropriate code. The only way of making it work is to use char c[] syntax

[Bug tree-optimization/86835] [8/9 Regression] Bogus "is used uninitialized" warning with -ffast-math

2018-08-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86835 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Sat Aug 11 11:29:12 2018 New Revision: 263487 URL: https://gcc.gnu.org/viewcvs?rev=263487=gcc=rev Log: PR tree-optimization/86835 * tree-ssa-math-opts.c

[Bug c++/86728] [7/8/9 Regression] unexpected error: conversion from ', ...)>' to non-scalar type 'std::function' requested

2018-08-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86728 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86728] [7/8/9 Regression] unexpected error: conversion from ', ...)>' to non-scalar type 'std::function' requested

2018-08-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86728 --- Comment #5 from Jason Merrill --- Author: jason Date: Sat Aug 11 11:02:22 2018 New Revision: 263486 URL: https://gcc.gnu.org/viewcvs?rev=263486=gcc=rev Log: PR c++/86728 - C variadic generic lambda. * parser.c

[Bug c++/86728] [7/8/9 Regression] unexpected error: conversion from ', ...)>' to non-scalar type 'std::function' requested

2018-08-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86728 --- Comment #4 from Jason Merrill --- Author: jason Date: Sat Aug 11 11:01:49 2018 New Revision: 263485 URL: https://gcc.gnu.org/viewcvs?rev=263485=gcc=rev Log: PR c++/86728 - C variadic generic lambda. * parser.c

[Bug tree-optimization/86884] aggressive loop optimization and effective type

2018-08-11 Thread uecker at eecs dot berkeley.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86884 Martin Uecker changed: What|Removed |Added CC||uecker at eecs dot berkeley.edu ---

[Bug c++/86728] [7/8/9 Regression] unexpected error: conversion from ', ...)>' to non-scalar type 'std::function' requested

2018-08-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86728 --- Comment #3 from Jason Merrill --- Author: jason Date: Sat Aug 11 10:47:03 2018 New Revision: 263484 URL: https://gcc.gnu.org/viewcvs?rev=263484=gcc=rev Log: PR c++/86728 - C variadic generic lambda. * parser.c

[Bug tree-optimization/86858] [9 Regression] GCC ICE at -O3 in as_a, at is-a.h:197

2018-08-11 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86858 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libstdc++/86910] std::filesystem::create_directories doesn't set error code or throw while violating postcondition.

2018-08-11 Thread ssh at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86910 --- Comment #4 from Steffen Schuemann --- I just realised, if I'm all wrong, and not handling this as an error is the way to go, as described in LWG-defect-#2935, create_directory() would violate the new behaviour described in 2935, as it passes

[Bug ada/86916] New: 8.1.0 (x86_64-apple-darwin15) Constraint_Error erroneous memory access

2018-08-11 Thread rogermc at iinet dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86916 Bug ID: 86916 Summary: 8.1.0 (x86_64-apple-darwin15) Constraint_Error erroneous memory access Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal