[Bug debug/86064] [8/9 Regression] compiling Linux kernel: Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL43x' {.text section}

2018-06-25 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86064

--- Comment #11 from Alexandre Oliva  ---
Author: aoliva
Date: Tue Jun 26 05:44:26 2018
New Revision: 262130

URL: https://gcc.gnu.org/viewcvs?rev=262130=gcc=rev
Log:
[PR86064] split single cross-partition range with nonzero locviews

We didn't split cross-partition ranges in loclists to output a
whole-function location expression, but with nonzero locviews, we
force loclists, and then we have to split to avoid cross-partition
list entries.

for  gcc/ChangeLog

PR debug/86064
* dwarf2out.c (loc_list_has_views): Adjust comments.
(dw_loc_list): Split single cross-partition range with
nonzero locview.

for  gcc/testsuite/ChangeLog

PR debug/86064
* gcc.dg/pr86064.c: New.

Added:
trunk/gcc/testsuite/gcc.dg/pr86064.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog

[Bug web/86315] Bugzilla: add "cc count" and "duplicate count" columns

2018-06-25 Thread LpSolit at netscape dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315

Frédéric Buclin  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |LpSolit at netscape dot 
net

[Bug tree-optimization/86319] New: [9 Regression] ICE in vect_transform_stmt

2018-06-25 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86319

Bug ID: 86319
   Summary: [9 Regression] ICE in vect_transform_stmt
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Keywords: ice-on-valid-code
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc-9.0.0-alpha20180624 snapshot (r261998) ICEs when compiling the following
snippet w/ -O3 (-Ofast):

int y4[3][2];
int ud;

void
ky (void)
{
  for (ud = 0; ud < 3; ++ud)
{
  int mo;

  for (mo = 0; mo < 2; ++mo)
y4[ud][mo] = 0;
}
}

% MALLOC_PERTURB_=1 gcc-9.0.0-alpha20180624 -O3 -c sofbe30d.c
during GIMPLE pass: vect
sofbe30d.c: In function 'ky':
sofbe30d.c:5:1: internal compiler error: Segmentation fault
 ky (void)
 ^~
0xc867bf crash_signal
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180624/work/gcc-9-20180624/gcc/toplev.c:324
0xebcf20 vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*, _slp_tree*,
_slp_instance*)
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180624/work/gcc-9-20180624/gcc/tree-vect-stmts.c:9607
0xebf573 vect_transform_loop_stmt
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180624/work/gcc-9-20180624/gcc/tree-vect-loop.c:8357
0xecbb91 vect_transform_loop(_loop_vec_info*)
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180624/work/gcc-9-20180624/gcc/tree-vect-loop.c:8567
0xeed29d try_vectorize_loop_1
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180624/work/gcc-9-20180624/gcc/tree-vectorizer.c:757
0xeedcb1 vectorize_loops()
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180624/work/gcc-9-20180624/gcc/tree-vectorizer.c:891

Note glibc-specific MALLOC_PERTURB_=1. Pre-initializing allocated memory blocks
seems to be necessary to uncover the issue.

[Bug fortran/71612] [Coarray] Wrongly rejects coindexed variables in READ

2018-06-25 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71612

Jerry DeLisle  changed:

   What|Removed |Added

 CC||jvdelisle at gcc dot gnu.org

