Closed Bug 526666 Opened 16 years ago Closed 16 years ago

Compiler alignment warnings in GCHeap.cpp/GCGlobalNew.cpp

Categories

(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P3)

Other
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED
flash10.1

People

(Reporter: chris, Assigned: lhansen)

References

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.15) Gecko/2009102815 Ubuntu/9.04 (jaunty) Firefox/3.0.15 Build Identifier: There are a couple of casts in GCHeap.cpp that provoke alignment warnings. Reproducible: Always
This patch suppressed the gcc warnings about possible alignment problems resulting from casts. I am not entirely convinced that this is the correct approach but it is how other warnings have been handled. In these cases there should be an accompanying assertion that could be enabled to check the validity of these casts. On some platforms incorrect alignment may not cause a crash but can cause serious loss in performance
Suppress another warning in GCGlobalNew.cpp
Summary: Compiler alignment warnings in GCHeap.cpp → Compiler alignment warnings in GCHeap.cpp/GCGlobalNew.cpp
Assignee: nobody → lhansen
Blocks: 504202
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Target Milestone: --- → flash10.1
redux changeset: 3002:c0a4f7c46a7a
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: