bootstrap failure of tree-ssa on armv5l-linux

jeroen dobbelaere jeroen.dobbelaere@acunia.com
Mon May 12 13:01:00 GMT 2003


Diego Novillo wrote:
> On Mon, 2003-05-12 at 03:59, jeroen dobbelaere wrote:
> 
>>Hi,
>>
>>I've added the tree-ssa branch to my 'daily gcc-cvs build platform' which is based on
>>a i80200 (xscale core, armv5l architecture) processor.
>>
> 
> Thanks.
> 
> 
>>Currently the bootstrap failes with following lines :
>>
> 
> Hmm, this looks target-specific.  It may be bad RTL coming out of the
> tree-ssa passes.  I doubt I can reproduce it on another target, but
> could you post a .i file?
> 
> If you can reproduce this with -fdisable-simple, then the problem may
> not be in the gimplifier nor the tree optimizers.

With -fdisable-simple, the file compiles fine, and I get :

  stage1/xgcc -Bstage1/ -B/usr/local/gcc-3.5-tree-ssa-cvs/armv5l-unknown-linux-gnu/bin/ -c   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common -Wno-error 
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include -I../../gcc/gcc/../libbanshee/libcompat -I../../gcc/gcc/../libbanshee -I../../gcc/gcc/../libbanshee/points-to 
../../gcc/gcc/genattrtab.c -o genattrtab.o -fdisable-simple
../../gcc/gcc/genattrtab.c:0: warning: -fdisable-simple also disables optimizations on trees

> 
> If you can reproduce this with -fdisable-tree-ssa, then the problem is
> in the tree optimizers.

stage1/xgcc -Bstage1/ -B/usr/local/gcc-3.5-tree-ssa-cvs/armv5l-unknown-linux-gnu/bin/ -c   -g -O2  -DIN_GCC
  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common
  -Wno-error  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config
  -I../../gcc/gcc/../include -I../../gcc/gcc/../libbanshee/libcompat -I../../gcc/gcc/../libbanshee
-I../../gcc/gcc/../libbanshee/points-to ../../gcc/gcc/genattrtab.c -o genattrtab.o -fdisable-tree-ssa
../../gcc/gcc/genattrtab.c: In function `attr_rtx':
../../gcc/gcc/genattrtab.c:726: warning: second parameter of `va_start' not last named argument
../../gcc/gcc/genattrtab.c: In function `attr_rtx_cost':
../../gcc/gcc/genattrtab.c:3201: internal compiler error: in verify_local_live_at_start, at flow.c:578
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

> 
> If you can reproduce this with -fdisable-simple but it works with
> mainline, then we have a bigger problem because -fdisable-simple
> completely disables GIMPLE and the tree optimizers, resulting in a
> compiler that should behave exactly like mainline.
> 

current mainline is no problem.
For example :
<http://gcc.gnu.org/ml/gcc-testresults/2003-05/msg00681.html>

But at the moment of the merger (2003/05/04) the mainline also had problems bootstrapping.
Although, '-fdisable-simple' seems to work fine, so I don't know if this is related.

I've appended the .i output.

Greetings,
-- 
Jeroen Dobbelaere
Embedded Software Engineer

ACUNIA Embedded Solutions
http://www.acunia.com/aes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: genattrtab.i.bz2
Type: application/x-bzip2
Size: 47529 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030512/8c646586/attachment.bz2>


More information about the Gcc mailing list