removed".
>
> * Is "removed" supposed to, for example, call the destructor? Since,
> in this particular case, it is only a wrapper and cgraph_node is not
> intended to be destroyed, I just assign the pointer to NULL. Not sure
> if that's the intention.
> * I
e case?
* I see that there is a typed_delete_remove function that is sometimes
used in traits, but I think that it doesn't apply to this case because
I am storing the whole object. Is that the case?
I later did some refactoring (patch 3), which did not seem to impact
the code now, but will i
M, Thomas Schwinge wrote:
>>>> So I'm trying to do some C++... ;-)
>>>>
>>>> Given:
>>>>
>>>> /* A map from SSA names or var decls to record fields. */
>>>> typedef hash_map field_map_t;
>>>>
>&
On 8/16/21 6:44 AM, Thomas Schwinge wrote:
> > >> [...], to document the current behavior, I propose to
> > >> "Add more self-tests for 'hash_map' with Value type with non-trivial
> > >> constructor/destructor", see attached. OK to push to m
ior, I propose to
>> >> "Add more self-tests for 'hash_map' with Value type with non-trivial
>> >> constructor/destructor", see attached. OK to push to master branch?
>> >> (Also cherry-pick into release branches, eventually?)
>> >
On Tue, Aug 17, 2021 at 8:40 AM Thomas Schwinge wrote:
>
> Hi!
>
> On 2021-08-16T14:10:00-0600, Martin Sebor wrote:
> > On 8/16/21 6:44 AM, Thomas Schwinge wrote:
> >> [...], to document the current behavior, I propose to
> >> "Add more self-tests for
Hi!
On 2021-08-16T14:10:00-0600, Martin Sebor wrote:
> On 8/16/21 6:44 AM, Thomas Schwinge wrote:
>> [...], to document the current behavior, I propose to
>> "Add more self-tests for 'hash_map' with Value type with non-trivial
>> constructor/destructor&q
On 8/16/21 6:44 AM, Thomas Schwinge wrote:
Hi!
On 2021-08-12T17:15:44-0600, Martin Sebor via Gcc wrote:
On 8/6/21 10:57 AM, Thomas Schwinge wrote:
So I'm trying to do some C++... ;-)
Given:
/* A map from SSA names or var decls to record fields. */
typedef hash_map field_
> Given:
> >>
> >> /* A map from SSA names or var decls to record fields. */
> >> typedef hash_map field_map_t;
> >>
> >> /* For each propagation record type, this is a map from SSA names or
> >> var decls
> >>
Hi!
On 2021-08-12T17:15:44-0600, Martin Sebor via Gcc wrote:
> On 8/6/21 10:57 AM, Thomas Schwinge wrote:
>> So I'm trying to do some C++... ;-)
>>
>> Given:
>>
>> /* A map from SSA names or var decls to record fields. */
>> typedef
Hi!
On 2021-08-09T12:02:02+0200, Richard Biener via Gcc wrote:
> On Fri, Aug 6, 2021 at 6:58 PM Thomas Schwinge
> wrote:
>> So I'm trying to do some C++... ;-)
>>
>> Given:
>>
>> /* A map from SSA names or var decls to record fields
some C++... ;-)
>> >>
>> >> Given:
>> >>
>> >> /* A map from SSA names or var decls to record fields. */
>> >> typedef hash_map field_map_t;
>> >>
>> >> /* For each propagation record type, this is
On 8/6/21 10:57 AM, Thomas Schwinge wrote:
Hi!
So I'm trying to do some C++... ;-)
Given:
/* A map from SSA names or var decls to record fields. */
typedef hash_map field_map_t;
/* For each propagation record type, this is a map from SSA names or var
decls
On Fri, Aug 6, 2021 at 6:58 PM Thomas Schwinge wrote:
>
> Hi!
>
> So I'm trying to do some C++... ;-)
>
> Given:
>
> /* A map from SSA names or var decls to record fields. */
> typedef hash_map field_map_t;
>
> /* For each propagation record typ
t;>
> >> /* A map from SSA names or var decls to record fields. */
> >> typedef hash_map field_map_t;
> >>
> >> /* For each propagation record type, this is a map from SSA names or
> >> var decls
> >>to propagate, to th
Hi!
On 2021-08-06T19:37:58+0100, Jonathan Wakely wrote:
> On Fri, 6 Aug 2021, 17:58 Thomas Schwinge, wrote:
>> So I'm trying to do some C++... ;-)
>>
>> Given:
>>
>> /* A map from SSA names or var decls to record fields. */
>> typedef
On Fri, 6 Aug 2021, 17:58 Thomas Schwinge, wrote:
> Hi!
>
> So I'm trying to do some C++... ;-)
>
> Given:
>
> /* A map from SSA names or var decls to record fields. */
> typedef hash_map field_map_t;
>
> /* For each propagation record type, th
Hi!
So I'm trying to do some C++... ;-)
Given:
/* A map from SSA names or var decls to record fields. */
typedef hash_map field_map_t;
/* For each propagation record type, this is a map from SSA names or var
decls
to propagate, to the field in the record type that s
:03:00PM -0600, Martin Sebor via Gcc wrote:
I have a static hash_map object that needs to persist across passes:
static GTY(()) hash_map *map;
I initialize the map like so:
map = hash_map::create_ggc (4);
But I see crashes when accessing the map after adding and removing
some number of
On Tue, Apr 20, 2021 at 02:03:00PM -0600, Martin Sebor via Gcc wrote:
> >>>>> I have a static hash_map object that needs to persist across passes:
> >>>>>
> >>>>> static GTY(()) hash_map *map;
> >>>>>
> >>>>>
On 4/20/21 5:03 PM, Martin Sebor wrote:
On 4/20/21 4:15 PM, Martin Sebor wrote:
On 4/20/21 2:36 PM, Martin Sebor wrote:
On 4/20/21 2:13 PM, Marek Polacek wrote:
On Tue, Apr 20, 2021 at 02:03:00PM -0600, Martin Sebor via Gcc wrote:
I have a static hash_map object that needs to persist across
On 4/20/21 4:15 PM, Martin Sebor wrote:
On 4/20/21 2:36 PM, Martin Sebor wrote:
On 4/20/21 2:13 PM, Marek Polacek wrote:
On Tue, Apr 20, 2021 at 02:03:00PM -0600, Martin Sebor via Gcc wrote:
I have a static hash_map object that needs to persist across passes:
static GTY(()) hash_map *map
On 4/20/21 2:36 PM, Martin Sebor wrote:
On 4/20/21 2:13 PM, Marek Polacek wrote:
On Tue, Apr 20, 2021 at 02:03:00PM -0600, Martin Sebor via Gcc wrote:
I have a static hash_map object that needs to persist across passes:
static GTY(()) hash_map *map;
I initialize the map like so:
map
On 4/20/21 2:13 PM, Marek Polacek wrote:
On Tue, Apr 20, 2021 at 02:03:00PM -0600, Martin Sebor via Gcc wrote:
I have a static hash_map object that needs to persist across passes:
static GTY(()) hash_map *map;
I initialize the map like so:
map = hash_map::create_ggc (4);
But I see
On Tue, Apr 20, 2021 at 02:03:00PM -0600, Martin Sebor via Gcc wrote:
> I have a static hash_map object that needs to persist across passes:
>
> static GTY(()) hash_map *map;
>
> I initialize the map like so:
>
> map = hash_map::create_ggc (4);
>
> But I see cra
I have a static hash_map object that needs to persist across passes:
static GTY(()) hash_map *map;
I initialize the map like so:
map = hash_map::create_ggc (4);
But I see crashes when accessing the map after adding and removing
some number of entries in a few passes. The crashes are due
Info IT-BCSB wrote:
> Hello,
>
> i have a problem and hope you could help me to transport the special
> funktion "hash_map" to the OpenVMS system for a special software. This
> special software was develop on a linux system with the g++ compiler. Now, i
> would like t
Hello,
i have a problem and hope you could help me to transport the special
funktion "hash_map" to the OpenVMS system for a special software. This
special software was develop on a linux system with the g++ compiler. Now, i
would like to move this special software to OpenVMS. But OpenV
28 matches
Mail list logo