[Bug c++/32056] Storage classes on template parameters

2009-11-16 Thread paolo at gcc dot gnu dot org
--- Comment #1 from paolo at gcc dot gnu dot org 2009-11-16 08:31 --- Subject: Bug 32056 Author: paolo Date: Mon Nov 16 08:31:26 2009 New Revision: 154198 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154198 Log: cp/ 2009-11-16 Paolo Carlini paolo.carl...@oracle.com

[Bug c++/32056] Storage classes on template parameters

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-11-16 08:33 --- Fixed for 4.5.0. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/42055] [4.5 Regression] ICE with ambiguous template specialization

2009-11-16 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop.

2009-11-16 Thread mexas at bristol dot ac dot uk
--- Comment #6 from mexas at bristol dot ac dot uk 2009-11-16 09:50 --- The suggested patch seems to fail. Perhaps it's out of sync now. # patch ./libgcc/config.host patch Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Index:

[Bug target/42017] gcc compiling C for ARM has stopped using r14 in leaf functions?

2009-11-16 Thread ramana at gcc dot gnu dot org
--- Comment #5 from ramana at gcc dot gnu dot org 2009-11-16 09:58 --- Confirmed. LR could have been used instead of using the stack here. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-16 Thread rootkit85 at yahoo dot it
--- Comment #23 from rootkit85 at yahoo dot it 2009-11-16 10:02 --- Despite its name Geode GX, LX and NX are very different, I guess that we should split them to geode-gx and geode-lx, and alias geode-nx to k7 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41999] Bug in generation of interrupt function code for ARM processor

2009-11-16 Thread ramana at gcc dot gnu dot org
--- Comment #1 from ramana at gcc dot gnu dot org 2009-11-16 10:18 --- Confirmed. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2009-11-16 10:34 --- The failures reported in comment #8 have disappeared between revisions 154188 and 154190 (compare http://gcc.gnu.org/ml/gcc-testresults/2009-11/msg01435.html and

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread hp at gcc dot gnu dot org
--- Comment #10 from hp at gcc dot gnu dot org 2009-11-16 10:57 --- (In reply to comment #9) The failures reported in comment #8 have disappeared between revisions 154188 and 154190 Is it right to conclude that the failures were due to revision 154104? *shrug* your call. At a

[Bug c++/42063] g++ violate [class.dtor] when explicit destructor call

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-11-16 13:16 --- I don't have the time to analyze this, but I note that a binary built with ICC behaves exactly the same way. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42063

[Bug c++/42059] [4.4/4.5 Regression] [c++0x] ICE with initializer list for VLA

2009-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-11-16 13:49 --- Created an attachment (id=19020) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19020action=view) gcc45-pr42059.patch Caused by PR40689. Here is an untested fix. -- jakub at gcc dot gnu dot org changed:

[Bug c++/42063] g++ violate [class.dtor] when explicit destructor call

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-11-16 13:59 --- The confusion stems from the way, slightly confusing, in which the example in the standard is written, which, if considered an actually runnable snippet, invokes undefined behavior, because destroys the base

[Bug c++/11764] [DR147] g++ does not treat injected class name correctly.

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #17 from paolo dot carlini at oracle dot com 2009-11-16 14:06 --- Gaby, I'm sorry, are you actively working on this issue? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764

[Bug debug/42065] New: DWARF .debug_macinfo contains unused macros

2009-11-16 Thread jan dot kratochvil at redhat dot com
-g3 currently produces huge objects as it contains many unused macros. -g2 produces no macros debug info so GDB cannot provide its expansion. There is no way to store just the used macros. (debuginfo compression driven by Roland McGrath may eliminate them but still...) While even a macro never

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2009-11-16 14:29 --- The following code triggers the problem on i686-apple-darwin9 at revision 154075 (+ patches from fortran-dev): [ibook-dhum] f90/bug% cat complex-sign-add_red_1.c extern void exit (int); void check_add_float (void)

