Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
0689aa16
Commit
0689aa16
authored
Aug 17, 2015
by
Alexandre Duret-Lutz
Browse files
silence diagnostics from gcc-snapshot
(Upcoming GCC 6.) * src/misc/intvcmp2.cc: Here. * NEWS: Mention it.
parent
56cbc3c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
NEWS
View file @
0689aa16
...
...
@@ -34,6 +34,7 @@ New in spot 1.99.2a (not yet released)
but only when compiled in DEBUG mode.
- LTL formula rewritten in Spin's syntax no longer have their ->
and <-> rewritten aways.
- Fix some warnings reported by the development version of GCC 6.
New in spot 1.99.2 (2015-07-18)
...
...
src/misc/intvcmp2.cc
View file @
0689aa16
// -*- coding: utf-8 -*-
// Copyright (C) 2011, 2013, 2014 Laboratoire de Recherche et
// Copyright (C) 2011, 2013, 2014
, 2015
Laboratoire de Recherche et
// Développement de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
...
...
@@ -259,7 +259,7 @@ namespace spot
break
;
case
2
:
// 6 5-bit values
{
unsigned
int
output
=
0x02
<<
30
;
// 10
unsigned
int
output
=
0x02
U
<<
30
;
// 10
output
+=
self
().
data_at
(
0
)
<<
25
;
output
+=
self
().
data_at
(
1
)
<<
20
;
output
+=
self
().
data_at
(
2
)
<<
15
;
...
...
@@ -271,7 +271,7 @@ namespace spot
break
;
case
3
:
// 4 7-bit values
{
unsigned
int
output
=
0x0C
<<
28
;
// 1100
unsigned
int
output
=
0x0C
U
<<
28
;
// 1100
output
+=
self
().
data_at
(
0
)
<<
21
;
output
+=
self
().
data_at
(
1
)
<<
14
;
output
+=
self
().
data_at
(
2
)
<<
7
;
...
...
@@ -281,7 +281,7 @@ namespace spot
break
;
case
4
:
// 3 9-bit values
{
unsigned
int
output
=
0x0D
<<
28
;
// 1101x (1 bit lost)
unsigned
int
output
=
0x0D
U
<<
28
;
// 1101x (1 bit lost)
output
+=
self
().
data_at
(
0
)
<<
18
;
output
+=
self
().
data_at
(
1
)
<<
9
;
output
+=
self
().
data_at
(
2
);
...
...
@@ -290,7 +290,7 @@ namespace spot
break
;
case
5
:
// 2 14-bit values
{
unsigned
int
output
=
0x0E
<<
28
;
// 1110
unsigned
int
output
=
0x0E
U
<<
28
;
// 1110
output
+=
self
().
data_at
(
0
)
<<
14
;
output
+=
self
().
data_at
(
1
);
self
().
push_data
(
output
);
...
...
@@ -298,7 +298,7 @@ namespace spot
break
;
case
6
:
// one 28-bit value
{
unsigned
int
output
=
0x0F
<<
28
;
// 1111
unsigned
int
output
=
0x0F
U
<<
28
;
// 1111
output
+=
self
().
data_at
(
0
);
self
().
push_data
(
output
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment