GCC 2.95.2 bug ... (with attach sorry !)

Marzullo Laurent Laurent.Marzullo@sema.be
Wed Jan 26 01:23:00 GMT 2000


Hello

I've got a strange 'as' message while compiling our application with 'GCC 2.95.2'.
All the compilation process work fine with HP-UX 10.20 c compiler.

I used with success 'gcc' almost all of our c and h file (about 826 c files). 
And I've got this problem while compiling a generated '.sc' (Embeded INGRES SQL) 
file (The Embeded file is correct and compile with HP-UX 10.20 c compiler)

GCC Version = 2.95.2 
System type = HP-UX 10.20


Here the line of the compilation:
. seth; xgcc -S -I. -I/home51/eca/swb/hg6.3/include -I/home11/eca/serverGCC/rel2_6/hpux10.20/ingII/include 
        -DSWB -DBL -c update_table_row.c

(I haven't made 'make install' because I'm not root on this system, so 'gcc' is know as 'xgcc')


Here the file 'seth' (don't really matter)
---------------------------- seth  BEGIN -----------------------------------------------------------------
test -f sfl.h && export SFL_H=sfl.h || export SFL_H=$POLINCLUDE/sfl.h
test -f macro.h && export MACRO_H=macro.h || export MACRO_H=$POLINCLUDE/macro.h
test -f table.h && export TABLE_H=table.h || export TABLE_H=$POLINCLUDE/table.h
test -f rules.h && export RULES_H=rules.h || export RULES_H=$POLINCLUDE/rules.h
test -f batchtab.h && export BATCH_H=batchtab.h || export BATCH_H=$POLINCLUDE/batchtab.h
test -f table_wt.h && export TABLE_WT_H=table_wt.h|| export TABLE_WT_H=$POLINCLUDE/table_wt.h
test -f cstd.h && export CSTD_H=cstd.h || export CSTD_H=$POLINCLUDE/cstd.h      
test -f sqlstd.h && export SQLSTD_H=sqlstd.h || export SQLSTD_H=$POLINCLUDE/sqlstd.h        
test -f sqlgen.h && export SQLGEN_H=sqlgen.h || export SQLGEN_H=$POLINCLUDE/sqlgen.h
test -f sqlbatch.h && export SQLBATCH_H=sqlbatch.h || export SQLBATCH_H=$POLINCLUDE/sqlbatch.h
---------------------------- seth   END  -----------------------------------------------------------------


Here an extract of the make file that I put into file 'compil'.
-------------------- file 'compil' BEGIN -------------------------------------
. seth;xgcc -v --save-temps -I. -I/home51/eca/swb/hg6.3/include -I/home11/eca/serverGCC/rel2_6/hpux10.20/ingII/include -DSWB -DBL -c
 update_table_row.c
--------------------- file 'compil' END --------------------------------------

Launch 'compil'

#./compil
Using builtin specs.
gcc version 2.95.2 19991024 (release)
 cpp -lang-c -v -I. -I/home51/eca/swb/hg6.3/include -I/home11/eca/serverGCC/rel2_6/hpux10.20/ingII/include D__GNUC__=2
-D__GNUC_MINOR__=95 -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix 
-D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__ -D__hppa 
-D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -Asystem(unix) -Asystem(hpux) -Acpu(hppa) 
-Amachine(hppa) -D__hp9000s700 -D_PA_RISC1_1 -D_HPUX_SOURCE -D_HIUX_SOURCE -D__STDC_EXT__ -DSWB -DBL update_table_row.c
update_table_row.i

GNU CPP version 2.95.2 19991024 (release) (hppa)
#include "..." search starts here:
#include <...> search starts here:
 .
 /home51/eca/swb/hg6.3/include
 /home11/eca/serverGCC/rel2_6/hpux10.20/ingII/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/../../../../include/g++-3
 /usr/local/include
 /usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/../../../../hppa1.1-hp-hpux10.20/include
 /usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include
End of omitted list.
 cc1 update_table_row.i -quiet -dumpbase update_table_row.c -version -o update_table_row.s
GNU C version 2.95.2 19991024 (release) (hppa1.1-hp-hpux10.20) compiled by CC.
 /usr/ccs/bin/as -o update_table_row.o update_table_row.s
as: error 7108: The value 0x4023c did not fit into a signed 19 bit field at offset 0xb64 (op code - B) (7108)


Joined 'update_table_row.i' (68k)


-- 
+----------------------------------+
| Marzullo Laurent                 |
| Analyste-programmeur             |
| SEMA-GROUP Belgium S.A.          |
| Tél: (32) 2 333 52 43            |
| e-mail: Laurent.Marzullo@sema.be |
+----------------------------------+
update_table_row.i.gz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: update_table_row.i.gz
Type: application/x-gzip
Size: 68523 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000126/4638de74/attachment.bin>


More information about the Gcc-bugs mailing list