Re: [Bug debug/42065] New: DWARF .debug_macinfo contains unused macros

2009-11-16 Thread Andrew Pinski
Sent from my iPhone On Nov 16, 2009, at 6:12 AM, jan dot kratochvil at redhat dot com gcc-bugzi...@gcc.gnu.org wrote: -g3 currently produces huge objects as it contains many unused macros. -g2 produces no macros debug info so GDB cannot provide its expansion. That is by design and the

[Bug debug/42065] DWARF .debug_macinfo contains unused macros

2009-11-16 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2009-11-16 14:31 --- Subject: Re: New: DWARF .debug_macinfo contains unused macros Sent from my iPhone On Nov 16, 2009, at 6:12 AM, jan dot kratochvil at redhat dot com gcc-bugzi...@gcc.gnu.org wrote: -g3 currently produces huge

[Bug debug/42065] DWARF .debug_macinfo contains unused macros

2009-11-16 Thread jan dot kratochvil at redhat dot com
--- Comment #2 from jan dot kratochvil at redhat dot com 2009-11-16 14:49 --- (In reply to comment #1) -g3 currently produces huge objects as it contains many unused macros. -g2 produces no macros debug info so GDB cannot provide its expansion. That is by design and the reason

[Bug c++/42055] [4.5 Regression] ICE with ambiguous template specialization

2009-11-16 Thread paolo at gcc dot gnu dot org
--- Comment #1 from paolo at gcc dot gnu dot org 2009-11-16 14:58 --- Subject: Bug 42055 Author: paolo Date: Mon Nov 16 14:58:33 2009 New Revision: 154202 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154202 Log: cp/ 2009-11-16 Paolo Carlini paolo.carl...@oracle.com

[Bug c++/42055] [4.5 Regression] ICE with ambiguous template specialization

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-11-16 14:59 --- Fixed. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #12 from howarth at nitro dot med dot uc dot edu 2009-11-16 15:13 --- Dominique, Can code in comment 11 be converted into a test case that can be run through dsymutil without requiring FSF gcc to be installed? If so, please open a radar report with that information.

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2009-11-16 15:37 --- (In reply to comment #12) Can code in comment 11 be converted into a test case that can be run through dsymutil without requiring FSF gcc to be installed? If so, please open a radar report with that

[Bug tree-optimization/41501] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails with '-02'

2009-11-16 Thread ghazi at gcc dot gnu dot org
--- Comment #3 from ghazi at gcc dot gnu dot org 2009-11-16 15:57 --- See PR34999 -- ghazi at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42061] [4.4/4.5 Regression] [c++0x] ICE with invalid initializer list for reference

2009-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-11-16 16:06 --- Created an attachment (id=19021) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19021action=view) gcc45-pr42061.patch Fix I'm going to bootstrap/regtest. -- jakub at gcc dot gnu dot org changed:

[Bug c++/42066] New: C++0x lambda captures are not understood as used by -Wunused and -Wunused-parameter

2009-11-16 Thread lloyd at randombit dot net
GCC 4.5's -Wunused and -Wunused-parameter warnings don't understand that i and n being used in the function below: #include functional std::functionint () foo(int i) { int n = 5; return [=]() { return i+n; }; } $ g++-4.5-20091112 -std=c++0x -Wall -Wextra -c lambda.cpp lambda.cpp:

[Bug c++/41920] Invalid 'unused parameter' warning for parameters used in lambdas

2009-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-11-16 16:17 --- *** Bug 42066 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42066] C++0x lambda captures are not understood as used by -Wunused and -Wunused-parameter

2009-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-16 16:17 --- *** This bug has been marked as a duplicate of 41920 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40836] ICE: insn does not satisfy its constraints (iwmmxt_movsi_insn)

