https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67930
Bug ID: 67930 Summary: segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ka_bena at yahoo dot fr Target Milestone: --- # include <stdlib.h> # include <stdio.h> void test ( char **A ) { *A[0] = 'a' ; } int main( void) { char *b = "omega" ; test ( &b ) ; printf ( "b = %s \n" , b ) ; return 0 ; } /* RESULTS:: Segmentation fault (core dumped) Exited: 35584 gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) gcc -std=gnu99 -omain_pointer.exe main_pointer.c ; */