This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/55035] New: reload1.c:3766:41: error: âorig_dup[0]â may be used uninitialized in this function (for fr30, microblaze)
- From: "amylaar at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Oct 2012 14:23:00 +0000
- Subject: [Bug middle-end/55035] New: reload1.c:3766:41: error: âorig_dup[0]â may be used uninitialized in this function (for fr30, microblaze)
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55035
Bug #: 55035
Summary: reload1.c:3766:41: error: âorig_dup[0]â may be used
uninitialized in this function (for fr30, microblaze)
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Keywords: build, diagnostic
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: amylaar@gcc.gnu.org
Blocks: 44756
Target: fr30-elf, microblaze-elf, microblaze-linux
g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
-DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/.
-I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../../gcc/gcc/../libbacktrace
../../../gcc/gcc/reload1.c -o reload1.o
../../../gcc/gcc/reload1.c: In function âvoid
calculate_elim_costs_all_insns()â:
../../../gcc/gcc/reload1.c:3766:41: error: âorig_dup[0]â may be used
uninitialized in this function [-Werror=maybe-uninitialized]
*recog_data.dup_loc[i] = orig_dup[i];
^
../../../gcc/gcc/reload1.c:3642:7: note: âorig_dup[0]â was declared here
rtx orig_dup[MAX_RECOG_OPERANDS];
^
cc1plus: all warnings being treated as errors
make[2]: *** [reload1.o] Error 1