[Bug 264941] lang/gcc9 and optimize options and inline-assembler and pointer assignment

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Jun 2022 19:45:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264941

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 for
each function it appears in

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

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