Package: gcc-4.4
Version: 4.4.0-5
Severity: wishlist
With the attached C file, gcc-4.4 warns:
lakeview ok % gcc-4.4 -O2 -Wall socket.c
socket.c: In function ‘main’:
socket.c:20: warning: dereferencing pointer ‘sin’ does break strict-aliasing
rules
socket.c:21: warning: dereferencing poin
Package: gcc
Version: 4.2.4-6
The mips cross-compiler[1] generates assembly which reloads gp (by
adding a constant to t9, the function's address) at the start of every
function. This would make sense if functions are allowed to change gp.
But AFAIK they aren't. If they would, gp would need to be
<>
--- Comment #4 from mikpe at it dot uu dot se 2009-05-28 08:40 ---
(In reply to comment #3)
> I just tried this with gfortran 4.3.3 that I have on my ubuntu box. I don't
> get
> a failure with arm-linux-gnueabi. Can you verify that this still exists with
> arm-linux configurations ?
Th
4 matches
Mail list logo