[Bug middle-end/30700] [4.2 Regression] YA bogus undefined reference error to static func with -g and -O

2007-04-12 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2007-04-12 07:24 --- If you click on View Bug Activity you'll see that the bug used to be marked as 4.2/4.3. Richi changed it to 4.2 only when the patch got committed to mainline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30700

[Bug fortran/29785] Fortran 2003: POINTER Rank Remapping

2007-04-12 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-12 09:19 --- Cf. http://gcc.gnu.org/ml/fortran/2007-04/msg00120.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29785

[Bug fortran/31472] gfortran does not detect the illegal use of an access specification in a program, subroutine, or function

2007-04-12 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-04-12 09:46 --- Subject: Bug 31472 Author: burnus Date: Thu Apr 12 09:46:30 2007 New Revision: 123735 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123735 Log: 2007-04-12 Tobias Burnus [EMAIL PROTECTED] PR

[Bug fortran/31472] gfortran does not detect the illegal use of an access specification in a program, subroutine, or function

2007-04-12 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-04-12 09:58 --- Fixed in 4.3. No regression and rejects only valid Fortran 2003 code - no backporting to 4.2 - Fixed. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/24689] operand_equal_p does not return true for some equivalent ARRAY_REF

2007-04-12 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2007-04-12 10:16 --- Subject: Bug 24689 Author: rguenth Date: Thu Apr 12 10:15:53 2007 New Revision: 123736 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123736 Log: 2007-04-12 Richard Guenther [EMAIL PROTECTED] PR

[Bug middle-end/31307] Interaction between x86_64 builtin function and inline functions causes poor code

2007-04-12 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2007-04-12 10:16 --- Subject: Bug 31307 Author: rguenth Date: Thu Apr 12 10:15:53 2007 New Revision: 123736 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123736 Log: 2007-04-12 Richard Guenther [EMAIL PROTECTED] PR

[Bug target/31544] PPC object code generation

2007-04-12 Thread trog24 at comcast dot net
--- Comment #2 from trog24 at comcast dot net 2007-04-12 10:18 --- Subject: Re: PPC object code generation Hello, Thank you for your response. I have monitored the temperature and it is not overheating. The manner in which the register is corrupted from a non

[Bug tree-optimization/31169] Bootstrap comparison error at revision 122821

2007-04-12 Thread rguenth at gcc dot gnu dot org
--- Comment #50 from rguenth at gcc dot gnu dot org 2007-04-12 10:20 --- Subject: Bug 31169 Author: rguenth Date: Thu Apr 12 10:20:42 2007 New Revision: 123737 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123737 Log: 2007-04-12 Richard Guenther [EMAIL PROTECTED] PR

[Bug middle-end/31307] Interaction between x86_64 builtin function and inline functions causes poor code

2007-04-12 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2007-04-12 10:27 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/24689] operand_equal_p does not return true for some equivalent ARRAY_REF

2007-04-12 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2007-04-12 10:28 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/31535] ICE on attempt to put SPE vector variables in SDA

2007-04-12 Thread m dot reszat at kostal dot com
--- Comment #1 from m dot reszat at kostal dot com 2007-04-12 10:34 --- SDA relative access renders useless for the vector load/store opcodes, as the displacement is limited to +0..+248. Hence, the compiler should not try anyway. With this bug persisting, one has to limit SDA access

[Bug c++/31545] New: No warning on missing return in if construct

2007-04-12 Thread walter at schreppers dot com
This happens on other gcc versions too. It seems the checks on whether the necessary return statement is used fail when using an if statement. I included a little code snippet here. It compiles without warnings or errors (all optimizations and even with -Wall no warnings are given). When executed

[Bug fortran/31320] Illegal read with gfortran.dg/alloc_comp_assign_2.f90 and *_3.f90

2007-04-12 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-12 10:52 --- Is this example (PR 20541) really valid? Lahey does not complain. At compile time? Or at run time? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31320

[Bug c++/31545] No warning on missing return in if construct

