Bug#225935: gcc-3.3: function static variable initialization allowed with pure functions only when -O is used

2004-01-02 Thread Britton Leo Kerin
Package: gcc-3.3 Version: 1:3.3.3-0pre1 Severity: normal This program: #include #include #include int an_impure_function(void) { return rand(); } int main(void) { static char *const foo = "baz"; static int foo_len = strlen(foo); /* static int foo_len = an_impure_function(); */ pr

Bug#119889: gcc: not a bug, sorry

2001-11-16 Thread Britton Leo Kerin
Package: gcc Version: 2:2.95.4-8 I was reading the version 3.0 docs and runing the 2.95 compiler. Sorry. -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux anorien 2.4.12 #1 Mon Oct 15 11:00:28 AKDT 2001 i586 Locale: LANG=C, LC_CTYPE= Versions of packages gcc

Bug#119889: gcc: -Wfloat-equal documented in info but doesn't work

2001-11-16 Thread Britton Leo Kerin
Package: gcc Version: 2:2.95.4-8 Severity: normal File: /usr/bin/gcc Seen on two machines including latest debian unstable, so I hope I'm not hallucinating: gcc -Wall -W -Wfloat-equal -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -I. -I/3dsar1/asf_tools/s