http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46844
Summary: [4.6 Regression] regrename.c:312:22: error: unused parameter 'reg' Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org Host: hppa-unknown-linux-gnu Target: hppa2.0w-hp-hpux11.11 Build: hppa-unknown-linux-gnu /home/dave/gnu/gcc/objdir/./prev-gcc/xgcc -B/home/dave/gnu/gcc/objdir/./prev-gcc/ -B/home/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/include -isystem /home/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/sys-include -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-forma t-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-string s -Werror -Wold-style-definition -Wc++-compat -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/../libdecnumb er/dpd -I../libdecnumber ../../gcc/gcc/regrename.c -o regrename.o ../../gcc/gcc/regrename.c: In function 'check_new_reg_p': ../../gcc/gcc/regrename.c:312:22: error: unused parameter 'reg' [-Werror=unused- parameter]cc1: all warnings being treated as errors d...@hiauly6:~/gnu/gcc/objdir/prev-gcc$ ./xgcc -B./ -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: hppa-linux Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared --prefix=/home/dave/opt/gnu/gcc/gcc-4.6.0 --with-local-prefix=/home/dave/opt/gnu --enable-threads=posix --enable-__cxa_atexit --build=hppa-linux --enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib --with-host-libstdcxx=/usr/lib/libstdc++.so.6 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada Thread model: posix gcc version 4.6.0 20101207 (experimental) [trunk revision 167551] (GCC)