public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile
@ 2004-12-21 11:21 bero at arklinux dot org
  2004-12-21 11:23 ` [Bug bootstrap/19103] " bero at arklinux dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: bero at arklinux dot org @ 2004-12-21 11:21 UTC (permalink / raw)
  To: gcc-bugs

Trying to bootstrap current CVS results in: 
 
./xgcc -B./ -B/usr/i586-ark-linux/bin/ -isystem /usr/i586-ark-linux/include  
-isystem /usr/i586-ark-linux/sys-include  
-L/usr/src/ark/BUILD/gcc4/build/gcc/../ld -O2 -DIN_GCC    -W -Wall  
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  
-Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc -I../../gcc/.  
-I../../gcc/../include -I../../gcc/../libcpp/include   -g0  
-finhibit-size-directive -fno-inline-functions -fno-exceptions  
-fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \  
   -c ../../gcc/crtstuff.c -DCRT_BEGIN \  
  -o crtbegin.o  
../../gcc/crtstuff.c: In function '__do_global_dtors_aux':  
../../gcc/crtstuff.c:290: internal compiler error: virtual array prologue[3]:  
element 1 out of bounds in contains, at function.c:4629  
Please submit a full bug report,  
with preprocessed source if appropriate.  
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: Current CVS (2004/12/21) doesn't compile
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i586-ark-linux
  GCC host triplet: i586-ark-linux
GCC target triplet: i586-ark-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug bootstrap/19103] Current CVS (2004/12/21) doesn't compile
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
@ 2004-12-21 11:23 ` bero at arklinux dot org
  2004-12-21 19:00 ` [Bug rtl-optimization/19103] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bero at arklinux dot org @ 2004-12-21 11:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bero at arklinux dot org  2004-12-21 11:23 -------
Created an attachment (id=7790)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7790&action=view)
preprocessed source

I compiled gcc 4.0.0-20041221 with gcc 3.4.4-20041220, in case this is an error
in the bootstrap compiler.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
  2004-12-21 11:23 ` [Bug bootstrap/19103] " bero at arklinux dot org
@ 2004-12-21 19:00 ` pinskia at gcc dot gnu dot org
  2004-12-21 19:21 ` bero at arklinux dot org
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-21 19:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-21 19:00 -------
Hmm, this works with a cross compiler, how did you configure gcc?
Also what stage is this?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|bootstrap                   |rtl-optimization
           Keywords|                            |build, ice-on-valid-code
            Summary|Current CVS (2004/12/21)    |[4.0 Regression] Current CVS
                   |doesn't compile             |(2004/12/21) doesn't compile
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
  2004-12-21 11:23 ` [Bug bootstrap/19103] " bero at arklinux dot org
  2004-12-21 19:00 ` [Bug rtl-optimization/19103] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-12-21 19:21 ` bero at arklinux dot org
  2004-12-21 22:15 ` bero at arklinux dot org
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bero at arklinux dot org @ 2004-12-21 19:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bero at arklinux dot org  2004-12-21 19:21 -------
I did:  
configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man  
--infodir=/usr/share/info --enable-static --enable-shared  
--enable-fast-install --enable-libstdcxx-pch --enable-__cxa_atexit  
--enable-tls --target=i586-ark-linux --host=i586-ark-linux  
--build=i586-ark-linux --enable-cxx-flags="-O2 -march=i586 -mcpu=i686"  
--with-system-zlib --enable-threads --enable-libada --enable-libgcj  
--enable-interpreter --enable-hash-synchronization  
  
make profiledbootstrap 
 
Currently trying to see if it's reproducable with "make bootstrap" instead of 
"make profiledbootstrap". 
  

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (2 preceding siblings ...)
  2004-12-21 19:21 ` bero at arklinux dot org
@ 2004-12-21 22:15 ` bero at arklinux dot org
  2004-12-21 22:16 ` pinskia at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bero at arklinux dot org @ 2004-12-21 22:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bero at arklinux dot org  2004-12-21 22:15 -------
Verified to happen only with profiledbootstrap, bootstrap w/o profile barfs 
later w/ an unrelated error 
 
../../xgcc -B../../ -c -g -O2 -fPIC      -W -Wall -gnatpg  s-fileio.adb -o 
s-fileio.o 
s-fileio.adb: In function 'System.File_Io.Finalize': 
s-fileio.adb:372: warning: '<anonymous>' is used uninitialized in this 
function 
+===========================GNAT BUG DETECTED==============================+ 
| 4.0.0 20041221 (experimental) (i586-ark-linux-gnu) GCC error:            | 
| in make_decl_rtl, at varasm.c:867                                        | 
| Error detected at s-fileio.adb:1090:1                                    | 
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            | 
| Include the entire contents of this bug box in the report.               | 
| Include the exact gcc or gnatmake command that you entered.              | 
| Also include sources listed below in gnatchop format                     | 
| (concatenated together with no headers between files).                   | 
+==========================================================================+ 
 
Please include these source files with error report 
Note that list may not be accurate in some cases, 
so please double check that the problem can still 
be reproduced with the set of files listed. 
 
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:376 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (3 preceding siblings ...)
  2004-12-21 22:15 ` bero at arklinux dot org