2009-11-16 Thread yipiha2008 at gmail dot com
--- Comment #12 from yipiha2008 at gmail dot com 2009-11-16 16:17 --- I would like to confirm that this bug affects gcc 4.4.2. Compiling ffmpeg 0.5 triggers it in many places. It may be a good idea to try to fix this in 4.5 if it's not fixed yet, before Nov 30th which is the end of

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2009-11-16 16:25 --- I don't know if this answer the question in comment 12. I have done the following experiment: [ibook-dhum] f90/bug% rm -rf a.out* [ibook-dhum] f90/bug% rm complex-sign-add_red_1.* remove complex-sign-add_red_1.c? n

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #15 from howarth at nitro dot med dot uc dot edu 2009-11-16 16:27 --- I meant if we can create a test case from an assembly file generated from FSF gcc which can be used to trigger the problem in dsymutil in absence of FSF gcc itself. --

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread dominiq at lps dot ens dot fr
--- Comment #16 from dominiq at lps dot ens dot fr 2009-11-16 16:31 --- I meant if we can create a test case from an assembly file generated from FSF gcc which can be used to trigger the problem in dsymutil in absence of FSF gcc itself. Are the results in comment 14 answering your

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread dominiq at lps dot ens dot fr
--- Comment #17 from dominiq at lps dot ens dot fr 2009-11-16 16:38 --- Note that the dsymutil failure for the test in comment 11 disappears in 64 bit mode. The original code in the test suite gives: [ibook-dhum] f90/bug% gcc45

[Bug c++/42058] [4.3/4.4/4.5 Regression] Trouble with invalid array initialization

2009-11-16 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug fortran/42041] Missing defs in omp_lib.h

2009-11-16 Thread longb at cray dot com
--- Comment #2 from longb at cray dot com 2009-11-16 16:58 --- I posed this question to the Cray OpenMP committee member: Jim @ ISU submitted a bug against gfortran noting that some parameters defined in the omp_lib Fortran module are missing from the corresponding omp_lib.h include

[Bug c++/42067] New: Misleading error message for misusing a type

2009-11-16 Thread jlquinn at optonline dot net
The following small test drove me crazy and had me convinced that gcc 4.4 had regressed. I had the C++ spec out too trying to understand exactly how string is declared until I eventually saw the actual problem, which is that the first parameter is named 'string'. I'm not sure exactly how to

[Bug c++/42067] Misleading error message for misusing a type

2009-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-16 17:02 --- Well you are not misusing a type here really. The second string causes string to be a variable name, so the error message is correct as it is no longer a type at that point. --

[Bug c++/42067] Misleading error message for misusing a type

2009-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-11-16 17:04 --- Comeau online tester gives: ComeauTest.c, line 4: error: parameter string is not a type name int fn(string string, string head); Which is only slightly better. The trunk gives a column number: t.cc:3:24: error:

[Bug target/40836] ICE: insn does not satisfy its constraints (iwmmxt_movsi_insn)

2009-11-16 Thread ebotcazou at gcc dot gnu dot org
--- Comment #13 from ebotcazou at gcc dot gnu dot org 2009-11-16 17:23 --- CCing one the of ARM maintainers. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40836] ICE: insn does not satisfy its constraints (iwmmxt_movsi_insn)

2009-11-16 Thread rearnsha at gcc dot gnu dot org
--- Comment #14 from rearnsha at gcc dot gnu dot org 2009-11-16 17:35 --- This is probably a consequence of some changes made to support Thumb-2. Only a very limited number of instructions are permitted to modify SP there, and co-processor operations are not amongst them. I think

[Bug bootstrap/42068] New: [4.5 regression] ICE in function_and_variable_visibility breaks Tru64 UNIX Ada bootstrap

2009-11-16 Thread ro at gcc dot gnu dot org
Between 20091106 and 20091113 (rev 154146), bootstrap of both alpha-dec-osf4.0f and alpha-dec-osf5.1b failed in stage2 compiling ada/s-bitops.adb: % /tmp_mnt/vol/gcc/obj/gcc-4.5.0-20091113/4.0f-gcc/./prev-gcc/xgcc -B/tmp_mnt/vol/gcc/obj/gcc-4.5.0-20091113/4.0f-gcc/./prev-gcc/

