Re: [gimplefe] Parsing PHI functions

2016-07-04 Thread Prasad Ghangal
On 4 July 2016 at 15:17, Richard Biener wrote: > On Sun, Jul 3, 2016 at 9:34 AM, Prasad Ghangal > wrote: >> In this patch, I am passing labels and vars with internal function and >> handling them in tree-cfg for parsing PHI. >> For first label, label_to_block() gives correct basic block and I am

Re: Deprecating basic asm in a function - What now?

2016-07-04 Thread Frank Ch. Eigler
jwakely.gcc wrote: > [...] (When we switched Fedora to using GCC 6, with C++14 enabled by > default, dozens and dozens of C++ packages failed to compile, > because even in 2016 nobody had ever tried to compile them with > C++11 features enabled.) And one shouldn't blame those that choose to stic

Re: Deprecating basic asm in a function - What now?

2016-07-04 Thread Andrew Haley
On 04/07/16 14:43, Jonathan Wakely wrote: > It doesn't matter how much warning people have to fix such things, > most of them won't do it. Then at the last minute some poor person has > to spend days or weeks going through other people's code fixing all > the problems... ...and breaking everything

Re: Deprecating basic asm in a function - What now?

2016-07-04 Thread Jonathan Wakely
On 22 June 2016 at 10:28, David Wohlferd wrote: > And I *get* that it takes time to re-write this, and people have schedules, > lives, a need for sleep. But even under the most insanely aggressive > schedule I can imagine (if gcc continue to release ~1/year), it will be at > least a year before th

Re: [RFC][Draft patch] Introduce IntegerSanitizer in GCC.

2016-07-04 Thread Marc Glisse
On Mon, 4 Jul 2016, Maxim Ostapenko wrote: Is community interested in such a tool? On the one hand, it is clearly useful since you found bugs thanks to it. On the other hand: 1) I hope we never reach the situation caused by Microsoft's infamous warning C4146 (which is even an error if you en

[RFC][Draft patch] Introduce IntegerSanitizer in GCC.

2016-07-04 Thread Maxim Ostapenko
Hi! Although in languages like C and C++ unsigned integer overflow reliably wraps around and well defined, sometimes it may indicate an error in code and lead to undesirable consequences and even security vulnerabilities (https://android-developers.blogspot.ru/2016/05/hardening-media-stack.ht

Re: [gimplefe] Parsing PHI functions

2016-07-04 Thread Richard Biener
On Sun, Jul 3, 2016 at 9:34 AM, Prasad Ghangal wrote: > In this patch, I am passing labels and vars with internal function and > handling them in tree-cfg for parsing PHI. > For first label, label_to_block() gives correct basic block and I am > getting proper edges but for other labels the functio

Re: unhappiness with zero package security

2016-07-04 Thread Richard Biener
On Sat, Jul 2, 2016 at 10:48 PM, Mikhail Maltsev wrote: > On 02.07.2016 18:12, squidmob...@fastmail.fm wrote: >> >> 02 jul 2016 >> >> i tried to build and install gcc, and i ran into a problem. your >> docs suggest isl acts as an OPTIONAL package for optimizations. >> however, i could not build g

Build fails on importing gnulib

2016-07-04 Thread ayush goel
Build fails on including gnulib header files in the include path In file included from insn-modes.c:5: In file included from /Users/ayushgoel/gsoc/src/gcc/system.h:294: ../gnulib/import/unistd.h:135:3: error: "Please include config.h first."  #error "Please include config.h first."   ^ ../gnulib/i

Re: [RFC] lto partitioning of varpool_nodes for section anchors

2016-07-04 Thread Andrew Pinski
On Mon, Jul 4, 2016 at 12:58 AM, Prathamesh Kulkarni wrote: > Hi, > I have attached a "quick and dirty" prototype patch (var-partition-1.diff), > that attempts to partition variables to reduce number of > external references and to increase usage of section-anchors > to CSE address computation of

[RFC] lto partitioning of varpool_nodes for section anchors

2016-07-04 Thread Prathamesh Kulkarni
Hi, I have attached a "quick and dirty" prototype patch (var-partition-1.diff), that attempts to partition variables to reduce number of external references and to increase usage of section-anchors to CSE address computation of global variables. We could put a variable in a partition that has max