RE: selective linking of floating point support for *printf / *scanf

2014-09-02 Thread Thomas Preud'homme
> From: Joseph S. Myers [mailto:jos...@codesourcery.com] > Sent: Tuesday, September 02, 2014 11:29 PM > > Identifiers beginning with a single underscore are reserved with file > scope. This means an application cannot provide an external definition of > them, because such an external definition w

Re: Some questions about pass web

2014-09-02 Thread Carrot Wei
For the relation between web and AUTOINC, I found the code in union_defs: if (DF_REF_FLAGS (use) & DF_REF_READ_WRITE) { ... } So web should handle AUTOINC in theory, but in an experiment, I added a second web pass just before RA, web generated wrong code in the presence of AUTOINC express

Re: GCC ARM: aligned access

2014-09-02 Thread Peng Fan
On 09/02/2014 09:25 PM, Julian Brown wrote: > On Mon, 1 Sep 2014 09:14:31 +0800 > Peng Fan wrote: > >> On 09/01/2014 08:09 AM, Matt Thomas wrote: >>> >>> On Aug 31, 2014, at 11:32 AM, Joel Sherrill >>> wrote: I think this is totally expected. You were passed a u8 pointer which is ali

Some questions about pass web

2014-09-02 Thread Carrot Wei
Hi I have following questions about web (pseudo register renaming) pass: 1. It is well known that register renaming is a big help to register allocation, but in gcc's backend, the web pass is far before RA, there are about 20 passes between them. Does it mean register renaming can also heavily be

Bounded array type?

2014-09-02 Thread James Nelson
A recurring error in C (and to a lesser extent C++) is the lack of bounds checking in arrays. One famous instance of this error was the Heartbleed incident (which could also be blamed on messy code). I propose a GCC extension of a bounded array type. A bounded array is an array type that has a var

Fwd: Spam again

2014-09-02 Thread Uros Bizjak
Hello! > I added code to GCC Bugzilla last night to collect IP addresses from > requests for new accounts. 80% - 90% of requests are coming from the > following IP ranges: > > 62.122.72.x - 62.122.79.x > 91.229.229.x > 185.2.32.x > 185.44.77.x - 185.44.79.x > 188.72.126.x - 188.72.127.x > 188.72.9

Re: Spam again

2014-09-02 Thread Andreas Schwab
Frédéric Buclin writes: > All of them asked for a @wowring.ru account. If some of you want to play > with these IP ranges, I would be curious to know where they are coming > from. Maybe Russia? They come from all over Europe. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerpri

Re: Spam again

2014-09-02 Thread Frédéric Buclin
I added code to GCC Bugzilla last night to collect IP addresses from requests for new accounts. 80% - 90% of requests are coming from the following IP ranges: 62.122.72.x - 62.122.79.x 91.229.229.x 185.2.32.x 185.44.77.x - 185.44.79.x 188.72.126.x - 188.72.127.x 188.72.96.x 193.105.154.x 194.29.18

Re: selective linking of floating point support for *printf / *scanf

2014-09-02 Thread Joseph S. Myers
On Tue, 2 Sep 2014, Joey Ye wrote: > Apparently newlib is not following this specification very well, as > there are symbols like _abc_r defined every where in current newlib. I > am not implying the spec should not be followed, but is newlib > designed to have a loose spec for the single undersco

[RFC] Don't inline builtin memory functions when ASan is enabled.

2014-09-02 Thread Maxim Ostapenko
Hi, At this moment, most of GCC builtin memory functions (for example strcpy, stpcpy, wcpcpy, strdup, etc) are not instrumented by GCC, however some of them are rather dangerous. If GCC inlines these builtin functions, we will miss important checks for arguments, and possible overflow won't b

Re: GCC ARM: aligned access

2014-09-02 Thread Julian Brown
On Mon, 1 Sep 2014 09:14:31 +0800 Peng Fan wrote: > On 09/01/2014 08:09 AM, Matt Thomas wrote: > > > > On Aug 31, 2014, at 11:32 AM, Joel Sherrill > > wrote: > >> I think this is totally expected. You were passed a u8 pointer > >> which is aligned for that type (no restrictions likely). You cas

Re: Account creation disabled on GCC Bugzilla