--- Comment #4 from Jerry DeLisle  ---
(In reply to Jürgen Reuter from comment #3)
> This is still not resolved. I don't know whether the snippet provided by
> Tobias is only a proof-of-principle way how a solution could look like or
> whether this is a definite proposal for a fix.

The patch gets rid of the error being emitted in the case of using
-fcoarray=lib.

The "FIXME" in the patch needs to implement the necessary steps to emit code
for communicating across the images.

[Bug web/86315] Bugzilla: add "cc count" and "duplicate count" columns

2018-06-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org

--- Comment #3 from Eric Gallager  ---
(In reply to Andrew Pinski from comment #2)
> +1.

+2.

[Bug tree-optimization/86318] New: const local aggregates can be assumed not to be modified even when escaped

2018-06-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86318

Bug ID: 86318
   Summary: const local aggregates can be assumed not to be
modified even when escaped
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

Because the local object in all three function is defined const it can be
assumed not to change as a result of the call to f()  (otherwise the behavior
of a program that changed it would be undefined).  GCC takes advantage of this
constraint when the object is of a basic/fundamental type like in g0() but not
when the object is an aggregate like in g1() or g2(), unless the object has a
static storage duration.

$ cat c.c && gcc -S -O2 -Wall -Wextra -Wpedantic -Wstrict-prototypes
-fdump-tree-optimized=/dev/stdout c.c
struct S { int i; };

void f (const void*);

void g0 (void)
{
  const int i = 1;

  f ();

  if (i != 1) // folded into false
__builtin_abort ();
}

void g1 (void)
{
  const int a[1] = { 1 };

  f (a);

  if (*a != 1) // not folded but could be
__builtin_abort ();
}

void g2 (void)
{
  const struct { int i; } s = { 1 };

  f ();

  if (s.i != 1) // not folded but could be
__builtin_abort ();
}

;; Function g0 (g0, funcdef_no=0, decl_uid=1902, cgraph_uid=1, symbol_order=0)

g0 ()
{
  const int i;

   [local count: 1073741825]:
  i = 1;
  f ();
  i ={v} {CLOBBER};
  return;

}



;; Function g1 (g1, funcdef_no=1, decl_uid=1906, cgraph_uid=2, symbol_order=1)

g1 ()
{
  const int a[1];
  int _1;

   [local count: 1073741825]:
  a[0] = 1;
  f ();
  _1 = a[0];
  if (_1 != 1)
goto ; [0.00%]
  else
goto ; [99.96%]

   [count: 0]:
  __builtin_abort ();

   [local count: 1073312327]:
  a ={v} {CLOBBER};
  return;

}



;; Function g2 (g2, funcdef_no=2, decl_uid=1910, cgraph_uid=3, symbol_order=2)

g2 ()
{
  const struct 
  {
int i;
  } s;
  int _1;

   [local count: 1073741825]:
  s.i = 1;
  f ();
  _1 = s.i;
  if (_1 != 1)
goto ; [0.00%]
  else
goto ; [99.96%]

   [count: 0]:
  __builtin_abort ();

   [local count: 1073312327]:
  s ={v} {CLOBBER};
  return;

}

[Bug target/85424] The __builtin_packlongdouble function might have issues with the output overlapping the inputs

2018-06-25 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424

Michael Meissner  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Michael Meissner  ---
Fixed in trunk, back ported to GCC 8/7 branches.

[Bug target/85424] The __builtin_packlongdouble function might have issues with the output overlapping the inputs

2018-06-25 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424

--- Comment #2 from Michael Meissner  ---
Author: meissner
Date: Mon Jun 25 23:28:27 2018
New Revision: 262122

URL: https://gcc.gnu.org/viewcvs?rev=262122=gcc=rev
Log:
2018-06-25  Michael Meissner  

Back port from trunk
2018-04-17  Michael Meissner  

PR target/85424
* config/rs6000/rs6000.md (pack): Do not try handle a pack
where the inputs overlap with the output.


Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/rs6000/rs6000.md

[Bug c++/86296] Creating a pointer class for a unique_ptr<>() deleter fails with optimizations

2018-06-25 Thread alexis at m2osw dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86296

--- Comment #3 from Alexis Wilke  ---
Okay, I understand and fixed my pointer class and its usage (i.e. I not have an
"operator T () const" instead of "T & operator * ()" and I use "safe_fd.get()"
instead of "*safe_fd").

However, as an FYI, I tried the -fsanitize=address and the
-D_GLIBCXX_ASSERTIONS command line options as shown in your examples and did
not get any errors reported in my environment. So as much as these look like
useful options, they don't seem to be activated as is.

I even tried to run the code in gdb in case some debug would react there and it
did not help either. It's rather annoying to see that such features can't
automatically be used and work as expected. It would be very useful.

[Bug c++/84140] Inline friends are not constrained by concepts

2018-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84140

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-06-25
 Ever confirmed|0   |1

[Bug c++/84140] Inline friends are not constrained by concepts

2018-06-25 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84140

--- Comment #2 from Casey Carter  ---
*** Bug 69096 has been marked as a duplicate of this bug. ***

[Bug c++/69096] [concepts] return type deduction before checking constraint satisfaction

2018-06-25 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69096

Casey Carter  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Casey Carter  ---
This bug is actually a mislabeled occurrence of #84140.

*** This bug has been marked as a duplicate of bug 84140 ***

[Bug c++/67491] [meta-bug] concepts issues

2018-06-25 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 69096, which changed state.

Bug 69096 Summary: [concepts] return type deduction before checking constraint 
satisfaction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69096

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

[Bug c++/84140] Inline friends are not constrained by concepts

2018-06-25 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84140

Casey Carter  changed:

   What|Removed |Added

 CC||Casey at Carter dot net

--- Comment #1 from Casey Carter  ---
Another repro:

  template constexpr bool is_same_v = false;
  template constexpr bool is_same_v = true;

  template
  concept bool Same = is_same_v;

  template
  concept bool Diff = requires(T& t, U& u) { u - t; };

  template
  int distance(I, S) { return 0; }

  template S>
  int distance(I first, S last) {
  return last - first;
  }

  template
  struct I {
  template
  requires Same
  friend int operator-(I const&, I const&) {
  static_assert(Same);
  return 42;
  }
  };

  int main() {
  return distance(I{}, I{});
  }

Compiling fails when the static_assert in the body of the friend function
template - which simply asserts that the constraint on the template is
satisfied - fires. It would appear the constraints aren't being checked for
satisfaction at all on hidden friends found during overload resolution.

FWIW, this makes it impossible to implement the Ranges proposal as specified.

[Bug tree-optimization/86265] Wrong code on an invalid code starting with r255790

2018-06-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86265

--- Comment #6 from Martin Sebor  ---
The strlen range optimization doesn't take advantage of undefined behavior --
like all other optimizations, it simply assumes code is free of it.

I have two goals for the warnings I work on: a) most important is to find bugs
in user code, and b) less important is to drive improvements to help GCC better
analyze source code and emit more efficient object code.

By relying on valid calls to strcpy() writing only into the destination array
and not beyond, and reading only from the source array and not beyond, GCC can
safely assume that other members of the same struct or other elements of the
same array of structs than the one written to are unchanged by the strcpy()
call.  For instance, in the following, the tests can safely be eliminated:

  struct A {
char a[4];
int i;
  };

  void f (struct A *a)
  {
int i = a[0].i + a[1].i;

__builtin_strcpy (a[0].a, a[1].a);

if (i != a[0].i + a[1].i)
  __builtin_abort ();
  }

There is no reason not to take advantage of this except to cater to
exceptionally poorly written (and I'd say exceedingly rare) code, and thus
penalize the overwhelming majority of code that doesn't violate the basic rules
of the language.

[Bug sanitizer/84043] -fsanitize=alignment leads to massive compile time

2018-06-25 Thread sduvan.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84043

Johan Alfredsson  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #5 from Johan Alfredsson  ---
Fixed in 8.1.

[Bug libstdc++/86112] [8/9 Regression] Python printers don't work on Python 2.6

2018-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86112

--- Comment #3 from Jonathan Wakely  ---
Author: redi
Date: Mon Jun 25 21:06:56 2018
New Revision: 262116

URL: https://gcc.gnu.org/viewcvs?rev=262116=gcc=rev
Log:
PR libstdc++/86112 fix printers for Python 2.6

Dict comprehensions are only supported since Python 2.7, so use an
alternative syntax that is backwards compatible.

PR libstdc++/86112
* python/libstdcxx/v6/printers.py (add_one_template_type_printer):
Replace dict comprehension.

Modified:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
branches/gcc-8-branch/libstdc++-v3/python/libstdcxx/v6/printers.py

[Bug libstdc++/86112] [8/9 Regression] Python printers don't work on Python 2.6

2018-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86112

Jonathan Wakely  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Jonathan Wakely  ---
Fixed for 8.2

[Bug libstdc++/86112] [8/9 Regression] Python printers don't work on Python 2.6

2018-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86112

--- Comment #2 from Jonathan Wakely  ---
Author: redi
Date: Mon Jun 25 21:03:49 2018
New Revision: 262115

URL: https://gcc.gnu.org/viewcvs?rev=262115=gcc=rev
Log:
PR libstdc++/86112 fix printers for Python 2.6

Dict comprehensions are only supported since Python 2.7, so use an
alternative syntax that is backwards compatible.

PR libstdc++/86112
* python/libstdcxx/v6/printers.py (add_one_template_type_printer):
Replace dict comprehension.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/python/libstdcxx/v6/printers.py

[Bug target/86317] New: ICE: in sched_speculate_insn, at haifa-sched.c:8703 when building OpenJDK-11 on ia64

2018-06-25 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86317

Bug ID: 86317
   Summary: ICE: in sched_speculate_insn, at haifa-sched.c:8703
when building OpenJDK-11 on ia64
   Product: gcc
   Version: 8.1.1
   URL: https://buildd.debian.org/status/fetch.php?pkg=openjdk
-11=ia64=11%7E19-1=1529924927=0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: glaubitz at physik dot fu-berlin.de
  Target Milestone: ---
Target: ia64-*-*

Created attachment 44320
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44320=edit
Gzipped preprocessed source of taskqueue.inline.hpp

Trying to build OpenJDK-11 (Zero VM) on Debian unstable with gcc-8.1.1 ia64
fails with:

In file included from
/<>/src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:38:0,
 from
/<>/src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:31,
 from
/<>/src/hotspot/share/gc/g1/g1OopClosures.cpp:26:
/<>/src/hotspot/share/gc/shared/taskqueue.inline.hpp: In member
function 'bool GenericTaskQueue::push(E) [with E = G1TaskQueueEntry;
MemoryType F = (MemoryType)5; unsigned int N = 131072]':
/<>/src/hotspot/share/gc/shared/taskqueue.inline.hpp:98:1:
internal compiler error: in sched_speculate_insn, at haifa-sched.c:8703
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.

Attaching the preprocessed source.

Full build log in:
https://buildd.debian.org/status/fetch.php?pkg=openjdk-11=ia64=11%7E19-1=1529924927=0

[Bug tree-optimization/86204] [9 Regression] wrong strlen result after prior strnlen

