NEW GCC build failure, HEAD@145102 on native

regress regress@apple.com
Fri Mar 27 13:24:00 GMT 2009


With your recent patch, GCC HEAD revision 145102 had problems on:
native: build (NEW build failure)
Attached is build output for those targets.
The previous build was of revision 145100.

Log information for changes since the last build:
------------------------------------------------------------------------
r145102 | hjl | 2009-03-27 05:52:52 -0700 (Fri, 27 Mar 2009) | 27 lines
Changed paths:
   M /trunk/gcc/ChangeLog
   M /trunk/gcc/builtins.c
   M /trunk/gcc/c-common.c
   M /trunk/gcc/c-common.h
   M /trunk/gcc/c-typeck.c
   M /trunk/gcc/cp/ChangeLog
   M /trunk/gcc/cp/typeck.c
   M /trunk/gcc/testsuite/ChangeLog
   A /trunk/gcc/testsuite/g++.dg/warn/pr35652.C
   M /trunk/gcc/testsuite/gcc.dg/format/plus-1.c
   A /trunk/gcc/testsuite/gcc.dg/pr35652.c

gcc/

2009-03-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR c++/35652
	* builtins.h (c_strlen): Do not warn here.
	* c-typeck.c (build_binary_op): Adjust calls to pointer_int_sum.
	* c-common.c (pointer_int_sum): Take an explicit location.
	Warn about offsets out of bounds.
	* c-common.h (pointer_int_sum): Adjust declaration.

gcc/cp/

2009-03-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR c++/35652
	* typeck.c (cp_pointer_sum): Adjust call to pointer_int_sum.

gcc/testsuite/

2009-03-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR c++/35652
	* gcc.dg/pr35652.C: New.
	* g++.dg/warn/pr35652.C: New.
	* gcc.dg/format/plus-1.c: Adjust message.

------------------------------------------------------------------------

For more information, see <http://gcc.gnu.org/regtest/HEAD/>.