@ 2004-12-21 22:16 ` pinskia at gcc dot gnu dot org
  2004-12-24 15:35 ` pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-21 22:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-21 22:16 -------
(In reply to comment #4)
> Verified to happen only with profiledbootstrap, bootstrap w/o profile barfs 
> later w/ an unrelated error 
>  
> ../../xgcc -B../../ -c -g -O2 -fPIC      -W -Wall -gnatpg  s-fileio.adb -o 
> s-fileio.o 
> s-fileio.adb: In function 'System.File_Io.Finalize': 
> s-fileio.adb:372: warning: '<anonymous>' is used uninitialized in this 
> function 
Which has already been fixed.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (4 preceding siblings ...)
  2004-12-21 22:16 ` pinskia at gcc dot gnu dot org
@ 2004-12-24 15:35 ` pinskia at gcc dot gnu dot org
  2004-12-27 17:05 ` [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap bero at arklinux dot org
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-24 15:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-24 15:35 -------
Again which stage is this?
Can you attach the full log?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (5 preceding siblings ...)
  2004-12-24 15:35 ` pinskia at gcc dot gnu dot org
@ 2004-12-27 17:05 ` bero at arklinux dot org
  2004-12-27 17:05 ` bero at arklinux dot org
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bero at arklinux dot org @ 2004-12-27 17:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bero at arklinux dot org  2004-12-27 17:05 -------
Still happening with today's CVS btw 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (6 preceding siblings ...)
  2004-12-27 17:05 ` [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap bero at arklinux dot org
@ 2004-12-27 17:05 ` bero at arklinux dot org
  2004-12-27 17:08 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bero at arklinux dot org @ 2004-12-27 17:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bero at arklinux dot org  2004-12-27 17:04 -------
Happens after stage1, and only with profiledbootstrap. 
 
stage1/xgcc -Bstage1/ -B/usr/i586-ark-linux/bin/   -g -O2 -fprofile-generate 
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror 
-fno-common   -DHAVE_CONFIG_H  -o g++ \ 
  gcc.o g++spec.o intl.o prefix.o 
version.o   ../libcpp/libcpp.a   ../libiberty/libiberty.a 
echo |  ./xgcc -B./ -B/usr/i586-ark-linux/bin/ 
-isystem /usr/i586-ark-linux/include -isystem /usr/i586-ark-linux/sys-include 
-L/usr/src/ark/BUILD/gcc4/build/gcc/../ld -E -dM - | \ 
  sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p ; \ 
        s/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \ 
  sort -u > tmp-macro_list 
/bin/sh ../../gcc/../move-if-change tmp-macro_list macro_list 
macro_list is unchanged 
echo timestamp > s-macro_list 
objext='.o' \ 
LIB1ASMFUNCS='' \ 
LIB2FUNCS_ST='_eprintf __gcc_bcmp' \ 
LIBGCOV='_gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta _gcov_fork 
_gcov_execl _gcov_execlp _gcov_execle _gcov_execv _gcov_execvp _gcov_execve' \ 
LIB2ADD='' \ 
LIB2ADD_ST='' \ 
LIB2ADDEH='../../gcc/unwind-dw2.c ../../gcc/unwind-dw2-fde-glibc.c ../../gcc/unwind-sjlj.c ../../gcc/gthr-gnat.c ../../gcc/unwind-c.c' 
\ 
LIB2ADDEHSTATIC='../../gcc/unwind-dw2.c ../../gcc/unwind-dw2-fde-glibc.c ../../gcc/unwind-sjlj.c ../../gcc/gthr-gnat.c ../../gcc/unwind-c.c' 
\ 
LIB2ADDEHSHARED='../../gcc/unwind-dw2.c ../../gcc/unwind-dw2-fde-glibc.c ../../gcc/unwind-sjlj.c ../../gcc/gthr-gnat.c ../../gcc/unwind-c.c' 
\ 
LIB2ADDEHDEP='unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c' \ 
LIBUNWIND='' \ 
LIBUNWINDDEP='' \ 
SHLIBUNWIND_LINK='' \ 
SHLIBUNWIND_INSTALL='' \ 
FPBIT='' \ 
FPBIT_FUNCS='_pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf _fpcmp_parts_sf 
_compare_sf _eq_sf _ne_sf _gt_sf _ge_sf _lt_sf _le_sf _unord_sf _si_to_sf 
_sf_to_si _negate_sf _make_sf _sf_to_df _sf_to_tf _thenan_sf _sf_to_usi 
_usi_to_sf' \ 
LIB2_DIVMOD_FUNCS='_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4' 
\ 
DPBIT='' \ 
DPBIT_FUNCS='_pack_df _unpack_df _addsub_df _mul_df _div_df _fpcmp_parts_df 
_compare_df _eq_df _ne_df _gt_df _ge_df _lt_df _le_df _unord_df _si_to_df 
_df_to_si _negate_df _make_df _df_to_sf _df_to_tf _thenan_df _df_to_usi 
_usi_to_df' \ 
TPBIT='' \ 
TPBIT_FUNCS='_pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf _fpcmp_parts_tf 
_compare_tf _eq_tf _ne_tf _gt_tf _ge_tf _lt_tf _le_tf _unord_tf _si_to_tf 
_tf_to_si _negate_tf _make_tf _tf_to_df _tf_to_sf _thenan_tf _tf_to_usi 
_usi_to_tf' \ 
MULTILIBS=` ./xgcc -B./ -B/usr/i586-ark-linux/bin/ 
-isystem /usr/i586-ark-linux/include -isystem /usr/i586-ark-linux/sys-include 
-L/usr/src/ark/BUILD/gcc4/build/gcc/../ld --print-multi-lib` \ 
EXTRA_MULTILIB_PARTS='' \ 
SHLIB_LINK=' ./xgcc -B./ -B/usr/i586-ark-linux/bin/ 
-isystem /usr/i586-ark-linux/include -isystem /usr/i586-ark-linux/sys-include 
-L/usr/src/ark/BUILD/gcc4/build/gcc/../ld -O2  -DIN_GCC    -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs 
-Wl,--soname=@shlib_so_name@.so.1 -Wl,--version-script=@shlib_map_file@ -o 
@shlib_base_name@.so.1.tmp @multilib_flags@ @shlib_objs@ -lc && rm -f 
@shlib_base_name@.so && if [ -f @shlib_base_name@.so.1 ]; then mv -f 
@shlib_base_name@.so.1 @shlib_base_name@.so.1.backup; else true; fi&& mv 
@shlib_base_name@.so.1.tmp @shlib_base_name@.so.1 && ln -s 
@shlib_base_name@.so.1 @shlib_base_name@.so' \ 
SHLIB_INSTALL='$(mkinstalldirs) 
$(DESTDIR)$(slibdir)@shlib_slibdir_qual@; /usr/bin/install -c -m 644 
@shlib_base_name@.so.1 
$(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_so_name@.so.1; rm -f 
$(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so; ln -s 
@shlib_so_name@.so.1 
$(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so' \ 
SHLIB_EXT='.so' \ 
SHLIB_MULTILIB='' \ 
SHLIB_MKMAP='../../gcc/mkmap-symver.awk' \ 
SHLIB_MKMAP_OPTS='' \ 
SHLIB_MAPFILES='../../gcc/libgcc-std.ver ../../gcc/config/libgcc-glibc.ver' \ 
SHLIB_NM_FLAGS='-pg' \ 
MULTILIB_OSDIRNAMES='' \ 
ASM_HIDDEN_OP='' \ 
mkinstalldirs='/bin/sh ../../gcc/../mkinstalldirs' \ 
  /bin/sh mklibgcc > tmp-libgcc.mk 
mv tmp-libgcc.mk libgcc.mk 
./xgcc -B./ -B/usr/i586-ark-linux/bin/ -isystem /usr/i586-ark-linux/include 
-isystem /usr/i586-ark-linux/sys-include 
-L/usr/src/ark/BUILD/gcc4/build/gcc/../ld -O2 -DIN_GCC    -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc -I../../gcc/. 
-I../../gcc/../include -I../../gcc/../libcpp/include   -g0 
-finhibit-size-directive -fno-inline-functions -fno-exceptions 
-fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \ 
   -c ../../gcc/crtstuff.c -DCRT_BEGIN \ 
  -o crtbegin.o 
../../gcc/crtstuff.c: In function '__do_global_dtors_aux': 
../../gcc/crtstuff.c:290: internal compiler error: virtual array prologue[3]: 
element 1 out of bounds in contains, at function.c:4660 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
            Summary|[4.0 Regression] Current CVS|[4.0 Regression] Current CVS
                   |(2004/12/21) doesn't compile|(2004/12/21) doesn't compile
                   |                            |with profiledbootstrap


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (7 preceding siblings ...)
  2004-12-27 17:05 ` bero at arklinux dot org
@ 2004-12-27 17:08 ` pinskia at gcc dot gnu dot org
  2004-12-27 17:11 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 17:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-27 17:08 -------
So this is caused by wrong-code.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (8 preceding siblings ...)
  2004-12-27 17:08 ` pinskia at gcc dot gnu dot org
@ 2004-12-27 17:11 ` pinskia at gcc dot gnu dot org
  2004-12-27 18:12 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 17:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-27 17:11 -------
(In reply to comment #7)
> Happens after stage1, and only with profiledbootstrap. 

actually this is after stage2 is built, compiling libgcc with stage2.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (9 preceding siblings ...)
  2004-12-27 17:11 ` pinskia at gcc dot gnu dot org
@ 2004-12-27 18:12 ` pinskia at gcc dot gnu dot org
  2004-12-27 19:51 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 18:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-27 18:12 -------
Hmm, here is the funny part is that I can reproduce this on ppc-darwin which case this is unusually as 
the profiling stuff is usually target dependent at producing wrong code.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (10 preceding siblings ...)
  2004-12-27 18:12 ` pinskia at gcc dot gnu dot org
@ 2004-12-27 19:51 ` pinskia at gcc dot gnu dot org
  2004-12-27 20:01 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 19:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-27 19:51 -------
Here is the reduced testcase, compile at "-O2 -fprofile-generate":
void abort (void);
int main()
{
  int j;
  for (j = 6; j >= 0; --j)
      if (j >= 7)
	abort () ;
  return 0;
}

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (11 preceding siblings ...)
  2004-12-27 19:51 ` pinskia at gcc dot gnu dot org
@ 2004-12-27 20:01 ` pinskia at gcc dot gnu dot org
  2004-12-27 20:19 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 20:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-27 20:01 -------
Note it worked with 20041211.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (12 preceding siblings ...)
  2004-12-27 20:01 ` pinskia at gcc dot gnu dot org
@ 2004-12-27 20:19 ` pinskia at gcc dot gnu dot org
  2004-12-27 20:39 ` [Bug rtl-optimization/19103] [4.0 Regression] unroll-loops creates bad code which causes profiledbootstrap to failure pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 20:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-27 20:19 -------
This was caused by (found by reverting the patch):
2004-12-18  Zdenek Dvorak  <dvorakz@suse.cz>

        PR rtl-optimization/19001
        * loop-iv.c (iv_number_of_iterations): Record assumptions for loops
        with power of two step to 'infinite' field.



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] unroll-loops creates bad code which causes profiledbootstrap to failure
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (13 preceding siblings ...)
  2004-12-27 20:19 ` pinskia at gcc dot gnu dot org
@ 2004-12-27 20:39 ` pinskia at gcc dot gnu dot org
  2004-12-27 23:40 ` [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap rakdver at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 20:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-27 20:39 -------
(In reply to comment #12)
> Here is the reduced testcase, compile at "-O2 -fprofile-generate":
"-O1 -funroll-loops"  is enough to reproduce the bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|i586-ark-linux              |
   GCC host triplet|i586-ark-linux              |
 GCC target triplet|i586-ark-linux              |
            Summary|[4.0 Regression] Current CVS|[4.0 Regression] unroll-
                   |(2004/12/21) doesn't compile|loops creates bad code which
                   |with profiledbootstrap      |causes profiledbootstrap to
                   |                            |failure


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (14 preceding siblings ...)
  2004-12-27 20:39 ` [Bug rtl-optimization/19103] [4.0 Regression] unroll-loops creates bad code which causes profiledbootstrap to failure pinskia at gcc dot gnu dot org
@ 2004-12-27 23:40 ` rakdver at gcc dot gnu dot org
  2004-12-27 23:53 ` rakdver at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-12-27 23:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2004-12-27 23:40 -------
A stupid bug in that patch -- the condition for "inifinite" needs to be negated.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rakdver at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
  GCC build triplet|                            |i586-ark-linux
   GCC host triplet|                            |i586-ark-linux
 GCC target triplet|                            |i586-ark-linux
            Summary|[4.0 Regression] unroll-    |[4.0 Regression] Current CVS
                   |loops creates bad code which|(2004/12/21) doesn't compile
                   |causes profiledbootstrap to |with profiledbootstrap
                   |failure                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (15 preceding siblings ...)
  2004-12-27 23:40 ` [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap rakdver at gcc dot gnu dot org
@ 2004-12-27 23:53 ` rakdver at gcc dot gnu dot org
  2004-12-28 10:33 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-12-27 23:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2004-12-27 23:53 -------
Actually it is even more stupid.  Patch below, just testing.

Index: loop-iv.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/loop-iv.c,v
retrieving revision 2.25
diff -c -3 -p -r2.25 loop-iv.c
*** loop-iv.c   18 Dec 2004 20:14:24 -0000      2.25
--- loop-iv.c   27 Dec 2004 23:52:38 -0000
*************** iv_number_of_iterations (struct loop *lo
*** 2132,2138 ****
        if (iv0.step == const0_rtx)
        step_val = -INTVAL (iv1.step);
        else
!       step_val = INTVAL (iv1.step);

        /* Ignore loops of while (i-- < 10) type.  */
        if (step_val < 0)
--- 2132,2138 ----
        if (iv0.step == const0_rtx)
        step_val = -INTVAL (iv1.step);
        else
!       step_val = INTVAL (iv0.step);

        /* Ignore loops of while (i-- < 10) type.  */
        if (step_val < 0)


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (16 preceding siblings ...)
  2004-12-27 23:53 ` rakdver at gcc dot gnu dot org
@ 2004-12-28 10:33 ` cvs-commit at gcc dot gnu dot org
  2004-12-28 10:34 ` rakdver at gcc dot gnu dot org
  2004-12-29 14:28 ` pinskia at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-28 10:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-28 10:33 -------
Subject: Bug 19103

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rakdver@gcc.gnu.org	2004-12-28 10:33:43

Modified files:
	gcc            : ChangeLog loop-iv.c 

Log message:
	PR rtl-optimization/19103
	* loop-iv.c (iv_number_of_iterations): Fix typo.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6969&r2=2.6970
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop-iv.c.diff?cvsroot=gcc&r1=2.25&r2=2.26



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (17 preceding siblings ...)
  2004-12-28 10:33 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-28 10:34 ` rakdver at gcc dot gnu dot org
  2004-12-29 14:28 ` pinskia at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-12-28 10:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2004-12-28 10:34 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap
  2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
                   ` (18 preceding siblings ...)
  2004-12-28 10:34 ` rakdver at gcc dot gnu dot org
@ 2004-12-29 14:28 ` pinskia at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-29 14:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-29 14:28 -------
*** Bug 19186 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pluto at pld-linux dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19103


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2004-12-29 14:28 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-21 11:21 [Bug bootstrap/19103] New: Current CVS (2004/12/21) doesn't compile bero at arklinux dot org
2004-12-21 11:23 ` [Bug bootstrap/19103] " bero at arklinux dot org
2004-12-21 19:00 ` [Bug rtl-optimization/19103] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-12-21 19:21 ` bero at arklinux dot org
2004-12-21 22:15 ` bero at arklinux dot org
2004-12-21 22:16 ` pinskia at gcc dot gnu dot org
2004-12-24 15:35 ` pinskia at gcc dot gnu dot org
2004-12-27 17:05 ` [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap bero at arklinux dot org
2004-12-27 17:05 ` bero at arklinux dot org
2004-12-27 17:08 ` pinskia at gcc dot gnu dot org
2004-12-27 17:11 ` pinskia at gcc dot gnu dot org
2004-12-27 18:12 ` pinskia at gcc dot gnu dot org
2004-12-27 19:51 ` pinskia at gcc dot gnu dot org
2004-12-27 20:01 ` pinskia at gcc dot gnu dot org
2004-12-27 20:19 ` pinskia at gcc dot gnu dot org
2004-12-27 20:39 ` [Bug rtl-optimization/19103] [4.0 Regression] unroll-loops creates bad code which causes profiledbootstrap to failure pinskia at gcc dot gnu dot org
2004-12-27 23:40 ` [Bug rtl-optimization/19103] [4.0 Regression] Current CVS (2004/12/21) doesn't compile with profiledbootstrap rakdver at gcc dot gnu dot org
2004-12-27 23:53 ` rakdver at gcc dot gnu dot org
2004-12-28 10:33 ` cvs-commit at gcc dot gnu dot org
2004-12-28 10:34 ` rakdver at gcc dot gnu dot org
2004-12-29 14:28 ` pinskia at gcc dot 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).