2018-06-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86204

Martin Sebor  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Martin Sebor  ---
Committed in r262114.

[Bug tree-optimization/86204] [9 Regression] wrong strlen result after prior strnlen

2018-06-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86204

--- Comment #2 from Martin Sebor  ---
Author: msebor
Date: Mon Jun 25 20:46:45 2018
New Revision: 262114

URL: https://gcc.gnu.org/viewcvs?rev=262114=gcc=rev
Log:
PR tree-optimization/86204 -  wrong strlen result after prior strnlen

gcc/ChangeLog:

PR tree-optimization/86204
* tree-ssa-strlen.c (handle_builtin_strlen): Avoid storing
a strnlen result if it's less than the length of the string.

gcc/testsuite/ChangeLog:

PR tree-optimization/86204
* gcc.dg/strlenopt-46.c: New test.


Added:
trunk/gcc/testsuite/gcc.dg/strlenopt-46.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-strlen.c

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-06-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819
Bug 83819 depends on bug 86204, which changed state.

Bug 86204 Summary: [9 Regression] wrong strlen result after prior strnlen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86204

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug tree-optimization/85700] Spurious -Wstringop-truncation warning with strncat

2018-06-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85700

Martin Sebor  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Martin Sebor  ---
Patch committed to the trunk of GCC 9 in r262110.  Patrick, please reopen the
bug if it's important to you that it be backported to GCC 8 (e.g., if it's
preventing you or your users from enabling the new option).

[Bug libstdc++/81092] Missing symbols for new std::wstring constructors

2018-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81092

--- Comment #16 from Jonathan Wakely  ---
Author: redi
Date: Mon Jun 25 20:36:51 2018
New Revision: 262112

URL: https://gcc.gnu.org/viewcvs?rev=262112=gcc=rev
Log:
Update powerpc64-linux-gnu/baseline_symbols.txt

PR libstdc++/81092
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt

[Bug libstdc++/81092] Missing symbols for new std::wstring constructors

2018-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81092

--- Comment #17 from Jonathan Wakely  ---
Author: redi
Date: Mon Jun 25 20:37:05 2018
New Revision: 262113

URL: https://gcc.gnu.org/viewcvs?rev=262113=gcc=rev
Log:
Update powerpc64-linux-gnu/baseline_symbols.txt

PR libstdc++/81092
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.

Modified:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
   
branches/gcc-8-branch/libstdc++-v3/config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt

[Bug tree-optimization/85700] Spurious -Wstringop-truncation warning with strncat

2018-06-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85700

--- Comment #4 from Martin Sebor  ---
Author: msebor
Date: Mon Jun 25 20:33:28 2018
New Revision: 262110

URL: https://gcc.gnu.org/viewcvs?rev=262110=gcc=rev
Log:
PR tree-optimization/85700 - Spurious -Wstringop-truncation warning with
strncat

gcc/ChangeLog:

PR tree-optimization/85700
* gimple-fold.c (gimple_fold_builtin_strncat): Adjust comment.
* tree-ssa-strlen.c (is_strlen_related_p): Handle integer subtraction.
(maybe_diag_stxncpy_trunc): Distinguish strncat from strncpy.

gcc/testsuite/ChangeLog:

PR tree-optimization/85700
* gcc.dg/Wstringop-truncation-4.c: New test.


Added:
trunk/gcc/testsuite/gcc.dg/Wstringop-truncation-4.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-fold.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-strlen.c

[Bug target/85075] powerpc: ICE in iszero testcase

2018-06-25 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85075

Michael Meissner  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Michael Meissner  ---
This was fixed with changes on June 1-18th to the trunk, and backported to the
GCC 8 branch on June 22nd.

[Bug c++/80290] [6/7/8/9 Regression] g++ uses unreasonable amount of memory compiling nested string maps

2018-06-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290

Jason Merrill  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org

--- Comment #28 from Jason Merrill  ---
This is definitely an algorithmic complexity issue.  With 4 levels of pair, we
do 3886 substitutions of default arguments.  With 5 levels, we do 23326, a bit
more than 5x as many.

The basic problem seems to be that for function parameters that have no
deducible template parameters, we check convertibility as part of type
deduction, and then we check convertibility again once we've actually formed
the candidate.  And many of the pair constructor templates use the pair
template parameters in their parameter types, which are non-deducible in this
context.

With a simple example like

template 
struct A
{ 
  template 
  A(T, U) { }
};

using A1 = A;
using A2 = A;
using A3 = A;

A1 a1 = { 1, 1 };
A2 a2 = { 1, { 1, 1 } };
A3 a3 = { 1, { 1, { 1, 1 } } };

We end up considering the constructor template once for a1, three times (rather
than twice) for a2, and seven times (rather than three times) for a3.

If the second parameter is U2, and therefore deduced, the number of constructor
calls scales linearly as expected.

