top-posting (was Re: patch for merging graphite branch (before tuplification))

2008-08-09 Thread Andrew Pinski
Is there a reason why you top-post? Usually for email lists top-posting is discouraged as it makes it harder to understand which part of the email you are replying to. http://en.wikipedia.org/wiki/Posting_style has some good information about the different posting styles. I think the best quote

Re: Turning off denormals (subnormals) in GCC

2008-08-09 Thread Vincent Lefevre
On 2008-08-07 10:51:20 -0700, MeMooMeM wrote: H.J. Lu-30 wrote: -ffast-math? Oh, I just found the other thread on this issue. In my first search I used 'subnormal' as the keyword, that's why I couldn't find the tread. Thank you, I think this option will do it! This is a very bad

GULER DUMAN IN SITESI YENILENDI

2008-08-09 Thread duyuru
SITEYE UCRETSIZ UYE OLUP, ICERIKLERE, VIDEOLARA, LINKLERE, SIIRLERE, TURKULERE, ANKETLERE KATILABILIRSINIZ. GULERDUMAN FM ESLIGINDE, GUZEL TURKULERLE SITEYI GEZEBILIRSINIZ. SITEMIZDE KISA BIR SURE SONRA, GULER DUMAN VE DIGER SANATCILAR ICIN SIZLERIN DE DESTEGIYLE WALPAPERLER, ANIMASYONLAR VE

Re: insn-attrtab.c long time to compile..

2008-08-09 Thread Andris Pavenis
Jay wrote: 4.2.3 insn-attrtab.c takes a long time to compile on djgpp (build=host=target=i586-pc-msdosdjgpp, bootstrapping from 4.2.3) with the default -g -O2. It did not take forever to build it for me, but it takas some time (for the mentioned target). For DJGPP I had similar problems with

[Bug target/37055] [4.4 Regression] Revision 138835 breaks -msse2 -mfpmath=sse -Os

2008-08-09 Thread howarth at nitro dot med dot uc dot edu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2008-08-09 06:33 --- The proposed patch eliminated the previous failures but I am now see some additional ones in current gcc trunk... FAIL: gcc.target/i386/incoming-1.c scan-assembler andl[\\t ]*\\$-16,[\\t ]*%esp FAIL:

[Bug libfortran/18985] opening unit 6 messes up print

2008-08-09 Thread schilds at sun dot ac dot za
--- Comment #11 from schilds at sun dot ac dot za 2008-08-09 07:27 --- Jeez! After reading what all of you have said ... I see this code does actually do something as crazy (and simple) as set the logical unit number for a file to 6, in a subroutine (when I had thought they had only

[Bug c/17880] -Wsequence-point doesn't warn inside if, while, do conditions, for beg/cond/end expressions etc.

2008-08-09 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2008-08-09 12:38 --- Subject: Bug 17880 Author: manu Date: Sat Aug 9 12:37:32 2008 New Revision: 138904 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138904 Log: 2008-08-09 Manuel Lopez-Ibanez [EMAIL PROTECTED] PR

[Bug c++/37066] New: partial specialization of function depends on the order

2008-08-09 Thread marc dot glisse at normalesup dot org
In the following code, adapted from gmpxx, the output is HELLO2. If however I change the order of the two partial specializations, the output becomes HELLO1. At least one other compiler I tried outputs HELLO1 in both cases. I know that I can remove the template and overload the function instead of

[Bug c++/17880] -Wsequence-point doesn't warn inside if, while, do conditions, for beg/cond/end expressions etc.

2008-08-09 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2008-08-09 13:09 --- Fixed in the C front-end, broken in the C++ front-end. I also have a patch for this. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/37055] [4.4 Regression] Revision 138835 breaks -msse2 -mfpmath=sse -Os