[Bug target/32344] crash with EH on multiprocessor machines

2009-11-16 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2009-11-16 17:51 --- I can reproduce with mainline on a bi-processor machine (Sun-Fire-V240) running Solaris 10 but neither on a bi-processor machine (Sun-Fire-V240) runnning Solaris 9 nor on a quadri-processor machine

[Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5

2009-11-16 Thread espindola at gcc dot gnu dot org
--- Comment #4 from espindola at gcc dot gnu dot org 2009-11-16 17:57 --- Created an attachment (id=19022) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19022action=view) proposed fix -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41996

[Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop.

2009-11-16 Thread sje at cup dot hp dot com
--- Comment #7 from sje at cup dot hp dot com 2009-11-16 18:14 --- The patch worked for me after changing some leading spaces to tabs If you grabbed it with a cut-n-paste the patch may have had spaces in it instead of tabs (or perhaps it was put in the report that way). You can either

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread dominiq at lps dot ens dot fr
--- Comment #18 from dominiq at lps dot ens dot fr 2009-11-16 19:01 --- Created an attachment (id=19023) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19023action=view) assembly code giving an executable accepted by dsymutil [ibook-dhum] f90/bug% rm -rf a.out* [ibook-dhum]

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread dominiq at lps dot ens dot fr
--- Comment #19 from dominiq at lps dot ens dot fr 2009-11-16 19:03 --- Created an attachment (id=19024) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19024action=view) assembly code giving an executable that fails dsymutil [ibook-dhum] f90/bug% rm -rf a.out* [ibook-dhum] f90/bug%

[Bug target/30315] optimize unsigned-add overflow test on x86 to use cpu flags from addl

2009-11-16 Thread ubizjak at gmail dot com
--- Comment #19 from ubizjak at gmail dot com 2009-11-16 19:05 --- (In reply to comment #18) This bug also still appears in 4.4.2 with --with-arch=pentium3. pentium3 fails because it is not TARGET_HIMODE_MATH and TARGET_QIMODE_MATH. So, it fails following testcase: unsigned short

[Bug c++/42069] New: 4.5 fails

2009-11-16 Thread nthomas at cs dot tamu dot edu
The following code generates an tree check error in cp/pt.c of gcc 4.5 trunk (11/15/2009). This is a kernel that reproduces the error in a larger project. Both the kernel and original code compile and run correctly in previous versions of gcc. templatetypename T struct A { static const int

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-16 Thread dominiq at lps dot ens dot fr
--- Comment #20 from dominiq at lps dot ens dot fr 2009-11-16 19:37 --- I have filled a bug report to Apple under #7397601. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41473

[Bug c++/42069] [4.5 Regression] fails on class template specialization with default parameter

2009-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-16 19:57 --- Confirmed, worked with 4.4 with checking enabled. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42070] New: FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use

2009-11-16 Thread howarth at nitro dot med dot uc dot edu
Currently in gcc trunk on darwin10, we fail the test cases... FAIL: g++.dg/tree-prof/partition1.C compilation, -g -fprofile-use UNRESOLVED: g++.dg/tree-prof/partition1.C execution,-g -fprofile-use FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use UNRESOLVED:

[Bug target/42070] FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use

2009-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-16 20:02 --- Basically I think breaking up functions inside sections/segments in object files is a broken way of doing dead stripping. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42070

[Bug fortran/41083] Implicit typing: Save implicit type for external procedures

2009-11-16 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-11-16 20:50 --- Intel (#i552365) pointed out the following, which is part of 11.2 Modules of the F2003 spec: If a procedure declared in the scoping unit of a module has an implicit interface, it shall be given the EXTERNAL

[Bug fortran/39997] Procedure(), pointer implicit typing: rejects-valid / accepts-invalid?

2009-11-16 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2009-11-16 20:53 --- PR 41083 seems to be invalid (see quote there). I am not sure which parts remain to be fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39997

[Bug c++/14777] [4.3/4.4/4.5 Regression] typedef doesn't fully expose base class type

2009-11-16 Thread dodji at gcc dot gnu dot org
--- Comment #16 from dodji at gcc dot gnu dot org 2009-11-16 21:35 --- Created an attachment (id=19025) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19025action=view) Fix candidate I am testing this patch ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14777

[Bug c++/42071] New: ICE on trying to use a typedef as a nested class

2009-11-16 Thread sstrasser at systemhaus-gruppe dot de
templateclass T struct A{ typedef int *B; }; templateclass T void AT::B::C(){} test.cpp:6: internal compiler error: in is_ancestor, at cp/name-lookup.c:2292 -- Summary: ICE on trying to use a typedef as a nested class Product: gcc Version: 4.3.2

[Bug c++/29388] [4.3 regression] ICE with invalid nested name specifier

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #16 from paolo dot carlini at oracle dot com 2009-11-16 22:02 --- *** Bug 42071 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/42071] ICE on trying to use a typedef as a nested class

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-11-16 22:02 --- *** This bug has been marked as a duplicate of 29388 *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/14777] [4.3/4.4/4.5 Regression] typedef doesn't fully expose base class type

2009-11-16 Thread dodji at seketeli dot org
--- Comment #17 from dodji at seketeli dot org 2009-11-16 22:13 --- Subject: Re: [4.3/4.4/4.5 Regression] typedef doesn't fully expose base class type Patch sent to http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00813.html --

[Bug fortran/42072] New: [F03] wrong-code with C_F_PROCPOINTER

2009-11-16 Thread janus at gcc dot gnu dot org
The following variant of proc_ptr_8.* fails at runtime: ! { dg-do run } ! { dg-additional-sources proc_ptr_8.c } MODULE X USE ISO_C_BINDING INTERFACE INTEGER(KIND=C_INT) FUNCTION mytype( a ) BIND(C) USE ISO_C_BINDING INTEGER(KIND=C_INT), VALUE :: a END FUNCTION

[Bug fortran/42072] [F03] wrong-code with C_F_PROCPOINTER

2009-11-16 Thread janus at gcc dot gnu dot org
--- Comment #1 from janus at gcc dot gnu dot org 2009-11-16 22:51 --- Side-note on C_F_PROCPOINTER: The manual claims that ... Due to the currently lacking support of procedure pointers in GNU Fortran this function is not fully operable. ... which is a dirty lie. --

[Bug fortran/42072] [F03] wrong-code with C_F_PROCPOINTER

2009-11-16 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-11-16 22:55 --- Proposed fix: Index: gcc/fortran/trans-expr.c === --- gcc/fortran/trans-expr.c(revision 154189) +++ gcc/fortran/trans-expr.c(working copy) @@

[Bug fortran/42072] [F03] wrong-code with C_F_PROCPOINTER

2009-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-16 22:59 --- call setpointer(ptype) is being converted into: setpointer.1481 (); So inside MAIN__ we have: static void setpointer (integer(kind=4) (*T3af) (integer(kind=4))); setpointer (ptype); That is wrong, unless I

[Bug fortran/42072] [F03] wrong-code with C_F_PROCPOINTER

2009-11-16 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-11-16 23:00 --- Wrong buttons :). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/42073] New: Infinite loop when parsing a project file, alpha only

