Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

so this compiles just fine

Name: Anonymous 2014-04-27 16:07


#include <stdio.h>

int main(int argc, char** argv) {
int i = i;
printf("%d\n", i);
return 0;
}


I guess I shouldn't be surprised, but this is a bit of a jolt after using let.

Name: Anonymous 2014-04-27 16:33

gcc is shit.

Name: Anonymous 2014-04-27 16:39

gcc -g -gdwarf-4 -Og -Wall -Wextra --std=c11 -Wpedantic -Wno-empty-body -Wno-unused-parameter -fno-diagnostics-show-caret -fsanitize=address -fno-omit-frame-pointer -Wno-unused-function -pthread -lpthread -D_XOPEN_SOURCE=700 -Werror *.c

Name: Anonymous 2014-04-27 17:29

>>3
-fno-strict-aliasing -fwrapv

Name: Anonymous 2014-04-27 17:53

(letrec ((i i)) (display i))

Name: Anonymous 2014-04-27 18:26

>>3
gcc -lorem -ipsum -dolor -sit -amet -consectetuer -adipiscing -elit -sed -diam -nonummy -nibh -euismod=tincidunt -ut=laoreet -dolore -magna -aliquam -erat -volutpat -wisi -enim -ad -minim -veniam -quis -nostrud -exerci -tation=ullamcorper -suscipit -lobortis -nisl -ex -ea -commodo -consequat -duis -autem -vel -eum -iriure -dolor -hendrerit -vulputate -velit -esse -molestie -consequat -vel -illum -dolore -feugiat -nulla -facilisis -vero -eros -accumsan -iusto -odio -dignissim -qui -blandit -praesent -luptatum -zzril -delenit -augue=duis -dolore -te=feugait -nulla -facilisi

Name: Anonymous 2014-04-27 19:37

gcc

Name: Anonymous 2014-04-27 19:42

9c $CFLAGS $LFLAGS

Name: Anonymous 2014-04-29 2:34

The NSA secretly added this backdoor into various compilers.

Name: Anonymous 2014-04-29 3:35

int i = i;

Name: Anonymous 2014-04-29 4:06

>>10
Leaves everyone blind.

Name: Anonymous 2014-04-30 6:52

Name: Anonymous 2014-05-04 19:41

>>1
So does this:

send(to, from, count)
register short *to, *from;
register count;
{
register n=(count+7)/8;
switch(count%8){
case 0: do{ *to = *from++;
case 7: *to = *from++;
case 6: *to = *from++;
case 5: *to = *from++;
case 4: *to = *from++;
case 3: *to = *from++;
case 2: *to = *from++;
case 1: *to = *from++;
}while(--n>0);
}
}

Name: so this compiles just fine 2014-05-04 19:49


y f = let x = f x in x

Name: Anonymous 2016-07-17 22:38

>>1
So does this:

auto main = 'VALID C++';

Name: Anonymous 2016-07-17 23:15

>>1
The more interesting question: is the following UB?
#include <stdio.h>

int main(int argc, char** argv) {
unsigned i;
i ^= i;
printf("%u\n", i);
return 0;
}

Name: Anonymous 2016-07-18 15:12

>>17
Whether this is undefined behavior is implementation dependent.

Name: Anonymous 2016-07-19 6:26

>>17
isn't it just a weird way to zero-initialize a variable?

Name: Anonymous 2016-07-19 12:22

>>18
I thought the problem is that i may not actually be allocated by the time it is read for the first time (i ^= i) -- the compiler might decide that stuff should be allocated (lazily) at initialization and not at declaration and since i is never initialized it might never be allocated. I can't find this in DA STANDARD right now, though, so correct me if I'm wrong.

Name: Anonymous 2016-07-19 13:20

I want you to imagine...

Name: Anonymous 2016-07-19 13:21

A kawaii girl saying ``check em'' in a very moe voice.

Name: posting 2 fast 2016-07-19 15:00

>>22
lets put our money together and comission nyanners to do this for us

Don't change these.
Name: Email:
Entire Thread Thread List