Hi all:
This patch enable RISC-V support FreeBSD, Ruslan (RISC-V FreeBSD
maintainer) and me has been tested on FreeBSD 12 for building kernel
and whole user space programs/libraries.
gcc/ChangeLog
2018-01-29 Ruslan Bukin
Kito Cheng
* config.gcc (riscv*-*-freebsd
On Sun, Jan 28, 2018 at 05:00:21PM +0100, Thomas Koenig wrote:
> Hello world,
>
> At the moment, gfortran silently accepts
>
>type, bind(c) :: a
> character(len=2,kind=c_char) :: b
>end type a
>
> translating this into I don't know what. With the -fc-prototypes
> option, we now get
On Sat, Jan 27, 2018 at 2:12 PM, H.J. Lu wrote:
> For
>
> ---
> struct C {
> virtual ~C();
> virtual void f();
> };
>
> void
> f (C *p)
> {
> p->f();
> p->f();
> }
> ---
>
> -mindirect-branch=thunk-extern -O2 on x86-64 GNU/Linux generates:
>
> _Z1fP1C:
> .LFB0:
> .cfi_startproc
>
Hello world,
At the moment, gfortran silently accepts
type, bind(c) :: a
character(len=2,kind=c_char) :: b
end type a
translating this into I don't know what. With the -fc-prototypes
option, we now get
typedef struct a {
char b;
} a;
which is clearly bogus. Any user code which ha