[Bug fortran/86313] make -Warray-temporaries less noisy

2018-06-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86313

Dominique d'Humieres  changed:

   What|Removed |Added

   Priority|P3  |P5
 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2018-06-25
 Ever confirmed|0   |1
   Severity|normal  |enhancement

--- Comment #4 from Dominique d'Humieres  ---
> Forgot to mention: This one occurs only with -O1 and above.

There is no warning with -fno-frontend-optimize.

This looks like a duplicate of pr48655. As suggested in comment 1, it should be
enough to improve the documentation.

[Bug fortran/83183] Out of memory with option -finit-derived

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83183

Fritz Reese  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Last reconfirmed|2017-11-27 00:00:00 |2018-6-25
   Assignee|unassigned at gcc dot gnu.org  |foreese at gcc dot 
gnu.org
   Target Milestone|--- |8.2

[Bug web/86315] Bugzilla: add "cc count" and "duplicate count" columns

2018-06-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315

--- Comment #2 from Andrew Pinski  ---
+1.

[Bug fortran/83088] [8/9 Regression] ICE with -init-derived

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83088

--- Comment #6 from Fritz Reese  ---
Author: foreese
Date: Mon Jun 25 19:23:49 2018
New Revision: 262107

URL: https://gcc.gnu.org/viewcvs?rev=262107=gcc=rev
Log:
2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* expr.c (component_initializer): Assign init expr to c->initializer.
(generate_isocbinding_initializer): New.
(gfc_generate_initializer): Call generate_isocbinding_initializer to
generate initializers for c_ptr and c_funptr with -finit-derived.

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* gfortran.dg/init_flag_17.f90: New testcase.


Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/init_flag_17.f90
  - copied unchanged from r262104,
trunk/gcc/testsuite/gfortran.dg/init_flag_17.f90
Modified:
branches/gcc-8-branch/   (props changed)
branches/gcc-8-branch/gcc/fortran/ChangeLog
branches/gcc-8-branch/gcc/fortran/expr.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-8-branch/
('svn:mergeinfo' added)

[Bug fortran/82972] [8/9 Regression] ICE with -finit-derived in gfc_conv_structure, at fortran/trans-expr.c:7733 (and others)

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82972

--- Comment #10 from Fritz Reese  ---
Author: foreese
Date: Mon Jun 25 19:23:49 2018
New Revision: 262107

URL: https://gcc.gnu.org/viewcvs?rev=262107=gcc=rev
Log:
2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* expr.c (component_initializer): Assign init expr to c->initializer.
(generate_isocbinding_initializer): New.
(gfc_generate_initializer): Call generate_isocbinding_initializer to
generate initializers for c_ptr and c_funptr with -finit-derived.

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* gfortran.dg/init_flag_17.f90: New testcase.


Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/init_flag_17.f90
  - copied unchanged from r262104,
trunk/gcc/testsuite/gfortran.dg/init_flag_17.f90
Modified:
branches/gcc-8-branch/   (props changed)
branches/gcc-8-branch/gcc/fortran/ChangeLog
branches/gcc-8-branch/gcc/fortran/expr.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-8-branch/
('svn:mergeinfo' added)

[Bug fortran/85851] [8/9 Regression] ICE in gfc_conv_structure Segmentation fault at trans-expr.c:7810

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85851

--- Comment #6 from Fritz Reese  ---
Author: foreese
Date: Mon Jun 25 19:23:49 2018
New Revision: 262107

URL: https://gcc.gnu.org/viewcvs?rev=262107=gcc=rev
Log:
2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* expr.c (component_initializer): Assign init expr to c->initializer.
(generate_isocbinding_initializer): New.
(gfc_generate_initializer): Call generate_isocbinding_initializer to
generate initializers for c_ptr and c_funptr with -finit-derived.

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* gfortran.dg/init_flag_17.f90: New testcase.


Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/init_flag_17.f90
  - copied unchanged from r262104,
trunk/gcc/testsuite/gfortran.dg/init_flag_17.f90
Modified:
branches/gcc-8-branch/   (props changed)
branches/gcc-8-branch/gcc/fortran/ChangeLog
branches/gcc-8-branch/gcc/fortran/expr.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-8-branch/
('svn:mergeinfo' added)

[Bug fortran/83088] [8/9 Regression] ICE with -init-derived

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83088

--- Comment #5 from Fritz Reese  ---
Author: foreese
Date: Mon Jun 25 19:07:03 2018
New Revision: 262106

URL: https://gcc.gnu.org/viewcvs?rev=262106=gcc=rev
Log:

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* expr.c (component_initializer): Assign init expr to c->initializer.
(generate_isocbinding_initializer): New.
(gfc_generate_initializer): Call generate_isocbinding_initializer to
generate initializers for c_ptr and c_funptr with -finit-derived.

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* gfortran.dg/init_flag_17.f90: New testcase.


Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/init_flag_17.f90
  - copied unchanged from r262104,
