This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
sim
- From: Mike Stump <mikestump at comcast dot net>
- To: Binutils <binutils at sourceware dot org>
- Date: Wed, 10 Feb 2016 18:16:24 -0800
- Subject: sim
- Authentication-results: sourceware.org; auth=none
I imported master, and got a few warnings:
./../../binutils/sim/cyclops1/../common/sim-profile.c: In function ‘profile_pc_init’:
../../../binutils/sim/cyclops1/../common/sim-profile.c:566:4: warning: left shift count >= width of type [enabled by default]
((1 << sizeof (sim_cia) * (8 - 1))
^
../../../binutils/sim/cyclops1/../common/sim-profile.c:585:3: warning: left shift count >= width of type [enabled by default]
bucket_size = ((1 << ((sizeof (sim_cia) * 8) - 1))
^
Possibly 1L might work better.