Re: "../.././gcc/c-common.c", line 2259: invalid token: short_fract_type_no...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kamaraju kusumanchi wrote:
>>> Please check it and push it to the main line.
>>>
>>> PS: I do not have svn installed on this machine. So I was not able to
>>> make the patch against the trunk. Sorry about that.
>> OK, please let me know when you finally get it all built.  I need to make a
>> single patch for gcc with all these fixes.
>>
> 
> OK.
> 
> More problems from the compiling side. This time it stops with the
> following error.
> 
> cc -c  -g -DIN_GCC    -DHAVE_CONFIG_H -I. -I.
> -I../../../unZipped/gcc-4.4-20081107/gcc
> -I../../../unZipped/gcc-4.4-20081107/gcc/.
> -I../../../unZipped/gcc-4.4-20081107/gcc/../include -I./../intl
> -I../../../unZipped/gcc-4.4-20081107/gcc/../libcpp/include
> -I../../../unZipped/gcc-4.4-20081107/gcc/../libdecnumber
> -I../../../unZipped/gcc-4.4-20081107/gcc/../libdecnumber/dpd
> -I../libdecnumber   -I/home/kkusuman/software/myroot/include
> ../../../unZipped/gcc-4.4-20081107/gcc/ggc-common.c -o ggc-common.o
> cc -c  -g -DIN_GCC    -DHAVE_CONFIG_H -I. -I.
> -I../../../unZipped/gcc-4.4-20081107/gcc
> -I../../../unZipped/gcc-4.4-20081107/gcc/.
> -I../../../unZipped/gcc-4.4-20081107/gcc/../include -I./../intl
> -I../../../unZipped/gcc-4.4-20081107/gcc/../libcpp/include
> -I../../../unZipped/gcc-4.4-20081107/gcc/../libdecnumber
> -I../../../unZipped/gcc-4.4-20081107/gcc/../libdecnumber/dpd
> -I../libdecnumber   -I/home/kkusuman/software/myroot/include
> ../../../unZipped/gcc-4.4-20081107/gcc/gimple.c -o gimple.o
> "../../../unZipped/gcc-4.4-20081107/gcc/gimple.c", line 727:
> identifier redeclared: gimple_build_try
>         current : function(pointer to struct gimple_seq_d {pointer to
> struct gimple_seq_node_d {..} first, pointer to struct
> gimple_seq_node_d {..} last, pointer to struct gimple_seq_d {..}
> next_free}, pointer to struct gimple_seq_d {pointer to struct
> gimple_seq_node_d {..} first, pointer to struct gimple_seq_node_d {..}
> last, pointer to struct gimple_seq_d {..} next_free}, enum
> gimple_try_flags {GIMPLE_TRY_CATCH_IS_CLEANUP(4), GIMPLE_TRY_KIND(3),
> GIMPLE_TRY_FINALLY(2), GIMPLE_TRY_CATCH(1)}) returning pointer to
> union gimple_statement_d {struct gimple_statement_base {..} gsbase,
> struct gimple_statement_with_ops {..} gsops, struct
> gimple_statement_with_memory_ops {..} gsmem, struct
> gimple_statement_omp {..} omp, struct gimple_statement_bind {..}
> gimple_bind, struct gimple_statement_catch {..} gimple_catch, struct
> gimple_statement_eh_filter {..} gimple_eh_filter, struct
> gimple_statement_phi {..} gimple_phi, struct gimple_statement_resx
> {..} gimple_resx, struct gimple_statement_try {..} gimple_try, struct
> gimple_statement_wce {..} gimple_wce, struct gimple_statement_asm {..}
> gimple_asm, struct gimple_statement_omp_critical {..}
> gimple_omp_critical, struct gimple_statement_omp_for {..}
> gimple_omp_for, struct gimple_statement_omp_parallel {..}
> gimple_omp_parallel, struct gimple_statement_omp_task {..}
> gimple_omp_task, struct gimple_statement_omp_sections {..}
> gimple_omp_sections, struct gimple_statement_omp_single {..}
> gimple_omp_single, struct gimple_statement_omp_continue {..}
> gimple_omp_continue, struct gimple_statement_omp_atomic_load {..}
> gimple_omp_atomic_load, struct gimple_statement_omp_atomic_store {..}
> gimple_omp_atomic_store}
>         previous: function(pointer to struct gimple_seq_d {pointer to
> struct gimple_seq_node_d {..} first, pointer to struct
> gimple_seq_node_d {..} last, pointer to struct gimple_seq_d {..}
> next_free}, pointer to struct gimple_seq_d {pointer to struct
> gimple_seq_node_d {..} first, pointer to struct gimple_seq_node_d {..}
> last, pointer to struct gimple_seq_d {..} next_free}, unsigned int)
> returning pointer to union gimple_statement_d {struct
> gimple_statement_base {..} gsbase, struct gimple_statement_with_ops
> {..} gsops, struct gimple_statement_with_memory_ops {..} gsmem, struct
> gimple_statement_omp {..} omp, struct gimple_statement_bind {..}
> gimple_bind, struct gimple_statement_catch {..} gimple_catch, struct
> gimple_statement_eh_filter {..} gimple_eh_filter, struct
> gimple_statement_phi {..} gimple_phi, struct gimple_statement_resx
> {..} gimple_resx, struct gimple_statement_try {..} gimple_try, struct
> gimple_statement_wce {..} gimple_wce, struct gimple_statement_asm {..}
> gimple_asm, struct gimple_statement_omp_critical {..}
> gimple_omp_critical, struct gimple_statement_omp_for {..}
> gimple_omp_for, struct gimple_statement_omp_parallel {..}
> gimple_omp_parallel, struct gimple_statement_omp_task {..}
> gimple_omp_task, struct gimple_statement_omp_sections {..}
> gimple_omp_sections, struct gimple_statement_omp_single {..}
> gimple_omp_single, struct gimple_statement_omp_continue {..}
> gimple_omp_continue, struct gimple_statement_omp_atomic_load {..}
> gimple_omp_atomic_load, struct gimple_statement_omp_atomic_store {..}
> gimple_omp_atomic_store} :
> "../../../unZipped/gcc-4.4-20081107/gcc/gimple.h", line 799
> cc: acomp failed for ../../../unZipped/gcc-4.4-20081107/gcc/gimple.c
> make[3]: *** [gimple.o] Error 2
> make[3]: Leaving directory
> `/home/kkusuman/software/compileHere/gcc-4.4-20081107/gcc'
> make[2]: *** [all-stage1-gcc] Error 2
> make[2]: Leaving directory
> `/home/kkusuman/software/compileHere/gcc-4.4-20081107'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory
> `/home/kkusuman/software/compileHere/gcc-4.4-20081107'
> make: *** [all] Error 2
> 
> 
> Any ideas on how to proceed?

That's a real bug: the declaration does not match the definition.

gimple
gimple_build_try (gimple_seq eval, gimple_seq cleanup,
    		  enum gimple_try_flags kind)

gimple gimple_build_try (gimple_seq, gimple_seq, unsigned int);

The header needs to be fixed to match.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux