Re: add command line option to gcc

2019-09-06 Thread Jonathan Wakely
On Fri, 6 Sep 2019 at 04:26, Tim Rice wrote:
>
>
> I have a use case where I would like gcc to accept -Kthread
> and act as if it was passed -pthread. So -Kthread would
> be a synonym for -pthread.

For a specific target, or universally?

> I am having trouble figuring out how the option processing is handled.
> Possibly in gcc/gcc.c but I am stumped here.

You could use "specs" to tell the driver to use -pthread when -Kthread
is given e.g.

%{Kthread: -pthread}

This can either be hardcoded into the 'gcc' driver program (which
would be done in gcc/gcc.c or in a per-target file under gcc/config)
or provided in a specs file with the -specs option (see the manual).

The quick and dirty way to test that would be to dump the current
specs to a file with 'gcc -dumpspecs > kthread.spec' and then edit the
file so that everywhere you see %{pthread: xxx} you add %{Kthread:
xxx} to make it do the same thing. Then you can run gcc
-specs=kthread.spec -Kthread ...


Take your shot and discover how to isolate “resting trends”, buy them, and watch them snap back to life

2019-09-06 Thread Eaton Richard
Hi There.
Email: g...@gnu.org

Our international company consists of about 35 Internet projects related
to crypto currencies and ICO. Now we recruit staff from all over the world.

CLICK HERE TO START

Primary salary $721k per year e-workers WANTED!

- No Special Skills Needed

- No Previous Work Experience Needed

- No Crypto Trading Experience Needed

Our Requirements:

>> Internet access

>> Computer knowledge

>> A 4-5 hours of free time daily

>> Sharp Mind

Average earnings is $544 daily, part-time/ no establishes hours.

At this moment there are 73 vacancy left.

CLICK HERE TO JOIN

Best wishes,

Bennett Arias

HR Manager

Unsubscribe

ArcaMax Publishing, Inc., 729 Thimble Shoals Blvd., Suite 1-B, Newport News, VA 
23606

Re: [PATCH] Deprecate -frepo option.

2019-09-06 Thread Marek Polacek
On Fri, Sep 06, 2019 at 08:58:48AM +0200, Martin Liška wrote:
> Ok, hopefully nobody is strongly against. I've just retested the
> patch and installed it as r275450.

--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -1763,8 +1763,8 @@ ObjC ObjC++ LTO Var(flag_replace_objc_classes)
 Used in Fix-and-Continue mode to indicate that object files may be swapped in 
at runtime.

 frepo
-C++ ObjC++
-Enable automatic template instantiation.
+C++ ObjC++ Deprecated
+Deprecated in GCC 10.  This switch has no effect.

But it's not just deprecated, it's removed now, so shouldn't this be Ignored?

Also, https://gcc.gnu.org/gcc-10/changes.html should be updated, both in
Caveats and the C++ section.  But I can do that.

Marek


Re: [PATCH] Deprecate -frepo option.

2019-09-06 Thread Jakub Jelinek
On Fri, Sep 06, 2019 at 10:48:53AM -0400, Marek Polacek wrote:
> On Fri, Sep 06, 2019 at 08:58:48AM +0200, Martin Liška wrote:
> > Ok, hopefully nobody is strongly against. I've just retested the
> > patch and installed it as r275450.
> 
> --- a/gcc/c-family/c.opt
> +++ b/gcc/c-family/c.opt
> @@ -1763,8 +1763,8 @@ ObjC ObjC++ LTO Var(flag_replace_objc_classes)
>  Used in Fix-and-Continue mode to indicate that object files may be swapped 
> in at runtime.
> 
>  frepo
> -C++ ObjC++
> -Enable automatic template instantiation.
> +C++ ObjC++ Deprecated
> +Deprecated in GCC 10.  This switch has no effect.

