[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11

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

[Bug target/34451] Typo in gcc/config/i386.c (ix86_rtx_costs)

2007-12-13 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2007-12-13 08:26 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00576.html -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/34013] callee-save register value sometimes corrupted when __stkchk called

2007-12-13 Thread ktietz at onevision dot com
--- Comment #3 from ktietz at onevision dot com 2007-12-13 08:50 --- I tested this and confirm the problem. I did a regression test of this patch for x86_64-linux and x86_64-mingw32 and it was successful. -- ktietz at onevision dot com changed: What|Removed

[Bug bootstrap/30589] [4.3 regression] C99 extern inline patch broke bootstrap on i386-pc-mingw32

2007-12-13 Thread dannysmith at users dot sourceforge dot net
--- Comment #22 from dannysmith at users dot sourceforge dot net 2007-12-13 08:53 --- (In reply to comment #15) It seems fixincl isn't supported for mingw at all, from what Danny Smith mailed me privately. Sorry for breaking this thread with an inadvertent private mail. For the

[Bug target/34451] Typo in gcc/config/i386.c (ix86_rtx_costs)

2007-12-13 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-12-13 09:26 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug target/34452] New: Multiply-by-constant pessimation

2007-12-13 Thread tege-gcc at swox dot com
The multiply-by-constant optimization work poorly for x86 targets with multiply units with short latency. Try some small values M for a sample program like, long f (long x) { return x * M; } for e.g. the -mtune=k8 subtarget. One gets slow sequences of lea, add, sub, sal. So what's wrong?

