Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bu.edu!m2c!wpi.WPI.EDU!blakey!ajb From: ajb@blakey.WPI.EDU (Arthur J. Butler) Newsgroups: comp.lang.c++,wpi.ccc Subject: Unaligned data error with AT&T 2.1 on DECStation Message-ID: <1991Jun17.184541.6472@wpi.WPI.EDU> Date: 17 Jun 91 18:45:41 GMT Sender: news@wpi.WPI.EDU (News) Organization: Worcester Polytechnic Institute Lines: 23 Originator: ajb@blakey Nntp-Posting-Host: blakey.wpi.edu hi. i'm running AT&T C++ 2.1 (3/19/90) on a DECStation. [ULTRIX V4.1 (Rev. 52) System #1: Tue Jan 15 15:25:58 EST 1991 UWS V4.1 (Rev. 197)] for some programs when i compile (default arguments -- i tried various levels of optimization include -O0), i get the following error at RUN TIME: Fixed up unaligned data access for pid 7468 (example4) at pc 0x406cb0 Fixed up unaligned data access for pid 7468 (example4) at pc ..... --- continues for 10 or so lines of same stuff --- some programs function properly after printing out these messages while some do not. not all programs exhibit this phenomena. i have yet to find a small program which causes this problem - so i cannot be more specific at this time. any ideas on what might be causing this, so i know where to look?? thanks. arthur butler (ajb@ee.wpi.edu)