The Deprecated keyword is just misnamed, I believe it does the same thing as
Ignore, except that it also prints a warning that the switch is no longer
supported, so kind like Ignore Warn(switch %<-frepo%> is no longer supported).
The description should be just This switch has no effect. or
Does nothing.  Preserved for backward compatibility.

Jakub


Re: [PATCH] Deprecate -frepo option.

2019-09-06 Thread Martin Liška

On 9/6/19 4:56 PM, Jakub Jelinek wrote:

On Fri, Sep 06, 2019 at 10:48:53AM -0400, Marek Polacek wrote:

On Fri, Sep 06, 2019 at 08:58:48AM +0200, Martin Liška wrote:

Ok, hopefully nobody is strongly against. I've just retested the
patch and installed it as r275450.


--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -1763,8 +1763,8 @@ ObjC ObjC++ LTO Var(flag_replace_objc_classes)
  Used in Fix-and-Continue mode to indicate that object files may be swapped in 
at runtime.

  frepo
-C++ ObjC++
-Enable automatic template instantiation.
+C++ ObjC++ Deprecated
+Deprecated in GCC 10.  This switch has no effect.


The Deprecated keyword is just misnamed, I believe it does the same thing as
Ignore, except that it also prints a warning that the switch is no longer
supported, so kind like Ignore Warn(switch %<-frepo%> is no longer supported).


Exactly. I'll double check it.


The description should be just This switch has no effect. or
Does nothing.  Preserved for backward compatibility.


Yep, I'll update the comment.

@Marek:


Also, https://gcc.gnu.org/gcc-10/changes.html should be updated, both in
Caveats and the C++ section.  But I can do that.


I'll do it once we'll be close to release of GCC 10. I've got quite some changes
that I haven't mentioned in yet in changes or porting_to.

Martin



Jakub





Re: add command line option to gcc

2019-09-06 Thread Tim Rice
On Fri, 6 Sep 2019, Jonathan Wakely wrote:

> On Fri, 6 Sep 2019 at 04:26, Tim Rice wrote:
> >
> >
> > I have a use case where I would like gcc to accept -Kthread
> > and act as if it was passed -pthread. So -Kthread would
> > be a synonym for -pthread.
> 
> For a specific target, or universally?

Likely only useful for UnixWare (and OpenServer 6).

> 
> > I am having trouble figuring out how the option processing is handled.
> > Possibly in gcc/gcc.c but I am stumped here.
> 
> You could use "specs" to tell the driver to use -pthread when -Kthread
> is given e.g.
> 
> %{Kthread: -pthread}
> 
> This can either be hardcoded into the 'gcc' driver program (which
> would be done in gcc/gcc.c or in a per-target file under gcc/config)
> or provided in a specs file with the -specs option (see the manual).

Ok, I'll go down this path and see how it works out.

Thanks.
 
> The quick and dirty way to test that would be to dump the current
> specs to a file with 'gcc -dumpspecs > kthread.spec' and then edit the
> file so that everywhere you see %{pthread: xxx} you add %{Kthread:
> xxx} to make it do the same thing. Then you can run gcc
> -specs=kthread.spec -Kthread ...
> 

-- 
Tim RiceMultitalents(707) 456-1146
t...@multitalents.net




gcc-8-20190906 is now available

2019-09-06 Thread gccadmin
Snapshot gcc-8-20190906 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/8-20190906/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 8 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-8-branch 
revision 275477

You'll find:

 gcc-8-20190906.tar.xzComplete GCC

  SHA256=136655a1c170dbc66b0ca57e10cc244a2b38c6eb9ec23991a670a45f600f0a00
  SHA1=0b2b1a924b11e689aa803e4fe1cc89a023497481

Diffs from 8-20190830 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-8
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.


❥ Sup! My girlfriend gave thy email..

2019-09-06 Thread Florence Lefebvre
Hey,my bigboy. I seen you in Inst last month and i waunt to some meet you.
I am  Brianna
I create account wiht my amazing photos.
I waiting you soul.
my second name : Norman489.

Pleaase Find me there.