public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/28884] New: TARGET_FUNCTION_VALUE not documented
@ 2006-08-29 7:48 kazu at gcc dot gnu dot org
2006-08-30 5:01 ` [Bug middle-end/28884] [4.2 Regression] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: kazu at gcc dot gnu dot org @ 2006-08-29 7:48 UTC (permalink / raw)
To: gcc-bugs
--
Summary: TARGET_FUNCTION_VALUE not documented
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: documentation
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kazu at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28884
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/28884] [4.2 Regression] TARGET_FUNCTION_VALUE not documented
2006-08-29 7:48 [Bug middle-end/28884] New: TARGET_FUNCTION_VALUE not documented kazu at gcc dot gnu dot org
@ 2006-08-30 5:01 ` pinskia at gcc dot gnu dot org
2006-08-30 8:27 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-30 5:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-30 05:01 -------
Confirmed, this was added on the mainline but an easy search of ChangeLog could
not find it because the changeLog was incomplete:
* target-def.h: New target hook function_value.
Note I think it is the same behavior as the FUNCTION_VALUE macro, well close.
It also handles FUNCTION_OUTGOING_VALUE.
Here is the default one:
rtx
default_function_value (tree ret_type ATTRIBUTE_UNUSED,
tree fn_decl_or_type,
bool outgoing ATTRIBUTE_UNUSED)
{
/* The old interface doesn't handle receiving the function type. */
if (fn_decl_or_type
&& !DECL_P (fn_decl_or_type))
fn_decl_or_type = NULL;
#ifdef FUNCTION_OUTGOING_VALUE
if (outgoing)
return FUNCTION_OUTGOING_VALUE (ret_type, fn_decl_or_type);
#endif
#ifdef FUNCTION_VALUE
return FUNCTION_VALUE (ret_type, fn_decl_or_type);
#else
return NULL_RTX;
#endif
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenther at suse dot de
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-08-30 05:01:52
date| |
Summary|TARGET_FUNCTION_VALUE not |[4.2 Regression]
|documented |TARGET_FUNCTION_VALUE not
| |documented
Target Milestone|--- |4.2.0
Version|unknown |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28884
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/28884] [4.2 Regression] TARGET_FUNCTION_VALUE not documented
2006-08-29 7:48 [Bug middle-end/28884] New: TARGET_FUNCTION_VALUE not documented kazu at gcc dot gnu dot org
2006-08-30 5:01 ` [Bug middle-end/28884] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-08-30 8:27 ` rguenth at gcc dot gnu dot org
2006-09-01 22:18 ` mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-08-30 8:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2006-08-30 08:27 -------
Oh, it was indeed me.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-08-30 05:01:52 |2006-08-30 08:27:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28884
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/28884] [4.2 Regression] TARGET_FUNCTION_VALUE not documented
2006-08-29 7:48 [Bug middle-end/28884] New: TARGET_FUNCTION_VALUE not documented kazu at gcc dot gnu dot org
2006-08-30 5:01 ` [Bug middle-end/28884] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-08-30 8:27 ` rguenth at gcc dot gnu dot org
@ 2006-09-01 22:18 ` mmitchel at gcc dot gnu dot org
2006-09-14 21:15 ` kazu at gcc dot gnu dot org
2006-09-14 21:16 ` kazu at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-09-01 22:18 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28884
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/28884] [4.2 Regression] TARGET_FUNCTION_VALUE not documented
2006-08-29 7:48 [Bug middle-end/28884] New: TARGET_FUNCTION_VALUE not documented kazu at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-09-01 22:18 ` mmitchel at gcc dot gnu dot org
@ 2006-09-14 21:15 ` kazu at gcc dot gnu dot org
2006-09-14 21:16 ` kazu at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: kazu at gcc dot gnu dot org @ 2006-09-14 21:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from kazu at gcc dot gnu dot org 2006-09-14 21:15 -------
Subject: Bug 28884
Author: kazu
Date: Thu Sep 14 21:15:12 2006
New Revision: 116951
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116951
Log:
PR middle-end/28884.
* doc/tm.texi (TARGET_FUNCTION_VALUE): Document.
(FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE): Deprecate.
Replace mentions of FUNCTION_VALUE and FUNCTION_OUTGOING_VALUE
with TARGET_FUNCTION_VALUE.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/tm.texi
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28884
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/28884] [4.2 Regression] TARGET_FUNCTION_VALUE not documented
2006-08-29 7:48 [Bug middle-end/28884] New: TARGET_FUNCTION_VALUE not documented kazu at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-09-14 21:15 ` kazu at gcc dot gnu dot org
@ 2006-09-14 21:16 ` kazu at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: kazu at gcc dot gnu dot org @ 2006-09-14 21:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from kazu at gcc dot gnu dot org 2006-09-14 21:15 -------
Just checked in a patch.
--
kazu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28884
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-09-14 21:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-29 7:48 [Bug middle-end/28884] New: TARGET_FUNCTION_VALUE not documented kazu at gcc dot gnu dot org
2006-08-30 5:01 ` [Bug middle-end/28884] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-08-30 8:27 ` rguenth at gcc dot gnu dot org
2006-09-01 22:18 ` mmitchel at gcc dot gnu dot org
2006-09-14 21:15 ` kazu at gcc dot gnu dot org
2006-09-14 21:16 ` kazu at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).