[Bug c++/33959] [4.1/4.2/4.3 Regression] ICE in instantiate_class_template, at cp/pt.c:6649

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2007-12-13 10:10 --- Simplified testcase: template typename T struct A { struct C { template typename U struct D {}; }; template typename U friend C::DU operator* (U const ); }; struct E {}; int main () { AE a; E e;

[Bug middle-end/34450] [4.3 Regression] compile takes up 1.8 GB RAM at -O1

2007-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-12-13 10:29 --- I can confirm this. tree FRE : 22.25 (56%) usr 1.35 (60%) sys 23.67 (56%) wall 3202543 kB (92%) ggc fpica() get's very large and complex. We have very many SFTs and one giant SCC (with around

[Bug target/34452] Multiply-by-constant pessimation

2007-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-13 10:31 --- This is related to the patch which Honza posted over a year ago: http://gcc.gnu.org/ml/gcc-patches/2006-01/msg00267.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34452

[Bug c++/33959] [4.1/4.2/4.3 Regression] ICE in instantiate_class_template, at cp/pt.c:6649

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2007-12-13 10:39 --- Or tsubst on types could for TYPE_CLASS_SCOPE_P (t) call complete_type on TYPE_CONTEXT (t). That works for this testcase, but not sure if it would generally. Jason/Mark, ideas? -- jakub at gcc dot gnu dot org

[Bug target/34452] Multiply-by-constant pessimation

2007-12-13 Thread tege-gcc at swox dot com
--- Comment #2 from tege-gcc at swox dot com 2007-12-13 10:52 --- It does make sense to bluff somewhat about the costs of the few 3 operand instructions that we have: lea mul const, regx, regy Exactly what cost to assign is not obvious. I think the nominal cost - epsilon is

[Bug middle-end/34450] [4.3 Regression] compile takes up 1.8 GB RAM at -O1

2007-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-12-13 10:56 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-13 Thread burnus at gcc dot gnu dot org
--- Comment #27 from burnus at gcc dot gnu dot org 2007-12-13 11:01 --- Subject: Bug 34427 Author: burnus Date: Thu Dec 13 11:01:00 2007 New Revision: 130889 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130889 Log: 2007-12-13 Tobias Burnus [EMAIL PROTECTED] PR

[Bug ada/34440] 4.3.0 SVN r130768 Bug box: Assert_Failure einfo.adb:5625

2007-12-13 Thread oliver dot kellogg at eads dot com
--- Comment #3 from oliver dot kellogg at eads dot com 2007-12-13 11:22 --- (gdb) bt #0 __gnat_debug_raise_exception (e=0x8b1498c) at ../../../SOURCES/gcc/gcc/ada/s-except.adb:48 #1 0x080a58d3 in __gnat_raise_nodefer_with_msg (e=0x8b1498c) at

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread r dot emrich at de dot tecosim dot com
--- Comment #18 from r dot emrich at de dot tecosim dot com 2007-12-13 11:58 --- Here the complete linker step. I added the -v -t +vallcompatwarnings command line switches. /usr/ccs/bin/ld -v -L/lib/pa1.1 -L/usr/lib/pa1.1 -z -u main -u __gcc_plt_call -o build/genconstants

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread r dot emrich at de dot tecosim dot com
--- Comment #19 from r dot emrich at de dot tecosim dot com 2007-12-13 12:06 --- /usr/ccs/bin/nm build/rtl.o Symbols from build/rtl.o: NameValue Scope TypeSubspace $$dyncall | |undef |milli | $CODE$ | 0|static|data

[Bug c/34351] Please get us the volatile register warning back

2007-12-13 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2007-12-13 13:03 --- Moreover, the option is defined in common.opt when it is C/C++ specific. Untested patch: Index: gcc/common.opt === --- gcc/common.opt (revision

[Bug middle-end/34450] [4.3 Regression] compile takes up 1.8 GB RAM at -O1

2007-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-12-13 13:05 --- --param max-fields-for-field-sensitive=1 is a workaround available. Patch: http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00583.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34450

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #20 from jakub at gcc dot gnu dot org 2007-12-13 13:06 --- Can you attach rtl.s and ggc-none.s (just add -save-temps when compiling rtl.o and ggc-none.o)? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34003

Assertion `0 == compare_tree_int(((t)-decl.size_unit), ((st)-size))'

2007-12-13 Thread luiceur
PROGRAM Main IMPLICIT NONE ! Variables integer:: i_viv ! integer actual1(1,1,20) ! integer actual2(1000,2000,1000) ! integer actual3(1,1,100) ! integer actual4(1,1,100) ! integer actual5(1,1,100) ! integer

[Bug ada/34446] gnatprep evaluating not operator at incorrect precidence

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #1 from sam at gcc dot gnu dot org 2007-12-13 13:39 --- This is fixed in SVN trunk: ==Error messages for input file: thing.in 1. # if not VAR_TRUE or VAR_TRUE then | mixing not and or is not allowed, parentheses are

[Bug ada/34440] 4.3.0 SVN r130768 Bug box: Assert_Failure einfo.adb:5625

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #4 from sam at gcc dot gnu dot org 2007-12-13 13:41 --- This is now fixed on SVN trunk. -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/34360] typo gcc/ada/Makefile.in for GNU/kFreeBSD

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

[Bug ada/15611] Invalid program not detected, RM 3.7(11)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #4 from sam at gcc dot gnu dot org 2007-12-13 13:57 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added Last

[Bug ada/15614] Illegal program not detected, RM 12.1(11)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 13:58 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added Last

[Bug ada/15798] Bug box in Gigi, code=201, on legal program with tasking

2007-12-13 Thread sam at gcc dot gnu dot org
test_246185__convertGP80__source +===GNAT BUG DETECTED==+ | 4.3.0 20071213 (experimental) (i686-pc-linux-gnu) gimplification failed | | Error detected around test_246185.adb:6 | -- sam at gcc dot gnu dot org changed

[Bug ada/15606] Legal program rejected, RM 8.2(22)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #4 from sam at gcc dot gnu dot org 2007-12-13 13:56 --- Confirmed on gcc version 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/34372] Compiler crash: container and discriminant

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #3 from sam at gcc dot gnu dot org 2007-12-13 13:49 --- This is fixed in SVN trunk. -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/13370] 'constant String' with 'pragma Machine_Attribute' triggers ICE

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #5 from sam at gcc dot gnu dot org 2007-12-13 13:55 --- +===GNAT BUG DETECTED==+ | 4.3.0 20071213 (experimental) (i686-pc-linux-gnu) Storage_Error stack overflow (or erroneous memory access)| | Error detected at system.ads

[Bug ada/15615] Legal program rejected, derived tagged type in child package doesn't see parent's element

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 13:59 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added Last

[Bug ada/15845] Illegal program not detected, circular renames

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:12 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/15846] Illegal program not detected, self renames

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:13 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/16075] Wrong output from legal program, ordered generic parameter association

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:17 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/16076] Illegal program not detected, RM 13.14(5)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:18 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/34450] [4.3 Regression] compile takes up 1.8 GB RAM at -O1

2007-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-12-13 14:22 --- Subject: Bug 34450 Author: rguenth Date: Thu Dec 13 14:22:23 2007 New Revision: 130895 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130895 Log: 2007-12-13 Richard Guenther [EMAIL PROTECTED] PR

[Bug middle-end/34450] [4.3 Regression] compile takes up 1.8 GB RAM at -O1

2007-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2007-12-13 14:27 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/23322] [4.1/4.2/4.3 regression] performance regression, possibly related to caching

2007-12-13 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2007-12-13 14:24 --- c testcase: --cut here-- extern void foo(void); extern double *dpb; double s05m_test(void) { double result = 0.0; int n; for (n = 0; n 2000; ++n) result += dpb[n]; #ifdef FOOBAR foo(); #endif

[Bug ada/16077] Wrong output from legal program, pragma Import (Ada)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:20 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/15915] Illegal program not detected, RM 13.11(15)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:15 --- Confirmed on 4.3.0 20071213. Changing priority to P5 as it is clearly a minor error. -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34453] New: Scope of nested template classes

2007-12-13 Thread rombust at hotmail dot co dot uk
The following test code (stripped down): templatetypename CharType class CLASS_A { public: int value; }; templatetypename CharType class CLASS_B : public CLASS_ACharType { public: int GetValue() { return value; } }; Gives the following error: test.cpp: In member function ‘int

[Bug ada/15844] Illegal program not detected, RM 8.3(8)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:11 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread r dot emrich at de dot tecosim dot com
--- Comment #22 from r dot emrich at de dot tecosim dot com 2007-12-13 14:09 --- Created an attachment (id=14743) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14743action=view) assembler code rtl.s -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34003

[Bug ada/15807] Legal program runs incorrectly, RM 3.10.2(3,29)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:03 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added Last

[Bug ada/15840] Illegal program not detected, RM 3.7(14)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:05 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/15800] Bug box, Storage_Error at system.ads:150:5 on legal program

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #3 from sam at gcc dot gnu dot org 2007-12-13 14:01 --- +===GNAT BUG DETECTED==+ | 4.3.0 20071213 (experimental) (i686-pc-linux-gnu) Storage_Error stack overflow (or erroneous memory access)| | Error detected at system.ads

[Bug ada/15808] Illegal program not detected, RM 3.9.3(10)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:04 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread r dot emrich at de dot tecosim dot com
--- Comment #21 from r dot emrich at de dot tecosim dot com 2007-12-13 14:08 --- Created an attachment (id=14742) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14742action=view) assembler code ggc-none.s -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34003

[Bug target/23322] [4.1/4.2/4.3 regression] performance regression, possibly related to caching

2007-12-13 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2007-12-13 14:10 --- Reduced c++ testcase that is the cause of the runtime difference: --cut here-- #include iostream extern double *dpb; void s05m_test(void) { double result = 0.0; for (int n = 0; n 2000; ++n) result +=

[Bug ada/15843] Illegal program not detected, RM 3.7.2(2)

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #3 from sam at gcc dot gnu dot org 2007-12-13 14:11 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/23322] [4.1/4.2/4.3 regression] performance regression, possibly related to caching

2007-12-13 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2007-12-13 14:12 --- BTW: .p2align are removed manually from the first case for clarity, I have just forgot to remove them in second case before posting. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23322

[Bug ada/15917] Bug box in Gigi, code=103, on legal program

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #3 from sam at gcc dot gnu dot org 2007-12-13 14:16 --- +===GNAT BUG DETECTED==+ | 4.3.0 20071213 (experimental) (i686-pc-linux-gnu) GCC error: | | in gnat_to_gnu_entity, at ada/decl.c:491

[Bug ada/16078] Legal program rejected, visible declaration not seen

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 14:21 --- Confirmed on 4.3.0 20071213 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/23322] [4.1/4.2/4.3 regression] performance regression, possibly related to caching

2007-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2007-12-13 14:36 --- This is still a register allocation problem. We somehow prefer xmm0 which is call clobbered and causes reloads inside the loop. Micha? :) -- rguenth at gcc dot gnu dot org changed: What

[Bug target/34281] [4.3 Regression] ARM: varargs broken with 64bit parameters.

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-12-13 14:38 --- Not sure this should count as a regression, since in 3.4 this was using different ABI. If you compile with -mabi=atpcs which matches 3.4, it will work even in 4.3. Anyway, I think: --- gcc/config/arm/arm.c.jj

[Bug target/23322] [4.1/4.2/4.3 regression] performance regression, possibly related to caching

2007-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2007-12-13 14:54 --- Does yara address this somehow? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/23322] [4.1/4.2/4.3 regression] performance regression, possibly related to caching

2007-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2007-12-13 15:00 --- Works with 2.95.4, fails at least starting with 3.3.6 (-m32). Also happens on x86_64, but there it's not a regression. Happens on all targets that have only call-clobbered registers that can hold 'result'. --

[Bug target/23322] [4.1/4.2/4.3 regression] performance regression, possibly related to caching

2007-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2007-12-13 14:43 --- I guess if we would split the life-range of (reg:DF 64 [result]) to not extend over the call, global wouldn't reload all of its uses. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23322

[Bug c++/34453] Scope of nested template classes

2007-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-12-13 15:19 --- You have to explicitly mark value as a dependent type to defer name-lookup to the second stage. Either qualify as you did or use 'this-value'. -- rguenth at gcc dot gnu dot org changed: What

[Bug ada/34360] typo gcc/ada/Makefile.in for GNU/kFreeBSD

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-13 15:15 --- Subject: Bug 34360 Author: sam Date: Thu Dec 13 15:14:54 2007 New Revision: 130896 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130896 Log: gcc/ada/ PR ada/34360 * Makefile.in: Change two

[Bug ada/34360] typo gcc/ada/Makefile.in for GNU/kFreeBSD

2007-12-13 Thread sam at gcc dot gnu dot org
--- Comment #1 from sam at gcc dot gnu dot org 2007-12-13 15:15 --- This is now fixed in SVN trunk. -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/23322] [4.1/4.2/4.3 regression] performance regression: global regalloc doesn't split live ranges

2007-12-13 Thread ubizjak at gmail dot com
--- Comment #16 from ubizjak at gmail dot com 2007-12-13 15:41 --- Just for fun, I have marked xmm12 - xmm15 as call-used for x86_64 and allocator did the semi-right thing by using xmm12 for 'result'. -- ubizjak at gmail dot com changed: What|Removed

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #23 from jakub at gcc dot gnu dot org 2007-12-13 16:53 --- rtl.s has .CALL ARGW0=GR bl ggc_free,%r2 nop in VEC_rtx_gc_free, but no corresponding .IMPORT ggc_free, CODE directive. Could you please also attach rtl.i and exact set of options which were

[Bug libstdc++/34449] use_facetxxx_byname(locale::classic()) returns true

2007-12-13 Thread bkoz at gcc dot gnu dot org
--- Comment #2 from bkoz at gcc dot gnu dot org 2007-12-13 16:54 --- This and 3012 in progress.. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/33831] [4.3 Regression] Revision 129442 breaks libstc++ API

2007-12-13 Thread bkoz at gcc dot gnu dot org
--- Comment #10 from bkoz at gcc dot gnu dot org 2007-12-13 17:13 --- I am unaware of a reversion request. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33831

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #26 from dave at hiauly1 dot hia dot nrc dot ca 2007-12-13 17:23 --- Subject: Re: [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free rtl.s has .CALL ARGW0=GR bl ggc_free,%r2 nop in VEC_rtx_gc_free, but no

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #27 from jakub at gcc dot gnu dot org 2007-12-13 17:34 --- First of all I wonder what's the point of the PA ASM_OUTPUT_EXTERNAL_REAL vs. ASM_OUTPUT_EXTERNAL hacks. The middle-end already does the deferring itself, see

[Bug libfortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-13 Thread hjl at lucon dot org
--- Comment #29 from hjl at lucon dot org 2007-12-13 17:16 --- (In reply to comment #28) Could someone confirm that gfortran (with no reverted patches) now works again with 481.wrf or with SPEC in general? I am running SPEC CPU 2000/2006 now. I will report results when they are

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread r dot emrich at de dot tecosim dot com
--- Comment #24 from r dot emrich at de dot tecosim dot com 2007-12-13 17:01 --- Created an attachment (id=14744) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14744action=view) preprocessed source gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings

[Bug libfortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-13 Thread burnus at gcc dot gnu dot org
--- Comment #28 from burnus at gcc dot gnu dot org 2007-12-13 17:10 --- Could someone confirm that gfortran (with no reverted patches) now works again with 481.wrf or with SPEC in general? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34427

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #25 from jakub at gcc dot gnu dot org 2007-12-13 17:18 --- Ok, got it, minimal testcase is: extern void foo (void); int bar (void) { foo (); return 1; } extern void foo (void); with -fno-unit-at-a-time there is no .IMPORT directive for foo (removing the prototype after use

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #28 from jakub at gcc dot gnu dot org 2007-12-13 17:53 --- Created an attachment (id=14745) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14745action=view) gcc43-pr34003.patch Indeed, removing that second deferral cures this. --

[Bug ada/15805] Illegal program not detected, allows writing through access to constant

2007-12-13 Thread charlet at gcc dot gnu dot org
--- Comment #4 from charlet at gcc dot gnu dot org 2007-12-13 17:59 --- Subject: Bug 15805 Author: charlet Date: Thu Dec 13 17:59:09 2007 New Revision: 130903 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130903 Log: Restore part of patch lost for PR ada/15805: *

[Bug target/34435] [4.3 Regression] SSE2 intrinsics - emmintrin with optimisations off and type conversion error

2007-12-13 Thread uros at gcc dot gnu dot org
--- Comment #3 from uros at gcc dot gnu dot org 2007-12-13 18:19 --- Subject: Bug 34435 Author: uros Date: Thu Dec 13 18:19:38 2007 New Revision: 130904 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130904 Log: PR target/34435 * config/i386/emmintrin.h

[Bug target/34435] [4.3 Regression] SSE2 intrinsics - emmintrin with optimisations off and type conversion error

2007-12-13 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2007-12-13 18:20 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #29 from dave at hiauly1 dot hia dot nrc dot ca 2007-12-13 18:54 --- Subject: Re: [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free First of all I wonder what's the point of the PA ASM_OUTPUT_EXTERNAL_REAL vs. ASM_OUTPUT_EXTERNAL

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #30 from jakub at gcc dot gnu dot org 2007-12-13 18:58 --- If PA wants to keep the guards (!TREE_ASM_WRITTEN SYMBOL_REF_REFERENCED_P ()), it can, but that surely can be done in ASM_OUTPUT_EXTERNAL too, doesn't need any deferral. In that case this will be broken again.

[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #37 from jakub at gcc dot gnu dot org 2007-12-13 19:05 --- Subject: Bug 32636 Author: jakub Date: Thu Dec 13 19:05:37 2007 New Revision: 130907 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130907 Log: PR rtl-optimization/32636 * df-scan.c

[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #38 from jakub at gcc dot gnu dot org 2007-12-13 19:07 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/29651] Subroutine: Kind convertion of intent(out) value: signal

2007-12-13 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2007-12-13 19:13 --- Completely lost track due to real life interference. If anyone wants to pick up the patch, be my guest. Unassigning myself for now. -- dfranke at gcc dot gnu dot org changed: What|Removed

[Bug fortran/28484] system_clock with real-type count_rate does not compile

2007-12-13 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2007-12-13 19:14 --- (In reply to comment #9) Any news on this ? Bad ones. Lost track due to real-life interference. Unassigning myself for now. -- dfranke at gcc dot gnu dot org changed: What|Removed

[Bug fortran/34324] Module files on CRLF systems

2007-12-13 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-12-13 19:16 --- Confirmed. Regtesting patch. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/34144] [4.3 Regression] Revision 130005 causes bootstrap failure with --disable-checking

2007-12-13 Thread daney at gcc dot gnu dot org
--- Comment #11 from daney at gcc dot gnu dot org 2007-12-13 19:19 --- Subject: Bug 34144 Author: daney Date: Thu Dec 13 19:19:17 2007 New Revision: 130908 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130908 Log: 2007-12-13 Andrew Pinski [EMAIL PROTECTED] David

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #31 from dave at hiauly1 dot hia dot nrc dot ca 2007-12-13 19:19 --- Subject: Re: [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free If PA wants to keep the guards (!TREE_ASM_WRITTEN SYMBOL_REF_REFERENCED_P ()), it can, but that

[Bug bootstrap/34144] [4.3 Regression] Revision 130005 causes bootstrap failure with --disable-checking

2007-12-13 Thread daney at gcc dot gnu dot org
--- Comment #12 from daney at gcc dot gnu dot org 2007-12-13 19:32 --- Fixed by the patch. -- daney at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/34454] New: [4.3 regression] Overflow check is optimized away when -O2 is enabled

2007-12-13 Thread ismail at pardus dot org dot tr
Testcase : #include sys/types.h #include stdio.h void foo(ssize_t x) { if (x = 0) { if (x+x 0) printf(Overflow\n); } } main() { volatile ssize_t x =2147483647; foo(x); } When compiled with -O2 it doesn't print Overflow, if you omit -O2 it prints overflow. gcc 3.4.6 works fine so this

[Bug libfortran/34370] file positioning after nonadvancing i/o

2007-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-12-13 19:35 --- Subject: Bug 34370 Author: tkoenig Date: Thu Dec 13 19:35:09 2007 New Revision: 130912 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130912 Log: 2007-12-13 Thomas Koenig [EMAIL PROTECTED] PR

[Bug libfortran/34405] unformatted stream prohibits BACKSPACE

2007-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-12-13 19:35 --- Subject: Bug 34405 Author: tkoenig Date: Thu Dec 13 19:35:09 2007 New Revision: 130912 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130912 Log: 2007-12-13 Thomas Koenig [EMAIL PROTECTED] PR

[Bug libfortran/34323] formatted stream ignores advance=no

2007-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2007-12-13 19:35 --- Subject: Bug 34323 Author: tkoenig Date: Thu Dec 13 19:35:09 2007 New Revision: 130912 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130912 Log: 2007-12-13 Thomas Koenig [EMAIL PROTECTED] PR

[Bug middle-end/34454] [4.3 regression] Overflow check is optimized away when -O2 is enabled

2007-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-13 19:36 --- This is not a bug, signed overflow is undefined so optimizing away this case is correct as a positive + positive is always positive. Use -fwarpv or what ever the strict overflow option is. -- pinskia at gcc dot

[Bug middle-end/34454] [4.3 regression] Overflow check is optimized away when -O2 is enabled

2007-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-12-13 19:37 --- Or use unsigned types to do the addition. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34454

[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free

2007-12-13 Thread jakub at gcc dot gnu dot org
--- Comment #32 from jakub at gcc dot gnu dot org 2007-12-13 19:37 --- I have a patch to fix c-decl.c and pa_encode_section_info which together fixes this bug. I'll prepare a testcase and submit. The removal of the unnecessary deferral can be postponed for later. --

[Bug libfortran/34370] file positioning after nonadvancing i/o

2007-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2007-12-13 19:37 --- Fixed on trunk. Closing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34370

[Bug middle-end/34454] [4.3 regression] Overflow check is optimized away when -O2 is enabled

2007-12-13 Thread ismail at pardus dot org dot tr
--- Comment #3 from ismail at pardus dot org dot tr 2007-12-13 19:37 --- FWIW this triggers a crash in Python 2.5, see http://bugs.python.org/issue1608 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34454

[Bug libfortran/34370] file positioning after nonadvancing i/o

2007-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2007-12-13 19:38 --- Fixed on trunk. Closing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34370

[Bug libfortran/34370] file positioning after nonadvancing i/o

2007-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2007-12-13 19:39 --- Actually closing *sigh* -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/34323] formatted stream ignores advance=no

2007-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-12-13 19:40 --- Fixed on trunk. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/34405] unformatted stream prohibits BACKSPACE

2007-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2007-12-13 19:41 --- Fixed on trunk. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/34455] New: Request warning for casts to _Bool

2007-12-13 Thread hpa at zytor dot com
I recently finished converting a large codebase from using int to using bool (i.e. _Bool) for booleans. This is a big win for debuggability. However, unfortunately the code has to be portable to inferior compilers which don't have _Bool implemented yet; for those we use: typedef enum { false,

[Bug c/34455] Request warning for casts to _Bool

2007-12-13 Thread hpa at zytor dot com
--- Comment #1 from hpa at zytor dot com 2007-12-13 19:56 --- Created an attachment (id=14746) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14746action=view) Proposed test cases -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34455

[Bug java/34426] GCC 4.2.2 compile failed in java due to error in java class

2007-12-13 Thread william-paul dot philibert at telus dot com
--- Comment #3 from william-paul dot philibert at telus dot com 2007-12-13 20:05 --- I installed the latest version of the following : binutils 2.17 bison 2.3 gmp 4.2 libiconv 1.11 m4 1.4.9 mpfr 2.3.0 I correctly set the CONFIG_SHELL to /bin/ksh When I use Sun as and Sun ld I get

  1   2   >