public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/3962: function containing empty try{} block not fully optimized
@ 2001-08-08 8:06 Sylvain.Pion
0 siblings, 0 replies; 2+ messages in thread
From: Sylvain.Pion @ 2001-08-08 8:06 UTC (permalink / raw)
To: gcc-gnats; +Cc: Sylvain.Pion
>Number: 3962
>Category: optimization
>Synopsis: function containing empty try{} block not fully optimized
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: pessimizes-code
>Submitter-Id: net
>Arrival-Date: Wed Aug 08 08:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Sylvain.Pion@sophia.inria.fr
>Release: 3.0
>Organization:
>Environment:
Reading specs from ./Linux_3.0/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.0/specs
Configured with: /u/zosma/0/prisme/spion/gcc/gcc/configure --enable-languages=c++ --prefix=/u/zosma/0/prisme/spion/gcc/Linux_CVS
Thread model: single
gcc version 3.0
>Description:
The following function gets compiled into the following
assembly on x86. GCC 2.95.3 correctly optimized it to
a simple "ret".
_Z1fv:
.LFB1:
subl $12, %esp
.LCFI0:
addl $12, %esp
.LCFI1:
ret
>How-To-Repeat:
Compile with "g++ -O2 -S -fomit-frame-pointer" :
void f()
{
try {}
catch(...) {}
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: optimization/3962: function containing empty try{} block not fully optimized
@ 2002-05-28 17:46 rth
0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2002-05-28 17:46 UTC (permalink / raw)
To: Sylvain.Pion, gcc-bugs, gcc-prs, nobody
Synopsis: function containing empty try{} block not fully optimized
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Tue May 28 17:38:31 2002
State-Changed-Why:
http://gcc.gnu.org/ml/gcc-patches/2002-05/msg02227.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3962
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-29 0:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-08 8:06 optimization/3962: function containing empty try{} block not fully optimized Sylvain.Pion
2002-05-28 17:46 rth
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).