mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-24 16:21:25 +08:00
* cplus-dem.c (do_type): Handle volatile qualification.
From-SVN: r19932
This commit is contained in:
parent
178ca02d83
commit
1cc7529801
@ -1,3 +1,7 @@
|
||||
1998-05-21 Mark Mitchell <mmitchell@usa.net>
|
||||
|
||||
* cplus-dem.c (do_type): Handle volatile qualification.
|
||||
|
||||
Thu May 21 12:23:17 1998 Per Bothner <bothner@cygnus.com>
|
||||
|
||||
* function.c (init_function_start): Don't call emit_line_note if
|
||||
|
@ -2640,7 +2640,7 @@ do_type (work, mangled, result)
|
||||
break;
|
||||
|
||||
case 'C':
|
||||
(*mangled)++;
|
||||
case 'V':
|
||||
/*
|
||||
if ((*mangled)[1] == 'P')
|
||||
{
|
||||
@ -2651,8 +2651,10 @@ do_type (work, mangled, result)
|
||||
{
|
||||
string_prepend (&decl, " ");
|
||||
}
|
||||
string_prepend (&decl, "const");
|
||||
string_prepend (&decl,
|
||||
(**mangled) == 'C' ? "const" : "volatile");
|
||||
}
|
||||
(*mangled)++;
|
||||
break;
|
||||
/*
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
1998-05-21 Mark Mitchell <mmitchell@usa.net>
|
||||
|
||||
* cplus-dem.c (do_type): Handle volatile qualification.
|
||||
|
||||
1998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
|
||||
|
||||
* configure.in: Check for unistd.h as well.
|
||||
|
@ -2628,7 +2628,7 @@ do_type (work, mangled, result)
|
||||
break;
|
||||
|
||||
case 'C':
|
||||
(*mangled)++;
|
||||
case 'V':
|
||||
/*
|
||||
if ((*mangled)[1] == 'P')
|
||||
{
|
||||
@ -2639,8 +2639,10 @@ do_type (work, mangled, result)
|
||||
{
|
||||
string_prepend (&decl, " ");
|
||||
}
|
||||
string_prepend (&decl, "const");
|
||||
string_prepend (&decl,
|
||||
(**mangled) == 'C' ? "const" : "volatile");
|
||||
}
|
||||
(*mangled)++;
|
||||
break;
|
||||
/*
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user