Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2022 19:45:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 264941] lang/gcc9 and optimize options and inline-assembler and pointer assignment
Message-ID:  <bug-264941-29464-PVl7OG8zOb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264941-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264941-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264941

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim@FreeBSD.org

--- Comment #1 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to var from comment #0)
Are you sure this even compiles? `STaTIc` is invalid syntax, and `radtodeg`=
 is
not defined. So I get:

% gcc -O2 -S bug264941.c
bug264941.c: In function 'ctop87l':
bug264941.c:33:46: error: 'radtodeg' undeclared (first use in this function)
   33 |             : [x]"m"(x), [y]"m"(y), [rtd]"m"(radtodeg)
      |                                              ^~~~~~~~
bug264941.c:33:46: note: each undeclared identifier is reported only once f=
or
each function it appears in

In any case, try compiling this with a newer gcc first. For example, gcc 12
from ports.

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264941-29464-PVl7OG8zOb>