-------------- next part --------------
/Users/regress/tbox/native/build/./prev-gcc/xgcc -B/Users/regress/tbox/native/build/./prev-gcc/ -B/Users/regress/tbox/objs/powerpc-apple-darwin9.6.0/bin/ -c  -g -O2 -mdynamic-no-pic -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I/Users/regress/tbox/svn-gcc/gcc -I/Users/regress/tbox/svn-gcc/gcc/. -I/Users/regress/tbox/svn-gcc/gcc/../include -I./../intl -I/Users/regress/tbox/svn-gcc/gcc/../libcpp/include  -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber/dpd -I../libdecnumber    /Users/regress/tbox/svn-gcc/gcc/c-lex.c -o c-lex.o
/Users/regress/tbox/native/build/./prev-gcc/xgcc -B/Users/regress/tbox/native/build/./prev-gcc/ -B/Users/regress/tbox/objs/powerpc-apple-darwin9.6.0/bin/ -c  -g -O2 -mdynamic-no-pic -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I/Users/regress/tbox/svn-gcc/gcc -I/Users/regress/tbox/svn-gcc/gcc/. -I/Users/regress/tbox/svn-gcc/gcc/../include -I./../intl -I/Users/regress/tbox/svn-gcc/gcc/../libcpp/include  -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber/dpd -I../libdecnumber    /Users/regress/tbox/svn-gcc/gcc/c-pragma.c -o c-pragma.o
/Users/regress/tbox/native/build/./prev-gcc/xgcc -B/Users/regress/tbox/native/build/./prev-gcc/ -B/Users/regress/tbox/objs/powerpc-apple-darwin9.6.0/bin/ -c  -g -O2 -mdynamic-no-pic -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I/Users/regress/tbox/svn-gcc/gcc -I/Users/regress/tbox/svn-gcc/gcc/. -I/Users/regress/tbox/svn-gcc/gcc/../include -I./../intl -I/Users/regress/tbox/svn-gcc/gcc/../libcpp/include  -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber/dpd -I../libdecnumber    /Users/regress/tbox/svn-gcc/gcc/c-decl.c -o c-decl.o
/Users/regress/tbox/native/build/./prev-gcc/xgcc -B/Users/regress/tbox/native/build/./prev-gcc/ -B/Users/regress/tbox/objs/powerpc-apple-darwin9.6.0/bin/ -c  -g -O2 -mdynamic-no-pic -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I/Users/regress/tbox/svn-gcc/gcc -I/Users/regress/tbox/svn-gcc/gcc/. -I/Users/regress/tbox/svn-gcc/gcc/../include -I./../intl -I/Users/regress/tbox/svn-gcc/gcc/../libcpp/include  -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber/dpd -I../libdecnumber    /Users/regress/tbox/svn-gcc/gcc/c-typeck.c -o c-typeck.o
/Users/regress/tbox/native/build/./prev-gcc/xgcc -B/Users/regress/tbox/native/build/./prev-gcc/ -B/Users/regress/tbox/objs/powerpc-apple-darwin9.6.0/bin/ -c  -g -O2 -mdynamic-no-pic -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I/Users/regress/tbox/svn-gcc/gcc -I/Users/regress/tbox/svn-gcc/gcc/. -I/Users/regress/tbox/svn-gcc/gcc/../include -I./../intl -I/Users/regress/tbox/svn-gcc/gcc/../libcpp/include  -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber/dpd -I../libdecnumber    /Users/regress/tbox/svn-gcc/gcc/c-convert.c -o c-convert.o
/Users/regress/tbox/native/build/./prev-gcc/xgcc -B/Users/regress/tbox/native/build/./prev-gcc/ -B/Users/regress/tbox/objs/powerpc-apple-darwin9.6.0/bin/ -c  -g -O2 -mdynamic-no-pic -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I/Users/regress/tbox/svn-gcc/gcc -I/Users/regress/tbox/svn-gcc/gcc/. -I/Users/regress/tbox/svn-gcc/gcc/../include -I./../intl -I/Users/regress/tbox/svn-gcc/gcc/../libcpp/include  -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber/dpd -I../libdecnumber    /Users/regress/tbox/svn-gcc/gcc/c-aux-info.c -o c-aux-info.o
/Users/regress/tbox/native/build/./prev-gcc/xgcc -B/Users/regress/tbox/native/build/./prev-gcc/ -B/Users/regress/tbox/objs/powerpc-apple-darwin9.6.0/bin/ -c  -g -O2 -mdynamic-no-pic -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I/Users/regress/tbox/svn-gcc/gcc -I/Users/regress/tbox/svn-gcc/gcc/. -I/Users/regress/tbox/svn-gcc/gcc/../include -I./../intl -I/Users/regress/tbox/svn-gcc/gcc/../libcpp/include  -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber/dpd -I../libdecnumber    /Users/regress/tbox/svn-gcc/gcc/c-common.c -o c-common.o
/Users/regress/tbox/native/build/./prev-gcc/xgcc -B/Users/regress/tbox/native/build/./prev-gcc/ -B/Users/regress/tbox/objs/powerpc-apple-darwin9.6.0/bin/ -c  -g -O2 -mdynamic-no-pic -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I/Users/regress/tbox/svn-gcc/gcc -I/Users/regress/tbox/svn-gcc/gcc/. -I/Users/regress/tbox/svn-gcc/gcc/../include -I./../intl -I/Users/regress/tbox/svn-gcc/gcc/../libcpp/include  -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber -I/Users/regress/tbox/svn-gcc/gcc/../libdecnumber/dpd -I../libdecnumber    \
		/Users/regress/tbox/svn-gcc/gcc/c-opts.c -o c-opts.o 
cc1: warnings being treated as errors
/Users/regress/tbox/svn-gcc/gcc/c-common.c: In function 'pointer_int_sum':
/Users/regress/tbox/svn-gcc/gcc/c-common.c:3320: error: format '%ld' expects type 'long int', but argument 4 has type 'long long int'
make[3]: *** [c-common.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gcj-dbtool.pod gcov.pod fsf-funding.pod jcf-dump.pod jv-convert.pod gcj.pod gc-analyze.pod gfdl.pod cpp.pod gij.pod grmic.pod gcc.pod gfortran.pod
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2
+ '[' -s .bad_compare ']'
+ exit 1
-------------- next part --------------

-- 
Geoffrey Keating <geoffk@apple.com> 
(via an automated GCC regression-testing script.)


More information about the Gcc-regression mailing list