[Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5

2010-04-22 Thread ro at gcc dot gnu dot org


--- Comment #5 from ro at gcc dot gnu dot org  2010-04-22 15:18 ---
Fixed for 4.5.0.


-- 

ro at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.5.0


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



[Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5

2009-11-16 Thread espindola at gcc dot gnu dot org


--- Comment #4 from espindola at gcc dot gnu dot org  2009-11-16 17:57 
---
Created an attachment (id=19022)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19022action=view)
proposed fix


-- 


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



Re: [Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5

2009-11-14 Thread Andrew Pinski



Sent from my iPhone

On Nov 14, 2009, at 2:35 PM, rguenth at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org 
 wrote:





--- Comment #2 from rguenth at gcc dot gnu dot org  2009-11-14  
22:35 ---

I guess the easiest is to avoid the special formats and simply use %ld
and long unconditionally.


How about using atoll and adding that to libitry?





--


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



[Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5

2009-11-14 Thread pinskia at gmail dot com


--- Comment #3 from pinskia at gmail dot com  2009-11-14 22:44 ---
Subject: Re:  lto-elf.c fails to compile on IRIX 6.5



Sent from my iPhone

On Nov 14, 2009, at 2:35 PM, rguenth at gcc dot gnu dot org
gcc-bugzi...@gcc.gnu.org 
  wrote:



 --- Comment #2 from rguenth at gcc dot gnu dot org  2009-11-14  
 22:35 ---
 I guess the easiest is to avoid the special formats and simply use %ld
 and long unconditionally.

How about using atoll and adding that to libitry?




 -- 


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



-- 


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



[Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5

2009-11-14 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2009-11-14 22:35 ---
I guess the easiest is to avoid the special formats and simply use %ld
and long unconditionally.


-- 


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



[Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5

2009-11-13 Thread ro at gcc dot gnu dot org


--- Comment #1 from ro at gcc dot gnu dot org  2009-11-13 18:08 ---
Richard, any preferences on how to fix this?  The approach outlined in the
report
doesn't work since intl/loadmsgcat.c uses this definition of PRId64

# define PRId64 (sizeof (long) == 8 ? ld : lld)

which doesn't mix with string concatenation.  Obviously just using

#if !defined PRId64 || PRI_MACROS_BROKEN
# undef PRId64
# define PRId64 lld
#endif

works (if one adds the autoconf test for PRI_MACROS_BROKEN).


-- 


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