This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

optimization/149: Re: dead code elim && div-by-0 warnings



>Number:         149
>Category:       optimization
>Synopsis:       dead code elim && div-by-0 warnings
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          analyzed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 28 01:06:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Morton <andrewm@uow.edu.au>
>Release:        2.95.2
>Organization:
>Environment:
>Description:
 Original-Message-ID: <38E00A33.50564DDA@uow.edu.au>
 Date: Tue, 28 Mar 2000 01:26:11 +0000

 Couple of things..

 foo()
 {
	 if (0)
		 bar("string");
 }

 will still put "string" into the output, although it is unreferenced.

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]