2009-11-16 Thread ludovic at ludovic-brenta dot org
On alpha-linux-gnu, gnatmake enters an infinite loop consuming 100% CPU while parsing this project file: project GNADE_Common_Build is Soversion := External (soversion); type Lib_Type is (static, dynamic); Libtype : Lib_Type := external (LIBTYPE); for Languages use (Ada); --

[Bug c++/13950] [DR176] lookup of dependent base name

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2009-11-16 23:29 --- Subject: Bug 13950 Author: jason Date: Mon Nov 16 23:29:25 2009 New Revision: 154223 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154223 Log: PR c++/13950, DR 176 * search.c (lookup_field_r):

[Bug bootstrap/41399] [4.5 Regression] Internal error compiling fortran/intrinsic.c

2009-11-16 Thread danglin at gcc dot gnu dot org
--- Comment #9 from danglin at gcc dot gnu dot org 2009-11-17 00:19 --- Regarding http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00822.html, the sched1 pass is also a big memory hog. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/42074] New: gcc.dg/torture/builtin-math-7.c failed

2009-11-16 Thread hjl dot tools at gmail dot com
I installed MPC 0.8 on Linux/ia32 and Linux/x86-64. With revision 154212, I got FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test FAIL: gcc.dg/torture/builtin-math-7.c -O2 -fwhopr execution test -- Summary: gcc.dg/torture/builtin-math-7.c failed Product:

