public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Unreviewed stage2 patches
@ 2007-09-18 11:14 Jakub Jelinek
  2007-09-21  8:15 ` Jason Merrill
  0 siblings, 1 reply; 5+ messages in thread
From: Jakub Jelinek @ 2007-09-18 11:14 UTC (permalink / raw)
  To: Diego Novillo, Jason Merrill, Ian Lance Taylor, Gabriel Dos Reis
  Cc: gcc-patches

Hi!

I have still 4 stage2-ish patches I'd like to see in GCC 4.3.
The 2 new extensions and diagnostic change are meant for glibc 2.7, so that
we can switch the remaining checking function-like macros to inline
functions, plus one new optimization (although I plan to rewrite it
using a propagator for 4.4, already the simple pass has many hits during
gcc bootstrap and so it would help 4.3).

__artificial__ attribute (except the builtins.c hunk which is addressed
by the diagnostic changes below):
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg02300.html

redundant zero store elimination optimization (simplistic version,
but nevertheless is able to trigger many times during gcc bootstrap):
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00663.html

diagnostic changes to print virtual call stack:
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00979.html

__error_decl__ and __warning_decl__ attributes:
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00876.html

Thanks.

	Jakub

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unreviewed stage2 patches
  2007-09-18 11:14 Unreviewed stage2 patches Jakub Jelinek
@ 2007-09-21  8:15 ` Jason Merrill
  2007-09-21  8:36   ` Jakub Jelinek
  0 siblings, 1 reply; 5+ messages in thread
From: Jason Merrill @ 2007-09-21  8:15 UTC (permalink / raw)
  To: Jakub Jelinek
  Cc: Diego Novillo, Ian Lance Taylor, Gabriel Dos Reis, gcc-patches

Jakub Jelinek wrote:
> __error_decl__ and __warning_decl__ attributes:
> http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00876.html

Why "_decl"?

Jason

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unreviewed stage2 patches
  2007-09-21  8:15 ` Jason Merrill
@ 2007-09-21  8:36   ` Jakub Jelinek
  2007-09-22  1:21     ` error_decl, warning_decl (wa Re: Unreviewed stage2 patches) Jason Merrill
  0 siblings, 1 reply; 5+ messages in thread
From: Jakub Jelinek @ 2007-09-21  8:36 UTC (permalink / raw)
  To: Jason Merrill
  Cc: Diego Novillo, Ian Lance Taylor, Gabriel Dos Reis, gcc-patches

On Fri, Sep 21, 2007 at 01:13:34AM -0400, Jason Merrill wrote:
> Jakub Jelinek wrote:
> >__error_decl__ and __warning_decl__ attributes:
> >http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00876.html
> 
> Why "_decl"?

Because glibc already uses for such things __warndecl and __errordecl
macros, except that they result only into link time warnings or
link time errors without gcc help.

I don't care about the names though, can be anything else,
all I care is about the semantics.
So __error_fn__, __error_function__, __error_call__, __error_on_call__
or even just __error__ are ok with me.

	Jakub

^ permalink raw reply	[flat|nested] 5+ messages in thread

* error_decl, warning_decl (wa Re: Unreviewed stage2 patches)
  2007-09-21  8:36   ` Jakub Jelinek
@ 2007-09-22  1:21     ` Jason Merrill
  2007-09-22  1:39       ` Gabriel Dos Reis
  0 siblings, 1 reply; 5+ messages in thread
From: Jason Merrill @ 2007-09-22  1:21 UTC (permalink / raw)
  To: Jakub Jelinek
  Cc: Diego Novillo, Ian Lance Taylor, Gabriel Dos Reis, gcc-patches

Jakub Jelinek wrote:
> On Fri, Sep 21, 2007 at 01:13:34AM -0400, Jason Merrill wrote:
>> Jakub Jelinek wrote:
>>> __error_decl__ and __warning_decl__ attributes:
>>> http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00876.html
>> Why "_decl"?
> 
> Because glibc already uses for such things __warndecl and __errordecl
> macros, except that they result only into link time warnings or
> link time errors without gcc help.

Ah.  But there the name is a directive rather than an attribute.

> I don't care about the names though, can be anything else,
> all I care is about the semantics.
> So __error_fn__, __error_function__, __error_call__, __error_on_call__
> or even just __error__ are ok with me.

Any of those would be fine with me.  With that change the patch is OK.

Jason

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: error_decl, warning_decl (wa Re: Unreviewed stage2 patches)
  2007-09-22  1:21     ` error_decl, warning_decl (wa Re: Unreviewed stage2 patches) Jason Merrill
@ 2007-09-22  1:39       ` Gabriel Dos Reis
  0 siblings, 0 replies; 5+ messages in thread
From: Gabriel Dos Reis @ 2007-09-22  1:39 UTC (permalink / raw)
  To: Jason Merrill; +Cc: Jakub Jelinek, Diego Novillo, Ian Lance Taylor, gcc-patches

On Fri, 21 Sep 2007, Jason Merrill wrote:

| > I don't care about the names though, can be anything else,
| > all I care is about the semantics.
| > So __error_fn__, __error_function__, __error_call__, __error_on_call__
| > or even just __error__ are ok with me.
| 
| Any of those would be fine with me.  With that change the patch is OK.

I prefer the simpler __error__.

-- Gaby

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-21 22:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-18 11:14 Unreviewed stage2 patches Jakub Jelinek
2007-09-21  8:15 ` Jason Merrill
2007-09-21  8:36   ` Jakub Jelinek
2007-09-22  1:21     ` error_decl, warning_decl (wa Re: Unreviewed stage2 patches) Jason Merrill
2007-09-22  1:39       ` Gabriel Dos Reis

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).