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

3.3.2 PATCH: Fix PR libf2c/12263


this is the version of

for the 3.3 branch: it fixes a bootstrap failure on IRIX 6.5.21 (which has
also been reported against 3.3.1 as PR libf2c/12263).

Bootstrapped on mips-sgi-irix6.5.  I noticed three regressions between
20030715 and 20031007 which are almost certainly unrelated:

+FAIL: g++.dg/ext/attrib8.C (test for excess errors)

Excess errors:
/vol/gnu/src/gcc/gcc-3.3-branch-dist/gcc/testsuite/g++.dg/ext/attrib8.C:3: warning: `stdcall' attribute directive ignored
/vol/gnu/src/gcc/gcc-3.3-branch-dist/gcc/testsuite/g++.dg/ext/attrib8.C:4: warning: `stdcall' attribute directive ignored

This is a new test.  It should be xfail'ed on non-Windows (?) platforms.

+FAIL: g++.dg/template/ptrmem4.C  (test for errors, line 19)
+FAIL: g++.dg/template/ptrmem4.C (test for excess errors)

Excess errors:
/vol/gnu/src/gcc/gcc-3.3-branch-dist/gcc/testsuite/g++.dg/template/ptrmem4.C:19: error: invalid initialization of reference of type 'void (SpyExample::*&)()' from expression of type '<unknown type>'

+FAIL: 22_locale/ execution test

Assertion failed: EX, file /vol/gnu/src/gcc/gcc-3.3-branch-dist/libstdc++-v3/testsuite/22_locale/, line 227

This is

  VERIFY_SCAN_IS (std::ctype_base::print, cs, cs);


  const char_type *const cs = L"     ";

I cannot imagine how this should be related to fixing stdio.h.

Ok for the 3.3 branch?


Rainer Orth, Faculty of Technology, Bielefeld University

Thu Oct  2 19:24:42 2003  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* fixinc/inclhack.def (stdio_va_list): Removed _ap fix.
	(irix_stdio_va_list): Don't require leading printf, IRIX 6.5.21
	introduced some multi-line prototypes.
	* fixinc/fixincl.x: Regenerate.
	Fixes PR libf2c/12263.

Index: gcc/fixinc//inclhack.def
RCS file: /cvs/gcc/gcc/gcc/fixinc/inclhack.def,v
retrieving revision
diff -u -p -r1.139.4.11 inclhack.def
--- gcc/fixinc//inclhack.def	1 Oct 2003 19:07:06 -0000
+++ gcc/fixinc//inclhack.def	9 Oct 2003 16:06:36 -0000
@@ -1565,9 +1565,9 @@ fix = {
     files     = stdio.h;
     files     = internal/stdio_core.h;
-    select = '(printf\(.*), /\* va_list \*/ char \*';
+    select = '/\* va_list \*/ char \*';
     c_fix  = format;
-    c_fix_arg = "%1, __gnuc_va_list";
+    c_fix_arg = "__gnuc_va_list";
     test_text =
     "extern int printf( const char *, /* va_list */ char * );";
@@ -2510,7 +2510,6 @@ fix = {
     sed = "s@ va_list @ __gnuc_va_list @\n"
           "s@ va_list)@ __gnuc_va_list)@\n"
-    	  "s@va_list _ap;@__gnuc_va_list _ap;@\n"
           "s@ _VA_LIST_));@ __gnuc_va_list));@\n"
           "s@ __VA_LIST__));@ __gnuc_va_list));@\n"

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