[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#882855: marked as done (g++-7: internal compiler error: in maybe_undo_parenthesized_ref on for initialization list)



Your message dated Sun, 18 Feb 2018 09:19:48 +0000
with message-id <E1enL8O-0005OE-2X@fasolo.debian.org>
and subject line Bug#882855: fixed in gcc-7 7.3.0-4
has caused the Debian Bug report #882855,
regarding g++-7: internal compiler error: in maybe_undo_parenthesized_ref on for initialization list
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
882855: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882855
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: g++-7
Version: 7.2.0-16
Severity: important

Dear Maintainer,

The following C++ program, when compiled with g++, returns an internal compiler error.

--------
int rand();

template<typename T>
struct s
{
    int count() { return rand(); }
};

template<typename v>
int f(s<v> a)
{
    int const x = a.count();
    int r = 0;
    auto l = [&](int& r)
    {
        for(int y = 0, yend = (x); y < yend; ++y)
        {
            r += y;
        }
    };
    l(r);
}

template int f(s<float>);

int main()
{
}
--------

g++ test.cpp returns:
--------
test.cpp: In instantiation of ‘f(s<v>)::<lambda(int&)> [with v = float]’:
test.cpp:14:16:   required from ‘struct f(s<v>) [with v = float]::<lambda(int&)>’
test.cpp:14:10:   required from ‘int f(s<v>) [with v = float]’
test.cpp:24:24:   required from here
test.cpp:16:24: internal compiler error: in maybe_undo_parenthesized_ref, at cp/semantics.c:1705
         for(int y = 0, yend = (x); y < yend; ++y)
                        ^~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
--------

Thanks!


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages g++-7 depends on:
ii  gcc-7            7.2.0-16
ii  gcc-7-base       7.2.0-16
ii  libc6            2.24-17
ii  libgmp10         2:6.1.2+dfsg-1.1
ii  libisl15         0.18-1
ii  libmpc3          1.0.3-2
ii  libmpfr4         3.1.6-1
ii  libstdc++-7-dev  7.2.0-16
ii  zlib1g           1:1.2.8.dfsg-5

g++-7 recommends no packages.

Versions of packages g++-7 suggests:
ii  g++-7-multilib    7.2.0-16
pn  gcc-7-doc         <none>
pn  libstdc++6-7-dbg  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: gcc-7
Source-Version: 7.3.0-4

We believe that the bug you reported is fixed in the latest version of
gcc-7, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 882855@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-7 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 18 Feb 2018 15:19:16 +0700
Source: gcc-7
Binary: gcc-7-base libgcc-7-dev libgcc4 libgcc4-dbg lib64gcc-7-dev lib32gcc-7-dev libn32gcc-7-dev libx32gcc-7-dev gcc-7 gcc-7-multilib gcc-7-test-results gcc-7-plugin-dev gcc-7-hppa64-linux-gnu cpp-7 gcc-7-locales g++-7 g++-7-multilib libgomp1 libgomp1-dbg lib32gomp1 lib32gomp1-dbg lib64gomp1 lib64gomp1-dbg libn32gomp1 libn32gomp1-dbg libasan4 libasan4-dbg lib32asan4 lib32asan4-dbg lib64asan4 lib64asan4-dbg libx32asan4 libx32asan4-dbg libubsan0 libubsan0-dbg lib32ubsan0 lib32ubsan0-dbg lib64ubsan0 lib64ubsan0-dbg libx32ubsan0 libx32ubsan0-dbg libcilkrts5 libcilkrts5-dbg lib32cilkrts5 lib32cilkrts5-dbg lib64cilkrts5 lib64cilkrts5-dbg libx32cilkrts5 libx32cilkrts5-dbg libgccjit-7-doc libgccjit-7-dev gobjc++-7 gobjc++-7-multilib gobjc-7 gobjc-7-multilib libobjc-7-dev lib64objc-7-dev lib32objc-7-dev libn32objc-7-dev libx32objc-7-dev gfortran-7 gfortran-7-multilib libgfortran-7-dev lib64gfortran-7-dev lib32gfortran-7-dev libn32gfortran-7-dev libx32gfortran-7-dev libgfortran4
 libgfortran4-dbg lib64gfortran4 lib64gfortran4-dbg lib32gfortran4 lib32gfortran4-dbg libn32gfortran4 libn32gfortran4-dbg libx32gfortran4 libx32gfortran4-dbg gccgo-7 gccgo-7-multilib libgo11 libgo11-dbg lib64go11 lib64go11-dbg lib32go11 lib32go11-dbg libn32go11 libn32go11-dbg libx32go11 libx32go11-dbg libstdc++-7-dev libstdc++-7-pic libstdc++6-7-dbg lib32stdc++-7-dev lib32stdc++6-7-dbg lib64stdc++-7-dev lib64stdc++6-7-dbg libn32stdc++-7-dev libn32stdc++6-7-dbg libx32stdc++-7-dev libx32stdc++6-7-dbg libstdc++-7-doc gnat-7 gnat-7-sjlj libgnat-7 libgnat-7-dbg libgnatvsn7-dev libgnatvsn7 libgnatvsn7-dbg gdc-7 gdc-7-multilib libgphobos-7-dev libgphobos71 libgphobos71-dbg lib64gphobos-7-dev lib64gphobos71 lib64gphobos71-dbg lib32gphobos-7-dev lib32gphobos71 lib32gphobos71-dbg libx32gphobos-7-dev libx32gphobos71 libx32gphobos71-dbg gccbrig-7 libhsail-rt-7-dev gcc-7-offload-nvptx libgomp-plugin-nvptx1
 gcc-7-source
Architecture: source
Version: 7.3.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
 cpp-7      - GNU C preprocessor
 g++-7      - GNU C++ compiler
 g++-7-multilib - GNU C++ compiler (multilib support)
 gcc-7      - GNU C compiler
 gcc-7-base - GCC, the GNU Compiler Collection (base package)
 gcc-7-hppa64-linux-gnu - GNU C compiler (cross compiler for hppa64)
 gcc-7-locales - GCC, the GNU compiler collection (native language support files)
 gcc-7-multilib - GNU C compiler (multilib support)
 gcc-7-offload-nvptx - GCC offloading compiler to NVPTX
 gcc-7-plugin-dev - Files for GNU GCC plugin development.
 gcc-7-source - Source of the GNU Compiler Collection
 gcc-7-test-results - Test results for the GCC test suite
 gccbrig-7  - GNU BRIG (HSA IL) frontend
 gccgo-7    - GNU Go compiler
 gccgo-7-multilib - GNU Go compiler (multilib support)
 gdc-7      - GNU D compiler (version 2)
 gdc-7-multilib - GNU D compiler (version 2, multilib support)
 gfortran-7 - GNU Fortran compiler
 gfortran-7-multilib - GNU Fortran compiler (multilib support)
 gnat-7     - GNU Ada compiler
 gnat-7-sjlj - GNU Ada compiler (setjump/longjump runtime library)
 gobjc++-7  - GNU Objective-C++ compiler
 gobjc++-7-multilib - GNU Objective-C++ compiler (multilib support)
 gobjc-7    - GNU Objective-C compiler
 gobjc-7-multilib - GNU Objective-C compiler (multilib support)
 lib32asan4 - AddressSanitizer -- a fast memory error detector (32bit)
 lib32asan4-dbg - AddressSanitizer -- a fast memory error detector (32 bit debug sy
 lib32cilkrts5 - Intel Cilk Plus language extensions (32bit)
 lib32cilkrts5-dbg - Intel Cilk Plus language extensions (32 bit debug symbols)
 lib32gcc-7-dev - GCC support library (32 bit development files)
 lib32gfortran-7-dev - Runtime library for GNU Fortran applications (32bit development f
 lib32gfortran4 - Runtime library for GNU Fortran applications (32bit)
 lib32gfortran4-dbg - Runtime library for GNU Fortran applications (32 bit debug symbol
 lib32go11  - Runtime library for GNU Go applications (32bit)
 lib32go11-dbg - Runtime library for GNU Go applications (32 bit debug symbols)
 lib32gomp1 - GCC OpenMP (GOMP) support library (32bit)
 lib32gomp1-dbg - GCC OpenMP (GOMP) support library (32 bit debug symbols)
 lib32gphobos-7-dev - Phobos D standard library (32bit development files)
 lib32gphobos71 - Phobos D standard library (runtime library)
 lib32gphobos71-dbg - Phobos D standard library (debug symbols)
 lib32objc-7-dev - Runtime library for GNU Objective-C applications (32bit developme
 lib32stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 lib32stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 lib32ubsan0 - UBSan -- undefined behaviour sanitizer (32bit)
 lib32ubsan0-dbg - UBSan -- undefined behaviour sanitizer (32 bit debug symbols)
 lib64asan4 - AddressSanitizer -- a fast memory error detector (64bit)
 lib64asan4-dbg - AddressSanitizer -- a fast memory error detector (64bit debug sym
 lib64cilkrts5 - Intel Cilk Plus language extensions (64bit)
 lib64cilkrts5-dbg - Intel Cilk Plus language extensions (64bit debug symbols)
 lib64gcc-7-dev - GCC support library (64bit development files)
 lib64gfortran-7-dev - Runtime library for GNU Fortran applications (64bit development f
 lib64gfortran4 - Runtime library for GNU Fortran applications (64bit)
 lib64gfortran4-dbg - Runtime library for GNU Fortran applications (64bit debug symbols
 lib64go11  - Runtime library for GNU Go applications (64bit)
 lib64go11-dbg - Runtime library for GNU Go applications (64bit debug symbols)
 lib64gomp1 - GCC OpenMP (GOMP) support library (64bit)
 lib64gomp1-dbg - GCC OpenMP (GOMP) support library (64bit debug symbols)
 lib64gphobos-7-dev - Phobos D standard library (64bit development files)
 lib64gphobos71 - Phobos D standard library (runtime library)
 lib64gphobos71-dbg - Phobos D standard library (debug symbols)
 lib64objc-7-dev - Runtime library for GNU Objective-C applications (64bit developme
 lib64stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 lib64stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 lib64ubsan0 - UBSan -- undefined behaviour sanitizer (64bit)
 lib64ubsan0-dbg - UBSan -- undefined behaviour sanitizer (64bit debug symbols)
 libasan4   - AddressSanitizer -- a fast memory error detector
 libasan4-dbg - AddressSanitizer -- a fast memory error detector (debug symbols)
 libcilkrts5 - Intel Cilk Plus language extensions (runtime)
 libcilkrts5-dbg - Intel Cilk Plus language extensions (debug symbols)
 libgcc-7-dev - GCC support library (development files)
 libgcc4    - GCC support library
 libgcc4-dbg - GCC support library (debug symbols)
 libgccjit-7-dev - GCC just-in-time compilation (development files)
 libgccjit-7-doc - GCC just-in-time compilation (documentation)
 libgfortran-7-dev - Runtime library for GNU Fortran applications (development files)
 libgfortran4 - Runtime library for GNU Fortran applications
 libgfortran4-dbg - Runtime library for GNU Fortran applications (debug symbols)
 libgnat-7  - runtime for applications compiled with GNAT (shared library)
 libgnat-7-dbg - runtime for applications compiled with GNAT (debugging symbols)
 libgnatvsn7 - GNU Ada compiler selected components (shared library)
 libgnatvsn7-dbg - GNU Ada compiler selected components (debugging symbols)
 libgnatvsn7-dev - GNU Ada compiler selected components (development files)
 libgo11    - Runtime library for GNU Go applications
 libgo11-dbg - Runtime library for GNU Go applications (debug symbols)
 libgomp-plugin-nvptx1 - GCC OpenMP v4.5 plugin for offloading to NVPTX
 libgomp1   - GCC OpenMP (GOMP) support library
 libgomp1-dbg - GCC OpenMP (GOMP) support library (debug symbols)
 libgphobos-7-dev - Phobos D standard library
 libgphobos71 - Phobos D standard library (runtime library)
 libgphobos71-dbg - Phobos D standard library (debug symbols)
 libhsail-rt-7-dev - HSAIL runtime library (development files)
 libn32gcc-7-dev - GCC support library (n32 development files)
 libn32gfortran-7-dev - Runtime library for GNU Fortran applications (n32 development fil
 libn32gfortran4 - Runtime library for GNU Fortran applications (n32)
 libn32gfortran4-dbg - Runtime library for GNU Fortran applications (n32 debug symbols)
 libn32go11 - Runtime library for GNU Go applications (n32)
 libn32go11-dbg - Runtime library for GNU Go applications (n32 debug symbols)
 libn32gomp1 - GCC OpenMP (GOMP) support library (n32)
 libn32gomp1-dbg - GCC OpenMP (GOMP) support library (n32 debug symbols)
 libn32objc-7-dev - Runtime library for GNU Objective-C applications (n32 development
 libn32stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 libn32stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 libobjc-7-dev - Runtime library for GNU Objective-C applications (development fil
 libstdc++-7-dev - GNU Standard C++ Library v3 (development files)
 libstdc++-7-doc - GNU Standard C++ Library v3 (documentation files)
 libstdc++-7-pic - GNU Standard C++ Library v3 (shared library subset kit)
 libstdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 libubsan0  - UBSan -- undefined behaviour sanitizer (runtime)
 libubsan0-dbg - UBSan -- undefined behaviour sanitizer (debug symbols)
 libx32asan4 - AddressSanitizer -- a fast memory error detector (x32)
 libx32asan4-dbg - AddressSanitizer -- a fast memory error detector (x32 debug symbo
 libx32cilkrts5 - Intel Cilk Plus language extensions (x32)
 libx32cilkrts5-dbg - Intel Cilk Plus language extensions (x32 debug symbols)
 libx32gcc-7-dev - GCC support library (x32 development files)
 libx32gfortran-7-dev - Runtime library for GNU Fortran applications (x32 development fil
 libx32gfortran4 - Runtime library for GNU Fortran applications (x32)
 libx32gfortran4-dbg - Runtime library for GNU Fortran applications (x32 debug symbols)
 libx32go11 - Runtime library for GNU Go applications (x32)
 libx32go11-dbg - Runtime library for GNU Go applications (x32 debug symbols)
 libx32gphobos-7-dev - Phobos D standard library (x32 development files)
 libx32gphobos71 - Phobos D standard library (runtime library)
 libx32gphobos71-dbg - Phobos D standard library (debug symbols)
 libx32objc-7-dev - Runtime library for GNU Objective-C applications (x32 development
 libx32stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 libx32stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 libx32ubsan0 - UBSan -- undefined behaviour sanitizer (x32)
 libx32ubsan0-dbg - UBSan -- undefined behaviour sanitizer (x32 debug symbols)
Closes: 882855 889724
Changes:
 gcc-7 (7.3.0-4) unstable; urgency=medium
 .
   * Update to SVN 20180218 (r257787) from the gcc-7-branch.
     - S/390: Disable branch prediction for indirect branches.
     - Fix PR tree-optimization/84233 (closes: #889724),
       PR target/PR84295 (s390), PR target/84113 (PPC), PR target/84154 (PPC),
       PR target/83758 (PPC), PR target/84279 (PPC), PR c++/83990,
       PR target/84089 (PA), PR fortran/68560, PR fortran/35299,
       PR fortran/54223, PR fortran/84276, PR target/79242 (MSP430).
       PR target/82096 (ARM), PR tree-optimization/84190, PR c++/84151,
       PR c++/81853, PR c++/84420, PR c++/83835, PR c++/82664, PR c++/82764,
       PR c++/83227, PR c++/84045, PR fortran/84270.
   * Fix PR c++/83204, taken from the trunk. Closes: #882855.
   * Refresh patches.
   * Configure with --disable-libquadmath-support when not explicitly enabled.
Checksums-Sha1:
 11360a14bef3ff4bc3b2d4a8cbe2c28ecca0b171 25540 gcc-7_7.3.0-4.dsc
 1469316ec4b6c8fbc845358d3bb83a82fcc9daf6 733898 gcc-7_7.3.0-4.diff.gz
 9e4a876f3bb1cbf7c7dabc35f99a18d386c39517 10545 gcc-7_7.3.0-4_source.buildinfo
Checksums-Sha256:
 c0a8bd45b185f2851f9d09a06ca06ac4d27fb7422cfe7be54992ba5ebfa4a7b0 25540 gcc-7_7.3.0-4.dsc
 06171010e6f4e7cdf9b7cebdbf49e947681d3f433db0bc12e857be2db605ce08 733898 gcc-7_7.3.0-4.diff.gz
 b4f1e2f43b734ae37573634f609a877985653b65dcb0f1a74d3fbc466f5b90db 10545 gcc-7_7.3.0-4_source.buildinfo
Files:
 5a9842825f01467e88a11fa91496abca 25540 devel optional gcc-7_7.3.0-4.dsc
 a8b1239d6317d67d306e6749e2e2bdfe 733898 devel optional gcc-7_7.3.0-4.diff.gz
 62e0527d66df09db3fbdb61d9802c78a 10545 devel optional gcc-7_7.3.0-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlqJPs4QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9XEND/9A3ky58eGOL7KkzihFW31bSIiquOIf5Vgy
53XK6iAqOScBYyrOaQiNNqmSATFwPD26gM4rvUKURN/IVgIZoZ+lSEjFNornWpDU
ujh6K4ixG3Ob52ktvGcxKuBu0H3fe0tVtr1LO7Wk7WVKapBAg6OGXShT6bS5Y1QH
mqDjor4g1AzoqLtXoE/IX5HgpIdhqMt1zfXIWBSav2623PCClQamMZjYNNzoOEAd
R9pKEPmedIuFSQ2cGsysfO5ZicwMGS2y2E/4GmqDLYqffmsjaQd1reURDUSwHDB6
w2UZkFzAt0hEO9qpCJqUeL0Upp3xv5Z0v/8P3E3D704UejeoyAvKKjSiSXdg2jYz
aqmHuBX9/KH4SFz9MSeBAogPwFjj+yTmdy2KG6Emzg5OpHzjRKBBjdkBguLYeK7C
w7CnSzoX3FKsej4NiTI1gDakT7FKrJSIGcgd8rXfuN+m9yj4pKW4tLhbievQZVDi
nQ96G5tOzI+GzqIesbtXUTpHXWODJa3TcSvw2A7qd36rnxhbME+sfN7p9eNQiH1P
+trNpAx+1kSj3FXwXHvBx0uJ1a9bgD0XHvXWGMXwpBn3B0G85qTGvQ4HGGOzxgE5
g/15apV4GGngoTo6Wq3IzM03QFsT2rQx3k+cWyDAm3lVeDWuQbO5peRv9FY1NbK0
UB4IqIZnlw==
=I7qE
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: