[Bug c/29595] gcc miscompilation of some stuff

2006-10-25 Thread nigelenki at comcast dot net
--- Comment #1 from nigelenki at comcast dot net 2006-10-25 20:41 --- Created an attachment (id=12492) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12492action=view) decrypt_1.2.c C source file, there's a big block that says GCC MISCOMPILATION above the printf triggering this.

[Bug c/29595] gcc miscompilation of some stuff

2006-10-25 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-10-25 20:45 --- How did you build it? It says t.c: In function ‘a_hash’: t.c:95: warning: right shift count = width of type also it seems to need proper input... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29595

[Bug c/29595] gcc miscompilation of some stuff

2006-10-25 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-10-25 20:51 --- Eh, we're not going to debug your code for you. It looks too buggy and segfaults on me. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/29595] gcc miscompilation of some stuff

2006-10-25 Thread nigelenki at comcast dot net
--- Comment #4 from nigelenki at comcast dot net 2006-10-25 21:42 --- Issue was passing an unsigned long int to a %i instead of %li format specifier in printf(). I didn't know my C library altered anything if %n wasn't specified... oh well, my bug. --