2014-09-02 Thread Joern Rennecke
On 2 September 2014 11:01, Jakub Jelinek wrote: > On Tue, Sep 02, 2014 at 11:49:33AM +0200, Andreas Schwab wrote: >> Richard Biener writes: >> >> > On Tue, Sep 2, 2014 at 8:15 AM, Uros Bizjak wrote: >> >> Hello! >> >> >> >>> 311 bugs have been created on GCC Bugzilla since yesterday. Only 2 are

Re: Account creation disabled on GCC Bugzilla

2014-09-02 Thread Jakub Jelinek
On Tue, Sep 02, 2014 at 11:49:33AM +0200, Andreas Schwab wrote: > Richard Biener writes: > > > On Tue, Sep 2, 2014 at 8:15 AM, Uros Bizjak wrote: > >> Hello! > >> > >>> 311 bugs have been created on GCC Bugzilla since yesterday. Only 2 are > >>> valid bugs. The remaining 309 ones are all spam an

Re: Account creation disabled on GCC Bugzilla

2014-09-02 Thread Andreas Schwab
Richard Biener writes: > On Tue, Sep 2, 2014 at 8:15 AM, Uros Bizjak wrote: >> Hello! >> >>> 311 bugs have been created on GCC Bugzilla since yesterday. Only 2 are >>> valid bugs. The remaining 309 ones are all spam and have been moved into >>> the 'spam' component and marked as INVALID. >> >> W

Re: Account creation disabled on GCC Bugzilla

2014-09-02 Thread Richard Biener
On Tue, Sep 2, 2014 at 8:15 AM, Uros Bizjak wrote: > Hello! > >> 311 bugs have been created on GCC Bugzilla since yesterday. Only 2 are >> valid bugs. The remaining 309 ones are all spam and have been moved into >> the 'spam' component and marked as INVALID. > > We can also avoid archiving bugs wi

Re: selective linking of floating point support for *printf / *scanf

2014-09-02 Thread Andrew Haley
On 09/02/2014 08:33 AM, Joey Ye wrote: > On Sat, Aug 30, 2014 at 12:26 PM, Thomas Preud'homme > wrote: >>> From: Grissiom [mailto:chaos.pro...@gmail.com] >>> Sent: Friday, August 29, 2014 11:51 PM >>> >>> Yes, it does. The namespace reserved for the implementation is _[_A-Z]. >> > The namespace

Re: New anti-spam extension enabled on GCC Bugzilla

2014-09-02 Thread Richard Biener
On Mon, Sep 1, 2014 at 12:50 AM, Frédéric Buclin wrote: > Hello, > > I just enabled an extension on GCC Bugzilla which automatically disables > reporter's account if their bugs are marked as INVALID and are in the > 'spam' component. So if you have enough privileges on GCC Bugzilla to > close a bu

Visualizing Call Hierarchy In Chromium Browser

2014-09-02 Thread lin zuojian
Hi, I use chrome://tracing to demonstrate the hierarchy of ira-color.c. And I think it's helpful to understand the code. If anyone feels interested in it, visit the project in github:https://github.com/linzj/gen-trace Its very easy to use, that's why I don't use the code of chr

Re: selective linking of floating point support for *printf / *scanf

2014-09-02 Thread Joey Ye
On Sat, Aug 30, 2014 at 12:26 PM, Thomas Preud'homme wrote: >> From: Grissiom [mailto:chaos.pro...@gmail.com] >> Sent: Friday, August 29, 2014 11:51 PM >> >> Yes, it does. The namespace reserved for the implementation is _[_A-Z]. > > The namespace _[a-z] is still available for the user. Which m

Re: Spam again

2014-09-02 Thread Andrew Pinski
On Tue, Sep 2, 2014 at 12:01 AM, Uros Bizjak wrote: >> I again disabled account creation on GCC Bugzilla due to spammers being >> still very active. 117 user accounts have been created since yesterday. > > > Please immediately disable account creation on Bugzilla until an > effective solution to p

Spam again

2014-09-02 Thread Uros Bizjak
> I again disabled account creation on GCC Bugzilla due to spammers being > still very active. 117 user accounts have been created since yesterday. Please immediately disable account creation on Bugzilla until an effective solution to prevent spam is found. There is another spam attack going on w