This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/35034] assembler errors when building gcc/unwind-*.c at -O0 or -O1 with IMA



------- Comment #8 from aldot at gcc dot gnu dot org  2008-01-31 15:11 -------
(In reply to comment #2)
> I suppose the static function
> 
> static const unsigned char *
> read_uleb128 (const unsigned char *p, _uleb128_t *val)
> {
> 
> in unwind-pe.h should be marked 'inline', otherwise it will be emitted
> multiple times to the asm file by -combine.

unwind-pe.h as a header should provide an interface to and not implementations
of the required functions. Apart from fixing the functions in IMA, unwind-pe.h
should split it's implementations off into a e.g. unwind-pe.c that exports the
common helpers.

Does somebody know if it is really intended that dwarf2asm.c has grown (or
kept) a different impl of size_of_encoded_value() than all the rest?


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]