This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
optimization/755: Unitialized variable in cse_insn
- To: gcc-gnats at gcc dot gnu dot org
- Subject: optimization/755: Unitialized variable in cse_insn
- From: hpenner at de dot ibm dot com
- Date: 9 Nov 2000 13:29:53 -0000
- Reply-To: hpenner at de dot ibm dot com
>Number: 755
>Category: optimization
>Synopsis: Unitialized variable in cse_insn
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 09 05:36:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Hartmut Penner
>Release: egcs-20001109
>Organization:
>Environment:
gcc s390 backend
>Description:
Compiler does not bootstrap clean, due to uninitialized
variable in cse. Depending on the of the optimization of the
host compiler, the produced compiler delivers different code.
The variable is 'src_folded_regcost' in cse.c. The compiler
is complains that this variable could be used uninitialized.
The variable is only set if src_folded is set, but is always
used.
>How-To-Repeat:
>Fix:
Initialize 'src_folded_regcost' to -1.
>Release-Note:
>Audit-Trail:
>Unformatted: