Re: Suspicion of regression in uninitialized value detection

2011-12-07 Thread David Brown
On 06/12/2011 20:33, Jeff Law wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/06/11 12:21, Ian Lance Taylor wrote: While using the optimizers to improve the quality of uninitialized warnings does have some benefits, those benefits are outweighed by the drawbacks. We need to complete

Re: RFC - GCC Architectural Goals

2011-12-07 Thread 陳韋任
Hi Diego, > For the time being, however, it is easier for me to edit the document > online. The document is at > https://docs.google.com/document/pub?id=1ZfyfkB62EFaR4_g4JKm4--guz3vxm9pciOBziMHTnK4 I am looking at "Developer tools - Patch submission and review". I have been working on QEMU for

Re: building unwind-sjlj.o with / without -fexceptions

2011-12-07 Thread Joern Rennecke
Quoting Richard Henderson : I can fix this in libgcc/config/epiphany/t-epiphany with: unwind-sjlj.o : CFLAGS += -fno-exceptions unwind-sjlj.o : c_flags := $(filter-out -fexceptions,$(cflags)) Is that the right way to do it? Or should we more generally remove -fexceptions from the build ru

Re: building unwind-sjlj.o with / without -fexceptions

2011-12-07 Thread Kai Tietz
2011/12/7 Joern Rennecke : > Quoting Richard Henderson : > >>> I can fix this in libgcc/config/epiphany/t-epiphany with: >>> >>> unwind-sjlj.o : CFLAGS += -fno-exceptions >>> unwind-sjlj.o : c_flags := $(filter-out -fexceptions,$(cflags)) >>> >>> Is that the right way to do it?  Or should we more g

Re: RFC - GCC Architectural Goals

2011-12-07 Thread Dodji Seketeli
Diego Novillo a écrit: > https://docs.google.com/document/pub?id=1ZfyfkB62EFaR4_g4JKm4--guz3vxm9pciOBziMHTnK4 3. Debugging. [...] the compiler would show a stuck dump [...] Maybe you meant a stack dump? -- Dodji

Re: crtbegin not building?

2011-12-07 Thread Diego Novillo
On 12/06/11 18:37, Ian Lance Taylor wrote: Lawrence Crowl writes: It appears that "cd gcc; make" now fails to build crtbegin.o. An additional "make all-install" seems to be needed. Was this change intentional? It moved to libgcc. Look in TARGET/libgcc in your build directory. The problem

Re: building unwind-sjlj.o with / without -fexceptions

2011-12-07 Thread Richard Henderson
On 12/07/2011 01:00 AM, Joern Rennecke wrote: > Quoting Richard Henderson : > >>> I can fix this in libgcc/config/epiphany/t-epiphany with: >>> >>> unwind-sjlj.o : CFLAGS += -fno-exceptions >>> unwind-sjlj.o : c_flags := $(filter-out -fexceptions,$(cflags)) >>> >>> Is that the right way to do it?

Re: RFC - GCC Architectural Goals

2011-12-07 Thread Diego Novillo
On 12/07/11 04:39, Dodji Seketeli wrote: Diego Novillo a écrit: https://docs.google.com/document/pub?id=1ZfyfkB62EFaR4_g4JKm4--guz3vxm9pciOBziMHTnK4 3. Debugging. [...] the compiler would show a stuck dump [...] Maybe you meant a stack dump? Thanks. I fixed this yesterday. Reload

Re: RFC - GCC Architectural Goals

2011-12-07 Thread Diego Novillo
On 12/07/11 03:52, 陳韋任 wrote: Hi Diego, For the time being, however, it is easier for me to edit the document online. The document is at https://docs.google.com/document/pub?id=1ZfyfkB62EFaR4_g4JKm4--guz3vxm9pciOBziMHTnK4 I am looking at "Developer tools - Patch submission and review". I

Re: Suspicion of regression in uninitialized value detection

2011-12-07 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/07/11 01:19, David Brown wrote: > > Would it be possible then to have switches for different levels, > such as is done with the strict aliasing warnings? Well, there's two obvious levels... Not sure if there's a good way to get something in be

Call for Papers: Environmental Management & Technologies Conference!

2011-12-07 Thread Environmental Management & Technologies Working Group
Dear Colleagues, You are invited to join the Environmental Management & Technologies Working Group (EMTCWG 2012), Third Annual Environmental Management & Technologies Conference focused on creating and maintaining a sustainable environment which is one of the most pressing issues facing the wor

Re: Suspicion of regression in uninitialized value detection

2011-12-07 Thread Robert Dewar
On 12/7/2011 1:05 PM, Jeff Law wrote: Do people often intentionally run gcc without any optimisations these days? Certainly. Compile speed and debugging being the primary reasons. Actually speaking for myself, I run the compiler at -O0 much *more* than I used to do. Why? Because gdb simply d

Failure to bootstrap current gcc trunk on cygwin (20111207 snapshot): conflicting declarations in cygwin's /usr/include/sys/wait.h

2011-12-07 Thread Christian Joensson
I am trying to build gcc trunk on cygwin (with the snapshot of 20111207) and get this: /usr/local/src/trunk/objdir.withada/./prev-gcc/g++ -B/usr/local/src/trunk/objdir.withada/./prev-gcc/ -B/usr/i686-pc-cygwin/bin/ -nostdinc++ -B/usr/local/src/trunk/objdir.withada/prev-i686-pc-cygwin/libstdc++-v3

Re: Suspicion of regression in uninitialized value detection

2011-12-07 Thread David Brown
On 07/12/11 19:05, Jeff Law wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/07/11 01:19, David Brown wrote: Would it be possible then to have switches for different levels, such as is done with the strict aliasing warnings? Well, there's two obvious levels... Not sure if there's

Re: Suspicion of regression in uninitialized value detection

2011-12-07 Thread Robert Dewar
On 12/7/2011 2:36 PM, David Brown wrote: \ I guess experiences vary. As I said, I find debugging easier with -O1 - but maybe that's because most of my work is on embedded targets, which usually means RISC cpus with plenty of registers. The unoptimised code for these is usually totally incompreh

Re: Failure to bootstrap current gcc trunk on cygwin (20111207 snapshot): conflicting declarations in cygwin's /usr/include/sys/wait.h

2011-12-07 Thread Dave Korn
On 07/12/2011 19:14, Christian Joensson wrote: > I am trying to build gcc trunk on cygwin (with the snapshot of > 20111207) and get this: > /usr/local/src/trunk/gcc/gcc/ada/adaint.c -o ada/adaint.o > In file included from /usr/local/src/trunk/gcc/gcc/system.h:346:0, >

Re: Suspicion of regression in uninitialized value detection

2011-12-07 Thread Tom Tromey
> "Robert" == Robert Dewar writes: Robert> Now the debugging at -O1 is hopeless (even parameters routinely Robert> disappear), and so I am forced to do everything at -O0. There's been a lot of work on gcc in this area. Please file bugs for cases you find. Tom

Re: Failure to bootstrap current gcc trunk on cygwin (20111207 snapshot): conflicting declarations in cygwin's /usr/include/sys/wait.h

2011-12-07 Thread Jonathan Wakely
On Wednesday, 7 December 2011, Dave Korn wrote: > On 07/12/2011 19:14, Christian Joensson wrote: >> I am trying to build gcc trunk on cygwin (with the snapshot of >> 20111207) and get this: > >> /usr/local/src/trunk/gcc/gcc/ada/adaint.c -o ada/adaint.o >> In fil

Re: Failure to bootstrap current gcc trunk on cygwin (20111207 snapshot): conflicting declarations in cygwin's /usr/include/sys/wait.h

2011-12-07 Thread Ian Lance Taylor
Jonathan Wakely writes: >> Should the Cygwin header use >> extern "C++" on those declarations even though they're inside #ifdef >> __cplusplus, or should adaint.c not #include things inside extern "C"? > > You could surround them in extern "C++", linkage specifications nest. ...but I think it wo

Re: Failure to bootstrap current gcc trunk on cygwin (20111207 snapshot): conflicting declarations in cygwin's /usr/include/sys/wait.h

2011-12-07 Thread Jonathan Wakely
On 8 December 2011 01:09, Ian Lance Taylor wrote: > Jonathan Wakely writes: > >>> Should the Cygwin header use >>> extern "C++" on those declarations even though they're inside #ifdef >>> __cplusplus, or should adaint.c not #include things inside extern "C"? >> >> You could surround them in extern

Re: RFC - GCC Architectural Goals

2011-12-07 Thread 陳韋任
> However, it is true that some patches are not in that category. In > general, we prefer to keep patch traffic in a single place > (gcc-patches@), but we use message tagging extensively. How about > '[trivial]'? If reviwer can pick up trivial patches easily by this way, I have no objection

Re: Suspicion of regression in uninitialized value detection

2011-12-07 Thread Miles Bader
Robert Dewar writes: > The worst thing for me about -O1 is arguments disappearing in the trace > back, that's really a deal breaker. Wasn't Alexandre Oliva's "VTA" work supposed to help this kind of thing...? Did that ever get merged? -miles -- Joy, n. An emotion variously excited, but in its

Re: Suspicion of regression in uninitialized value detection

2011-12-07 Thread Ian Lance Taylor
Miles Bader writes: > Robert Dewar writes: >> The worst thing for me about -O1 is arguments disappearing in the trace >> back, that's really a deal breaker. > > Wasn't Alexandre Oliva's "VTA" work supposed to help this kind of > thing...? Did that ever get merged? It did get merged. My sense