This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
When I try to compile the code of BIOS=RESET.c (attached to this email) there are "failures" reported by 4.6.2
Regards. Val. cv.schmitt@gmail.com
------------ "Es gibt merkwuerdige Menschen, die etwas merkwuerdiges tun, aber am Ende stellte ich fest, dass es gar nicht so merkwuerdig war." (John Lennon) ------------
#include <stdio.h>
#include <stdbool.h>
#include <math.h>
#include <stdlib.h>
#include <signal.h>
/* #include <tgmath.h> */
/* #include <setjmp.h> */
/* #include <fenv.h> */
/* #include <complex.h> */
/* #include <inttypes.h> */
/* #include <assert.h> */
/* #include <ctype.h> */
/* #include <errno.h> */
/* #include <float.h> */
/* #include <limits.h> */
/* #include <locale.h> */
/* #include <stdarg.h> */
/* #include <stddef.h> */
/* #include <string.h> */
/* #include <time.h> */
/* #include <iso646.h> */
/* #include <stdint.h> */
/* #include <wchar.h> */
/* #include <wctype.h> */
int main( int argc, char *argv[] ) {
unsigned int bios;
unsigned int BIOS;
unsigned int Bios;
unsigned int reset;
long unsigned int mx;
long unsigned int *px,**ppx;
printf("\n ... Attributes : Adresses: hex-Code: pointers: hex-Code: pointers to pointers: hex-Code: \n");
printf("_____________________________________________________________________________________________________________________________________");
for ( mx = true; mx <= 4194304; mx++ )
{
px = &mx;
ppx = & px;
printf("\n ... Addresses are here ... \t %lu \%16lX \t %lu \t %16lX \t %lu \t %16lX ", mx, mx, (unsigned long)&px[mx], (unsigned long)&px[mx], (unsigned long)&ppx[mx], (unsigned long)&ppx[mx] );
printf("\n ... now them resetted ... \t %lu \%16lX \t %lu \t %16lX \t %lu \t %16lX ", mx, mx, (unsigned long)&px[mx], (unsigned long)&px[mx], (unsigned long)&ppx[mx], (unsigned long)&ppx[mx] );
}
bios=true;
BIOS=true;
Bios=true;
reset=true;
printf("\n\n\n\t\t\t\t\t ... dunno !!! \n\n\n\n\n\n");
return (0);
}
Attachment:
README
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |