[Bug c/41318] New: Access to char * generates segmentation fault

2009-09-09 Thread hxdg21 at yahoo dot com
e-linux/3.3.6/../../../crtn.o $ ./a.out Segmentation fault Any ideas? Cheers, Iran Rocha -- Summary: Access to char * generates segmentation fault Product: gcc Version: 4.2.4 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/41318] Access to char * generates segmentation fault

2009-09-29 Thread hxdg21 at yahoo dot com
--- Comment #2 from hxdg21 at yahoo dot com 2009-09-30 03:09 --- Thank you for the clarification. My friend and I ran across this while comparing the assembly generated by different compilers/platforms when manipulating strings. A largely academic exercise. That piece of code did not