Launchpad has imported 7 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67369.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers.

------------------------------------------------------------------------
On 2015-08-27T08:41:59+00:00 Doko-v wrote:

seen with the gcc-5-branch r227166, and trunk r227171

$ cat foo.cc 
int main() {
  unsigned const nsz = 0;
  auto repeat_conditional = [&](auto) {
    auto new_sz = nsz;
  };
  repeat_conditional(1);
}
$ /usr/lib/gcc-snapshot/bin/g++ -std=c++14 -c foo.cc 
foo.cc: In instantiation of 'main()::<lambda(auto:1)> [with auto:1 = int]':
foo.cc:6:23:   required from here
foo.cc:1:5: internal compiler error: in tsubst_decl, at cp/pt.c:11302
 int main() {
     ^
Please submit a full bug report,
with preprocessed source if appropriate.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1489173/comments/1

------------------------------------------------------------------------
On 2015-08-27T08:50:53+00:00 Trippels wrote:

Confirmed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1489173/comments/2

------------------------------------------------------------------------
On 2015-08-31T15:06:16+00:00 Mpolacek wrote:

Started with r211188.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1489173/comments/3

------------------------------------------------------------------------
On 2015-09-08T11:59:39+00:00 Paolo-carlini wrote:

Mine.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1489173/comments/4

------------------------------------------------------------------------
On 2015-09-08T15:02:32+00:00 Paolo-k wrote:

Author: paolo
Date: Tue Sep  8 15:02:01 2015
New Revision: 227530

URL: https://gcc.gnu.org/viewcvs?rev=227530&root=gcc&view=rev
Log:
/cp
2015-09-08  Paolo Carlini  <[email protected]>

        PR c++/67369
        * pt.c (tsubst_copy, [case FUNCTION_DECL]): Do not call tsubst
        if the first argument isn't a template.

/testsuite
2015-09-08  Paolo Carlini  <[email protected]>

        PR c++/67369
        * g++.dg/cpp1y/lambda-generic-ice4.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1489173/comments/5

------------------------------------------------------------------------
On 2015-09-08T15:02:59+00:00 Paolo-k wrote:

Author: paolo
Date: Tue Sep  8 15:02:27 2015
New Revision: 227531

URL: https://gcc.gnu.org/viewcvs?rev=227531&root=gcc&view=rev
Log:
/cp
2015-09-08  Paolo Carlini  <[email protected]>

        PR c++/67369
        * pt.c (tsubst_copy, [case FUNCTION_DECL]): Do not call tsubst
        if the first argument isn't a template.

/testsuite
2015-09-08  Paolo Carlini  <[email protected]>

        PR c++/67369
        * g++.dg/cpp1y/lambda-generic-ice4.C: New.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice4.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/pt.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1489173/comments/6

------------------------------------------------------------------------
On 2015-09-08T15:05:32+00:00 Paolo-carlini wrote:

Fixed for 5.3.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1489173/comments/7


** Changed in: gcc
       Status: Unknown => Fix Released

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489173

Title:
  internal compiler error: in tsubst_decl

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1489173/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to