Description of problem: The attached test case (derived from doset () in sh.set.c from tcsh) should read "val = *ptr" using a 16-bit read, but it uses a 32-bit read. When *ptr is located at end of a page, this can cause a SIGSEGV. Version-Release number of selected component (if applicable): gcc-3.2.3-53 How reproducible: gcc -S -O1 foo2.c && less foo2.s Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 119593 [details] Simplified reproducer
Oops, sorry about the dupes. *** This bug has been marked as a duplicate of 169845 ***