public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/40607] New: [4.5 Regression] Revision 149032 breaks bootstrap
@ 2009-07-01 13:51 danglin at gcc dot gnu dot org
2009-07-01 14:02 ` [Bug middle-end/40607] " bonzini at gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-07-01 13:51 UTC (permalink / raw)
To: gcc-bugs
At the beginning of stage2, the following error occurs:
/home/dave/gnu/gcc/objdir/./prev-gcc/xgcc
-B/home/dave/gnu/gcc/objdir/
./prev-gcc/ -B/home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/bin/
-B/home/dave/opt/
gnu/gcc/gcc-4.5.0/hppa-linux/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/
lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/include -isystem
/home
/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/sys-include -c -DHAVE_CONFIG_H -g -O2
-I. -I../../gcc/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat
-Ws
trict-prototypes -pedantic -fPIC ../../gcc/libiberty/strsignal.c -o
pic/strsign
al.o; \
else true; fi
../../gcc/libiberty/strsignal.c:554:1: error: conflicting types for 'psignal'
/usr/include/signal.h:141:13: note: previous declaration of 'psignal' was here
make[3]: *** [strsignal.o] Error 1
This occurs because the configure test failed:
configure:7828: checking for psignal
configure:7884: /home/dave/gnu/gcc/objdir/./prev-gcc/xgcc
-B/home/dave/gnu/gcc/
objdir/./prev-gcc/ -B/home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/bin/
-B/home/da
ve/opt/gnu/gcc/gcc-4.5.0/hppa-linux/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.5.0/hppa
-linux/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/include
-isyste
m /home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/sys-include -o conftest -g -O2
conftest.c >&5
conftest.c: In function 'main':
conftest.c:83:1: internal compiler error: in expand_expr_real_1, at expr.c:9112
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:7890: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _FILE_OFFSET_BITS 64
| #define WORDS_BIGENDIAN 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_SYS_SYSINFO_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_EXT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_INT 4
| #define UNSIGNED_64BIT_TYPE uint64_t
| #define HAVE_UINTPTR_T 1
| #define STACK_DIRECTION 1
| #define HAVE_UNISTD_H 1
| #define vfork fork
| #define HAVE_SYS_ERRLIST 1
| #define HAVE_SYS_NERR 1
| #define HAVE_SYS_SIGLIST 1
| /* end confdefs.h. */
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char psignal (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. Under hpux,
| including <limits.h> includes <sys/time.h> and causes problems
| checking for functions defined therein. */
| #if defined (__STDC__) && !defined (_HPUX_SOURCE)
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char psignal ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_psignal) || defined (__stub___psignal)
| choke me
| #else
| char (*f) () = psignal;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != psignal;
| ;
| return 0;
| }
2009-06-28 Paolo Bonzini <bonzini@gnu.org>
* expr.c (expand_expr_real_1): Just use do_store_flag.
(do_store_flag): Drop support for TRUTH_NOT_EXPR. Use
emit_store_flag_force.
* expmed.c (emit_store_flag_force): Copy here trick
previously in expand_expr_real_1. Try reversing the comparison.
(emit_store_flag_1): Work if target is NULL.
(emit_store_flag): Work if target is NULL, using the result mode
from the comparison. Use split_comparison, restructure final part
to simplify conditionals.
dave@mx3210:~/gnu/gcc/objdir/prev-gcc$ ./xgcc -B./ -v
Reading specs from ./specs
Target: hppa-linux
Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared
--prefix=/home/dave/opt/gnu/gcc/gcc-4.5.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
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
Thread model: posix
gcc version 4.5.0 20090628 (experimental) [trunk revision 149032] (GCC)
--
Summary: [4.5 Regression] Revision 149032 breaks bootstrap
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa-unknown-linux-gnu
GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40607
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/40607] [4.5 Regression] Revision 149032 breaks bootstrap
2009-07-01 13:51 [Bug middle-end/40607] New: [4.5 Regression] Revision 149032 breaks bootstrap danglin at gcc dot gnu dot org
@ 2009-07-01 14:02 ` bonzini at gnu dot org
2009-07-01 14:03 ` dave at hiauly1 dot hia dot nrc dot ca
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bonzini at gnu dot org @ 2009-07-01 14:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bonzini at gnu dot org 2009-07-01 14:02 -------
Should be fixed already?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40607
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/40607] [4.5 Regression] Revision 149032 breaks bootstrap
2009-07-01 13:51 [Bug middle-end/40607] New: [4.5 Regression] Revision 149032 breaks bootstrap danglin at gcc dot gnu dot org
2009-07-01 14:02 ` [Bug middle-end/40607] " bonzini at gnu dot org
@ 2009-07-01 14:03 ` dave at hiauly1 dot hia dot nrc dot ca
2009-07-01 14:06 ` dave at hiauly1 dot hia dot nrc dot ca
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2009-07-01 14:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2009-07-01 14:02 -------
Subject: Re: New: [4.5 Regression] Revision 149032
breaks bootstrap
> This occurs because the configure test failed:
Attached preprocessed source for test.
Dave
------- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2009-07-01 14:02 -------
Created an attachment (id=18109)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18109&action=view)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40607
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/40607] [4.5 Regression] Revision 149032 breaks bootstrap
2009-07-01 13:51 [Bug middle-end/40607] New: [4.5 Regression] Revision 149032 breaks bootstrap danglin at gcc dot gnu dot org
2009-07-01 14:02 ` [Bug middle-end/40607] " bonzini at gnu dot org
2009-07-01 14:03 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2009-07-01 14:06 ` dave at hiauly1 dot hia dot nrc dot ca
2009-07-01 14:26 ` bonzini at gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2009-07-01 14:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2009-07-01 14:06 -------
Subject: Re: [4.5 Regression] Revision 149032 breaks bootstrap
> Should be fixed already?
I'll retest. It was still presetn in revision 149079.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40607
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/40607] [4.5 Regression] Revision 149032 breaks bootstrap
2009-07-01 13:51 [Bug middle-end/40607] New: [4.5 Regression] Revision 149032 breaks bootstrap danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-07-01 14:06 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2009-07-01 14:26 ` bonzini at gnu dot org
2009-07-01 14:49 ` danglin at gcc dot gnu dot org
2009-07-01 18:09 ` bonzini at gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: bonzini at gnu dot org @ 2009-07-01 14:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from bonzini at gnu dot org 2009-07-01 14:26 -------
The fix is 149136.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40607
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/40607] [4.5 Regression] Revision 149032 breaks bootstrap
2009-07-01 13:51 [Bug middle-end/40607] New: [4.5 Regression] Revision 149032 breaks bootstrap danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-07-01 14:26 ` bonzini at gnu dot org
@ 2009-07-01 14:49 ` danglin at gcc dot gnu dot org
2009-07-01 18:09 ` bonzini at gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-07-01 14:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from danglin at gcc dot gnu dot org 2009-07-01 14:49 -------
Fixed.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40607
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/40607] [4.5 Regression] Revision 149032 breaks bootstrap
2009-07-01 13:51 [Bug middle-end/40607] New: [4.5 Regression] Revision 149032 breaks bootstrap danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-07-01 14:49 ` danglin at gcc dot gnu dot org
@ 2009-07-01 18:09 ` bonzini at gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: bonzini at gnu dot org @ 2009-07-01 18:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from bonzini at gnu dot org 2009-07-01 18:08 -------
*** Bug 40610 has been marked as a duplicate of this bug. ***
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |laurent at guerby dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40607
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-07-01 18:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-01 13:51 [Bug middle-end/40607] New: [4.5 Regression] Revision 149032 breaks bootstrap danglin at gcc dot gnu dot org
2009-07-01 14:02 ` [Bug middle-end/40607] " bonzini at gnu dot org
2009-07-01 14:03 ` dave at hiauly1 dot hia dot nrc dot ca
2009-07-01 14:06 ` dave at hiauly1 dot hia dot nrc dot ca
2009-07-01 14:26 ` bonzini at gnu dot org
2009-07-01 14:49 ` danglin at gcc dot gnu dot org
2009-07-01 18:09 ` bonzini at gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).