I just tried to compile the Suse Linux package
MyODBC-unixODBC-3.51.26r1127-1.62
with the GNU C compiler version 4.4 snapshot 20081128.

The compiler said

gcc -DHAVE_CONFIG_H -I. -DNONTHREADSAFE -I/usr/include -O3 -DDBUG_OFF
-I/usr/include/mysql -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
-g -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing -O2 -g
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT
libmyodbc3_la-error.lo -MD -MP -MF .deps/libmyodbc3_la-error.Tpo -c error.c 
-fPIC -DPIC -o .libs/libmyodbc3_la-error.o
In file included from /usr/include/string.h:428,
                 from /usr/include/mysql/m_string.h:30,
                 from ../MYODBC_MYSQL.h:16,
                 from myodbc3.h:37,
                 from error.c:37:
/usr/include/bits/string3.h: In function 'myodbc_sqlstate3_init':
/usr/include/bits/string3.h:113: internal compiler error: in
expand_expr_real_1, at expr.c:9295
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flag -O2 required.


-- 
           Summary: ice for legal code with -O2
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: suse-linux-x86_64


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38343

Reply via email to