2007-04-12 Thread walter at schreppers dot com
--- Comment #1 from walter at schreppers dot com 2007-04-12 10:55 --- Created an attachment (id=13355) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13355action=view) Compile with any optimization (i used -O2) A similar type of bug occured to me a lot in the past. When using if's

[Bug c++/31078] [4.3 Regression] warning: same canonical type node for different types with const strings

2007-04-12 Thread dgregor at gcc dot gnu dot org
--- Comment #13 from dgregor at gcc dot gnu dot org 2007-04-12 12:48 --- Subject: Bug 31078 Author: dgregor Date: Thu Apr 12 12:47:56 2007 New Revision: 123740 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123740 Log: 2007-04-12 Douglas Gregor [EMAIL PROTECTED] PR

[Bug c++/31103] [4.3 Regression] same canonical type node for VLAs

2007-04-12 Thread dgregor at gcc dot gnu dot org
--- Comment #4 from dgregor at gcc dot gnu dot org 2007-04-12 12:48 --- Subject: Bug 31103 Author: dgregor Date: Thu Apr 12 12:47:56 2007 New Revision: 123740 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123740 Log: 2007-04-12 Douglas Gregor [EMAIL PROTECTED] PR

[Bug c++/31078] [4.3 Regression] warning: same canonical type node for different types with const strings

2007-04-12 Thread dgregor at gcc dot gnu dot org
--- Comment #14 from dgregor at gcc dot gnu dot org 2007-04-12 12:50 --- Fixed on mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31103] [4.3 Regression] same canonical type node for VLAs

2007-04-12 Thread dgregor at gcc dot gnu dot org
--- Comment #5 from dgregor at gcc dot gnu dot org 2007-04-12 12:50 --- Fixed on mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31505] [4.3 Regression] Canonical types failures

2007-04-12 Thread dgregor at gcc dot gnu dot org
--- Comment #13 from dgregor at gcc dot gnu dot org 2007-04-12 12:52 --- Same problem/cause as 31103, which is now fixed on mainline. *** This bug has been marked as a duplicate of 31103 *** -- dgregor at gcc dot gnu dot org changed: What|Removed

[Bug c++/31103] [4.3 Regression] same canonical type node for VLAs

2007-04-12 Thread dgregor at gcc dot gnu dot org
--- Comment #6 from dgregor at gcc dot gnu dot org 2007-04-12 12:52 --- *** Bug 31505 has been marked as a duplicate of this bug. *** -- dgregor at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/31322] [4.3 Regression] ld: Invalid symbol type for plabel (.libs/debug_list.o, __gxx_personality_v0).

2007-04-12 Thread patchapp at dberlin dot org
--- Comment #6 from patchapp at dberlin dot org 2007-04-12 12:55 --- Subject: Bug number PR middle-end/31322 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00611.html --

[Bug fortran/31546] New: add --enable-intermodule

2007-04-12 Thread aldot at gcc dot gnu dot org
add option to build libgfortran and fortran with -combine. This creates a smaller binary and may also create a faster binary. The former is the main motivation from my POV. -- Summary: add --enable-intermodule Product: gcc Version: 4.3.0 Status:

[Bug fortran/31546] add --enable-intermodule

2007-04-12 Thread aldot at gcc dot gnu dot org
--- Comment #1 from aldot at gcc dot gnu dot org 2007-04-12 15:03 --- Created an attachment (id=13356) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13356action=view) patch to add --enable-intermodule to libgfortran -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31546

[Bug fortran/31547] New: Document when CPP is called and document the f95-cpp-input option

2007-04-12 Thread burnus at gcc dot gnu dot org
Currently, nowhere is documented that gfortran calls for .F, .FPP, .F90, .F95 and .F2003 the C Preprocessor (in the traditional mode, cf. PR 18428). I don't know whether it fits better to gfortran.texi or invoke.texi. In addition, we don't document the option to call the preprocessor for files

[Bug middle-end/31548] New: __builtin_cabsf(z) squared should be optimized

2007-04-12 Thread burnus at gcc dot gnu dot org
The following Fortran program program test complex :: z real :: r r = abs(z)**2 print *, r end program test produces the following tree: D.1352 = __builtin_cabsf (z); D.1353 = D.1352 * D.1352; r = D.1353; The complex value is naively calculated as: sqrt( (_Real_ z)*(_Real_ z)

[Bug middle-end/31548] __builtin_cabsf(z) squared should be optimized

2007-04-12 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-04-12 15:41 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug middle-end/31548] __builtin_cabsf(z) squared should be optimized

2007-04-12 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2007-04-12 15:53 --- (In reply to comment #0) The complex value is naively calculated as: sqrt( (_Real_ z)*(_Real_ z) + (_Imag_ z)*(_Imag_ z) ) However, since the value is squared afterwards, the square root can be simply removed.

[Bug rtl-optimization/31549] New: Documentation for -frtl-abstract-sequences is in the wrong place

2007-04-12 Thread guillaume dot melquiond at ens-lyon dot fr
In invoke.texi, the description for -frtl-abstract-sequences is located between -frounding-math and -fsignaling-nans. It means that the description is located in a @table specially dedicated to GCC floating-point compliance, while the option is not related to floating-point arithmetic at all. It

[Bug c/31331] ICE on invalid function attribute syntax for main()

2007-04-12 Thread j at uriah dot heep dot sax dot de
--- Comment #1 from j at uriah dot heep dot sax dot de 2007-04-12 16:32 --- I disagree the invalid syntax. According to the formal attribute syntax description: ``Any list of specifiers and qualifiers at the start of a declaration may contain attribute specifiers, whether or not such

[Bug fortran/31550] New: [regression] f951: segfault in fold-const.c:1963

2007-04-12 Thread dfranke at gcc dot gnu dot org
gfortran-20070412 segfaults on the code below, gfortran-20070316 doesn't. $ cat segfault.f90 MODULE class_dummy_atom_types TYPE :: dummy_atom_list TYPE(dummy_atom), DIMENSION(:), POINTER :: table INTEGER :: nused END TYPE TYPE :: dummy_atom TYPE

[Bug fortran/31550] [regression] f951: segfault in fold-const.c:1963

2007-04-12 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-04-12 17:08 --- Please note, that the USE-ONLY of dummy_atom_list_merge is crucial. Without it, the segfault does not occur. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31550

[Bug fortran/31250] Initialization expr as constant character length rejected

2007-04-12 Thread tobi at gcc dot gnu dot org
-- tobi at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |tobi at gcc dot gnu dot org |dot org

[Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330

2007-04-12 Thread dfranke at gcc dot gnu dot org
internal compiler error: in fold_convert, at fold-const.c:2330 $ gfortran-svn -v gcc version 4.3.0 20070412 (experimental) Backtrace: #0 fancy_abort (file=0x86fb400 ../../../svn/gcc/gcc/fold-const.c, line=2330, function=0x86fb326 fold_convert) at ../../../svn/gcc/gcc/diagnostic.c:656 #1

[Bug fortran/31551] ice in fold_convert, at fold-const.c:2330

2007-04-12 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-04-12 17:46 --- Adding FX to CC as requested on the mailing list. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/30700] [4.2 Regression] YA bogus undefined reference error to static func with -g and -O

2007-04-12 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2007-04-12 17:58 --- Does that mean that the patch for mainline wouldn't work on gcc 4.2 branch or that the patch just hasn't been applied to gcc 4.2 branch yet? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30700

[Bug rtl-optimization/31552] New: -fcall-used-vXX turns into ICE

2007-04-12 Thread gcc at breakpoint dot cc
If gcc runs out of volatile VMX registers, he is going to save the non volatile registers. This fails if one of them is defined in -fcall-used-vXX (test case attaced) -- Summary: -fcall-used-vXX turns into ICE Product: gcc Version: 4.1.2 Status:

[Bug rtl-optimization/31552] -fcall-used-vXX turns into ICE

2007-04-12 Thread gcc at breakpoint dot cc
--- Comment #1 from gcc at breakpoint dot cc 2007-04-12 18:02 --- Created an attachment (id=13357) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13357action=view) test case for the internal compiler error: in propagate_one_insn, at flow.c:1699 Reults ins:

[Bug rtl-optimization/31552] -fcall-used-vXX turns into ICE

2007-04-12 Thread gcc at breakpoint dot cc
--- Comment #2 from gcc at breakpoint dot cc 2007-04-12 18:04 --- Created an attachment (id=13358) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13358action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31552

[Bug fortran/31471] gfortran does not detect a labeled FORALL with an unlabeled END FORALL

2007-04-12 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2007-04-12 18:10 --- Subject: Bug number PR31471 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00694.html --

[Bug fortran/31553] New: incorrect processing of formatted character output

2007-04-12 Thread brad dot finney at humboldt dot edu
a edit descriptor for character output produces repeatable, but incorrect output in some situations when the width of the field is not explicitly specified in the edit descriptor, but is inferred from the number of characters in the write list item. -- Summary: incorrect processing

[Bug fortran/31250] Initialization expr as constant character length rejected

2007-04-12 Thread patchapp at dberlin dot org
--- Comment #2 from patchapp at dberlin dot org 2007-04-12 18:12 --- Subject: Bug number PR 31250 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00693.html --

[Bug fortran/31266] Spurious(?) warning about character truncation

2007-04-12 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2007-04-12 18:13 --- Subject: Bug number PR31266 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00695.html --

[Bug fortran/30871] Pointer to substring rejected with Different character lengths in pointer assignment

2007-04-12 Thread tobi at gcc dot gnu dot org
--- Comment #2 from tobi at gcc dot gnu dot org 2007-04-12 18:17 --- This is not fixed with the patch for PR31266. The remaining issue looks closely related to not using byte-sized strides in array descriptors. -- tobi at gcc dot gnu dot org changed: What|Removed

[Bug fortran/31553] incorrect processing of formatted character output

2007-04-12 Thread brad dot finney at humboldt dot edu
--- Comment #1 from brad dot finney at humboldt dot edu 2007-04-12 18:20 --- Created an attachment (id=13359) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13359action=view) test program demonstrating bug behavior along with program output --

[Bug fortran/31553] incorrect processing of formatted character output

2007-04-12 Thread brad dot finney at humboldt dot edu
--- Comment #2 from brad dot finney at humboldt dot edu 2007-04-12 18:22 --- same bug noted on version 4.0.3 (intel linux 64bit) noted. -- brad dot finney at humboldt dot edu changed: What|Removed |Added

[Bug fortran/31550] [regression] f951: segfault in fold-const.c:1963

2007-04-12 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2007-04-12 18:52 --- (In reply to comment #1) Please note, that the USE-ONLY of dummy_atom_list_merge is crucial. Without it, the segfault does not occur. Confirmed - I have a bad feeling about this one! Paul -- pault at gcc dot

[Bug fortran/31553] incorrect processing of formatted character output

2007-04-12 Thread burnus at gcc dot gnu dot org
buggy gfortran. One should use version 4.1.x, which is much more stable, or the 4.2.0 or 4.3.0 which contain even fewer Fortran bugs. Binaries are available from: http://gcc.gnu.org/wiki/GFortranBinaries Using gfortran 4.1.3 20070302 (prerelease) gfortran 4.2.0 20070412 (prerelease) gfortran

[Bug libstdc++/31554] New: stable_partition assumes iterator difference type is always ptrdiff_t

2007-04-12 Thread djg at cray dot com
Instantiating stable_partition with an iterator where the difference_type is something different than ptrdiff_t results in an error like this: .../bits/stl_algo.h: In function `_ForwardIterator std::stable_partition(_ForwardIterator, _ForwardIterator, _Predicate) [with _ForwardIterator =

[Bug libstdc++/31555] New: stable_partition assumes iterator difference type is always ptrdiff_t

2007-04-12 Thread djg at cray dot com
Instantiating stable_partition with an iterator where the difference_type is something different than ptrdiff_t results in an error like this: .../bits/stl_algo.h: In function `_ForwardIterator std::stable_partition(_ForwardIterator, _ForwardIterator, _Predicate) [with _ForwardIterator =

[Bug libstdc++/31555] stable_partition assumes iterator difference type is always ptrdiff_t

2007-04-12 Thread djg at cray dot com
--- Comment #1 from djg at cray dot com 2007-04-12 19:09 --- *** This bug has been marked as a duplicate of 31554 *** -- djg at cray dot com changed: What|Removed |Added

[Bug libstdc++/31554] stable_partition assumes iterator difference type is always ptrdiff_t

2007-04-12 Thread djg at cray dot com
--- Comment #1 from djg at cray dot com 2007-04-12 19:09 --- *** Bug 31555 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31554

[Bug fortran/31266] Spurious(?) warning about character truncation

2007-04-12 Thread tobi at gcc dot gnu dot org
--- Comment #4 from tobi at gcc dot gnu dot org 2007-04-12 19:10 --- Subject: Bug 31266 Author: tobi Date: Thu Apr 12 19:10:10 2007 New Revision: 123759 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123759 Log: PR fortran/31266 fortran/ * primary.c (gfc_variable_attr): Don't

[Bug fortran/31234] Thread-safety of random_number should be documented.

2007-04-12 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-04-12 19:23 --- Subject: Bug 31234 Author: dfranke Date: Thu Apr 12 19:23:03 2007 New Revision: 123760 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123760 Log: 2007-04-12 Daniel Franke [EMAIL PROTECTED] PR

[Bug fortran/31234] Thread-safety of random_number should be documented.

2007-04-12 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2007-04-12 19:27 --- Subject: Bug 31234 Author: dfranke Date: Thu Apr 12 19:27:07 2007 New Revision: 123761 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123761 Log: 2007-04-12 Daniel Franke [EMAIL PROTECTED] PR

[Bug fortran/31234] Thread-safety of random_number should be documented.

2007-04-12 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2007-04-12 19:28 --- Documented in trunk and 4.2 branch. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/31556] New: find_if uses operator! instead of conversion to bool

2007-04-12 Thread djg at cray dot com
Section 25, lib.algorithms, paragraph 7, defines the Predicate parameter in std::find_if and others as returning a value that need only be usable in the controlling-expression of an if statement. libstdc++'s find_if incorrectly relies on the operator! function, which may not be usable. In a case

[Bug fortran/31550] [regression] f951: segfault in fold-const.c:1963

2007-04-12 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-04-12 19:37 --- What is really odd is that the same code (see below) is produced, with or without the ONLY... It looks fine in either case and identical to that produced by 4.2. *sigh* Is this a problem with the backend? Paul

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread chris at bubblescope dot net
--- Comment #1 from chris at bubblescope dot net 2007-04-12 19:37 --- There is also a large number of other places which do !pred in various functions I believe there are other bugs of this type, relating to and ||. If someone really cared about this, they could do a complete sweep of

[Bug fortran/31250] Initialization expr as constant character length rejected

2007-04-12 Thread tobi at gcc dot gnu dot org
--- Comment #3 from tobi at gcc dot gnu dot org 2007-04-12 19:48 --- Subject: Bug 31250 Author: tobi Date: Thu Apr 12 19:48:06 2007 New Revision: 123763 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123763 Log: PR fortran/31250 fortran/ * decl.c (match_char_spec): Move check for

[Bug libstdc++/31554] stable_partition assumes iterator difference type is always ptrdiff_t

2007-04-12 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-04-12 19:59 --- Confirmed. I will look into this as soon as possible, first blush, I'm wondering whether just calling __stable_partition_adaptive with a last argument: ..., _DistanceType(__buf.size())) would be enough to fix the

[Bug middle-end/31307] Interaction between x86_64 builtin function and inline functions causes poor code

2007-04-12 Thread michael dot meissner at amd dot com
--- Comment #13 from michael dot meissner at amd dot com 2007-04-12 20:18 --- How hard would it be to back port the change to 4.1.3 and 4.2? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31307

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-04-12 20:26 --- Thanks Chris. Apparently, we don't have *that* many ! on the return of the predicates or other logicals, maybe ~10. The task of fixing all of them seems manageable rather easily. Let's make sure I understand: it would be

[Bug fortran/31553] incorrect processing of formatted character output

2007-04-12 Thread brad dot finney at humboldt dot edu
fewer Fortran bugs. Binaries are available from: http://gcc.gnu.org/wiki/GFortranBinaries Using gfortran 4.1.3 20070302 (prerelease) gfortran 4.2.0 20070412 (prerelease) gfortran 4.3.0 20070412 (experimental) I get the same result as with NAG f95, sunf95 and Intel ifort: (4

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-04-12 20:34 --- Forgot ;) -- pcarlini at suse dot de changed: What|Removed |Added Status|UNCONFIRMED

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread chris at bubblescope dot net
--- Comment #4 from chris at bubblescope dot net 2007-04-12 20:36 --- Thats my understanding yes. It might possibly at the same time be worth fixing predicates appears in and ||, which have to be changed into nested ifs I think. --

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2007-04-12 20:39 --- (In reply to comment #4) Thats my understanding yes. Ok, thanks. It might possibly at the same time be worth fixing predicates appears in and ||, which have to be changed into nested ifs I think. Luckily, very,

[Bug libstdc++/31554] stable_partition assumes iterator difference type is always ptrdiff_t

2007-04-12 Thread djg at cray dot com
--- Comment #3 from djg at cray dot com 2007-04-12 21:53 --- (In reply to comment #2) At a glance, that looks right to me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31554

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added CC|pcarlini at suse dot de | AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de

[Bug libstdc++/31554] stable_partition assumes iterator difference type is always ptrdiff_t

2007-04-12 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added CC|pcarlini at suse dot de | AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de

[Bug target/31557] New: return 0x80000000UL code gen can be improved

2007-04-12 Thread pinskia at gcc dot gnu dot org
Testcase: unsigned int f(void) { return 0x8001UL; } This should be able to done in three instructions: .f: li 3,1 oris 3,3,0x8000 blr Right now it is done as: .L.f: li 3,0 ori 3,3,32768 sldi 3,3,16 ori 3,3,1 blr Which is

[Bug middle-end/31307] Interaction between x86_64 builtin function and inline functions causes poor code

2007-04-12 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2007-04-12 22:32 --- (In reply to comment #13) How hard would it be to back port the change to 4.1.3 and 4.2? Why do you want to that, this is not a regression at all. I am tried of people asking questions like this for missed

[Bug middle-end/31307] Interaction between x86_64 builtin function and inline functions causes poor code

2007-04-12 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2007-04-12 22:36 --- 4.2.0 wouldn't be too difficult (a svn merge of the change to 4.2.0 branch succeeds without problems), but 4.1.3 has ineffective store copyprop (see PR26135). Of course this is not a regression, so a backport is

[Bug middle-end/30700] [4.2 Regression] YA bogus undefined reference error to static func with -g and -O

2007-04-12 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2007-04-12 22:41 --- The latter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30700

[Bug c++/2204] G++ doesn't check (member) function parameter for abstract-ness.

2007-04-12 Thread pedro dot lamarao at mndfck dot org
--- Comment #14 from pedro dot lamarao at mndfck dot org 2007-04-12 23:12 --- This bug is not reproducible with current mainline. I suspect it was closed years ago and should be closed by now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2204

[Bug target/31558] New: ICE with __builtin_vec_splat

2007-04-12 Thread pinskia at gcc dot gnu dot org
C++ testcase (compile with -maltivec): struct SubData { inline const Float Clamp(Float f, Float f0, Float f1) } inline const void SinCos(Float angle, Float sine, Float cosine) { C0 = __builtin_vec_splat(_simdCosEstCoefficients, 0); C1 =

gfortran crash

2007-04-12 Thread Gerald Skinner
I'm not going to get into registering to submit a bug in the formal way, I am trying urgently to get some quick and dirty results. But the gfortran compiler told me to report a bug, so I am doing so Command line [EMAIL PROTECTED] QDPfig]# gfortran -o contour_fun contour_fun.f90 Error message

[Bug libstdc++/28277] __builtin_alloca with no limit in libstdc++

2007-04-12 Thread paolo at gcc dot gnu dot org
--- Comment #17 from paolo at gcc dot gnu dot org 2007-04-13 00:06 --- Subject: Bug 28277 Author: paolo Date: Fri Apr 13 00:06:37 2007 New Revision: 123770 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123770 Log: 2007-04-12 Paolo Carlini [EMAIL PROTECTED] PR

[Bug c++/2708] ambiguity check fails for namespace vs class scope

2007-04-12 Thread pedro dot lamarao at mndfck dot org
--- Comment #7 from pedro dot lamarao at mndfck dot org 2007-04-13 01:44 --- Created an attachment (id=13360) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13360action=view) First attempt at fixing the bug. This patch gives a diagnostic compiling the test case. I just copied

[Bug fortran/31559] New: Assigning to an EXTERNAL leads to ICE

2007-04-12 Thread kargl at gcc dot gnu dot org
subroutine a(fun) implicit none integer, intent(in) :: fun real, external :: funget real v v = funget(fun) funget = -99.9 end subroutine a laptop:kargl[221] gfc4x -c -O g.f90 g.f90: In function 'a': g.f90:6: internal compiler error: in gfc_conv_variable, at

[Bug c++/2708] ambiguity check fails for namespace vs class scope

2007-04-12 Thread fang at csl dot cornell dot edu
--- Comment #8 from fang at csl dot cornell dot edu 2007-04-13 02:40 --- Note: PR 30734 is a dupe of this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2708

[Bug tree-optimization/29585] [4.2 Regression] tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:558

2007-04-12 Thread mrs at apple dot com
--- Comment #17 from mrs at apple dot com 2007-04-13 03:09 --- The followup problem has now been fixed in 4.2. -- mrs at apple dot com changed: What|Removed |Added

[Bug fortran/31550] [regression] f951: segfault in fold-const.c:1963

2007-04-12 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2007-04-13 05:11 --- (In reply to comment #3) Is this a problem with the backend? Dream on, Mr Thomas! It's my own patch: 2007-03-18 Paul Thomas [EMAIL PROTECTED] PR fortran/30531 PR fortran/31086 * symbo.c

[Bug fortran/31551] ice in fold_convert, at fold-const.c:2330

2007-04-12 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2007-04-13 05:13 --- (In reply to comment #1) Adding FX to CC as requested on the mailing list. Daniel, Does this also disappear, like 31550, with versions earlier than 20070318? Paul --

[Bug libfortran/31052] [4.2 only] Bad IOSTAT values when readings NAMELISTs past EOF

2007-04-12 Thread hjl at lucon dot org
--- Comment #44 from hjl at lucon dot org 2007-04-13 05:28 --- sixtrack in SPEC CPU 2K started to fail on Mar. 19: http://people.redhat.com/dnovillo/spec2000.em64t/gcc/log/20070319/CFP2000.002.html and it still fails today. Is it caused by this bug fix? -- hjl at lucon dot org

[Bug libfortran/31052] [4.2 only] Bad IOSTAT values when readings NAMELISTs past EOF

2007-04-12 Thread pinskia at gcc dot gnu dot org
--- Comment #45 from pinskia at gcc dot gnu dot org 2007-04-13 05:32 --- (In reply to comment #44) sixtrack in SPEC CPU 2K started to fail on Mar. 19: And then start passing and then again started to fail again on/around April 1st. HJL when will you please get your dates correct.