Re: Whole program optimization and functions-only-called-once.

2009-11-15 Thread Steven Bosscher
On Sat, Nov 14, 2009 at 11:12 PM, Richard Guenther wrote: > I don't even remember which other passes have this kind of cut-offs .. At least CPROP, LCM-PRE, and HOIST (i.e. all passes in gcse.c), and variable tracking. Ciao! Steven

semantic of used_define cpp callback?

2009-11-15 Thread Arnaud Charlet
Hi, libcpp/cpplib.h defines: /* Callbacks for when a macro is expanded, or tested (whether defined or not at the time) in #ifdef, #ifndef or "defined". */ void (*used_define) (cpp_reader *, unsigned int, cpp_hashnode *); void (*used_undef) (cpp_reader *, unsigned int, cpp_hashnode *);

handling of TAB in column number

2009-11-15 Thread Arnaud Charlet
Hi, Back in 2009-12-15, you wrote an interesting patch to take into account TAB chars and compute column numbers according to GNU standard in GCC: http://gcc.gnu.org/ml/gcc-patches/2008-12/msg00880.html I see that this patch is not present in either trunk or in the diagnostics-branch. Could you

Re: Whole program optimization and functions-only-called-once.

2009-11-15 Thread Toon Moene
Steven Bosscher wrote: On Sat, Nov 14, 2009 at 11:12 PM, Richard Guenther wrote: I don't even remember which other passes have this kind of cut-offs .. At least CPROP, LCM-PRE, and HOIST (i.e. all passes in gcse.c), and variable tracking. Are they covered by a --param ? At least that wa

Re: i370 port - finally building

2009-11-15 Thread Paul Edwards
I have wonderful news to report. I am finally able to build GCC 3.4.6 for MVS using the normal build process. There is still a lot of extra i370-specific utilities to e.g. generate compile JCL, but these are completely separate scripts so not intrusive at all. Here's all the changes I have made

Re: Whole program optimization and functions-only-called-once.

2009-11-15 Thread Richard Guenther
On Sun, Nov 15, 2009 at 8:07 AM, Toon Moene wrote: > Steven Bosscher wrote: > >> On Sat, Nov 14, 2009 at 11:12 PM, Richard Guenther >> wrote: > >>> I don't even remember which other passes have this kind of cut-offs .. >> >> At least CPROP, LCM-PRE, and HOIST (i.e. all passes in gcse.c), and >> v

Re: Whole program optimization and functions-only-called-once.

2009-11-15 Thread Toon Moene
Richard Guenther wrote: On Sun, Nov 15, 2009 at 8:07 AM, Toon Moene wrote: Steven Bosscher wrote: At least CPROP, LCM-PRE, and HOIST (i.e. all passes in gcse.c), and variable tracking. Are they covered by a --param ? At least that way I could teach them to go on indefinitely ... I

Re: semantic of used_define cpp callback?

2009-11-15 Thread Tom Tromey
> "Arnaud" == Arnaud Charlet writes: Arnaud> /* Callbacks for when a macro is expanded, or tested (whether Arnaud> defined or not at the time) in #ifdef, #ifndef or "defined". */ Arnaud> void (*used_define) (cpp_reader *, unsigned int, cpp_hashnode *); Arnaud> Is the intent that us

Re: handling of TAB in column number

2009-11-15 Thread Tom Tromey
> "Arnaud" == Arnaud Charlet writes: Arnaud> Back in 2009-12-15, you wrote an interesting patch to take into Arnaud> account TAB chars and compute column numbers according to GNU Arnaud> standard in GCC: Arnaud> http://gcc.gnu.org/ml/gcc-patches/2008-12/msg00880.html Arnaud> I see that this p

Re: semantic of used_define cpp callback?

2009-11-15 Thread Arnaud Charlet
> I suppose the idea is to emit each used macro a single time only, the > code seems to confirm this. Makes sense indeed (and at least matches what the code does). > Arnaud> so would the addition of a new callback (e.g. > Arnaud> void (*used) (cpp_reader *, unsigned int, cpp_hashnode *); > Arna

Re: handling of TAB in column number

2009-11-15 Thread Arnaud Charlet
> I never ran the patch through the test suite. I assume it would require > some test suite changes. OK, I can do that and see where things are. > Also, I've experimented more with Aldy's location improvement patch > (which is now on mainline, I think diagnostics-branch is closed), and > Emacs (

Re: semantic of used_define cpp callback?

2009-11-15 Thread Basile STARYNKEVITCH
Arnaud Charlet wrote: I suppose the idea is to emit each used macro a single time only, the code seems to confirm this. Makes sense indeed (and at least matches what the code does). Arnaud> so would the addition of a new callback (e.g. Arnaud> void (*used) (cpp_reader *, unsigned int, cpp_h

Re: Whole program optimization and functions-only-called-once.

2009-11-15 Thread Tim Prince
Toon Moene wrote: Richard Guenther wrote: On Sun, Nov 15, 2009 at 8:07 AM, Toon Moene wrote: Steven Bosscher wrote: At least CPROP, LCM-PRE, and HOIST (i.e. all passes in gcse.c), and variable tracking. Are they covered by a --param ? At least that way I could teach them to go on in

gcc-4.3-20091115 is now available

2009-11-15 Thread gccadmin
Snapshot gcc-4.3-20091115 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20091115/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.3 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

git mirror repacked, new branches

2009-11-15 Thread Bernie Innocenti
I repacked our (un)official git mirror (http://gcc.gnu.org/git) with git repack -a -d -f --window=100 --depth=100 --window-memory=2g The pack is now 600MB, which is a bit scary, but still manageable. Mysteriously, cloning this repo yields a smaller pack of just 519MB, which still contains all t