Package: gcc-5 Version: 5.3.1-4 Severity: normal Dear Maintainer,
echo "typedef const int Arr[];int foo (Arr a){return a[0];}" | gcc-5 -c -xc - leads to <stdin>: In function ‘foo’: <stdin>:1:1: error: invalid use of array with unspecified bounds <stdin>:1:48: warning: return makes integer from pointer without a cast [-Wint- conversion] No error and no warning with gcc-4.9 -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.3.0-1-amd64 (SMP w/12 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gcc-5 depends on: ii binutils 2.25.90.20151209-1 ii cpp-5 5.3.1-4 ii gcc-5-base 5.3.1-4 ii libc6 2.21-6 ii libcc1-0 5.3.1-4 ii libgcc-5-dev 5.3.1-4 ii libgcc1 1:5.3.1-4 ii libgmp10 2:6.1.0+dfsg-2 ii libisl15 0.15-3 ii libmpc3 1.0.3-1 ii libmpfr4 3.1.3-2 ii libstdc++6 5.3.1-4 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages gcc-5 recommends: ii libc6-dev 2.21-6 Versions of packages gcc-5 suggests: pn gcc-5-doc <none> pn gcc-5-locales <none> pn gcc-5-multilib <none> pn libasan2-dbg <none> pn libatomic1-dbg <none> pn libcilkrts5-dbg <none> pn libgcc1-dbg <none> pn libgomp1-dbg <none> pn libitm1-dbg <none> pn liblsan0-dbg <none> pn libmpx0-dbg <none> pn libquadmath0-dbg <none> pn libtsan0-dbg <none> pn libubsan0-dbg <none> -- no debconf information