This is the mail archive of the gcc-bugs@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]

Re: c/3665: ICE in merge_blocks_move_predecessor_nojumps, at flow.c:2341


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3665

Meanwhile, if goal is to compile unixODBC with gcc 3.0.4, patch 
attached. Tested with unixODBC 2.0.7 and 2.2.0. It changes nothing in 
functionality, just removes one code block that do nothing.

I know, proper solution is in gcc, but ...

Vladimir.
--- Drivers/template/SQLSetConnectOption.c.orig	Thu Dec 13 11:33:42 2001
+++ Drivers/template/SQLSetConnectOption.c	Tue Mar 26 15:16:34 2002
@@ -29,6 +29,7 @@
 /*	case SQL_CONNECT_OPT_DRVR_START: */
 	case SQL_ODBC_CURSORS:
 	case SQL_OPT_TRACE:
+#if 0
 		switch ( vParam )
 		{
 		case SQL_OPT_TRACE_ON:
@@ -36,6 +37,7 @@
 			default:
 			;
 		}
+#endif
 		break;
 
 	case SQL_OPT_TRACEFILE:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]