trunk/gcc/testsuite/gfortran.dg/init_flag_17.f90
Modified:
branches/gcc-7-branch/   (props changed)
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/expr.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-7-branch/
('svn:mergeinfo' modified)

[Bug fortran/85851] [8/9 Regression] ICE in gfc_conv_structure Segmentation fault at trans-expr.c:7810

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85851

--- Comment #5 from Fritz Reese  ---
Author: foreese
Date: Mon Jun 25 19:07:03 2018
New Revision: 262106

URL: https://gcc.gnu.org/viewcvs?rev=262106=gcc=rev
Log:

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* expr.c (component_initializer): Assign init expr to c->initializer.
(generate_isocbinding_initializer): New.
(gfc_generate_initializer): Call generate_isocbinding_initializer to
generate initializers for c_ptr and c_funptr with -finit-derived.

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* gfortran.dg/init_flag_17.f90: New testcase.


Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/init_flag_17.f90
  - copied unchanged from r262104,
trunk/gcc/testsuite/gfortran.dg/init_flag_17.f90
Modified:
branches/gcc-7-branch/   (props changed)
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/expr.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-7-branch/
('svn:mergeinfo' modified)

[Bug fortran/82972] [8/9 Regression] ICE with -finit-derived in gfc_conv_structure, at fortran/trans-expr.c:7733 (and others)

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82972

--- Comment #9 from Fritz Reese  ---
Author: foreese
Date: Mon Jun 25 19:07:03 2018
New Revision: 262106

URL: https://gcc.gnu.org/viewcvs?rev=262106=gcc=rev
Log:

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* expr.c (component_initializer): Assign init expr to c->initializer.
(generate_isocbinding_initializer): New.
(gfc_generate_initializer): Call generate_isocbinding_initializer to
generate initializers for c_ptr and c_funptr with -finit-derived.

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
Backport from trunk.
* gfortran.dg/init_flag_17.f90: New testcase.


Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/init_flag_17.f90
  - copied unchanged from r262104,
trunk/gcc/testsuite/gfortran.dg/init_flag_17.f90
Modified:
branches/gcc-7-branch/   (props changed)
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/expr.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-7-branch/
('svn:mergeinfo' modified)

[Bug fortran/85851] [8/9 Regression] ICE in gfc_conv_structure Segmentation fault at trans-expr.c:7810

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85851
Bug 85851 depends on bug 82972, which changed state.

Bug 82972 Summary: [8/9 Regression] ICE with -finit-derived in 
gfc_conv_structure, at fortran/trans-expr.c:7733 (and others)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82972

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug fortran/82972] [8/9 Regression] ICE with -finit-derived in gfc_conv_structure, at fortran/trans-expr.c:7733 (and others)

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82972

Fritz Reese  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Fritz Reese  ---
Fixed in r262104.

Planning to backport to gcc-7-branch and gcc-8-branch since this bug has been
present for a while.

[Bug fortran/83088] [8/9 Regression] ICE with -init-derived

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83088
Bug 83088 depends on bug 82972, which changed state.

Bug 82972 Summary: [8/9 Regression] ICE with -finit-derived in 
gfc_conv_structure, at fortran/trans-expr.c:7733 (and others)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82972

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug fortran/85851] [8/9 Regression] ICE in gfc_conv_structure Segmentation fault at trans-expr.c:7810

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85851

Fritz Reese  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from Fritz Reese  ---
Fixed in r262104.

*** This bug has been marked as a duplicate of bug 82972 ***

[Bug fortran/82972] [8/9 Regression] ICE with -finit-derived in gfc_conv_structure, at fortran/trans-expr.c:7733 (and others)

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82972

Fritz Reese  changed:

   What|Removed |Added

 CC||zeccav at gmail dot com

--- Comment #7 from Fritz Reese  ---
*** Bug 85851 has been marked as a duplicate of this bug. ***

[Bug fortran/82972] [8/9 Regression] ICE with -finit-derived in gfc_conv_structure, at fortran/trans-expr.c:7733 (and others)

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82972

Fritz Reese  changed:

   What|Removed |Added

 CC||valeryweber at hotmail dot com

--- Comment #6 from Fritz Reese  ---
*** Bug 83088 has been marked as a duplicate of this bug. ***

[Bug fortran/83088] [8/9 Regression] ICE with -init-derived

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83088

Fritz Reese  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from Fritz Reese  ---
Fixed in r262104.

*** This bug has been marked as a duplicate of bug 82972 ***

[Bug other/86153] [9 regression] test case g++.dg/pr83239.C fails starting with r261585

2018-06-25 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86153

Steve Ellcey  changed:

   What|Removed |Added

 CC||sje at gcc dot gnu.org

--- Comment #4 from Steve Ellcey  ---
If we wanted to restore the previous inlining behavior, adding
the option '--param early-inlining-insns=30' seems to fix the
failure for me on aarch64.

