public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/3871: Enabled warning message is not generated
@ 2001-07-29 23:46 igusarov
0 siblings, 0 replies; only message in thread
From: igusarov @ 2001-07-29 23:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 3871
>Category: other
>Synopsis: Enabled warning message is not generated
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 29 23:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Igor A. Goussarov
>Release: 3.0
>Organization:
Akella
>Environment:
System: FreeBSD igor.studio1001.akella.ru 4.0-RELEASE FreeBSD 4.0-RELEASE #4: Sat Jun 23 21:04:41 MSD 2001 root@igor.studio1001.akella.ru:/usr/src/sys/compile/IGOR i386
host: i386-unknown-freebsd4.0
build: i386-unknown-freebsd4.0
target: i386-unknown-freebsd4.0
configured with: ./configure --prefix=/usr/local : (reconfigured) ./configure --prefix=/usr : (reconfigured) ./configure --prefix=/usr
>Description:
-Winline switch is supposed to issue warnings for all functions that
are declared 'inline' but cannot be inlined. The following example
compiled with '-c -O3 -Wall -Winline' does not generate such warning.
The same situation holds if a function was explicitely declared
inline, but the compiler decided not to inline it (e.g. any function
containing a call to setjmp()).
>How-To-Repeat:
compile this code with '-c -O3 -Wall -Winline' options
inline void foo();
int main(int, char**)
{
foo();
return 0;
};
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-29 23:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-29 23:46 other/3871: Enabled warning message is not generated igusarov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).