[Bug bootstrap/43202] wrong arch picked for i*86 intel darwin

2010-02-27 Thread hjl at gcc dot gnu dot org
--- Comment #6 from hjl at gcc dot gnu dot org 2010-02-28 07:56 --- Subject: Bug 43202 Author: hjl Date: Sun Feb 28 07:56:36 2010 New Revision: 157119 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157119 Log: Don't set the default arch for i[34567]86-*-darwin*|x86_64-*-darwin*.

[Bug bootstrap/43202] wrong arch picked for i*86 intel darwin

2010-02-27 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-02-28 07:24 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|WAITING

[Bug bootstrap/43202] wrong arch picked for i*86 intel darwin

2010-02-27 Thread hjl at gcc dot gnu dot org
--- Comment #4 from hjl at gcc dot gnu dot org 2010-02-28 07:23 --- Subject: Bug 43202 Author: hjl Date: Sun Feb 28 07:23:31 2010 New Revision: 157118 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157118 Log: Restore i[34567]86-*-darwin* bootstrap. 2010-02-27 H.J. Lu

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread paolo dot carlini at oracle dot com
--- Comment #12 from paolo dot carlini at oracle dot com 2010-02-28 00:21 --- Actually, I'm thinking that *a few* times already we noticed that something was going wrong with inlining thanks to those slightly loose patterns. Thus, assuming nobody disagrees, I would just close this PR ex

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread 4ernov at gmail dot com
--- Comment #11 from 4ernov at gmail dot com 2010-02-28 00:21 --- Ok, thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43203

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2010-02-28 00:16 --- You are welcome. Don't worry, anyway, let's keep it open for now, maybe I'll tweak the patterns for 4.5.0, cannot hurt. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43203

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread 4ernov at gmail dot com
--- Comment #9 from 4ernov at gmail dot com 2010-02-28 00:14 --- Paolo, thank you very much for informing me and sorry for some off-topic, but it's so important for me, because obviously I was really confused. Thank you. And what about this report? Should we close it? -- http://gcc