2008-08-09 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2008-08-09 14:12 --- (In reply to comment #3) The proposed patch eliminated the previous failures but I am now see some additional ones in current gcc trunk... FAIL: gcc.target/i386/incoming-1.c scan-assembler andl[\\t

[Bug c/37067] New: gcc creating wrong code with -O2

2008-08-09 Thread stefan dot bruens at rwth-aachen dot de
The following code is producing false results with -O2 optimization (-O1 and O3 are correct): --- #include stdio.h #define BLOCK_SIZE 10 int main() { int i; float block_f[BLOCK_SIZE]; int d_phase = 0; int d_phase_inc = 0x10; for (i = 0; i BLOCK_SIZE; i++){ block_f[i]

[Bug java/37068] New: [4.4 Regression] libgcj linkage failure: Incorrect library ABI version detected

2008-08-09 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/testsuite/ ../libtool --silent --tag=GCJ --mode=link /test/gnu/gcc/objdir/gcc/gcj -B/test/g nu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/ -B/test/gnu/gcc/objdir/gcc/ --encod ing=UTF-8

[Bug debug/37033] [4.4 Regression] Revision 138733 breaks PCH

2008-08-09 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2008-08-09 15:15 --- It doesn't work on gcc.dg/pch/valid-1b.c since it explicitly tests -g vs -g0: [EMAIL PROTECTED] testsuite]$ cat gcc.dg/pch/valid-1b.c /* { dg-options -I. -Winvalid-pch -g0 } */ #include valid-1b.h int x; [EMAIL

[Bug libstdc++/37059] ctype_members.cc:137: error: redefinition of 'bool std::ctypewchar_t::do_is(lo ng unsigned int, wchar_t) const'

2008-08-09 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-08-09 15:40 --- I think something has to be updated / extended on the target-specific bits for darwin when i686-apple-darwin9 is involved, because the normal (meaning, default) one is absolutely fine for me (to wit,

[Bug libstdc++/37059] ctype_members.cc:137: error: redefinition of 'bool std::ctypewchar_t::do_is(lo ng unsigned int, wchar_t) const'

2008-08-09 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2008-08-09 15:49 --- Subject: Re: ctype_members.cc:137: error: redefinition of 'bool std::ctypewchar_t::do_is(lo ng unsigned int, wchar_t) I think something has to be updated / extended on the target-specific bits for

[Bug libstdc++/37059] ctype_members.cc:137: error: redefinition of 'bool std::ctypewchar_t::do_is(lo ng unsigned int, wchar_t) const'

2008-08-09 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2008-08-09 15:49 --- To confirm that something is going wrong when forcing this different config, at line 137 of the darwin-specific ctype_members.cc there is *no* do_is function! For some reason, the generic locale model (thus

[Bug libstdc++/37059] ctype_members.cc:137: error: redefinition of 'bool std::ctypewchar_t::do_is(lo ng unsigned int, wchar_t) const'

2008-08-09 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2008-08-09 15:51 --- Please investigate why you are compiling the generic ctype_members.cc instead of the darwin-specific one. In the library nothing changed in this area recently, for sure. --

[Bug libstdc++/37059] ctype_members.cc:137: error: redefinition of 'bool std::ctypewchar_t::do_is(lo ng unsigned int, wchar_t) const'

2008-08-09 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2008-08-09 16:16 --- (In reply to comment #0) --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Note: configuring with the gnu clocale certainly is a bad idea on darwin, *cannot* work. The only remaining mystery

[Bug libstdc++/37059] ctype_members.cc:137: error: redefinition of 'bool std::ctypewchar_t::do_is(lo ng unsigned int, wchar_t) const'

2008-08-09 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2008-08-09 16:18 --- (In reply to comment #2) This did work http://gcc.gnu.org/ml/gcc-testresults/2008-07/msg01872.html. So, the regression is recent. And here, you didn't have the --enable-clocale=gnu. Really no mystery ;)

[Bug target/37050] gcc-4.3.1 bootstrap failure on sparc Solaris 10

2008-08-09 Thread Jay dot St dot Pierre at Colorado dot EDU
--- Comment #1 from Jay dot St dot Pierre at Colorado dot EDU 2008-08-09 16:34 --- Created an attachment (id=16049) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16049action=view) config.log from the sparc-sun-solaris2.10/libgcc directory --

[Bug other/37069] New: [4.4 Regression] FAIL: gcc.dg/pr36901-4.c #include_next (test for errors, line )

2008-08-09 Thread eric dot weddington at atmel dot com
FAIL: gcc.dg/pr36901-4.c #include_next (test for errors, line ) Success with trunk revision 138883 Failed with trunk revision 138904 -- Summary: [4.4 Regression] FAIL: gcc.dg/pr36901-4.c #include_next (test for errors, line ) Product: gcc

[Bug other/36901] pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors

2008-08-09 Thread eric dot weddington at atmel dot com
--- Comment #6 from eric dot weddington at atmel dot com 2008-08-09 17:15 --- Your fix causes a regression on the AVR: FAIL: gcc.dg/pr36901-4.c #include_next (test for errors, line ) Success with trunk revision 138883 Failed with trunk revision 138904 -- eric dot weddington at

[Bug other/37069] [4.4 Regression] FAIL: gcc.dg/pr36901-4.c #include_next (test for errors, line )

2008-08-09 Thread eric dot weddington at atmel dot com
--- Comment #1 from eric dot weddington at atmel dot com 2008-08-09 17:16 --- *** This bug has been marked as a duplicate of 36901 *** -- eric dot weddington at atmel dot com changed: What|Removed |Added

[Bug other/36901] pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors

2008-08-09 Thread eric dot weddington at atmel dot com
--- Comment #7 from eric dot weddington at atmel dot com 2008-08-09 17:16 --- *** Bug 37069 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36901

[Bug other/36901] pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors

2008-08-09 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2008-08-09 17:30 --- I don't have AVR so I cannot know what exactly is going on or test a fix. However, I guess that the limits.h used by AVR do not use #include_next. So you could try by adding #include_next in pr36901-system.h, that is:

[Bug c/37067] gcc creating wrong code with -O2

2008-08-09 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-08-09 18:01 --- This works for me as far as I can see (you didn't specify the expected output, and certainly if the loop doesn't run as often as you want you may print uninitialized memory). Anyway, if it doesn't work then it is

[Bug tree-optimization/36881] [4.4 Regression] Creating runtime relocations for code which does not need it

2008-08-09 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-08-09 18:06 --- Well, the switch conversion pass should create a locally binding (and hidden) object to store the values. If it does not then this certainly is a bug. Though in this case it looks like it needs to build a table of

[Bug fortran/36582] Namelist I/O error: Bogus Cannot match namelist object

2008-08-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #16 from jvdelisle at gcc dot gnu dot org 2008-08-09 19:05 --- I did commit these fixes but reversed two digits in the PR number in the change log so they did not record here. Fix follows. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36582

[Bug fortran/36582] Namelist I/O error: Bogus Cannot match namelist object

2008-08-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #17 from jvdelisle at gcc dot gnu dot org 2008-08-09 19:13 --- Subject: Bug 36582 Author: jvdelisle Date: Sat Aug 9 19:12:04 2008 New Revision: 138913 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138913 Log: 2008-07-26 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/36582] Namelist I/O error: Bogus Cannot match namelist object

2008-08-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #18 from jvdelisle at gcc dot gnu dot org 2008-08-09 19:18 --- Subject: Bug 36582 Author: jvdelisle Date: Sat Aug 9 19:17:24 2008 New Revision: 138914 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138914 Log: 2008-07-22 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/36582] Namelist I/O error: Bogus Cannot match namelist object

2008-08-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #19 from jvdelisle at gcc dot gnu dot org 2008-08-09 19:19 --- Closing -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/36901] pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors

2008-08-09 Thread eric dot weddington at atmel dot com
--- Comment #9 from eric dot weddington at atmel dot com 2008-08-09 19:34 --- You're right in that limits.h for the AVR does not use #include_next. The limits.h that the AVR toolchain uses is installed by gcc. Unfortunately your suggestion makes the situation worse. There are now 4

[Bug c/37067] gcc creating wrong code with -O2

2008-08-09 Thread stefan dot bruens at rwth-aachen dot de
--- Comment #2 from stefan dot bruens at rwth-aachen dot de 2008-08-09 20:37 --- The expected output is quite clear - 69f0 6a00 - but output is 69f0 0. The loop should run 10 times, as i does not overflow. d_phase does overflow after 2048 steps, but this should not

[Bug other/36901] pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors

2008-08-09 Thread manu at gcc dot gnu dot org
--- Comment #10 from manu at gcc dot gnu dot org 2008-08-09 20:38 --- Yeah, silly me, it obviously fails because there is no next pr36901.h to include. Since we include limits.h, we are at the mercy of the contents of the limits.h that is found. This isn't very reliable. We just need

[Bug c/37067] gcc creating wrong code with -O2

2008-08-09 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-09 20:42 --- The loop should run 10 times, as i does not overflow. i does not overflow but d_phase_inc does ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37067

[Bug c/37067] gcc creating wrong code with -O2

2008-08-09 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-08-09 20:43 --- As I said - it works for me (i686, gcc (Debian 4.3.1-8) 4.3.1). Still the overflow invokes undefined behavior and thus _can_ affect the loop. -- rguenth at gcc dot gnu dot org changed: What

[Bug c/37067] gcc creating wrong code with -O2

2008-08-09 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-08-09 20:46 --- The loop should run 10 times, as i does not overflow. i does not overflow but d_phase does ... 2046 7ff0 2047 8000 That is an overflow. So is: 4094 fff0 4095 0 --

[Bug c/37067] gcc creating wrong code with -O2

2008-08-09 Thread stefan dot bruens at rwth-aachen dot de
--- Comment #6 from stefan dot bruens at rwth-aachen dot de 2008-08-09 20:56 --- So is there any possibility to flag a variable to be expected to overflow and wrap around? I think there is a lot of code in the wild assuming the loop to run 10 times and d_phase to overflow all the

[Bug c/37067] gcc creating wrong code with -O2

2008-08-09 Thread brian at dessent dot net
--- Comment #7 from brian at dessent dot net 2008-08-09 21:00 --- Subject: Re: gcc creating wrong code with -O2 Just make it unsigned since unsigned overflow is always defined. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37067

[Bug c/37067] gcc creating wrong code with -O2

2008-08-09 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-08-09 21:07 --- You can use -fwrapv. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37067

[Bug target/37055] [4.4 Regression] Revision 138835 breaks -msse2 -mfpmath=sse -Os

2008-08-09 Thread hjl at gcc dot gnu dot org
--- Comment #5 from hjl at gcc dot gnu dot org 2008-08-09 21:48 --- Subject: Bug 37055 Author: hjl Date: Sat Aug 9 21:47:28 2008 New Revision: 138916 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138916 Log: 2008-08-09 Jan Hubicka [EMAIL PROTECTED] PR target/37055

[Bug rtl-optimization/36998] [4.3/4.4 regression] Ada bootstrap broken on i586-*-*

2008-08-09 Thread gerald at pfeifer dot com
--- Comment #12 from gerald at pfeifer dot com 2008-08-09 22:20 --- This also breaks the bootstrap of the 4.3 branch on i386-unknown-freebsd6.3 without Ada being involved. -- gerald at pfeifer dot com changed: What|Removed |Added

[Bug c++/37070] New: bogus unreachable warning on throw statement

2008-08-09 Thread sebor at roguewave dot com
gcc 4.3.0 generates the bogus warning below (4.4.0 behaves the same): $ cat -n t.C g++ -v g++ -c -Wunreachable-code t.C 1 void f () 2 { 3 throw 0; 4 } 5 Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: /home/sebor/gcc/trunk/configure

[Bug c++/37070] bogus unreachable warning on throw statement

2008-08-09 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-09 22:31 --- I don't think this is really bogus as the expression inside a throw cannot throw so GCC is able to optimize away the catch inside that throw. [t.cc : 3] try { [t.cc : 3] D.2413 = (int *) D.2410;

[Bug c++/37070] bogus unreachable warning on throw statement

2008-08-09 Thread sebor at roguewave dot com
--- Comment #2 from sebor at roguewave dot com 2008-08-09 22:51 --- I'm not sure what you're trying to say but it sure looks like a bug to me. How else is one supposed to throw an exception without triggering this warning? Btw., the argument of a throw expression can throw, and when it

[Bug c++/37070] bogus unreachable warning on throw statement

2008-08-09 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-09 22:59 --- t.C: In function ‘void bar()’: t.C:2: warning: will never be executed I don't get that warning in either the trunk or in 4.0.1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37070

[Bug c++/20118] missing template causes weird errors

2008-08-09 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2008-08-09 23:24 --- Testing the following patch. Not as good as ICC's diagnostic but close. Index: gcc/testsuite/g++.dg/parse/pr20118.C === ---

[Bug c++/37070] bogus unreachable warning on throw statement

2008-08-09 Thread sebor at roguewave dot com
--- Comment #4 from sebor at roguewave dot com 2008-08-10 02:23 --- My gcc is yesterday's build: gcc version 4.4.0 20080808 (experimental) (GCC) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37070

[Bug other/36901] pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors

2008-08-09 Thread eric dot weddington at atmel dot com
--- Comment #11 from eric dot weddington at atmel dot com 2008-08-10 03:13 --- (In reply to comment #10) Since we include limits.h, we are at the mercy of the contents of the limits.h that is found. This isn't very reliable. We just need to a pedantic warning in the header. This

[Bug target/37050] gcc-4.3.1 bootstrap failure on sparc Solaris 10

2008-08-09 Thread Jay dot St dot Pierre at Colorado dot EDU
--- Comment #2 from Jay dot St dot Pierre at Colorado dot EDU 2008-08-10 03:14 --- I was able to build gcc-4.2.4 using the Sun Studio 12 compiler. However, I was unable to compile gcc-4.3.1 with gcc-4.2.4, albeit with different errors than when I tried to use Sun's gcc. This time I

[Bug middle-end/36238] [4.4 Regression] ICE in reg_or_subregno, at jump.c:1730

2008-08-09 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-08-10 04:55 --- Fixed, sorry this too so long to fix, there were other failures that were blocking me to commit this patch. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/36238] [4.4 Regression] ICE in reg_or_subregno, at jump.c:1730

2008-08-09 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-08-10 04:56 --- Subject: Bug 36238 Author: pinskia Date: Sun Aug 10 04:54:37 2008 New Revision: 138924 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138924 Log: 2008-08-09 Andrew Pinski [EMAIL PROTECTED] PR