Hi Martin,
On Thu, 2016-06-09 13:24:10 +0200, Martin Liška wrote:
> On 06/08/2016 02:41 PM, Jan Hubicka wrote:
> > Adding hash for this prupose is bit of an overkill (there are
> > definitly cheaper ways of solving so), but it will hardly affect compile
> > time, so the pathc is OK.
>
> Sending the final version where I added comments and I also changed
> dump scanning to cover the new dump format.
I just noticed a build problem my Build Robot found
(http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=569576):
g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-fno-common -DHAVE_CONFIG_H -I. -I. -I/scratch/4/jbglaw/regular/repos/gcc/gcc
-I/scratch/4/jbglaw/regular/repos/gcc/gcc/.
-I/scratch/4/jbglaw/regular/repos/gcc/gcc/../include
-I/scratch/4/jbglaw/regular/repos/gcc/gcc/../libcpp/include
-I/scratch/4/jbglaw/regular/repos/gcc/gcc/../libdecnumber
-I/scratch/4/jbglaw/regular/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber
-I/scratch/4/jbglaw/regular/repos/gcc/gcc/../libbacktrace -o predict.o -MT
predict.o -MMD -MP -MF ./.deps/predict.TPo
/scratch/4/jbglaw/regular/repos/gcc/gcc/predict.c
/scratch/4/jbglaw/regular/repos/gcc/gcc/predict.c:62:3: error: redeclaration of
‘NONE’
NONE,
^
In file included from ./options.h:8:0,
from ./tm.h:16,
from /scratch/4/jbglaw/regular/repos/gcc/gcc/backend.h:28,
from /scratch/4/jbglaw/regular/repos/gcc/gcc/predict.c:33:
/scratch/4/jbglaw/regular/repos/gcc/gcc/config/msp430/msp430-opts.h:25:3: note:
previous declaration ‘msp430_hwmult_types NONE’
NONE,
^
/scratch/4/jbglaw/regular/repos/gcc/gcc/predict.c:743:23: error: could not
convert ‘NONE’ from ‘msp430_hwmult_types’ to ‘predictor_reason’
edge ep_edge = NULL)
^
/scratch/4/jbglaw/regular/repos/gcc/gcc/predict.c: In function ‘void
combine_predictions_for_insn(rtx_insn*, basic_block)’:
/scratch/4/jbglaw/regular/repos/gcc/gcc/predict.c:863:32: error: cannot convert
‘msp430_hwmult_types’ to ‘predictor_reason’ for argument ‘5’ to ‘void
dump_prediction(FILE*, br_predictor, int, basic_block, predictor_reason, edge)’
combined_probability, bb);
^
/scratch/4/jbglaw/regular/repos/gcc/gcc/predict.c:867:36: warning: enumeral
mismatch in conditional expression: ‘msp430_hwmult_types’ vs ‘predictor_reason’
[-Wenum-compare]
bb, !first_match ? NONE : IGNORED);
^
[...]
The new `NONE' from your enum clashes with a NONE used in a MSP430
private enum.
MfG, JBG
--
Jan-Benedict Glaw jbg...@lug-owl.de +49-172-7608481
Signature of: They that give up essential liberty to obtain temporary safety,
the second : deserve neither liberty nor safety. (Ben Franklin)
signature.asc
Description: Digital signature