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 libfortran/60706] FAIL: gfortran.dg/size_kind_2.f90 -O scan-tree-dump original "var2 = 42949673 00;"


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

--- Comment #3 from dave.anglin at bell dot net ---
On 31-Mar-14, at 4:53 AM, rguenth at gcc dot gnu.org wrote:

> Like this.  If that works for you it's pre-approved.  Only  
> implements the
> special-case (the gmp path would probably have a lot of testsuite  
> fallout?).
> I don't have a suitable target to test this on where the path isn't  
> optimized
> away.

Fails on hppa64-hp-hpux11.11:

In file included from ../../gcc/gcc/tree-pretty-print.h:25:0,
                  from ../../gcc/gcc/tree-pretty-print.c:28:
../../gcc/gcc/tree-pretty-print.c: In function 'void  
pp_double_int(pretty_printe
r*, double_int, bool)':
../../gcc/gcc/hwint.h:16:52: error: left shift count >= width of type  
[-Werror]
  #define HOST_BITS_PER_LONG  (CHAR_BIT * SIZEOF_LONG)
                                                     ^
../../gcc/gcc/pretty-print.h:257:54: note: in definition of macro  
'pp_scalar'
        sprintf (pp_buffer (PP)->digit_buffer, FORMAT, SCALAR); \
                                                       ^
../../gcc/gcc/hwint.h:60:35: note: in expansion of macro  
'HOST_BITS_PER_LONG'
  #   define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG
                                    ^
../../gcc/gcc/tree-pretty-print.c:3472:43: note: in expansion of macro  
'HOST_BIT
S_PER_WIDE_INT'
     (((unsigned HOST_WIDEST_INT) d.high << HOST_BITS_PER_WIDE_INT)
                                            ^

--
John David Anglin    dave.anglin@bell.net


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