[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249

2010-02-27 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206

[Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923

2010-02-27 Thread hjl dot tools at gmail dot com
--- Comment #16 from hjl dot tools at gmail dot com 2010-02-28 00:08 --- (In reply to comment #15) > (In reply to comment #14) > > (In reply to comment #13) > > > It may be a different issue since the original testcase > > > compiles with older gcc. > > > > It is still a regression fro

[Bug c++/43206] New: [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249

2010-02-27 Thread hjl dot tools at gmail dot com
Revision 145440: http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg00060.html caused: [...@gnu-34 rrs]$ cat pr43087.cc template class NumericTraits{}; template class CovariantVector{}; template class Image{}; template class F { typedef H G; typedef typename NumericTraits::RealType InputRealType;

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2010-02-28 00:05 --- The default is of course "-O2 -g", and I can tell you for sure that we (the maintainers) always use it (when we are not debugging) and the same is true for all the most important Linux distros. By the way, no w

[Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923

2010-02-27 Thread hjl dot tools at gmail dot com
--- Comment #15 from hjl dot tools at gmail dot com 2010-02-28 00:03 --- (In reply to comment #14) > (In reply to comment #13) > > It may be a different issue since the original testcase > > compiles with older gcc. > > It is still a regression from gcc 4.4.1: > > pr43087-delta.ii:25:

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread 4ernov at gmail dot com
--- Comment #7 from 4ernov at gmail dot com 2010-02-27 23:54 --- Hmmm.. so it's also safe to build it with optimization, to say, -O2? Honestly, I was seriously convinced that it's dangerous because of big warnings in LFS etc. And I turned everything off every time.. -- http://gcc.g

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2010-02-27 23:45 --- It's harmless for sure. But certainly you don't want to build like that unless you are debugging (and then you should add -g, of course), because you are disabling most of the optimizations, exactly like -O0. P

[Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #14 from manu at gcc dot gnu dot org 2010-02-27 23:45 --- (In reply to comment #13) > It may be a different issue since the original testcase > compiles with older gcc. It is still a regression from gcc 4.4.1: pr43087-delta.ii:25: error: no type named 'PixelType' in 'class

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread 4ernov at gmail dot com
--- Comment #5 from 4ernov at gmail dot com 2010-02-27 23:37 --- Thank you for the problem description. But didn't completely understood: does it indicate any faults in my gcc build with this flags or is it just testsuite details and it's harmless? -- http://gcc.gnu.org/bugzilla/sho

[Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923

2010-02-27 Thread hjl dot tools at gmail dot com
--- Comment #13 from hjl dot tools at gmail dot com 2010-02-27 23:31 --- (In reply to comment #10) > Reduced testcase: > > template class NumericTraits{}; > template class CovariantVector{}; > template class Image{}; > template class E, > class D> > class F { > type

[Bug tree-optimization/43186] [4.4 Regression] A loop in tree_unroll_loops_completely never ends

2010-02-27 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-02-27 23:29 --- Fixed for 4.5. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-02-27 23:29 --- Then you are not inlining *at all*. What is happening is that *many* symbols are inadvertently exported at the baseline version instead of the right version, or at all. That is benign, and certainly we don't wa

[Bug tree-optimization/43186] [4.5 Regression] A loop in tree_unroll_loops_completely never ends

2010-02-27 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-02-27 23:29 --- Subject: Bug 43186 Author: rguenth Date: Sat Feb 27 23:28:46 2010 New Revision: 157114 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157114 Log: 2010-02-27 Richard Guenther PR tree-optimizatio

[Bug fortran/43199] [OOP] ICE when reading module file: find_array_spec(): Component not found

2010-02-27 Thread fmartinez at gmv dot com
--- Comment #4 from fmartinez at gmv dot com 2010-02-27 23:27 --- Created an attachment (id=19984) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19984&action=view) Fortran source code File whose generated .mod file causes the compiler error -- http://gcc.gnu.org/bugzilla/show

[Bug fortran/43205] New: -finit-local-zero and -fno-automatic used together with large 2-dim variables take too long to compile

2010-02-27 Thread chris dot walter at duke dot edu
I am using the 4.5.0 20100225 snapshot with macports on snow leopard. I have a large legacy fortran codebase that uses both -finit-local-zero and -fno-automatic together. The code was not working under gcc 4.4.3. I found that bug #41860 fixed this problem and had been checked into the trunk. So,

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread 4ernov at gmail dot com
--- Comment #3 from 4ernov at gmail dot com 2010-02-27 23:11 --- I'm sorry, I didn't write the title correctly, CXXFLAGS is the same value as CFLAGS in my case, i.e. CXXFLAGS is "-march=core2", too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43203

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-02-27 23:05 --- In any case, I don't think it can be a *library* issue, because the library itself is built with the *C++* compiler only. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43203

[Bug middle-end/43204] GCC 4.4 / 4.5 generates larger code for a particular testcase

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-27 23:01 --- Created an attachment (id=19982) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19982&action=view) Output of GCC 4.3 --- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-02-27 23:02 -

[Bug middle-end/43204] GCC 4.4 / 4.5 generates larger code for a particular testcase

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-27 23:01 --- Created an attachment (id=19982) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19982&action=view) Output of GCC 4.3 --- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-02-27 23:02 -

[Bug middle-end/43204] New: GCC 4.4 / 4.5 generates larger code for a particular testcase

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
The testcase is taken from attachment 19965 (bug 43186). Compile with `gcc -O3 -DBUG testcase.c' -- Summary: GCC 4.4 / 4.5 generates larger code for a particular testcase Product: gcc Version: 4.5.0 Status: UNCONFIRMED Se

[Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #12 from manu at gcc dot gnu dot org 2010-02-27 22:41 --- I meant 'expanding the typedef'. It would be nice to have a delta tool that expanded typedefs iteratively. Also, it sometimes good to replace spaces by new lines to give delta larger search space. I also use the follo

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread 4ernov at gmail dot com
--- Comment #1 from 4ernov at gmail dot com 2010-02-27 22:37 --- Created an attachment (id=19981) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19981&action=view) Test log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43203

[Bug libstdc++/43203] New: abi_check from libstdc++ tests fails with CFLAGS="-march=core2"

2010-02-27 Thread 4ernov at gmail dot com
I've tried to built gcc-4.4.3 with different CFLAGS and CXXFLAGS variable and have found that when they are "-march=core2" there's one unexpected failure in libstdc++ tests: FAIL: abi_check. Everything else in test results is equal. I know that I should build gcc with neither CFLAGS nor CXXFLAGS se

[Bug bootstrap/43202] wrong arch picked for i*86 intel darwin

2010-02-27 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-02-27 22:34 --- (In reply to comment #2) > With the patch proposed in comment 1, I now get... > Does it fix your problem? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43202

[Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #11 from manu at gcc dot gnu dot org 2010-02-27 22:29 --- Interestingly deleting the typedef H G; makes us give the following error: pr43087-delta.ii:24:18: error: no type named ‘PixelType’ in ‘class Image’ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087

[Bug bootstrap/43202] wrong arch picked for i*86 intel darwin

2010-02-27 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2010-02-27 22:28 --- With the patch proposed in comment 1, I now get... # GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 # options passed: -D__DYNAMIC__ t.cc -fPIC -mmacosx-version-min=10.6.3 # -mtune

[Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #10 from manu at gcc dot gnu dot org 2010-02-27 22:26 --- Reduced testcase: template class NumericTraits{}; template class CovariantVector{}; template class Image{}; template class F { typedef H G; typedef typename NumericTraits::RealType InputRealType; }; template :

[Bug tree-optimization/43186] [4.5 Regression] A loop in tree_unroll_loops_completely never ends

2010-02-27 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-02-27 22:20 --- (In reply to comment #8) > > Well, it really only requires much time and memory to compile, > > it's not never ending ;) > > Ah, it means that machine is old. > > Also, the generated code is larger then what gcc 4.

[Bug tree-optimization/43186] [4.5 Regression] A loop in tree_unroll_loops_completely never ends

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #8 from d dot g dot gorbachev at gmail dot com 2010-02-27 22:11 --- > Well, it really only requires much time and memory to compile, > it's not never ending ;) Ah, it means that machine is old. Also, the generated code is larger then what gcc 4.3 does (4.4 is affected, too

[Bug bootstrap/43202] wrong arch picked for i*86 intel darwin

2010-02-27 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-02-27 21:37 --- Please try http://gcc.gnu.org/ml/gcc-patches/2010-02/msg01222.html -- hjl dot tools at gmail dot com changed: What|Removed |Added -

[Bug lto/43201] Missed optimization with `-flto'

2010-02-27 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-27 21:33 --- This is because p = 0; is not detected as dead store by tree DSE as in p = 0; r = *q; p = (T *) t[0]; *q may load from p because with LTO TBAA rules for pointers have been relaxed (for a reason but also i

[Bug bootstrap/43202] New: wrong arch picked for i*86 intel darwin

2010-02-27 Thread howarth at nitro dot med dot uc dot edu
After r157110, the wrong architecture, pentiumpro, is selected for gcc trunk built with... Using built-in specs. COLLECT_GCC=gcc-4 COLLECT_LTO_WRAPPER=/sw/lib/gcc4.5/libexec/gcc/i686-apple-darwin10/4.5.0/lto-wrapper Target: i686-apple-darwin10 Configured with: ../gcc-4.5-20100227/configure

[Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923

2010-02-27 Thread dodji at redhat dot com
--- Comment #9 from dodji at gcc dot gnu dot org 2010-02-27 21:14 --- Subject: Re: [4.5 Regression] ICE in tsubst, at cp/pt.c:9923 > Hi, I have reduced the testcase in around half of its size and delta > is still running. Once it is finished, I will upload it. You mean half of the si

[Bug lto/43201] Missed optimization with `-flto'

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #3 from d dot g dot gorbachev at gmail dot com 2010-02-27 21:06 --- Created an attachment (id=19980) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19980&action=view) C source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43201

[Bug lto/43201] Missed optimization with `-flto'

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-02-27 21:05 --- Created an attachment (id=19979) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19979&action=view) Code compiled without `-flto' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43201

[Bug lto/43201] Missed optimization with `-flto'

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-02-27 21:04 --- Created an attachment (id=19978) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19978&action=view) Code produced by lto1 Compiled with `-O2 -flto' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43

[Bug lto/43201] New: Missed optimization with `-flto'

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
-- Summary: Missed optimization with `-flto' Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g d

[Bug lto/43200] [LTO] tree check: expected array_type, have pointer_type in array_ref_low_bound

2010-02-27 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-27 20:55 --- That's because -combine refuses to compile the testcase. LTO is very forgiving to global symbol type mismatches (maybe too forgiving). It basically chooses one type and replaces all other uses with a VIEW_CONVERT_E

[Bug tree-optimization/43197] Endianness and Optimization

2010-02-27 Thread kai dot extern at googlemail dot com
--- Comment #7 from kai dot extern at googlemail dot com 2010-02-27 20:34 --- (In reply to comment #6) > > *** This bug has been marked as a duplicate of 42587 *** > Oh? 42587 seems to be about not recognising memory bswap, which explains why my first attempt didn't work. But that wa

[Bug middle-end/43198] [4.5 Regression] edge points to wrong declaration

2010-02-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-02-27 20:32 --- This is most likely a dup of bug 42450. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43198

[Bug c/43009] segmentation fault with -O3 when accessing byte-aligned array as dwords

2010-02-27 Thread chris at crupp dot de
--- Comment #9 from chris at crupp dot de 2010-02-27 20:12 --- I experienced the same issue. I'm not able to reproduce this in a short snippet, but if someone needs my whole source package then i can provide it. -- chris at crupp dot de changed: What|Removed

[Bug tree-optimization/43197] Endianness and Optimization

2010-02-27 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-02-27 20:04 --- *** This bug has been marked as a duplicate of 42587 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/42587] bswap not recognized for memory

2010-02-27 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-02-27 20:04 --- *** Bug 43197 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/43198] [4.5 Regression] edge points to wrong declaration

2010-02-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||jamborm at gcc dot gnu dot |

[Bug tree-optimization/43186] [4.5 Regression] A loop in tree_unroll_loops_completely never ends

2010-02-27 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-02-27 19:52 --- (In reply to comment #6) > Thanks! But it still does not work when "a < 3" is replaced by "a < 4". Also, > the original testcase requires much time to compile. Well, it really only requires much time and memory to c

[Bug fortran/43199] [OOP] ICE when reading module file: find_array_spec(): Component not found

2010-02-27 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-02-27 19:37 --- Janus, can you have a look? I was wondering whether the following patch makes sense. If you have time, can you finish a patch for this PR and PR 43169. Index: resolve.c ==

[Bug preprocessor/43195] #pragma once and -H

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2010-02-27 19:29 --- testing a patch -- manu at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug c++/42054] [4.3/4.4 Regression] ICE with invalid template parameter

2010-02-27 Thread simartin at gcc dot gnu dot org
--- Comment #3 from simartin at gcc dot gnu dot org 2010-02-27 19:28 --- Fixed in 4.5 -- simartin at gcc dot gnu dot org changed: What|Removed |Added Summary|

[Bug fortran/43155] I/O error message: Off-by one position of edit descriptor

2010-02-27 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2010-02-27 19:26 --- I think the main problem of comment 0 was a user error - or at least it is not reproducible with the information we have. The second problem is solved. I therefore changed the summary and close it as FIXED. -- bu

[Bug c++/42054] [4.3/4.4/4.5 Regression] ICE with invalid template parameter

2010-02-27 Thread simartin at gcc dot gnu dot org
--- Comment #2 from simartin at gcc dot gnu dot org 2010-02-27 19:21 --- Subject: Bug 42054 Author: simartin Date: Sat Feb 27 19:21:39 2010 New Revision: 157112 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157112 Log: gcc/cp/ 2010-02-27 Simon Martin PR c++/42054

[Bug other/42966] add some indication that a warning has been converted to an error

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2010-02-27 18:49 --- Patch approved http://gcc.gnu.org/ml/gcc-patches/2010-02/msg01138.html -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/42965] no "warnings being treated as errors" for individual -Werror=x options

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2010-02-27 18:48 --- Patch approved for GCC 4.6 http://gcc.gnu.org/ml/gcc-patches/2010-02/msg01188.html -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug pending/41998] GCC 4.6 pending patches meta-bug

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2010-02-27 18:47 --- Alias 4.6 -- manu at gcc dot gnu dot org changed: What|Removed |Added Alias|

[Bug pending/41998] GCC 4.6 pending patches meta-bug

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2010-02-27 18:45 --- Other PRs block this one, not the other way around. -- manu at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/43199] [OOP] ICE when reading module file: find_array_spec(): Component not found

2010-02-27 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43199

[Bug c/43192] [4.5 Regression] Many test failures

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2010-02-27 18:04 --- Hopefully, this should be FIXED in GCC 4.5 -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/42811] [4.5 regression] java.lang.ExceptionInInitializerError in ecj1

2010-02-27 Thread davek at gcc dot gnu dot org
--- Comment #6 from davek at gcc dot gnu dot org 2010-02-27 17:50 --- Created an attachment (id=19977) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19977&action=view) Alternative approach This alternative approach attempts to place a circular dependency between the two generated

[Bug c/24577] diagnostic informative note labelled "error"

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2010-02-27 17:48 --- Subject: Bug 24577 Author: manu Date: Sat Feb 27 17:48:02 2010 New Revision: 157111 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157111 Log: 2010-02-27 Manuel López-Ibáñez PR c/24577 PR

[Bug c/43192] [4.5 Regression] Many test failures

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2010-02-27 17:48 --- Subject: Bug 43192 Author: manu Date: Sat Feb 27 17:48:02 2010 New Revision: 157111 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157111 Log: 2010-02-27 Manuel López-Ibáñez PR c/24577 PR

[Bug fortran/43199] [OOP] ICE when reading module file: find_array_spec(): Component not found

2010-02-27 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-02-27 17:47 --- Thanks for the report. (In reply to comment #1) > I changed the severity level to 'normal'. A Fortran issue is > never considered to be bocker. Especially not if it involves a new experimental feature such as polym

[Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923

2010-02-27 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2010-02-27 17:44 --- (In reply to comment #7) > Created an attachment (id=19963) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19963&action=view) [edit] > Reduced test case > > This is a somewhat reduced test case that is still way b

[Bug target/43196] [4.5 regression] ICE in dwarf2out_frame_debug_expr

2010-02-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|c++ |target Keywords||ice-on-valid-c

[Bug fortran/43185] [F2008] Implicit SAVE in MODULEs

2010-02-27 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2010-02-27 17:26 --- ... and fixed on the 4.5 trunk. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43197] Endianness and Optimization

2010-02-27 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-02-27 17:25 --- I just think your endian swap is not recognized by the bswap pass. The main reason is because of byte_sex function which is not optimized at the tree level. But really there are better ways of writing endian swaps.

[Bug fortran/43193] [OOP] Calling type-bound procedure of abstract type wrongly rejected

2010-02-27 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-02-27 17:25 --- Close as INVALID. Patch posted was: http://gcc.gnu.org/ml/fortran/2010-02/msg00225.html However, Jim Xia thinks it is invalid - and I think he is right - as C611 has: R611 data-ref is part-ref [ % part-ref ] ...

[Bug fortran/43185] [F2008] Implicit SAVE in MODULEs

2010-02-27 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-02-27 17:25 --- Subject: Bug 43185 Author: burnus Date: Sat Feb 27 17:25:05 2010 New Revision: 157109 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157109 Log: 2010-02-27 Tobias Burnus PR fortran/43185 *

[Bug fortran/43199] Internal error using fortran-2003 .mod file

2010-02-27 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2010-02-27 17:15 --- I changed the severity level to 'normal'. A Fortran issue is never considered to be bocker. Can you attach the files to the bug report? Copy and paste from a web browse is fraught with problems; in particular, white

Working leaked Eathena dupe febuary 2010

2010-02-27 Thread Ragnarok
Hey, you do know me but I won't tell you who I am in case I get banned. There was a ragnarok dupe leaked the other day which I've been using the last few days. Won't tell you who I am, but we're friends and I thought you might want to have it. If you use it, don't tell anyone. http://www.purepvpr

[Bug lto/43200] New: [LTO] tree check: expected array_type, have pointer_type in array_ref_low_bound

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
== 1.c == extern void f(void); const char *s = "Hello, world!"; int main(void) { f(); return 0; } == 2.c == extern int puts(const char *); extern const char s[]; void f(void) { puts(s); } = When compiling with `

[Bug ada/42253] [4.4/4.5 regression] run time crash on null for thin pointers

2010-02-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #8 from ebotcazou at gcc dot gnu dot org 2010-02-27 14:34 --- Thanks for reporting the problem. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added --

[Bug ada/42253] [4.4/4.5 regression] run time crash on null for thin pointers

2010-02-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2010-02-27 14:30 --- Subject: Bug 42253 Author: ebotcazou Date: Sat Feb 27 14:30:12 2010 New Revision: 157108 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157108 Log: PR ada/42253 * gcc-interface/utils2.c (b

[Bug ada/42253] [4.4/4.5 regression] run time crash on null for thin pointers

2010-02-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2010-02-27 14:27 --- Subject: Bug 42253 Author: ebotcazou Date: Sat Feb 27 14:27:27 2010 New Revision: 157107 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157107 Log: PR ada/42253 * gcc-interface/utils2.c (b

[Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold

2010-02-27 Thread zsojka at seznam dot cz
--- Comment #40 from zsojka at seznam dot cz 2010-02-27 14:06 --- Follown file fails at all opt levels at both x86_64 and i?86: -- testcase.cpp -- namespace { bool bar(int i) { return i; } } int foo(int i) { return bar(i) ? i : 0; } --

[Bug middle-end/43057] [LTO] fold check: original tree changed by fold

2010-02-27 Thread zsojka at seznam dot cz
--- Comment #3 from zsojka at seznam dot cz 2010-02-27 14:02 --- Testcase fails when compiled as C++ code too (without -flto): $ /mnt/sdb1/build-157106-checking-fold/gcc/cc1plus -O bug.c int main() Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data>

[Bug tree-optimization/42326] [4.5 Regression][graphite] segfault in tree-data-ref.c with Graphite building 200.sixtrack

2010-02-27 Thread p dot vanhoof at oma dot be
--- Comment #9 from p dot vanhoof at oma dot be 2010-02-27 13:53 --- The following Lagrange interpolation routine crashes the trunk > gcc -O1 -floop-parallelize-all -c bug.c bug.c: In function ‘lagrange’: bug.c:1:8: internal compiler error: Segmentation fault ... etc. > gcc -v Using bu

[Bug tree-optimization/43197] Endianness and Optimization

2010-02-27 Thread kai dot extern at googlemail dot com
--- Comment #4 from kai dot extern at googlemail dot com 2010-02-27 13:46 --- > You are violating c++ aliasing rules. You access a uint8_t via > different types.un Actually, I address other types via uint8_t, but that is neither here nor there. (Oh, I just realized you probably didn

[Bug fortran/43199] New: Internal error using fortran-2003 .mod file

2010-02-27 Thread fmartinez at gmv dot com
The generated m_string.mod from m_string.f03 generated with latest version of gcc-fortran 4.5 generates an internal error when used in any other fortran module through a use statement. _ module m_string !

[Bug tree-optimization/43197] Endianness and Optimization

2010-02-27 Thread pinskia at gmail dot com
--- Comment #3 from pinskia at gmail dot com 2010-02-27 13:06 --- Subject: Re: New: Endianness and Optimization Sent from my iPhone On Feb 27, 2010, at 2:56 AM, "kai dot extern at googlemail dot com" wrote: > The attached code (which tries to generically load given-endianness >

Re: [Bug tree-optimization/43197] New: Endianness and Optimization

2010-02-27 Thread Andrew Pinski
Sent from my iPhone On Feb 27, 2010, at 2:56 AM, "kai dot extern at googlemail dot com" > wrote: The attached code (which tries to generically load given-endianness values of varying width from memory) shows some interesting optimization quirks. It's especially pussling why optimization q

[Bug fortran/43178] Pointless resetting to NULL for local ALLOCATABLEs

2010-02-27 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2010-02-27 12:24 --- (In reply to comment #11) > With the patch in comment #10, the tests in pr40440 (the original one and the > one in comment #2 give an ICE: Thanks for testing! In trans-array.c's gfc_trans_deferred_array, my current

[Bug c++/43198] edge points to wrong declaration

2010-02-27 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2010-02-27 11:56 --- Created an attachment (id=19976) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19976&action=view) gzipped C++ source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43198

[Bug c++/43198] New: edge points to wrong declaration

2010-02-27 Thread dcb314 at hotmail dot com
I just tried to compile the package monotone-0.46 with the C++ compiler version 4.5 snapshot 20100225 and it said cmd_diff_log.cc:1128:1: error: edge points to wrong declaration: and cmd_diff_log.cc:1128:1: internal compiler error: verify_cgraph_node failed Please submit a full bug report, with

[Bug fortran/43173] [4.5 Regression] Unnecessary array temporary: Passing contiguous array as actual argument

2010-02-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2010-02-27 11:35 --- I do not see the temporaries with gcc-Version 4.5.0 20100214 (experimental) (GCC) but I see this with gcc-Version 4.5.0 20100227 (experimental) (GCC) on x86_64-unknown-linux-gnu This makes this a regression

[Bug tree-optimization/43197] Endianness and Optimization

2010-02-27 Thread kai dot extern at googlemail dot com
--- Comment #2 from kai dot extern at googlemail dot com 2010-02-27 11:01 --- Created an attachment (id=19975) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19975&action=view) Disassembled output The results from compiling the source -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug tree-optimization/43197] Endianness and Optimization

2010-02-27 Thread kai dot extern at googlemail dot com
--- Comment #1 from kai dot extern at googlemail dot com 2010-02-27 10:59 --- Created an attachment (id=19974) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19974&action=view) C++ Source The source file to demonstrate the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?i

[Bug tree-optimization/43197] New: Endianness and Optimization

2010-02-27 Thread kai dot extern at googlemail dot com
The attached code (which tries to generically load given-endianness values of varying width from memory) shows some interesting optimization quirks. It's especially pussling why optimization quality varies so greatly with width, and is actually worst for the native word width. For example: $ gcc

[Bug fortran/43178] Pointless resetting to NULL for local ALLOCATABLEs

2010-02-27 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2010-02-27 10:35 --- With the patch in comment #10, the tests in pr40440 (the original one and the one in comment #2 give an ICE: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address:

[Bug tree-optimization/43186] [4.5 Regression] A loop in tree_unroll_loops_completely never ends

2010-02-27 Thread d dot g dot gorbachev at gmail dot com
--- Comment #6 from d dot g dot gorbachev at gmail dot com 2010-02-27 10:17 --- Thanks! But it still does not work when "a < 3" is replaced by "a < 4". Also, the original testcase requires much time to compile. -- d dot g dot gorbachev at gmail dot com changed: What|

[Bug c++/43196] [4.5 regression] ICE in dwarf2out_frame_debug_expr

2010-02-27 Thread jojelino at gmail dot com
--- Comment #2 from jojelino at gmail dot com 2010-02-27 08:44 --- when given without -mstackrealign, it works fine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43196

[Bug c++/43196] [4.5 regression] ICE in dwarf2out_frame_debug_expr

2010-02-27 Thread jojelino at gmail dot com
--- Comment #1 from jojelino at gmail dot com 2010-02-27 08:12 --- Created an attachment (id=19973) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19973&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43196

[Bug c++/43196] New: [4.5 regression] ICE in dwarf2out_frame_debug_expr

2010-02-27 Thread jojelino at gmail dot com
--enable-tls --disable-bootstrap --target=i686-pc-mingw32 --enable-shared --enable-interpreter --disable-sjlj-exceptions Thread model: win32 gcc version 4.5.0 20100227 (experimental) (GCC) COLLECT_GCC_OPTIONS='-c' '-g' '-include' '/tmp/baseclasses/mingw_dshow.h&#