Package: gcc-5
Severity: important
Version: 5.3.1-4
Tag: fixed-upstream
thanks
Heyya doko,
Upstream bug is at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69037 - I
didn't want to bother with Forwarded, since I didn't forward it.
The latest upload of gcc-5 seems to break on
```c
typedef const int array_t[3];
int allocate_with_allocator(array_t ar)
{
int a = ar[0];
int b = ar[1];
return a + b;
}
```
Breaks with:
```
test.c: In function ‘allocate_with_allocator’:
test.c:5:13: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
int a = ar[0];
^
test.c:6:13: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
int b = ar[1];
^
```
on 5.3.1-4 (but the old 5.2.1-23 is fine)
Fix commited to svn in r231374, but I couldn't quickly apply the trunk patches,
so I figured I'd let you do what you usually do with this stuff :)
Cheers,
Paul
Attachment:
signature.asc
Description: PGP signature