[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*

2009-11-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #11 from howarth at nitro dot med dot uc dot edu 2009-11-17 00:37 --- Created an attachment (id=19027) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19027action=view) gdb walk from _Jv_Throw breakpoint -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991

[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*

2009-11-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #12 from howarth at nitro dot med dot uc dot edu 2009-11-17 00:39 --- The attached unwinder_walk.txt is the log of walk of ecj1 when compiling the testme,java test code. This uses r154217 with the patch from comment 3 and with the installed libgcc replaced with a copy

[Bug c++/13950] [DR176] lookup of dependent base name

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2009-11-17 01:34 --- Fixed for 4.5. -- jason at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|---

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-11-16 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-11-17 01:47 --- I'm also seeing this. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug target/41993] [sh] ICE in create_pre_exit, at mode-switching.c:399

2009-11-16 Thread iwamatsu at nigauri dot org
--- Comment #2 from iwamatsu at nigauri dot org 2009-11-17 02:55 --- Hi, Kojima-san. Thank you for your work and patch . I checked this patch. Work fine with gcc-4.3.4 , gcc-4.4.2 and gcc/HEAD. BTW, I guess that __builtin_apply/__builtin_return may be a bit obsolete. If my memory

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-11-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-11-17 03:56 --- On x86_64-apple-darwin10 with MPC 0.8, we are getting... FAIL: gcc.dg/torture/builtin-math-7.c -O0 execution test FAIL: gcc.dg/torture/builtin-math-7.c -O1 execution test FAIL:

[Bug c++/189] [DR176] parse error in qualified member name lookup

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2009-11-17 04:02 --- Heh, wish I had noticed Nathan's patch before reimplementing it. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/189] [DR176] parse error in qualified member name lookup

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #13 from jason at gcc dot gnu dot org 2009-11-17 04:03 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/9937] [DR 176] Base class template name is not injected properly into derived class

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2009-11-17 04:03 --- *** This bug has been marked as a duplicate of 189 *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/189] [DR176] parse error in qualified member name lookup

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #14 from jason at gcc dot gnu dot org 2009-11-17 04:03 --- *** Bug 9937 has been marked as a duplicate of this bug. *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/13950] [DR176] lookup of dependent base name

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-11-17 04:04 --- *** This bug has been marked as a duplicate of 189 *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/189] [DR176] parse error in qualified member name lookup

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #15 from jason at gcc dot gnu dot org 2009-11-17 04:04 --- *** Bug 13950 has been marked as a duplicate of this bug. *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41807] [4.5/4.4 Regression] data statement with nested type constructors

2009-11-16 Thread jvdelisle at gcc dot gnu dot org
--- Comment #14 from jvdelisle at gcc dot gnu dot org 2009-11-17 04:17 --- The offending patch is in 4.4 r148732, r148731 passes the test case. --- branches/gcc-4_4-branch/gcc/fortran/resolve.c 2009/04/03 20:56:54 145519 +++ branches/gcc-4_4-branch/gcc/fortran/resolve.c

