public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/5720: useless jump to call of nonreturning function
@ 2003-03-15 4:44 bangerth
0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-03-15 4:44 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, pb
Synopsis: useless jump to call of nonreturning function
State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Sat Mar 15 04:44:50 2003
State-Changed-Why:
If I preprocess the source code, it doesn't even have the
doint() function any more that you describe in the
message. Can you please provide _preprocessed_ sources
so that we can reproduce the problem? Please review
http://gcc.gnu.org/bugs.html
for this, if you are unsure how to generate them
Thanks
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5720
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: optimization/5720: useless jump to call of nonreturning function
@ 2002-05-27 16:46 doko
0 siblings, 0 replies; 4+ messages in thread
From: doko @ 2002-05-27 16:46 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, pb
Synopsis: useless jump to call of nonreturning function
State-Changed-From-To: feedback->open
State-Changed-By: doko
State-Changed-When: Mon May 27 14:42:56 2002
State-Changed-Why:
file attached
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5720
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: optimization/5720: useless jump to call of nonreturning function
@ 2002-04-03 2:21 rth
0 siblings, 0 replies; 4+ messages in thread
From: rth @ 2002-04-03 2:21 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, pb
Synopsis: useless jump to call of nonreturning function
State-Changed-From-To: open->feedback
State-Changed-By: rth
State-Changed-When: Wed Apr 3 02:21:39 2002
State-Changed-Why:
No attachment.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5720
^ permalink raw reply [flat|nested] 4+ messages in thread
* optimization/5720: useless jump to call of nonreturning function
@ 2002-02-18 7:46 pb
0 siblings, 0 replies; 4+ messages in thread
From: pb @ 2002-02-18 7:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 5720
>Category: optimization
>Synopsis: useless jump to call of nonreturning function
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: pessimizes-code
>Submitter-Id: net
>Arrival-Date: Mon Feb 18 07:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Debian report #106866, submitted by <herbert@gondor.apana.org.au>
>Release: 3.0.3
>Organization:
>Environment:
i686-linux
>Description:
Compile the attached file with -O2.
The generated assembler includes:
movl intpending, %eax
testl %eax, %eax
je .L6
jmp .L11
.p2align 2
.L9:
orl $1, %esi
testl %ebx, %ebx
[...]
.L11:
call doint
The "doint" function is marked with attribute((noreturn)) and there are no other branches to .L11. The extra "jmp .L11" brings no benefit - the "call doint" could be put directly in its place.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-03-15 4:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-15 4:44 optimization/5720: useless jump to call of nonreturning function bangerth
-- strict thread matches above, loose matches on Subject: below --
2002-05-27 16:46 doko
2002-04-03 2:21 rth
2002-02-18 7:46 pb
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).