[Bug fortran/83088] [8/9 Regression] ICE with -init-derived

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83088

--- Comment #3 from Fritz Reese  ---
Author: foreese
Date: Mon Jun 25 18:33:11 2018
New Revision: 262104

URL: https://gcc.gnu.org/viewcvs?rev=262104=gcc=rev
Log:

Fix -finit-derived for c_ptr and c_funptr in programs which use
iso_c_binding.

gcc/fortran/ChangeLog:

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
* expr.c (component_initializer): Assign init expr to c->initializer.
(generate_isocbinding_initializer): New.
(gfc_generate_initializer): Call generate_isocbinding_initializer to
generate initializers for c_ptr and c_funptr with -finit-derived.

gcc/testsuite/ChangeLog:

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
* gfortran.dg/init_flag_17.f90: New testcase.


Added:
trunk/gcc/testsuite/gfortran.dg/init_flag_17.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/testsuite/ChangeLog

[Bug fortran/85851] [8/9 Regression] ICE in gfc_conv_structure Segmentation fault at trans-expr.c:7810

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85851

--- Comment #3 from Fritz Reese  ---
Author: foreese
Date: Mon Jun 25 18:33:11 2018
New Revision: 262104

URL: https://gcc.gnu.org/viewcvs?rev=262104=gcc=rev
Log:

Fix -finit-derived for c_ptr and c_funptr in programs which use
iso_c_binding.

gcc/fortran/ChangeLog:

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
* expr.c (component_initializer): Assign init expr to c->initializer.
(generate_isocbinding_initializer): New.
(gfc_generate_initializer): Call generate_isocbinding_initializer to
generate initializers for c_ptr and c_funptr with -finit-derived.

gcc/testsuite/ChangeLog:

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
* gfortran.dg/init_flag_17.f90: New testcase.


Added:
trunk/gcc/testsuite/gfortran.dg/init_flag_17.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/testsuite/ChangeLog

[Bug fortran/82972] [8/9 Regression] ICE with -finit-derived in gfc_conv_structure, at fortran/trans-expr.c:7733 (and others)

2018-06-25 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82972

--- Comment #5 from Fritz Reese  ---
Author: foreese
Date: Mon Jun 25 18:33:11 2018
New Revision: 262104

URL: https://gcc.gnu.org/viewcvs?rev=262104=gcc=rev
Log:

Fix -finit-derived for c_ptr and c_funptr in programs which use
iso_c_binding.

gcc/fortran/ChangeLog:

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
* expr.c (component_initializer): Assign init expr to c->initializer.
(generate_isocbinding_initializer): New.
(gfc_generate_initializer): Call generate_isocbinding_initializer to
generate initializers for c_ptr and c_funptr with -finit-derived.

gcc/testsuite/ChangeLog:

2018-06-25  Fritz Reese  

PR fortran/82972
PR fortran/83088
PR fortran/85851
* gfortran.dg/init_flag_17.f90: New testcase.


Added:
trunk/gcc/testsuite/gfortran.dg/init_flag_17.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/testsuite/ChangeLog

[Bug tree-optimization/86231] [6/7 Regression] vrp_meet causes wrong-code

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug c++/86210] [6/7 Regression] Missing -Wnonnull warning for function defined in the same TU

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86210

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug target/85945] [6/7 Regression] ICE in resolve_subreg_use, at lower-subreg.c:751

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85945

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug c++/85659] [6/7 Regression] ICE with inline assembly inside virtual function

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85659

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed.

[Bug middle-end/85878] [6/7 Regression] ICE in convert_mode_scalar, at expr.c:287

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85878

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug rtl-optimization/85300] [6 Regression] ICE in exact_int_to_float_conversion_p, at simplify-rtx.c:895

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85300

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug tree-optimization/85257] [6/7 Regression] wrong code with -O -fno-tree-ccp and reading zeroed vector member

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85257

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug debug/85252] [6/7 Regression] ICE with -g for static zero-length array initialization

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85252

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug rtl-optimization/85167] [6/7 Regression] shrink-wrap.c:333:15: runtime error with UBSAN

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85167

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426
Bug 63426 depends on bug 85167, which changed state.

Bug 85167 Summary: [6/7 Regression] shrink-wrap.c:333:15: runtime error with 
UBSAN
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85167

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug testsuite/86016] New tests for r260978 report excess errors

2018-06-25 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86016

Steve Ellcey  changed:

   What|Removed |Added

   Last reconfirmed|2018-06-01 00:00:00 |2018-6-25
 CC||dave.pagan at oracle dot com,
   ||sje at gcc dot gnu.org

--- Comment #2 from Steve Ellcey  ---
Adding David Pagen since it looks like Jeff checked this patch in for him.

