[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pooma-dev] allocation assert
From: |
Mark Mitchell |
Subject: |
Re: [pooma-dev] allocation assert |
Date: |
Sat, 17 Mar 2001 10:07:57 -0800 |
>>>>> "Stephen" == Stephen A Smith <address@hidden> writes:
Stephen> 3) The Pool code could be faulty. This has happened in
Stephen> the past because of some compiler reorderings of code
Stephen> using reinterpreted pointers looking at the same piece of
Stephen> memory.
In particular, the Pool code at some point violated the C/C++ rules
about type aliasing. Therefore, clever compilers (including G++ after
I implemented this optimization) woudl reorder assignments in ways
that were not anticipated. I *thought* I fixed the Pool code, but I
could be wrong.
--
Mark Mitchell address@hidden
CodeSourcery, LLC http://www.codesourcery.com
- RFA: Fix Utilities Typos and Prevent Warnings, Jeffrey Oldham, 2001/03/15
- Re: [pooma-dev] RFA: Fix Utilities Typos and Prevent Warnings, James Crotinger, 2001/03/15
- RE: [pooma-dev] missing reductions, Allan Stokes, 2001/03/17
- RE: [pooma-dev] allocation assert, Allan Stokes, 2001/03/17
- Re: [pooma-dev] allocation assert, James Crotinger, 2001/03/17
- [pooma-dev] comments on Pool, Allan Stokes, 2001/03/19
- Re: [pooma-dev] comments on Pool, Scott Haney, 2001/03/19
RE: [pooma-dev] RFA: Fix Utilities Typos and Prevent Warnings, Allan Stokes, 2001/03/17