[Bug fortran/41807] [4.5/4.4 Regression] data statement with nested type constructors

2009-11-16 Thread jvdelisle at gcc dot gnu dot org
--- Comment #15 from jvdelisle at gcc dot gnu dot org 2009-11-17 04:29 --- I have confirmed on trunk that removing that snippet clears the regression. Looking at gfc_is_constant_expr we see a call to array.c (gfc_constant_ac) which does indeed modify the expr. So we have a bad side

[Bug fortran/41807] [4.5/4.4 Regression] data statement with nested type constructors

2009-11-16 Thread jvdelisle at gcc dot gnu dot org
--- Comment #16 from jvdelisle at gcc dot gnu dot org 2009-11-17 05:35 --- I propose fixing this at gfc_consant_ac which has the following comment: /* Given an array constructor, determine if the constructor is constant or not by expanding it and making sure that all elements

[Bug c++/189] [DR176] parse error in qualified member name lookup

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #16 from jason at gcc dot gnu dot org 2009-11-17 05:58 --- Subject: Bug 189 Author: jason Date: Tue Nov 17 05:58:03 2009 New Revision: 154235 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154235 Log: PR c++/189, c++/9937, c++/13950, DR 176 *

[Bug fortran/41807] [4.5/4.4 Regression] data statement with nested type constructors

2009-11-16 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #17 from sgk at troutmask dot apl dot washington dot edu 2009-11-17 06:03 --- Subject: Re: [4.5/4.4 Regression] data statement with nested type constructors On Tue, Nov 17, 2009 at 05:35:33AM -, jvdelisle at gcc dot gnu dot org wrote: - Comment #16 from jvdelisle

[Bug c++/5786] array types decay too quickly

2009-11-16 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/5786] array types decay too quickly

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2009-11-17 06:05 --- This seems to be fixed for 4.5. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5786

[Bug c++/5786] array types decay too quickly

2009-11-16 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2009-11-17 06:06 --- . -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/42059] [4.4/4.5 Regression] [c++0x] ICE with initializer list for VLA

2009-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-11-17 06:59 --- Subject: Bug 42059 Author: jakub Date: Tue Nov 17 06:59:13 2009 New Revision: 154237 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154237 Log: PR c++/42059 * typeck.c (cp_build_modify_expr):

[Bug c++/42061] [4.4/4.5 Regression] [c++0x] ICE with invalid initializer list for reference

2009-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-11-17 07:01 --- Subject: Bug 42061 Author: jakub Date: Tue Nov 17 07:01:18 2009 New Revision: 154238 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154238 Log: PR c++/42061 * call.c (reference_binding): Return

[Bug c++/42059] [4.4/4.5 Regression] [c++0x] ICE with initializer list for VLA

2009-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-11-17 07:22 --- Subject: Bug 42059 Author: jakub Date: Tue Nov 17 07:21:43 2009 New Revision: 154239 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154239 Log: PR c++/42059 * typeck.c (cp_build_modify_expr):

[Bug c++/42061] [4.4/4.5 Regression] [c++0x] ICE with invalid initializer list for reference

2009-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-11-17 07:27 --- Subject: Bug 42061 Author: jakub Date: Tue Nov 17 07:26:52 2009 New Revision: 154240 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154240 Log: PR c++/42061 * call.c (reference_binding): Return

[Bug c++/42059] [4.4/4.5 Regression] [c++0x] ICE with initializer list for VLA

2009-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-11-17 07:39 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/42061] [4.4/4.5 Regression] [c++0x] ICE with invalid initializer list for reference

2009-11-16 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-11-17 07:40 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/42041] Missing defs in omp_lib.h

2009-11-16 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-11-17 07:56 --- Reopened based on comment 2 to make sure this is/remains on the radar -- burnus at gcc dot gnu dot org changed: What|Removed |Added