[Bug c++/85147] [6 Regression] ICE with invalid variadic template-template parameter

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85147

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug c++/85140] [6 Regression] ICE with invalid use of alignas

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85140

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug c++/85076] [6 Regression] ICE with invalid template used as lambda argument

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85076

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug inline-asm/85022] [6/7 Regression] internal compiler error: in write_dependence_p, at alias.c:3003

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85022

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug c++/85068] [6 Regression] ICE with invalid covariant return type hierarchy

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85068

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug inline-asm/85034] [6/7 Regression] -O1 internal compiler error: in elimination_costs_in_insn, at reload1.c:3633

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85034

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug c/84953] [6/7 Regression] misleading warning from strpbrk(x,"")

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84953

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #12 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug target/84899] [6 Regression] ICE: in final_scan_insn_1, at final.c:3139 (error: could not split insn)

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84899

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug c++/84791] ICE with broken OpenMP reduction clause

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84791

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Jakub Jelinek  ---
Fixed.

[Bug c++/84874] [6/7 Regression] internal compiler error: in reshape_init_class, at cp/decl.c:5800

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84874

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from Jakub Jelinek  ---
Fixed.

[Bug debug/84875] [6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348 on s390x

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84875

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug target/84786] [miscompilation] vunpcklpd accessing xmm16-22 targeting KNL

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84786

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #22 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug c++/84767] [6 Regression] ICE with pointer to VLA

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84767

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug target/84772] powerpc-spe: Spurious "is used uninitialized" warning, or possibly incorrect codegen for va_arg(long double)

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84772

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #12 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
Bug 24639 depends on bug 84772, which changed state.

Bug 84772 Summary: powerpc-spe: Spurious "is used uninitialized" warning, or 
possibly incorrect codegen for va_arg(long double)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84772

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug target/84700] [6 Regression] ICE on 32-bit BE powerpc targets w/ -misel -O1

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84700

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug tree-optimization/84739] [6/7 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84739

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug c++/84662] [6/7 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_bitfield_expr_with_lowered_type, at cp/typeck.c:1944

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84662

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug inline-asm/84625] [6 Regression] ICE with empty constraint and vector constant

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84625

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug c++/84558] [6 Regression] ICE with invalid constexpr constructor

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84558

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug c++/84448] [6 Regression] ICE with broken condition in parallel for loop

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84448

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug c++/84341] [6 Regression] ICE with #pragma omp atomic

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84341

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug c++/79078] Warnings from deprecated attribute are too noisy

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79078
Bug 79078 depends on bug 84222, which changed state.

Bug 84222 Summary: [6/7 Regression] [[deprecated]] class complains about 
internal class usage
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84222

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug c++/84222] [6/7 Regression] [[deprecated]] class complains about internal class usage

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84222

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug c++/84076] [6/7 Regression] Warning about objects through POD mistakenly claims the object is a pointer

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84076

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug target/83986] [6 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83986

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug sanitizer/83987] [6 Regression] ICE with OpenMP, sanitizer and virtual bases

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83987

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #15 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug target/83930] [6 Regression] ICE: RTL check: expected code 'const_int', have 'mem' in simplify_binary_operation_1, at simplify-rtx.c:3302

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83930

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug c++/83824] [6 Regression] ICE on invalid C++ code with alignas: in chainon, at tree.c:3037

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83824

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug tree-optimization/83605] [6 Regression] ICE: verify_gimple failed (error: dead STMT in EH table)

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83605

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug c++/83553] [6 Regression] compiler removes body of the for-loop, although there is a case label inside

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83553

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug fortran/81304] [6 Regression] Bogus warning with -Wsurprising and -fopenmp: Type specified for intrinsic function 'min' / 'max'

2018-06-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81304

--- Comment #12 from janus at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #11)
> Fixed for 6.5 too.

Thanks a bunch :)

[Bug web/86315] Bugzilla: add "cc count" and "duplicate count" columns

2018-06-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-06-25
 CC||mpolacek at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Marek Polacek  ---
I'd appreciate if this could be implemented, too.

[Bug debug/83550] [6 Regression] Bad location of DW_TAG_structure_type with forward declaration since r224161

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83550

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug ipa/83346] inliner crash with attribute always_inline/flatten on a destructor

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83346

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||jakub at gcc dot gnu.org
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed.

[Bug c++/83059] ICE on invalid C++ code: in tree_to_uhwi, at tree.c:6633

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83059

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug sanitizer/83014] ICE in pretty-print with -fsanitize=bounds

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83014

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug target/82880] [6 Regression] gcc --help=target --help=optimizers hangs on mips

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82880

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Jakub Jelinek  ---
Fixed for 6.5 too.

[Bug ipa/82801] [6 Regression] Internal compiler error with Eigen and __attribute__((always_inline, flatten))

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82801

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from Jakub Jelinek  ---
Fixed for 6.5 too.

  1   2   3   4   >