[Bug rtl-optimization/24460] [4.1 regression] Profiled bootstrap broken

2005-10-26 Thread cvs-commit at gcc dot gnu dot org


--- Comment #9 from cvs-commit at gcc dot gnu dot org  2005-10-26 07:03 
---
Subject: Bug 24460

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-26 07:03:32

Modified files:
gcc: ChangeLog bb-reorder.c dwarf2out.c output.h 
 varasm.c 

Log message:
PR rtl-optimization/24460
* dwarf2out.c (have_switched_text_sections): New boolean variable.
(dwarf2out_switch_text_section): Set it to true instead of
incrementing separate_line_info_table_in_use.
(output_loc_list): Additionally test have_switched_text_sections.
(output_ranges): Likewise.
(dwarf2out_finish): Likewise.
* varasm.c (assemble_start_function): Do not call
insert_section_boundary_note.
(assemble_end_function): If flag_reorder_blocks_and_partition,
switch to the function's section before emitting the .size directive.
* bb-reorder.c (insert_section_boundary_note): Staticify.
(rest_of_handle_reorder_blocks): Call insert_section_boundary_note.
* output.h (insert_section_boundary_note): Delete.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10214r2=2.10215
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/bb-reorder.c.diff?cvsroot=gccr1=1.115r2=1.116
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gccr1=1.615r2=1.616
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/output.h.diff?cvsroot=gccr1=1.161r2=1.162
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/varasm.c.diff?cvsroot=gccr1=1.534r2=1.535


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24460



[Bug c++/24512] [gomp] Bogus error message about redeclared variables

2005-10-26 Thread cvs-commit at gcc dot gnu dot org


--- Comment #1 from cvs-commit at gcc dot gnu dot org  2005-10-26 09:20 
---
Subject: Bug 24512

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gomp-20050608-branch
Changes by: [EMAIL PROTECTED]   2005-10-26 09:20:37

Modified files:
gcc: ChangeLog.gomp c-common.h c-omp.c c-parser.c 
gcc/cp : ChangeLog.gomp 
gcc/testsuite  : ChangeLog.gomp 
gcc/cp : semantics.c parser.c cp-tree.h pt.c 
Added files:
gcc/testsuite/g++.dg/gomp: for-15.C 

Log message:
PR c++/24512
* c-common.h (c_finish_omp_for): Add PRE_BODY argument.
* c-omp.c (c_finish_omp_for): Likewise.  Set OMP_FOR_PRE_BODY
to that argument.
* c-parser.c (c_parser_omp_for_loop): Adjust c_finish_omp_for
caller.
cp/
* cp-tree.h (finish_omp_for): Add PRE_BODY argument.
* semantics.c (finish_omp_for): Likewise.  Set OMP_FOR_PRE_BODY
to PRE_BODY if deferring, add it into the current statement list
if not processing template decl or pass it to c_finish_omp_for.
* parser.c (cp_parser_omp_for_loop): Expand optional DECL_EXPRs
into PRE_BODY statement list.  Pass it to finish_omp_for.
* pt.c (tsubst_expr) case OMP_FOR: tsubst_expr also OMP_FOR_PRE_BODY
into PRE_BODY stmt list, pass it to finish_omp_for.  Put all the
statements into sk_omp scope.
testsuite/
* g++.dg/gomp/for-15.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.6.107r2=1.1.6.108
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.294.4.15r2=1.294.4.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-omp.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.2.15r2=1.1.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parser.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=2.17.4.38r2=2.17.4.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.8.25r2=1.1.8.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.2.47r2=1.1.2.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.475.4.21r2=1.475.4.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.340.4.22r2=1.340.4.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1144.4.18r2=1.1144.4.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1005.4.11r2=1.1005.4.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/for-15.C.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24512



[Bug fortran/15586] gfortran should support i18n in its compiler messages

2005-10-26 Thread cvs-commit at gcc dot gnu dot org


--- Comment #11 from cvs-commit at gcc dot gnu dot org  2005-10-26 11:02 
---
Subject: Bug 15586

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-26 11:02:00

Modified files:
gcc/fortran: ChangeLog resolve.c 

Log message:
PR fortran/15586
* resolve.c (resolve_symbol): Remove the use of whynot, so that
error messages are not built from pieces.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.601r2=1.602
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gccr1=1.65r2=1.66


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586



[Bug fortran/21625] [4.0 only] Nested derived type pointer component not initialized on ALLOCATE

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #12 from cvs-commit at gcc dot gnu dot org  2005-10-25 08:04 
---
Subject: Bug 21625

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-25 08:04:09

Modified files:
gcc/fortran: ChangeLog trans-array.c trans-array.h 
 trans-expr.c trans-intrinsic.c trans-types.c 

Log message:
fortran/
2005-10-25  Richard Henderson  [EMAIL PROTECTED]

PR fortran/21625
* trans-array.c (gfc_conv_descriptor_data_get): Rename from
gfc_conv_descriptor_data.  Cast the result to the DATAPTR type.
(gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr): New.
(gfc_trans_allocate_array_storage): Use them.
(gfc_array_allocate, gfc_array_deallocate): Likewise.
(gfc_trans_dummy_array_bias, gfc_conv_expr_descriptor): Likewise.
(gfc_trans_deferred_array): Likewise.
* trans-expr.c (gfc_conv_function_call): Likewise.
(gfc_trans_subcomponent_assign): Likewise.
(gfc_trans_pointer_assignment): Likewise.
* trans-intrinsic.c (gfc_conv_allocated): Likewise.
* trans-types.c (gfc_array_descriptor_base): New.
(gfc_get_element_type): Use GFC_TYPE_ARRAY_DATAPTR_TYPE.
(gfc_get_array_descriptor_base): Break out from ...
(gfc_get_array_type_bounds): ... here.  Create type variants.
* trans-array.h (gfc_conv_descriptor_data_get): Declare.
(gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr): Declare.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.140r2=1.335.2.141
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.39.2.8r2=1.39.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.7.18.2r2=1.7.18.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.38.2.10r2=1.38.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-intrinsic.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.43.10.6r2=1.43.10.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-types.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.37.10.8r2=1.37.10.9


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21625



[Bug fortran/22290] Optimize Assigned GOTO to cause error with -O1 or higher

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #11 from cvs-commit at gcc dot gnu dot org  2005-10-25 13:44 
---
Subject: Bug 22290

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-25 13:44:46

Modified files:
gcc/testsuite  : ChangeLog 
gcc/fortran: ChangeLog trans-decl.c trans-stmt.c 
Added files:
gcc/testsuite/gfortran.dg: assign_5.f90 assign_6.f 

Log message:
2005-10-25  Feng Wang  [EMAIL PROTECTED]

PR fortran/22290
* trans-decl.c (gfc_add_assign_aux_vars): New function. Add two
auxiliary variables.
(gfc_get_symbol_decl): Use it when a variable, including dummy
argument, is assigned a label.
(gfc_trans_assign_aux_var): New function. Set initial value of
the auxiliary variable explicitly.
(gfc_trans_deferred_vars): Use it.
* trans-stmt.c (gfc_conv_label_variable): Handle dummy argument.

2005-10-25  Feng Wang  [EMAIL PROTECTED]

PR fortran/22290
* gfortran.dg/assign_5.f90: New test.
* gfortran.dg/assign_6.f: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.488r2=1.5084.2.489
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assign_5.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assign_6.f.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.141r2=1.335.2.142
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-decl.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.54.2.6r2=1.54.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-stmt.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.24.6.10r2=1.24.6.11


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22290



[Bug fortran/22290] Optimize Assigned GOTO to cause error with -O1 or higher

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #12 from cvs-commit at gcc dot gnu dot org  2005-10-25 14:06 
---
Subject: Bug 22290

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]2005-10-25 14:06:23

Modified files:
gcc/testsuite  : ChangeLog 
gcc/fortran: ChangeLog trans-decl.c trans-stmt.c 
Added files:
gcc/testsuite/gfortran.dg: assign_5.f90 assign_6.f 

Log message:
2005-10-25  Feng Wang  [EMAIL PROTECTED]

PR fortran/22290
* trans-decl.c (gfc_add_assign_aux_vars): New function. Add two
auxiliary variables.
(gfc_get_symbol_decl): Use it when a variable, including dummy
argument, is assigned a label.
(gfc_trans_assign_aux_var): New function. Set initial value of
the auxiliary variable explicitly.
(gfc_trans_deferred_vars): Use it.
* trans-stmt.c (gfc_conv_label_variable): Handle dummy argument.

2005-10-25  Feng Wang  [EMAIL PROTECTED]

PR fortran/22290
* gfortran.dg/assign_5.f90: New test.
* gfortran.dg/assign_6.f: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6250r2=1.6251
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assign_5.f90.diff?cvsroot=gccr1=1.1r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assign_6.f.diff?cvsroot=gccr1=1.1r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.598r2=1.599
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-decl.c.diff?cvsroot=gccr1=1.72r2=1.73
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-stmt.c.diff?cvsroot=gccr1=1.42r2=1.43


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22290



[Bug preprocessor/15067] [3.4/4.0 Regression] Minor glitch in the source of cpp.

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #6 from cvs-commit at gcc dot gnu dot org  2005-10-25 15:05 
---
Subject: Bug 15067

CVSROOT:/cvs/gcc
Module name:gcc
Branch: csl-arm-branch
Changes by: [EMAIL PROTECTED]  2005-10-25 15:05:37

Modified files:
gcc: ChangeLog ChangeLog.csl-arm cppinit.c 

Log message:
2005-10-25  Paul Brook  [EMAIL PROTECTED]

Backport form gcc-3_4-branch
2004-04-22  Per Bothner  [EMAIL PROTECTED]
* cppinit.c (cpp_read_main_file):  Return NULL rather than false.
Fixes PR preprocessor/15067.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=csl-arm-branchr1=2.1568.2.99r2=2.1568.2.100
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.csl-arm.diff?cvsroot=gcconly_with_tag=csl-arm-branchr1=1.1.2.150r2=1.1.2.151
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppinit.c.diff?cvsroot=gcconly_with_tag=csl-arm-branchr1=1.296.4.4r2=1.296.4.5


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15067



[Bug middle-end/24295] [4.1 Regression] Xorg broken, #pragma weak foo = bar no longer causes bar to be referenced

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #22 from cvs-commit at gcc dot gnu dot org  2005-10-25 18:59 
---
Subject: Bug 24295

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-25 18:59:21

Modified files:
gcc/testsuite  : ChangeLog 
gcc/testsuite/g++.old-deja/g++.abi: vtable2.C 

Log message:
PR middle-end/24295, PR testsuite/24477
* g++.old-deja/g++.abi/vtable2.C: Require alias for now.  Will be
removed when weakref hits the tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6252r2=1.6253
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.abi/vtable2.C.diff?cvsroot=gccr1=1.8r2=1.9


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24295



[Bug testsuite/24477] [4.1 Regression] g++.old-deja/g++.abi/vtable2.C (test for excess errors) fails

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #2 from cvs-commit at gcc dot gnu dot org  2005-10-25 18:59 
---
Subject: Bug 24477

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-25 18:59:21

Modified files:
gcc/testsuite  : ChangeLog 
gcc/testsuite/g++.old-deja/g++.abi: vtable2.C 

Log message:
PR middle-end/24295, PR testsuite/24477
* g++.old-deja/g++.abi/vtable2.C: Require alias for now.  Will be
removed when weakref hits the tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6252r2=1.6253
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.abi/vtable2.C.diff?cvsroot=gccr1=1.8r2=1.9


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24477



[Bug middle-end/17886] variable rotate and long long rotate should be better optimized

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #22 from cvs-commit at gcc dot gnu dot org  2005-10-25 21:38 
---
Subject: Bug 17886

CVSROOT:/cvs/gcc
Module name:gcc
Branch: apple-local-200502-branch
Changes by: [EMAIL PROTECTED]2005-10-25 21:38:27

Modified files:
gcc: ChangeLog.apple-ppc expmed.c optabs.c 
gcc/config/i386: i386.md 

Log message:
2005-10-25  Eric Christopher  [EMAIL PROTECTED]

Import from mainline:
2005-09-28  Mark Mitchell  [EMAIL PROTECTED]

PR 17886
* expmed.c (expand_shift): Move logic to reverse rotation
direction when rotating by constants ...
* optabs.c (expand_binop):  ... here.
* config/i386/i386.md (rotrdi3): Handle 32-bit mode.
(ix86_rotrdi3): New pattern.
(rotldi3): Handle 32-bit mode.
(ix86_rotldi3): New pattern.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.apple-ppc.diff?cvsroot=gcconly_with_tag=apple-local-200502-branchr1=1.1.4.200r2=1.1.4.201
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expmed.c.diff?cvsroot=gcconly_with_tag=apple-local-200502-branchr1=1.223.2.2r2=1.223.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/optabs.c.diff?cvsroot=gcconly_with_tag=apple-local-200502-branchr1=1.260r2=1.260.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcconly_with_tag=apple-local-200502-branchr1=1.618.2.10r2=1.618.2.11


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17886



[Bug c++/24513] [gomp] Parsing problems with OpenMP directives inside member functions

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-25 21:40 
---
Subject: Bug 24513

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gomp-20050608-branch
Changes by: [EMAIL PROTECTED]   2005-10-25 21:39:57

Modified files:
gcc/cp : ChangeLog.gomp 
gcc/testsuite  : ChangeLog.gomp 
gcc/cp : parser.c 
Added files:
gcc/testsuite/g++.dg/gomp: method-1.C 

Log message:
PR c++/24513
* parser.c (cp_parser_cache_group): Don't stop if next token
is CPP_PRAGMA_EOL and end is CPP_PRAGMA_EOL as well.  If current
token is CPP_PRAGMA, consume everything until CPP_PRAGMA_EOL
inclusive.

* g++.dg/gomp/method-1.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.8.23r2=1.1.8.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.2.45r2=1.1.2.46
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.340.4.20r2=1.340.4.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/method-1.C.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24513



[Bug c++/24516] [gomp] Incorrect error for break statement in OpenMP loop

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #1 from cvs-commit at gcc dot gnu dot org  2005-10-25 21:42 
---
Subject: Bug 24516

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gomp-20050608-branch
Changes by: [EMAIL PROTECTED]   2005-10-25 21:42:21

Modified files:
gcc/cp : ChangeLog.gomp 
gcc/testsuite  : ChangeLog.gomp 
gcc/cp : parser.c 
Added files:
gcc/testsuite/gcc.dg/gomp: block-11.c 
gcc/testsuite/g++.dg/gomp: block-11.C 

Log message:
PR c++/24516
* parser.c (struct cp_parser): Rename in_iteration_statement
field to in_statement.
(IN_SWITCH_STMT, IN_ITERATION_STMT): Define.
(IN_OMP_BLOCK, IN_OMP_FOR): Change values.
(cp_parser_new, cp_parser_begin_omp_structured_block,
cp_parser_end_omp_structured_block, cp_parser_omp_for_loop): Adjust
for in_iteration_statement renaming.
(cp_parser_selection_statement): Save parser-in_iteration, or it
temporarily with IN_SWITCH_STMT for the
cp_parser_implicitly_scoped_statement call.
(cp_parser_iteration_statement): Adjust for in_iteration_statement
renaming.  Use IN_ITERATION_STMT rather than true.
(cp_parser_jump_statement): Adjust for in_iteration_statement
renaming and new values.  Don't error on break in a switch statement
within OMP_FOR or OpenMP structured block.

* gcc.dg/gomp/block-11.c: New test.
* g++.dg/gomp/block-11.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.8.24r2=1.1.8.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.2.46r2=1.1.2.47
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.340.4.21r2=1.340.4.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/gomp/block-11.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/block-11.C.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24516



[Bug c/23103] [4.0/4.1 Regression] gcc_diag does not work with -combine

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #6 from cvs-commit at gcc dot gnu dot org  2005-10-26 02:15 
---
Subject: Bug 23103

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-10-26 02:15:03

Modified files:
gcc: ChangeLog c-format.c 

Log message:
2005-10-24  Andrew Pinski  [EMAIL PROTECTED]

PR c/23103
* c-format.c (check_format_types): Use lang_hooks.types_compatible_p
instead of pointer equality when comparing types.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10213r2=2.10214
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-format.c.diff?cvsroot=gccr1=1.84r2=1.85


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23103



[Bug c/23103] [4.0/4.1 Regression] gcc_diag does not work with -combine

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-26 02:20 
---
Subject: Bug 23103

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-10-26 02:20:43

Modified files:
gcc: ChangeLog c-format.c 

Log message:
2005-10-24  Andrew Pinski  [EMAIL PROTECTED]

PR c/23103
* c-format.c (check_format_types): Use
lang_hooks.types_compatible_p
instead of pointer equality when comparing types.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=2.7592.2.477r2=2.7592.2.478
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-format.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.68.16.1r2=1.68.16.2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23103



[Bug fortran/24158] ICE in f951 with nested, recursive derived types

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-26 05:20 
---
Subject: Bug 24158

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-26 05:20:23

Modified files:
gcc/fortran: decl.c resolve.c ChangeLog 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: derived_recursion.f90 
   implicit_actual.f90 

Log message:
2005-10-26  Paul Thomas  [EMAIL PROTECTED]

PR fortran/24158
* decl.c (gfc_match_data_decl): Correct broken bit of code
that prevents undefined derived types from being used as
components of another derived type.
* resolve.c (resolve_symbol): Add backstop error when derived
type variables arrive here with a type that has no components.

2005-10-26  Paul Thomas  [EMAIL PROTECTED]

PR fortran/24158
gfortran.dg/derived_recursion.f90: New test.
gfortran.dg/implicit_actual.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gccr1=1.49r2=1.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gccr1=1.64r2=1.65
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.600r2=1.601
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/derived_recursion.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/implicit_actual.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6253r2=1.6254


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24158



[Bug fortran/24158] ICE in f951 with nested, recursive derived types

2005-10-25 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-26 05:36 
---
Subject: Bug 24158

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-26 05:36:31

Modified files:
gcc/fortran: decl.c resolve.c ChangeLog 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: derived_recursion.f90 
   implicit_actual.f90 

Log message:
2005-10-26  Paul Thomas  [EMAIL PROTECTED]

PR fortran/24158
* decl.c (gfc_match_data_decl): Correct broken bit of code
that prevents undefined derived types from being used as
components of another derived type.
* resolve.c (resolve_symbol): Add backstop error when derived
type variables arrive here with a type that has no components.

2005-10-26  Paul Thomas  [EMAIL PROTECTED]

PR fortran/24158
gfortran.dg/derived_recursion.f90: New test.
gfortran.dg/implicit_actual.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.31.2.7r2=1.31.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.34.2.23r2=1.34.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.142r2=1.335.2.143
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/derived_recursion.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/implicit_actual.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.489r2=1.5084.2.490


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24158



[Bug fortran/24493] [GOMP] Parsing problem after THREADPRIVATE-statement

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #1 from cvs-commit at gcc dot gnu dot org  2005-10-24 09:11 
---
Subject: Bug 24493

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gomp-20050608-branch
Changes by: [EMAIL PROTECTED]   2005-10-24 09:11:47

Modified files:
gcc/fortran: ChangeLog.gomp 
gcc/testsuite  : ChangeLog.gomp 
gcc/fortran: scanner.c 
Added files:
gcc/testsuite/gfortran.dg/gomp: free-1.f90 fixed-1.f 

Log message:
PR fortran/24493
* scanner.c (skip_free_comments): Set at_bol at the beginning of the
loop, not before it.
(skip_fixed_comments): Handle ! comments in the middle of line here
as well.
(gfc_skip_comments): Use skip_fixed_comments for FIXED_FORM even if
not at BOL.
(gfc_next_char_literal): Fix expected canonicalized *$omp string.

* gfortran.dg/gomp/fixed-1.f: New test.
* gfortran.dg/gomp/free-1.f: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.2.29r2=1.1.2.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.2.44r2=1.1.2.45
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/scanner.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.18.4.5r2=1.18.4.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/gomp/free-1.f90.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/gomp/fixed-1.f.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24493



[Bug fortran/15586] gfortran should support i18n in its compiler messages

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #10 from cvs-commit at gcc dot gnu dot org  2005-10-24 09:11 
---
Subject: Bug 15586

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-24 09:11:52

Modified files:
gcc/fortran: ChangeLog arith.c check.c decl.c parse.c 
 parse.h 

Log message:
PR fortran/15586
* arith.c (gfc_arith_error): Change message to include locus.
(check_result, eval_intrinsic, gfc_int2int, gfc_real2real,
gfc_real2complex, gfc_complex2real, gfc_complex2complex): Use
the new gfc_arith_error.
(arith_error): Rewrite full error messages instead of building
them from pieces.
* check.c (must_be): Removed.
(type_check, numeric_check, int_or_real_check, real_or_complex_check,
kind_check, double_check, logical_array_check, array_check,
scalar_check, same_type_check, rank_check, kind_value_check,
variable_check, gfc_check_allocated, gfc_check_associated,
gfc_check_cmplx, gfc_check_dcmplx, gfc_check_dot_product,
gfc_check_index, gfc_check_kind, gfc_check_matmul, gfc_check_null,
gfc_check_pack, gfc_check_precision, gfc_check_present,
gfc_check_spread): Rewrite full error messages instead of
building them from pieces.
* decl.c (gfc_match_entry): Rewrite full error messages instead
of building them from pieces.
* parse.c (gfc_state_name): Remove.
* parse.h: Remove prototype for gfc_state_name.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.595r2=1.596
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/arith.c.diff?cvsroot=gccr1=1.31r2=1.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/check.c.diff?cvsroot=gccr1=1.35r2=1.36
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gccr1=1.45r2=1.46
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/parse.c.diff?cvsroot=gccr1=1.32r2=1.33
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/parse.h.diff?cvsroot=gccr1=1.7r2=1.8


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586



[Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-24 12:55 
---
Subject: Bug 24107

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-24 12:55:37

Modified files:
gcc/testsuite  : ChangeLog 
gcc/testsuite/gcc.dg: 20050922-1.c 

Log message:
2005-10-24  Paul Brook  [EMAIL PROTECTED]

PR 24107
* gcc.dg/20050922-1.c: Provide definition of uint32_t without using
stdint.h.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6240r2=1.6241
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20050922-1.c.diff?cvsroot=gccr1=1.2r2=1.3


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107



[Bug libstdc++/24450] Exception safety problem in messages/__timepunct

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-24 15:31 
---
Subject: Bug 24450

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-24 15:31:40

Modified files:
libstdc++-v3   : ChangeLog 

Log message:
2005-10-24  Paolo Carlini  [EMAIL PROTECTED]

PR libstdc++/24450
* config/locale/generic/time_members.h (__timepunct::
__timepunct(__c_locale, const char*, size_t)): Avoid leaking
memory if new throws inside _M_initialize_timepunct.
* config/locale/gnu/time_members.h (__timepunct::
__timepunct(__c_locale, const char*, size_t)): Likewise.
* config/locale/gnu/message_members.h (messages::
messages(__c_locale, const char*, size_t)): Rearrange to
avoid memory leaks.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.2917.2.96r2=1.2917.2.97


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24450



[Bug libstdc++/24450] Exception safety problem in messages/__timepunct

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #9 from cvs-commit at gcc dot gnu dot org  2005-10-24 15:34 
---
Subject: Bug 24450

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-24 15:33:58

Modified files:
libstdc++-v3/config/locale/generic: time_members.h 
libstdc++-v3/config/locale/gnu: time_members.h 
messages_members.h 

Log message:
2005-10-24  Paolo Carlini  [EMAIL PROTECTED]

PR libstdc++/24450
* config/locale/generic/time_members.h (__timepunct::
__timepunct(__c_locale, const char*, size_t)): Avoid leaking
memory if new throws inside _M_initialize_timepunct.
* config/locale/gnu/time_members.h (__timepunct::
__timepunct(__c_locale, const char*, size_t)): Likewise.
* config/locale/gnu/message_members.h (messages::
messages(__c_locale, const char*, size_t)): Rearrange to
avoid memory leaks.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/locale/generic/time_members.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.4r2=1.4.76.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/locale/gnu/time_members.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5r2=1.5.42.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/locale/gnu/messages_members.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.13r2=1.13.42.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24450



[Bug fortran/21625] Nested derived type pointer component not initialized on ALLOCATE

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #9 from cvs-commit at gcc dot gnu dot org  2005-10-24 16:41 
---
Subject: Bug 21625

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-24 16:41:07

Modified files:
gcc/fortran: ChangeLog resolve.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: derived_init_1.f90 

Log message:
fortran/
2005-10-24  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/21625
* resolve.c (expr_to_initialize): New function.
(resolve_allocate_expr): Take current statement as new
argument. Add default initializers to variables of
derived types, if they need it.  (resolve_code):
Provide current statement as argument to
resolve_allocate_expr().

testsuite/
2005-10-24  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/21625
* gfortran.dg/derived_init_1.f90: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.139r2=1.335.2.140
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.34.2.22r2=1.34.2.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.486r2=1.5084.2.487
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/derived_init_1.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.6.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21625



[Bug java/23617] Out of memory when classpath contains jar file with zip-style comment

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-24 17:22 
---
Subject: Bug 23617

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]  2005-10-24 17:22:41

Modified files:
gcc/java   : ChangeLog zextract.c 

Log message:
2005-10-24  Wil Mahan  [EMAIL PROTECTED]

PR java/23617
* zextract.c (read_zip_archive): Fix out of memory error when
reading jar files with zip-style comments.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.1556.2.38r2=1.1556.2.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/zextract.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.19r2=1.19.34.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23617



[Bug tree-optimization/24225] [4.1 Regression] ICE: segmentation fault in profile.c:branch_prob

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #11 from cvs-commit at gcc dot gnu dot org  2005-10-24 19:21 
---
Subject: Bug 24225

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-24 19:20:38

Modified files:
gcc/testsuite  : ChangeLog 
gcc: ChangeLog profile.c 
Added files:
gcc/testsuite/gcc.dg: pr24225.c 

Log message:
PR tree-optimization/24225

gcc/
* profile.c (branch_prob): Look from end to start through a
basic block when looking for a locus.

testsuite/
* gcc.dg/pr24225.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr24225.c.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6242r2=1.6243
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10210r2=2.10211
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/profile.c.diff?cvsroot=gccr1=1.164r2=1.165


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24225



[Bug fortran/17031] Cray pointers not supported

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-24 19:28 
---
Subject: Bug 17031

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-24 19:28:18

Modified files:
gcc/fortran: ChangeLog check.c decl.c expr.c gfortran.h 
 gfortran.texi intrinsic.c intrinsic.h 
 intrinsic.texi invoke.texi iresolve.c lang.opt 
 options.c resolve.c symbol.c trans-array.c 
 trans-decl.c trans-expr.c trans-intrinsic.c 
 trans.h 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: cray_pointers_1.f90 
   cray_pointers_2.f90 
   cray_pointers_3.f90 loc_1.f90 
   loc_2.f90 

Log message:
Commit for Asher Langton

PR fortran/17031
PR fortran/22282

fortran/
* check.c (gfc_check_loc) : New function
* decl.c (variable_decl): New variables cp_as and sym. Added a
check for variables that have already been declared as Cray
Pointers, so we can get the necessary attributes without adding
a new symbol.
(attr_decl1): Added code to catch pointee symbols and fix
their array specs.
(cray_pointer_decl): New method.
(gfc_match_pointer): Added Cray pointer parsing code.
(gfc_mod_pointee_as): New method.
* expr.c (gfc_check_assign): added a check to catch vector-type
assignments to pointees with an unspecified final dimension.
* gfortran.h: (GFC_ISYM_LOC): New.
(symbol_attribute): Added cray_pointer and cray_pointee bits.
(gfc_array_spec): Added cray_pointee and cp_was_assumed bools.
(gfc_symbol): Added gfc_symbol *cp_pointer.
(gfc_option): Added flag_cray_pointer.
(gfc_add_cray_pointee): Declare.
(gfc_add_cray_pointer ): Declare.
(gfc_mod_pointee_as): Declare.
* intrinsic.c (add_functions): Add code for loc() intrinsic.
* intrinsic.h (gfc_check_loc): Declare.
(gfc_resolve_loc): Declare.
* iresolve.c (gfc_resolve_loc): New.
* lang.opt: Added fcray-pointer flag.
* options.c (gfc_init_options): Intialized
gfc_match_option.flag_cray_pointer.
(gfc_handle_option): Deal with -fcray-pointer.
* parse.c:(resolve_equivalence): Added code prohibiting Cray
pointees in equivalence statements.
* resolve.c (resolve_array_ref): Added code to prevent bounds
checking for Cray Pointee arrays.
(resolve_equivalence): Prohibited pointees in equivalence
statements.
* symbol.c (check_conflict): Added Cray pointer/pointee
attribute checking.
(gfc_add_cray_pointer): New
(gfc_add_cray_pointee): New
(gfc_copy_attr): New code for Cray pointers and pointees
* trans-array.c (gfc_trans_auto_array_allocation): Added code to
prevent space from being allocated for pointees.
(gfc_conv_array_parameter): Added code to catch pointees and
correctly set their base address.
* trans-decl.c (gfc_finish_var_decl): Added code to prevent
pointee declarations from making it to the back end.
(gfc_create_module_variable): Same.
* trans-expr.c (gfc_conv_variable): added code to detect and
translate pointees.
(gfc_conv_cray_pointee): New.
* trans-intrinsic.c (gfc_conv_intrinsic_loc): New.
(gfc_conv_intrinsic_function): added entry point for loc
translation.
* trans.h (gfc_conv_cray_pointee): Declare.

* gfortran.texi: Added section on Cray pointers, removed Cray
pointers from list of proposed extensions
* intrinsic.texi: Added documentation for loc intrinsic.
* invoke.texi: Documented -fcray-pointer flag

testsuite/
PR fortran/17031
PR fortran/22282
* gfortran.dg/cray_pointers_1.f90: New test.
* gfortran.dg/cray_pointers_2.f90: New test.
* gfortran.dg/cray_pointers_3.f90: New test.
* gfortran.dg/loc_1.f90: New test.
* gfortran.dg/loc_2.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.597r2=1.598
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/check.c.diff?cvsroot=gccr1=1.36r2=1.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gccr1=1.47r2=1.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/expr.c.diff?cvsroot=gccr1=1.31r2=1.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.h.diff?cvsroot=gccr1=1.90r2=1.91
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.texi.diff?cvsroot=gccr1=1.24r2=1.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/intrinsic.c.diff?cvsroot=gccr1=1.55r2=1.56
http://gcc.gnu.org/cgi

[Bug fortran/22282] loc intrinsic and %loc construction is not implemented in gfortran

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-24 19:28 
---
Subject: Bug 22282

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-24 19:28:18

Modified files:
gcc/fortran: ChangeLog check.c decl.c expr.c gfortran.h 
 gfortran.texi intrinsic.c intrinsic.h 
 intrinsic.texi invoke.texi iresolve.c lang.opt 
 options.c resolve.c symbol.c trans-array.c 
 trans-decl.c trans-expr.c trans-intrinsic.c 
 trans.h 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: cray_pointers_1.f90 
   cray_pointers_2.f90 
   cray_pointers_3.f90 loc_1.f90 
   loc_2.f90 

Log message:
Commit for Asher Langton

PR fortran/17031
PR fortran/22282

fortran/
* check.c (gfc_check_loc) : New function
* decl.c (variable_decl): New variables cp_as and sym. Added a
check for variables that have already been declared as Cray
Pointers, so we can get the necessary attributes without adding
a new symbol.
(attr_decl1): Added code to catch pointee symbols and fix
their array specs.
(cray_pointer_decl): New method.
(gfc_match_pointer): Added Cray pointer parsing code.
(gfc_mod_pointee_as): New method.
* expr.c (gfc_check_assign): added a check to catch vector-type
assignments to pointees with an unspecified final dimension.
* gfortran.h: (GFC_ISYM_LOC): New.
(symbol_attribute): Added cray_pointer and cray_pointee bits.
(gfc_array_spec): Added cray_pointee and cp_was_assumed bools.
(gfc_symbol): Added gfc_symbol *cp_pointer.
(gfc_option): Added flag_cray_pointer.
(gfc_add_cray_pointee): Declare.
(gfc_add_cray_pointer ): Declare.
(gfc_mod_pointee_as): Declare.
* intrinsic.c (add_functions): Add code for loc() intrinsic.
* intrinsic.h (gfc_check_loc): Declare.
(gfc_resolve_loc): Declare.
* iresolve.c (gfc_resolve_loc): New.
* lang.opt: Added fcray-pointer flag.
* options.c (gfc_init_options): Intialized
gfc_match_option.flag_cray_pointer.
(gfc_handle_option): Deal with -fcray-pointer.
* parse.c:(resolve_equivalence): Added code prohibiting Cray
pointees in equivalence statements.
* resolve.c (resolve_array_ref): Added code to prevent bounds
checking for Cray Pointee arrays.
(resolve_equivalence): Prohibited pointees in equivalence
statements.
* symbol.c (check_conflict): Added Cray pointer/pointee
attribute checking.
(gfc_add_cray_pointer): New
(gfc_add_cray_pointee): New
(gfc_copy_attr): New code for Cray pointers and pointees
* trans-array.c (gfc_trans_auto_array_allocation): Added code to
prevent space from being allocated for pointees.
(gfc_conv_array_parameter): Added code to catch pointees and
correctly set their base address.
* trans-decl.c (gfc_finish_var_decl): Added code to prevent
pointee declarations from making it to the back end.
(gfc_create_module_variable): Same.
* trans-expr.c (gfc_conv_variable): added code to detect and
translate pointees.
(gfc_conv_cray_pointee): New.
* trans-intrinsic.c (gfc_conv_intrinsic_loc): New.
(gfc_conv_intrinsic_function): added entry point for loc
translation.
* trans.h (gfc_conv_cray_pointee): Declare.

* gfortran.texi: Added section on Cray pointers, removed Cray
pointers from list of proposed extensions
* intrinsic.texi: Added documentation for loc intrinsic.
* invoke.texi: Documented -fcray-pointer flag

testsuite/
PR fortran/17031
PR fortran/22282
* gfortran.dg/cray_pointers_1.f90: New test.
* gfortran.dg/cray_pointers_2.f90: New test.
* gfortran.dg/cray_pointers_3.f90: New test.
* gfortran.dg/loc_1.f90: New test.
* gfortran.dg/loc_2.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.597r2=1.598
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/check.c.diff?cvsroot=gccr1=1.36r2=1.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gccr1=1.47r2=1.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/expr.c.diff?cvsroot=gccr1=1.31r2=1.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.h.diff?cvsroot=gccr1=1.90r2=1.91
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.texi.diff?cvsroot=gccr1=1.24r2=1.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/intrinsic.c.diff?cvsroot=gccr1=1.55r2=1.56
http://gcc.gnu.org/cgi

[Bug c++/24502] [gomp] for loop inside template rejected

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #1 from cvs-commit at gcc dot gnu dot org  2005-10-24 19:47 
---
Subject: Bug 24502

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gomp-20050608-branch
Changes by: [EMAIL PROTECTED]   2005-10-24 19:47:18

Modified files:
gcc/cp : ChangeLog.gomp 
libgomp: ChangeLog 
gcc: tree-nested.c 
Added files:
libgomp/testsuite/libgomp.dg: nestedfn-2.c 

Log message:
PR c++/24502
* semantics.c (finish_omp_for): Handle MODOP_EXPR in addition to
MODIFY_EXPR.

* tree-nested.c (convert_nonlocal_reference): Handle OMP_MASTER and
OMP_ORDERED.  Merge several OMP_* cases together by using OMP_CLAUSES
and OMP_BODY macros.
(convert_local_reference): Likewise.

* testsuite/libgomp.dg/nestedfn-2.c: New test.

* testsuite/libgomp.c++/loop-7.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.8.22r2=1.1.8.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/ChangeLog.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.6.54r2=1.1.6.55
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.dg/nestedfn-2.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-nested.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=2.27.4.9r2=2.27.4.10


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24502



[Bug libfortran/24416] Wrong reading following namelist reading

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-24 20:20 
---
Subject: Bug 24416

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-24 20:20:40

Modified files:
libgfortran: ChangeLog 
libgfortran/io : list_read.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: namelist_char_only.f90 

Log message:
2005-10-24  Paul Thomas  [EMAIL PROTECTED]

PR fortran/24416
* libgfortran/io/list_read.c (namelist_read): Exit with call to
free_saved () so that character strings do not accumulate.

2005-10-24  Paul Thomas  [EMAIL PROTECTED]

PR fortran/24416
gfortran.dg/namelist_char_only.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.333r2=1.334
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/list_read.c.diff?cvsroot=gccr1=1.28r2=1.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6244r2=1.6245
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/namelist_char_only.f90.diff?cvsroot=gccr1=NONEr2=1.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24416



[Bug libfortran/24416] Wrong reading following namelist reading

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-24 21:10 
---
Subject: Bug 24416

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-24 21:10:14

Modified files:
libgfortran: ChangeLog 
libgfortran/io : list_read.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: namelist_char_only.f90 

Log message:
2005-10-24  Paul Thomas  [EMAIL PROTECTED]

PR fortran/24416
* libgfortran/io/list_read.c (namelist_read): Exit with call to
free_saved () so that character strings do not accumulate.

2005-10-24  Paul Thomas  [EMAIL PROTECTED]

PR fortran/24416
gfortran.dg/namelist_char_only.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.163.2.94r2=1.163.2.95
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/list_read.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.14.2.5r2=1.14.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.487r2=1.5084.2.488
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/namelist_char_only.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.2.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24416



[Bug libfortran/24224] Generalized internal array IO not implemented.

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #2 from cvs-commit at gcc dot gnu dot org  2005-10-25 01:32 
---
Subject: Bug 24224

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-25 01:32:33

Modified files:
libgfortran: ChangeLog 
libgfortran/io : io.h list_read.c transfer.c unit.c 
libgfortran/runtime: error.c 

Log message:
2005-10-24  Jerry DeLisle  [EMAIL PROTECTED]

PR libgfortran/24224
* libgfortran.h: Remove array stride error code.
* runtime/error.c: Remove array stride error.
* io/io.h: Change name of 'nml_loop_spec' to 'array_loop_spec' to be
generic.  Add pointer to array_loop_spec and rank to gfc_unit
structure.
* io/list_read.c: Revise nml_loop_spec references to array_loop_spec.
* io/transfer.c (init_loop_spec): New function to initialize
an array_loop_spec.
(next_array_record): New function to return the index to the next array
record by incrementing through the array_loop_spec.
(next_record_r): Use new function.
(next_record_w): Use new function.
(finalize_transfer): Free memory allocated for array_loop_spec.
* io/unit.c (get_array_unit_len): Delete this function. Use new
function init_loop_spec to initialize the array_loop_spec.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.334r2=1.335
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/io.h.diff?cvsroot=gccr1=1.34r2=1.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/list_read.c.diff?cvsroot=gccr1=1.29r2=1.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/transfer.c.diff?cvsroot=gccr1=1.64r2=1.65
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unit.c.diff?cvsroot=gccr1=1.16r2=1.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/runtime/error.c.diff?cvsroot=gccr1=1.16r2=1.17


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24224



[Bug libfortran/24224] Generalized internal array IO not implemented.

2005-10-24 Thread cvs-commit at gcc dot gnu dot org


--- Comment #3 from cvs-commit at gcc dot gnu dot org  2005-10-25 01:45 
---
Subject: Bug 24224

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-25 01:45:03

Modified files:
gcc/testsuite  : ChangeLog 
gcc/testsuite/gfortran.dg: arrayio_1.f90 arrayio_2.f90 
   arrayio_3.f90 arrayio_4.f90 
   arrayio_5.f90 
Added files:
gcc/testsuite/gfortran.dg: arrayio_6.f90 arrayio_7.f90 

Log message:
2005-10-24  Jerry DeLisle  [EMAIL PROTECTED]

PR libgfortran/24224
* gfortran.dg/arrayio_1.f90: Update attribution.
* gfortran.dg/arrayio_2.f90: Update attribution.
* gfortran.dg/arrayio_3.f90: Update attribution.
* gfortran.dg/arrayio_4.f90: Update test conditions.
* gfortran.dg/arrayio_5.f90: Update attribution.
* gfortran.dg/arrayio_6.f90: New test.
* gfortran.dg/arrayio_7.f90: New test.
sle  [EMAIL PROTECTED]

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6247r2=1.6248
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/arrayio_6.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/arrayio_7.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/arrayio_1.f90.diff?cvsroot=gccr1=1.1r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/arrayio_2.f90.diff?cvsroot=gccr1=1.1r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/arrayio_3.f90.diff?cvsroot=gccr1=1.1r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/arrayio_4.f90.diff?cvsroot=gccr1=1.1r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/arrayio_5.f90.diff?cvsroot=gccr1=1.1r2=1.2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24224



[Bug fortran/24311] Regression: ICE when MERGE is used with character args in a PRINT/WRITE statement

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #2 from cvs-commit at gcc dot gnu dot org  2005-10-23 06:59 
---
Subject: Bug 24311

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-23 06:59:18

Modified files:
gcc/fortran: trans-expr.c iresolve.c ChangeLog 
libgfortran/intrinsics: spread_generic.c 
libgfortran: ChangeLog 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: assign_func_dtcomp_1.f90 
   merge_char_const.f90 
   spread_scalar_source.f90 

Log message:
2005-10-23  Paul Thomas  [EMAIL PROTECTED]

PR fortran/18022
* trans-expr.c (gfc_trans_arrayfunc_assign): Return NULL
if there is a component ref during an array ref to force
use of temporary in assignment.

PR fortran/24311
PR fortran/24384
* fortran/iresolve.c (check_charlen_present): New function to
add a charlen to the typespec, in the case of constant
expressions.
(gfc_resolve_merge, gfc_resolve_spread): Call.the above.
(gfc_resolve_spread): Make calls to library functions that
handle the case of the spread intrinsic with a scalar source.
* libgfortran/intrinsics/spread_generic.c (spread_internal
_scalar): New function that handles the special case of spread
with a scalar source. This has interface functions -
(spread_scalar, spread_char_scalar): New functions to interface
with the calls specified in gfc_resolve_spread.

2005-10-23  Paul Thomas  [EMAIL PROTECTED]

PR fortran/18022
gfortran.dg/assign_func_dtcomp_1.f90: New test.

PR fortran/24311
gfortran.dg/merge_char_const.f90: New test.

PR fortran/24384
gfortran.dg/spread_scalar_source.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gccr1=1.65r2=1.66
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/iresolve.c.diff?cvsroot=gccr1=1.42r2=1.43
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.592r2=1.593
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/spread_generic.c.diff?cvsroot=gccr1=1.12r2=1.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.329r2=1.330
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assign_func_dtcomp_1.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/merge_char_const.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/spread_scalar_source.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6234r2=1.6235


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24311



[Bug fortran/24384] SPREAD does not handle scalar sources.

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #2 from cvs-commit at gcc dot gnu dot org  2005-10-23 06:59 
---
Subject: Bug 24384

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-23 06:59:18

Modified files:
gcc/fortran: trans-expr.c iresolve.c ChangeLog 
libgfortran/intrinsics: spread_generic.c 
libgfortran: ChangeLog 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: assign_func_dtcomp_1.f90 
   merge_char_const.f90 
   spread_scalar_source.f90 

Log message:
2005-10-23  Paul Thomas  [EMAIL PROTECTED]

PR fortran/18022
* trans-expr.c (gfc_trans_arrayfunc_assign): Return NULL
if there is a component ref during an array ref to force
use of temporary in assignment.

PR fortran/24311
PR fortran/24384
* fortran/iresolve.c (check_charlen_present): New function to
add a charlen to the typespec, in the case of constant
expressions.
(gfc_resolve_merge, gfc_resolve_spread): Call.the above.
(gfc_resolve_spread): Make calls to library functions that
handle the case of the spread intrinsic with a scalar source.
* libgfortran/intrinsics/spread_generic.c (spread_internal
_scalar): New function that handles the special case of spread
with a scalar source. This has interface functions -
(spread_scalar, spread_char_scalar): New functions to interface
with the calls specified in gfc_resolve_spread.

2005-10-23  Paul Thomas  [EMAIL PROTECTED]

PR fortran/18022
gfortran.dg/assign_func_dtcomp_1.f90: New test.

PR fortran/24311
gfortran.dg/merge_char_const.f90: New test.

PR fortran/24384
gfortran.dg/spread_scalar_source.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gccr1=1.65r2=1.66
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/iresolve.c.diff?cvsroot=gccr1=1.42r2=1.43
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.592r2=1.593
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/spread_generic.c.diff?cvsroot=gccr1=1.12r2=1.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.329r2=1.330
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assign_func_dtcomp_1.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/merge_char_const.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/spread_scalar_source.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6234r2=1.6235


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24384



[Bug fortran/18022] problem with structure and calling a function

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #22 from cvs-commit at gcc dot gnu dot org  2005-10-23 06:59 
---
Subject: Bug 18022

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-23 06:59:18

Modified files:
gcc/fortran: trans-expr.c iresolve.c ChangeLog 
libgfortran/intrinsics: spread_generic.c 
libgfortran: ChangeLog 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: assign_func_dtcomp_1.f90 
   merge_char_const.f90 
   spread_scalar_source.f90 

Log message:
2005-10-23  Paul Thomas  [EMAIL PROTECTED]

PR fortran/18022
* trans-expr.c (gfc_trans_arrayfunc_assign): Return NULL
if there is a component ref during an array ref to force
use of temporary in assignment.

PR fortran/24311
PR fortran/24384
* fortran/iresolve.c (check_charlen_present): New function to
add a charlen to the typespec, in the case of constant
expressions.
(gfc_resolve_merge, gfc_resolve_spread): Call.the above.
(gfc_resolve_spread): Make calls to library functions that
handle the case of the spread intrinsic with a scalar source.
* libgfortran/intrinsics/spread_generic.c (spread_internal
_scalar): New function that handles the special case of spread
with a scalar source. This has interface functions -
(spread_scalar, spread_char_scalar): New functions to interface
with the calls specified in gfc_resolve_spread.

2005-10-23  Paul Thomas  [EMAIL PROTECTED]

PR fortran/18022
gfortran.dg/assign_func_dtcomp_1.f90: New test.

PR fortran/24311
gfortran.dg/merge_char_const.f90: New test.

PR fortran/24384
gfortran.dg/spread_scalar_source.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gccr1=1.65r2=1.66
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/iresolve.c.diff?cvsroot=gccr1=1.42r2=1.43
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.592r2=1.593
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/spread_generic.c.diff?cvsroot=gccr1=1.12r2=1.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.329r2=1.330
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assign_func_dtcomp_1.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/merge_char_const.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/spread_scalar_source.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6234r2=1.6235


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18022



[Bug fortran/18022] problem with structure and calling a function

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #23 from cvs-commit at gcc dot gnu dot org  2005-10-23 15:46 
---
Subject: Bug 18022

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-23 15:46:10

Modified files:
gcc/fortran: trans-expr.c ChangeLog 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: assign_func_dtcomp_1.f90 

Log message:
2005-10-23  Paul Thomas  [EMAIL PROTECTED]

PR fortran/18022
* trans-expr.c (gfc_trans_arrayfunc_assign): Return NULL
if there is a component ref during an array ref to force
use of temporary in assignment.

2005-10-23  Paul Thomas  [EMAIL PROTECTED]

PR fortran/18022
gfortran.dg/assign_func_dtcomp_1.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.38.2.8r2=1.38.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.133r2=1.335.2.134
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assign_func_dtcomp_1.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.480r2=1.5084.2.481


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18022



[Bug fortran/15975] [4.0 only] ICE in trans-array.c pointer array initialization stuff

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-23 18:36 
---
Subject: Bug 15975

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-23 18:36:26

Modified files:
gcc/fortran: ChangeLog resolve.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: der_pointer_2.f90 

Log message:
2005-10-23  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/15975
* resolve.c (resolve_symbol): Don't assign default
initializer to pointers.

2005-10-23  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/15975
* gfortran.dg/der_pointer_2.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.134r2=1.335.2.135
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.34.2.20r2=1.34.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.481r2=1.5084.2.482
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/der_pointer_2.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.16.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15975



[Bug ada/23957] ld terminated with signal 10 [Bus error] linking libgnat-4.0.sl

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #2 from cvs-commit at gcc dot gnu dot org  2005-10-23 18:43 
---
Subject: Bug 23957

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-10-23 18:43:30

Modified files:
gcc: ChangeLog except.c 

Log message:
PR ada/23957
* except.c (output_function_exception_table): Call
assemble_external_libcall if we need a personality function.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10203r2=2.10204
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/except.c.diff?cvsroot=gccr1=1.317r2=1.318


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23957



[Bug fortran/19929] Deallocation of an allocated derived type component causes failure

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-23 20:05 
---
Subject: Bug 19929

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-23 20:05:53

Modified files:
gcc/fortran: ChangeLog trans-stmt.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: der_ptr_component_1.f90 

Log message:
2005-10-23  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/19929
* trans-stmt.c (gfc_trans_deallocate): Check if the
object to be deallocated is an array by looking at
expr-rank instead of expr-symtree-n.sym-attr.dimension.

2005-10-23  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/19929
* gfortran.dg/der_ptr_component_1.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.135r2=1.335.2.136
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-stmt.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.24.6.9r2=1.24.6.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.482r2=1.5084.2.483
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/der_ptr_component_1.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.16.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19929



[Bug libfortran/23272] [mingw32] inquire via filename fails

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-23 20:43 
---
Subject: Bug 23272

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-23 20:43:54

Modified files:
libgfortran: ChangeLog acinclude.m4 config.h.in configure 
 configure.ac 
libgfortran/io : io.h open.c unix.c 

Log message:
PR libfortran/23272
* acinclude.m4 (LIBGFOR_CHECK_WORKING_STAT): New check.
* configure.ac: Use LIBGFOR_CHECK_WORKING_STAT.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* io/unix.c (compare_file_filename): Add fallback case for
systems without working stat.
* io/open.c (already_open): Correct call to
compare_file_filename.
* io/io.h: Correct proto for compare_file_filename.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.331r2=1.332
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/acinclude.m4.diff?cvsroot=gccr1=1.8r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/config.h.in.diff?cvsroot=gccr1=1.28r2=1.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/configure.diff?cvsroot=gccr1=1.47r2=1.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/configure.ac.diff?cvsroot=gccr1=1.37r2=1.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/io.h.diff?cvsroot=gccr1=1.33r2=1.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/open.c.diff?cvsroot=gccr1=1.18r2=1.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unix.c.diff?cvsroot=gccr1=1.46r2=1.47


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23272



[Bug fortran/17740] ICE in gfc_trans_arrayfunc_assign, at fortran/trans-expr.c:2011

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #6 from cvs-commit at gcc dot gnu dot org  2005-10-23 20:44 
---
Subject: Bug 17740

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-23 20:44:13

Modified files:
gcc/fortran: ChangeLog trans-expr.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: generic_4.f90 

Log message:
2005-10-23  Erik Edelmann  [EMAIL PROTECTED]
fortran/
PR fortran/17740
* trans-expr.c (gfc_trans_arrayfunc_assign): Check value
of attr.elemental for specific function instead of generic name.
testsuite/
PR fortran/17740
* gfortran.dg/generic_4.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.136r2=1.335.2.137
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.38.2.9r2=1.38.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.483r2=1.5084.2.484
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/generic_4.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.18.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17740



[Bug fortran/23843] Access restrictions on derived types in modules too strict.

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-23 21:07 
---
Subject: Bug 23843

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-23 21:07:10

Modified files:
gcc/fortran: ChangeLog resolve.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: der_io_2.f90 der_io_3.f90 

Log message:
fortran/
2005-10-23  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/23843
* resolve.c (derived_inaccessible): New function.
(resolve_transfer): Use it to check for private
components.

testsuite/
2005-10-23  Erik Edelmann  [EMAIL PROTECTED]
Tobias Schluter  [EMAIL PROTECTED]

PR fortran/23843
* gfortran.dg/der_io_2.f90, gfortran.dg/der_io_3.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.137r2=1.335.2.138
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.34.2.21r2=1.34.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.484r2=1.5084.2.485
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/der_io_2.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.16.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/der_io_3.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.16.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23843



[Bug target/23832] libjava build failure on sh64

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #1 from cvs-commit at gcc dot gnu dot org  2005-10-23 21:15 
---
Subject: Bug 23832

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-10-23 21:15:18

Modified files:
gcc: ChangeLog recog.c 

Log message:
PR target/23832
* recog.c (peephole2_optimize): Increment peep2_current_count
only when the slot is empty.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10204r2=2.10205
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/recog.c.diff?cvsroot=gccr1=1.227r2=1.228


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23832



[Bug target/18911] mmix-knuth-mmixware testsuite failure: g++.dg/init/array16.C execution

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-23 21:38 
---
Subject: Bug 18911

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-23 21:37:57

Modified files:
gcc/testsuite  : ChangeLog 
gcc/testsuite/g++.dg/init: array16.C 

Log message:
PR target/18911
* g++.dg/init/array16.C: Skip for mmix-*-*.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6237r2=1.6238
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/array16.C.diff?cvsroot=gccr1=1.2r2=1.3


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18911



[Bug fortran/23635] [4.0/4.1 Regression] Argument of ichar at (1) must be of length one

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-23 22:16 
---
Subject: Bug 23635

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-10-23 22:16:38

Modified files:
gcc/fortran: ChangeLog check.c 
gcc/testsuite  : ChangeLog 
gcc/testsuite/gfortran.dg: ichar_1.f90 

Log message:
2005-10-23  Andrew Pinski  [EMAIL PROTECTED]

PR fortran/23635
* gfortran.dg/ichar_1.f90: Add tests for derived types.

2005-10-23  Andrew Pinski  [EMAIL PROTECTED]

PR fortran/23635
* check.c (gfc_check_ichar_iachar): Move the code around so
that the check on the length is after check for
references.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.594r2=1.595
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/check.c.diff?cvsroot=gccr1=1.34r2=1.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6238r2=1.6239
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/ichar_1.f90.diff?cvsroot=gccr1=1.1r2=1.2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23635



[Bug fortran/23635] [4.0 Regression] Argument of ichar at (1) must be of length one

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-23 22:29 
---
Subject: Bug 23635

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-10-23 22:29:30

Modified files:
gcc/fortran: ChangeLog check.c 
gcc/testsuite  : ChangeLog 
gcc/testsuite/gfortran.dg: ichar_1.f90 

Log message:
2005-10-23  Andrew Pinski  [EMAIL PROTECTED]

PR fortran/23635
* gfortran.dg/ichar_1.f90: Add tests for derived types.

2005-10-23  Andrew Pinski  [EMAIL PROTECTED]

PR fortran/23635
* check.c (gfc_check_ichar_iachar): Move the code around so
that the check on the length is after check for
references.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.138r2=1.335.2.139
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/check.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.29.2.3r2=1.29.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.485r2=1.5084.2.486
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/ichar_1.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.1.2.1r2=1.1.2.2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23635



[Bug objc/24435] constant_string_class_name is undocumented in c-common.c

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #1 from cvs-commit at gcc dot gnu dot org  2005-10-23 22:37 
---
Subject: Bug 24435

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-10-23 22:37:30

Modified files:
gcc: ChangeLog c-common.c 

Log message:
2005-10-23  Andrew Pinski  [EMAIL PROTECTED]

PR objc/24435
* c-common.c (constant_string_class_name): Add documentation.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10205r2=2.10206
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gccr1=1.658r2=1.659


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24435



[Bug libfortran/24489] read_block wrong execution order

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #2 from cvs-commit at gcc dot gnu dot org  2005-10-24 03:50 
---
Subject: Bug 24489

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-24 03:50:15

Modified files:
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: pr24489.f90 

Log message:
2005-10-23  Jerry DeLisle  [EMAIL PROTECTED]

PR libgfortran/24489
* gfortran.dg/pr24489.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6239r2=1.6240
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr24489.f90.diff?cvsroot=gccr1=NONEr2=1.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24489



[Bug libfortran/24489] read_block wrong execution order

2005-10-23 Thread cvs-commit at gcc dot gnu dot org


--- Comment #3 from cvs-commit at gcc dot gnu dot org  2005-10-24 03:51 
---
Subject: Bug 24489

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-24 03:51:24

Modified files:
libgfortran: ChangeLog 
libgfortran/io : transfer.c 

Log message:
2005-10-23  Jerry DeLisle  [EMAIL PROTECTED]

PR libgfortran/24489
* io/transfer.c (read_block): Change the order of execution to not read
past end-of-record.
(read_block_direct): Same change.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.332r2=1.333
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/transfer.c.diff?cvsroot=gccr1=1.63r2=1.64


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24489



[Bug bootstrap/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration

2005-10-22 Thread cvs-commit at gcc dot gnu dot org


--- Comment #10 from cvs-commit at gcc dot gnu dot org  2005-10-22 10:37 
---
Subject: Bug 24297

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-10-22 10:37:17

Modified files:
.  : ChangeLog Makefile.tpl Makefile.in 

Log message:
2005-10-22  Paolo Bonzini  [EMAIL PROTECTED]

PR bootstrap/24297
* Makefile.tpl (do-[+make-target+], do-check, install,
stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s
are set before recursing.
* Makefile.in: Regenerate.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/ChangeLog.diff?cvsroot=gccr1=1.1160r2=1.1161
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/Makefile.tpl.diff?cvsroot=gccr1=1.145r2=1.146
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/Makefile.in.diff?cvsroot=gccr1=1.282r2=1.283


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24297



[Bug fortran/24426] gfortran ICE for valid derived type definition with default initialization

2005-10-22 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-22 17:02 
---
Subject: Bug 24426

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]2005-10-22 17:02:42

Modified files:
gcc/fortran: ChangeLog decl.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: der_pointer_4.f90 

Log message:
2005-10-22  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/24426
* decl.c (variable_decl): Don't assign default initializers to
pointers.

2005-10-22  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/24426
* gfortran.dg/der_pointer_4.f90: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gccr1=1.591r2=1.592
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gccr1=1.43r2=1.44
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6230r2=1.6231
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/der_pointer_4.f90.diff?cvsroot=gccr1=NONEr2=1.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24426



[Bug fortran/24426] gfortran ICE for valid derived type definition with default initialization

2005-10-22 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-22 17:09 
---
Subject: Bug 24426

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-22 17:09:04

Modified files:
gcc/fortran: ChangeLog decl.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: der_pointer_4.f90 

Log message:
2005-10-22  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/24426
* decl.c (variable_decl): Don't assign default initializers to
pointers.

2005-10-22  Erik Edelmann  [EMAIL PROTECTED]

PR fortran/24426
* gfortran.dg/der_pointer_4.f90: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.335.2.132r2=1.335.2.133
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.31.2.6r2=1.31.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.479r2=1.5084.2.480
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/der_pointer_4.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24426



[Bug target/24465] [4.1 Regression] -mminimal-toc miscompilation of __thread vars

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #3 from cvs-commit at gcc dot gnu dot org  2005-10-21 07:33 
---
Subject: Bug 24465

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-21 07:33:30

Modified files:
gcc: ChangeLog 
gcc/config/rs6000: rs6000.c 

Log message:
PR target/24465
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Always
use r2 for 64-bit tls .got access.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10197r2=2.10198
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gccr1=1.872r2=1.873


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24465



[Bug target/24465] [4.1 Regression] -mminimal-toc miscompilation of __thread vars

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-21 07:37 
---
Subject: Bug 24465

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]  2005-10-21 07:36:56

Modified files:
gcc: ChangeLog 
gcc/config/rs6000: rs6000.c 

Log message:
PR target/24465
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Always
use r2 for 64-bit tls .got access.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=2.7592.2.475r2=2.7592.2.476
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.788.2.11r2=1.788.2.12


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24465



[Bug target/24465] [4.1 Regression] -mminimal-toc miscompilation of __thread vars

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-21 07:48 
---
Subject: Bug 24465

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_4-branch
Changes by: [EMAIL PROTECTED]  2005-10-21 07:48:26

Modified files:
gcc: ChangeLog 
gcc/config/rs6000: rs6000.c 

Log message:
PR target/24465
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Always
use r2 for 64-bit tls .got access.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-3_4-branchr1=2.2326.2.925r2=2.2326.2.926
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcconly_with_tag=gcc-3_4-branchr1=1.576.2.46r2=1.576.2.47


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24465



[Bug libstdc++/24450] Exception safety problem in messages/__timepunct

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-21 08:34 
---
Subject: Bug 24450

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 08:34:07

Modified files:
libstdc++-v3   : ChangeLog 
libstdc++-v3/config/locale/gnu: time_members.h 
messages_members.h 
libstdc++-v3/config/locale/generic: time_members.h 

Log message:
2005-10-21  Paolo Carlini  [EMAIL PROTECTED]

PR libstdc++/24450
* config/locale/generic/time_members.h (__timepunct::
__timepunct(__c_locale, const char*, size_t)): Avoid leaking
memory if new throws inside _M_initialize_timepunct.
* config/locale/gnu/time_members.h (__timepunct::
__timepunct(__c_locale, const char*, size_t)): Likewise.
* config/locale/gnu/message_members.h (messages::
messages(__c_locale, const char*, size_t)): Rearrange to
avoid memory leaks.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gccr1=1.3137r2=1.3138
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/locale/gnu/time_members.h.diff?cvsroot=gccr1=1.6r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/locale/gnu/messages_members.h.diff?cvsroot=gccr1=1.14r2=1.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/locale/generic/time_members.h.diff?cvsroot=gccr1=1.5r2=1.6


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24450



[Bug driver/24473] [4.0/4.1 regression] Linker input files no longer ignored with -c and -o

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-21 13:08 
---
Subject: Bug 24473

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-10-21 13:08:50

Modified files:
gcc: ChangeLog gcc.c 

Log message:
2005-10-21  Andrew Pinski  [EMAIL PROTECTED]

PR driver/24473
* gcc.c (main): Use the correct counter for erroring out
about mulitple files.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10198r2=2.10199
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcc.c.diff?cvsroot=gccr1=1.473r2=1.474


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24473



[Bug driver/24473] [4.0/4.1 regression] Linker input files no longer ignored with -c and -o

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-21 13:10 
---
Subject: Bug 24473

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-10-21 13:10:17

Modified files:
gcc: ChangeLog gcc.c 

Log message:
2005-10-21  Andrew Pinski  [EMAIL PROTECTED]

PR driver/24473
* gcc.c (main): Use the correct counter for erroring out
about mulitple files.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=2.7592.2.476r2=2.7592.2.477
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcc.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.448.2.6r2=1.448.2.7


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24473



[Bug ada/22383] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #3 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:46 
---
Subject: Bug 22383

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 15:46:19

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gccr1=1.685r2=1.686
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gccr1=1.50r2=1.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gccr1=1.38r2=1.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gccr1=1.102r2=1.103


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22383



[Bug ada/21937] [4.0/4.1 Regression] Member record alignment triggers an ICE

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #13 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:46 
---
Subject: Bug 21937

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 15:46:19

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gccr1=1.685r2=1.686
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gccr1=1.50r2=1.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gccr1=1.38r2=1.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gccr1=1.102r2=1.103


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21937



[Bug ada/22328] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #10 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:46 
---
Subject: Bug 22328

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 15:46:19

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gccr1=1.685r2=1.686
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gccr1=1.50r2=1.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gccr1=1.38r2=1.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gccr1=1.102r2=1.103


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22328



[Bug ada/22381] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:46 
---
Subject: Bug 22381

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 15:46:19

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gccr1=1.685r2=1.686
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gccr1=1.50r2=1.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gccr1=1.38r2=1.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gccr1=1.102r2=1.103


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22381



[Bug ada/22420] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #3 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:46 
---
Subject: Bug 22420

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 15:46:19

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gccr1=1.685r2=1.686
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gccr1=1.50r2=1.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gccr1=1.38r2=1.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gccr1=1.102r2=1.103


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22420



[Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #3 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:46 
---
Subject: Bug 22419

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 15:46:19

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gccr1=1.685r2=1.686
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gccr1=1.50r2=1.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gccr1=1.38r2=1.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gccr1=1.102r2=1.103


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22419



[Bug ada/21937] [4.0/4.1 Regression] Member record alignment triggers an ICE

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #14 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:47 
---
Subject: Bug 21937

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-21 15:47:47

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.638.4.16r2=1.638.4.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.44.6.1r2=1.44.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.33.10.1r2=1.33.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.90.6.3r2=1.90.6.4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21937



[Bug ada/22383] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:48 
---
Subject: Bug 22383

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-21 15:47:47

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.638.4.16r2=1.638.4.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.44.6.1r2=1.44.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.33.10.1r2=1.33.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.90.6.3r2=1.90.6.4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22383



[Bug ada/22381] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:48 
---
Subject: Bug 22381

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-21 15:47:47

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.638.4.16r2=1.638.4.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.44.6.1r2=1.44.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.33.10.1r2=1.33.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.90.6.3r2=1.90.6.4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22381



[Bug ada/22419] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:48 
---
Subject: Bug 22419

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-21 15:47:47

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.638.4.16r2=1.638.4.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.44.6.1r2=1.44.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.33.10.1r2=1.33.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.90.6.3r2=1.90.6.4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22419



[Bug ada/22328] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #11 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:48 
---
Subject: Bug 22328

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-21 15:47:47

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.638.4.16r2=1.638.4.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.44.6.1r2=1.44.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.33.10.1r2=1.33.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.90.6.3r2=1.90.6.4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22328



[Bug ada/22420] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:48 
---
Subject: Bug 22420

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-21 15:47:47

Modified files:
gcc/ada: ChangeLog utils2.c gigi.h trans.c 

Log message:
PR ada/21937
PR ada/22328
PR ada/22381
PR ada/22383
PR ada/22419
PR ada/22420
* utils2.c (build_return_expr): New helper function.
* gigi.h (build_return_expr): Declare it.
* trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
of manually building the RETURN_EXPR tree.
(call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
(gnat_to_gnu) N_Return_Statement: Pass MODIFY_EXPR through
build_binary_op for the target pointer case.  Use build_return_expr
instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.638.4.16r2=1.638.4.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.44.6.1r2=1.44.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.33.10.1r2=1.33.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.90.6.3r2=1.90.6.4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22420



[Bug ada/22418] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #6 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:49 
---
Subject: Bug 22418

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 15:49:13

Modified files:
gcc/ada: ChangeLog decl.c 

Log message:
PR ada/22418
* decl.c (maybe_pad_type): Use proper bitsizetype for XVZ objects,
as we create them to store a size in bits.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gccr1=1.686r2=1.687
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/decl.c.diff?cvsroot=gccr1=1.80r2=1.81


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22418



[Bug ada/22418] Ada produces mis-match (non compatible) types in MODIFY_EXPR

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:50 
---
Subject: Bug 22418

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-21 15:49:58

Modified files:
gcc/ada: ChangeLog decl.c 

Log message:
PR ada/22418
* decl.c (maybe_pad_type): Use proper bitsizetype for XVZ objects,
as we create them to store a size in bits.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.638.4.17r2=1.638.4.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/decl.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.65.6.3r2=1.65.6.4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22418



[Bug c++/24260] [4.0/4.1 Regression] stdcall attribute is ignored at static member template functions

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-21 16:01 
---
Subject: Bug 24260

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-21 16:01:26

Modified files:
gcc/cp : parser.c 
Added files:
gcc/testsuite/g++.dg/ext: tmplattr1.C 

Log message:
PR c++/24260
* parser.c (cp_parser_init_declarator): Pass attributes to
grokfield.
PR c++/24260
* g++.dg/ext/tmplattr1.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/tmplattr1.C.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.319.2.25r2=1.319.2.26


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24260



[Bug c++/24260] [4.0/4.1 Regression] stdcall attribute is ignored at static member template functions

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #9 from cvs-commit at gcc dot gnu dot org  2005-10-21 16:03 
---
Subject: Bug 24260

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-21 16:03:10

Modified files:
gcc/cp : ChangeLog 
gcc/testsuite  : ChangeLog 

Log message:
PR c++/24260
* parser.c (cp_parser_init_declarator): Pass attributes to
grokfield.
PR c++/24260
* g++.dg/ext/tmplattr1.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.4648.2.149r2=1.4648.2.150
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.477r2=1.5084.2.478


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24260



[Bug c++/24260] [4.0/4.1 Regression] stdcall attribute is ignored at static member template functions

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #10 from cvs-commit at gcc dot gnu dot org  2005-10-21 16:03 
---
Subject: Bug 24260

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]2005-10-21 16:03:49

Modified files:
gcc/cp : parser.c ChangeLog 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/ext: tmplattr1.C 

Log message:
PR c++/24260
* parser.c (cp_parser_init_declarator): Pass attributes to
grokfield.
PR c++/24260
* g++.dg/ext/tmplattr1.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/tmplattr1.C.diff?cvsroot=gccr1=1.1r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gccr1=1.367r2=1.368
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gccr1=1.4950r2=1.4951
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6224r2=1.6225


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24260



[Bug preprocessor/15220] [3.4/4.0/4.1 regression] gcc -E -MM -MG reports missing system headers in source directory

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #14 from cvs-commit at gcc dot gnu dot org  2005-10-21 17:54 
---
Subject: Bug 15220

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-21 17:54:20

Modified files:
libcpp : ChangeLog files.c init.c internal.h 

Log message:
Fix bug with -MM -MG.
PR preprocessor/15220
* files.c (_cpp_find_file): New parameter angle_brackets.  Fix all
callers.  Pass to open_file_failed.
(open_file_failed): New parameter angle_brackets.  Fix all callers.
Use in print_dep assignment.
* init.c (cpp_read_main_file): Pass additional arg to _cpp_find_file.
* internal.h (_cpp_find_file): Add new parm to declaration.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gccr1=1.79r2=1.80
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/files.c.diff?cvsroot=gccr1=1.13r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/init.c.diff?cvsroot=gccr1=1.11r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/internal.h.diff?cvsroot=gccr1=1.16r2=1.17


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220



[Bug preprocessor/15220] [3.4/4.0/4.1 regression] gcc -E -MM -MG reports missing system headers in source directory

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #15 from cvs-commit at gcc dot gnu dot org  2005-10-21 17:56 
---
Subject: Bug 15220

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]  2005-10-21 17:56:51

Modified files:
libcpp : ChangeLog files.c internal.h init.c 

Log message:
Fix bug with -MM -MG.
PR preprocessor/15220
* files.c (_cpp_find_file): New parameter angle_brackets.  Fix all
callers.  Pass to open_file_failed.
(open_file_failed): New parameter angle_brackets.  Fix all callers.
Use in print_dep assignment.
* init.c (cpp_read_main_file): Pass additional arg to _cpp_find_file.
* internal.h (_cpp_find_file): Add new parm to declaration.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.56.2.11r2=1.56.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/files.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.9.6.1r2=1.9.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/internal.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.13r2=1.13.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/init.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.7r2=1.7.6.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220



[Bug preprocessor/15220] [3.4/4.0/4.1 regression] gcc -E -MM -MG reports missing system headers in source directory

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #16 from cvs-commit at gcc dot gnu dot org  2005-10-21 18:04 
---
Subject: Bug 15220

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-21 18:04:22

Modified files:
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gcc.misc-tests: mg-2.exp mg-2.c 

Log message:
Fix -MM -MG bug.
PR preprocessor/15220
* gcc.misc-tests/mg-2.c, gcc.misc-tests/mg-2.exp: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6226r2=1.6227
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.misc-tests/mg-2.exp.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.misc-tests/mg-2.c.diff?cvsroot=gccr1=NONEr2=1.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220



[Bug c/24455] [gomp] Trouble with threadprivate and extern

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #6 from cvs-commit at gcc dot gnu dot org  2005-10-21 18:57 
---
Subject: Bug 24455

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gomp-20050608-branch
Changes by: [EMAIL PROTECTED]2005-10-21 18:57:39

Modified files:
gcc: ChangeLog.gomp c-decl.c c-parser.c c-tree.h 
gcc/cp : ChangeLog.gomp cp-tree.h decl.c semantics.c 
libgomp: ChangeLog 
Added files:
libgomp/testsuite/libgomp.c++: pr24455-1.C pr24455.C 
libgomp/testsuite/libgomp.dg: pr24455-1.c pr24455.c 

Log message:
gcc/
PR 24455
* c-tree.h (C_DECL_THREADPRIVATE_P): Define.
* c-parser.c (c_parser_omp_threadprivate): Set.
Do not error out if C_DECL_THREADPRIVATE_P is set already.
* c-decl.c (diagnose_mismatched_decls): Do not check for
mismatched thread-local attributes when OLDDECL is marked
threadprivate and NEWDECL has no thread-local attributes.
(merge_decls): Merge C_DECL_THREADPRIVATE_P.

gcc/cp/
PR 24455
* cp/cp-tree.h (struct lang_decl_flags): Add field
threadprivate_p.
(CP_DECL_IS_THREADPRIVATE): Define.
* cp/semantics.c (finish_omp_threadprivate): Set.
Do not error out if CP_DECL_IS_THREADPRIVATE is set already.
* cp/decl.c (duplicate_decls): Merge CP_DECL_THREADPRIVATE_P.

libgomp/
PR 24455
* testsuite/libgomp.c++/pr24455-1.C: New test.
* testsuite/libgomp.c++/pr24455.C: New test.
* testsuite/libgomp.dg/pr24455-1.c: New test.
* testsuite/libgomp.dg/pr24455.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.6.97r2=1.1.6.98
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.662.4.13r2=1.662.4.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parser.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=2.17.4.37r2=2.17.4.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.203.4.10r2=1.203.4.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.8.14r2=1.1.8.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1144.4.13r2=1.1144.4.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1403.4.9r2=1.1403.4.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.475.4.12r2=1.475.4.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/ChangeLog.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.6.49r2=1.1.6.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.c++/pr24455-1.C.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.c++/pr24455.C.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.dg/pr24455-1.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgomp/testsuite/libgomp.dg/pr24455.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24455



[Bug libfortran/24383] mingw doesn't have SSIZE_MAX

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-21 19:40 
---
Subject: Bug 24383

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 19:40:32

Modified files:
libgfortran: ChangeLog 
libgfortran/io : unix.c 

Log message:
PR libfortran/24383
* io/unix.c: Add fallback definition for SSIZE_MAX.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.328r2=1.329
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unix.c.diff?cvsroot=gccr1=1.45r2=1.46


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24383



[Bug rtl-optimization/24460] [4.1 regression] Profiled bootstrap broken

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-21 21:44 
---
Subject: Bug 24460

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 21:44:42

Modified files:
gcc: ChangeLog bb-reorder.c 

Log message:
PR rtl-optimization/24460
* bb-reorder.c (fix_crossing_unconditional_branches): Do not
set the basic block for barriers.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10202r2=2.10203
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/bb-reorder.c.diff?cvsroot=gccr1=1.114r2=1.115


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24460



[Bug c++/24451] [gomp] Return out of parallel loop not rejected

2005-10-21 Thread cvs-commit at gcc dot gnu dot org


--- Comment #2 from cvs-commit at gcc dot gnu dot org  2005-10-21 22:07 
---
Subject: Bug 24451

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gomp-20050608-branch
Changes by: [EMAIL PROTECTED] 2005-10-21 22:06:53

Modified files:
gcc/cp : ChangeLog.gomp cp-tree.h decl.c semantics.c 
Added files:
gcc/testsuite/g++.dg/gomp: block-8.C 
gcc/testsuite/gcc.dg/gomp: block-8.c 

Log message:
PR c++/24451
* decl.c (check_omp_return): Return false on error.
* cp-tree.h (check_omp_return): Update decl.
* semantics.c (finish_return_stmt): Avoid adding return on error.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1.8.16r2=1.1.8.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1144.4.15r2=1.1144.4.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.1403.4.11r2=1.1403.4.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=1.475.4.14r2=1.475.4.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/block-8.C.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/gomp/block-8.c.diff?cvsroot=gcconly_with_tag=gomp-20050608-branchr1=NONEr2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24451



[Bug c++/22508] [4.0/4.1 Regression] ICE after invalid operator new

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-20 10:10 
---
Subject: Bug 22508

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_4-branch
Changes by: [EMAIL PROTECTED]2005-10-20 10:10:10

Modified files:
gcc/cp : ChangeLog init.c 

Log message:
PR c++/22508
* init.c (build_new_1): Remove misleading comment.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-3_4-branchr1=1.3892.2.247r2=1.3892.2.248
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcconly_with_tag=gcc-3_4-branchr1=1.356.2.18r2=1.356.2.19


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22508



[Bug bootstrap/18939] [4.0/4.1 regression] spurious relink of gcov and gcov-dump with the base compiler

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #3 from cvs-commit at gcc dot gnu dot org  2005-10-20 11:54 
---
Subject: Bug 18939

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-20 11:54:41

Modified files:
.  : ChangeLog Makefile.def Makefile.in 

Log message:
PR bootstrap/18939
* Makefile.def (gcc) target: Fix thinko.
* Makefile.in: Regenerate.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/ChangeLog.diff?cvsroot=gccr1=1.1159r2=1.1160
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/Makefile.def.diff?cvsroot=gccr1=1.60r2=1.61
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/Makefile.in.diff?cvsroot=gccr1=1.281r2=1.282


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18939



[Bug bootstrap/18939] [4.0/4.1 regression] spurious relink of gcov and gcov-dump with the base compiler

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-20 11:55 
---
Subject: Bug 18939

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-20 11:55:30

Modified files:
.  : ChangeLog Makefile.def Makefile.in 

Log message:
PR bootstrap/18939
* Makefile.def (gcc) target: Fix thinko.
* Makefile.in: Regenerate.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.1057.2.20r2=1.1057.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/Makefile.def.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.46r2=1.46.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/Makefile.in.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.254.8.1r2=1.254.8.2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18939



[Bug rtl-optimization/23585] [4.0 regression] mem_fun* code fine with -O1, bus error with -O2

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #21 from cvs-commit at gcc dot gnu dot org  2005-10-20 12:14 
---
Subject: Bug 23585

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-20 12:14:30

Modified files:
gcc: ChangeLog function.c reorg.c rtl.h rtlanal.c 
gcc/config/sparc: sparc.h 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/opt: delay-slot-1.C 

Log message:
PR rtl-optimization/23585
* rtlanal.c (rtx_addr_can_trap_p_1): New predicate extracted from...
(rtx_addr_can_trap_p): ... here.  Invoke rtx_addr_can_trap_p_1.
(may_trap_p_1): New predicate extracted from...
(may_trap_p): ... here.  Invoke may_trap_p_1.
(may_trap_or_fault_p): New predicate.
* rtl.h (may_trap_or_fault_p): Declare it.
* reorg.c (steal_delay_list_from_target): Use may_trap_or_fault_p
instead of may_trap_p.
(steal_delay_list_from_fallthrough): Likewise.
(fill_simple_delay_slots): Likewise.
(fill_slots_from_thread): Likewise.
* function.c (pad_to_arg_alignment): Rework comment about
SPARC_STACK_BOUNDARY_HACK.
* config/sparc/sparc.h: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10191r2=2.10192
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gccr1=1.646r2=1.647
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reorg.c.diff?cvsroot=gccr1=1.111r2=1.112
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtl.h.diff?cvsroot=gccr1=1.560r2=1.561
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtlanal.c.diff?cvsroot=gccr1=1.220r2=1.221
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.h.diff?cvsroot=gccr1=1.290r2=1.291
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6216r2=1.6217
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/delay-slot-1.C.diff?cvsroot=gccr1=NONEr2=1.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23585



[Bug rtl-optimization/23585] [4.0 regression] mem_fun* code fine with -O1, bus error with -O2

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #22 from cvs-commit at gcc dot gnu dot org  2005-10-20 12:18 
---
Subject: Bug 23585

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-20 12:18:05

Modified files:
gcc: ChangeLog function.c reorg.c rtl.h rtlanal.c 
gcc/config/sparc: sparc.h 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/opt: delay-slot-1.C 

Log message:
PR rtl-optimization/23585
* rtlanal.c (rtx_addr_can_trap_p_1): New predicate extracted from...
(rtx_addr_can_trap_p): ... here.  Invoke rtx_addr_can_trap_p_1.
(may_trap_p_1): New predicate extracted from...
(may_trap_p): ... here.  Invoke may_trap_p_1.
(may_trap_or_fault_p): New predicate.
* rtl.h (may_trap_or_fault_p): Declare it.
* reorg.c (steal_delay_list_from_target): Use may_trap_or_fault_p
instead of may_trap_p.
(steal_delay_list_from_fallthrough): Likewise.
(fill_simple_delay_slots): Likewise.
(fill_slots_from_thread): Likewise.
* function.c (pad_to_arg_alignment): Rework comment about
SPARC_STACK_BOUNDARY_HACK.
* config/sparc/sparc.h: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=2.7592.2.473r2=2.7592.2.474
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.604.8.1r2=1.604.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reorg.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.104.8.1r2=1.104.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtl.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.536.4.1r2=1.536.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtlanal.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.211.8.2r2=1.211.8.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.273.8.3r2=1.273.8.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.474r2=1.5084.2.475
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/delay-slot-1.C.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23585



[Bug c++/24439] [3.4/4.0/4.1 Regression] ICE with invert conditional containing throw

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #12 from cvs-commit at gcc dot gnu dot org  2005-10-20 15:19 
---
Subject: Bug 24439

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-10-20 15:19:03

Modified files:
gcc: ChangeLog fold-const.c 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/tree-ssa: pr24439.C 

Log message:
2005-10-20  Richard Guenther  [EMAIL PROTECTED]

PR c++/24439
* fold-const.c (invert_truthvalue): Handle COND_EXPR with
void type operands.

* g++.dg/tree-ssa/pr24439.C: New testcase.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10192r2=2.10193
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gccr1=1.628r2=1.629
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6217r2=1.6218
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/tree-ssa/pr24439.C.diff?cvsroot=gccr1=NONEr2=1.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24439



[Bug c++/22618] [3.4/4.0/4.1 Regression] Template non-type arguments break class access protection

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-20 18:01 
---
Subject: Bug 22618

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]2005-10-20 18:01:54

Modified files:
gcc/cp : search.c ChangeLog 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/parse: access8.C 

Log message:
PR c++/22618
* search.c (accessible_p): Check access in the outermost set of
template parameters.
PR c++/22618
* g++.dg/parse/access8.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/search.c.diff?cvsroot=gccr1=1.351r2=1.352
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gccr1=1.4949r2=1.4950
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/access8.C.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6218r2=1.6219


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618



[Bug c++/22618] [3.4/4.0/4.1 Regression] Template non-type arguments break class access protection

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-20 18:04 
---
Subject: Bug 22618

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]2005-10-20 18:04:39

Modified files:
gcc/cp : search.c ChangeLog 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/g++.dg/parse: access8.C 

Log message:
PR c++/22618
* search.c (accessible_p): Check access in the outermost set of
template parameters.
PR c++/22618
* g++.dg/parse/access8.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/search.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.345r2=1.345.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.4648.2.148r2=1.4648.2.149
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/access8.C.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.475r2=1.5084.2.476


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618



[Bug middle-end/24295] [4.1 Regression] Xorg broken, #pragma weak foo = bar no longer causes bar to be referenced

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #20 from cvs-commit at gcc dot gnu dot org  2005-10-20 19:30 
---
Subject: Bug 24295

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]  2005-10-20 19:30:23

Modified files:
gcc/testsuite  : ChangeLog 
gcc: ChangeLog cgraphunit.c varasm.c 
gcc/testsuite/g++.old-deja/g++.abi: vtable2.C 
Added files:
gcc/testsuite/gcc.dg: attr-alias-3.c 
gcc/testsuite/gcc.dg/weak: weak-14.c 

Log message:
gcc/ChangeLog:
PR middle-end/24295
* cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Mark
alias targets.
* varasm.c (find_decl_and_mark_needed): After cgraph global info
is ready, stop marking functions, but still mark variables.
gcc/testsuite/ChangeLog:
PR middle-end/24295
* g++.old-deja/g++.abi/vtable2.C: Do not introduce external
declarations with the same names as thunks' alias targets, use
aliases instead.
* gcc.dg/attr-alias-3.c: New test.
* gcc.dg/weak/weak-14.c, gcc.dg/weak/weak-14a.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6219r2=1.6220
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10193r2=2.10194
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cgraphunit.c.diff?cvsroot=gccr1=1.129r2=1.130
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/varasm.c.diff?cvsroot=gccr1=1.533r2=1.534
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.abi/vtable2.C.diff?cvsroot=gccr1=1.7r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/attr-alias-3.c.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/weak/weak-14.c.diff?cvsroot=gccr1=NONEr2=1.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24295



[Bug fortran/24440] [4.0/4.1 regression] gfortran failed to build 187.facerec

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-21 04:33 
---
Subject: Bug 24440

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-21 04:33:10

Modified files:
gcc/testsuite/gfortran.dg: assumed_size_dt_dummy.f90 
gcc/testsuite  : ChangeLog 

Log message:
2005-10-21  Paul Thomas  [EMAIL PROTECTED]

PR fortran/24440
* gfortran.dg/assumed_size_dt_dummy.f90: Add test for scalar case.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assumed_size_dt_dummy.f90.diff?cvsroot=gccr1=1.1r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.6223r2=1.6224


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24440



[Bug fortran/24440] [4.0/4.1 regression] gfortran failed to build 187.facerec

2005-10-20 Thread cvs-commit at gcc dot gnu dot org


--- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-21 04:37 
---
Subject: Bug 24440

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-10-21 04:37:42

Modified files:
gcc/testsuite/gfortran.dg: assumed_size_dt_dummy.f90 
gcc/testsuite  : ChangeLog 

Log message:
2005-10-21  Paul Thomas  [EMAIL PROTECTED]

PR fortran/24440
* gfortran.dg/assumed_size_dt_dummy.f90: Add test for scalar case.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/assumed_size_dt_dummy.f90.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.1.2.1r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.476r2=1.5084.2.477


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24440



[Bug libfortran/24432] [4.1 regression] Missing symbols

2005-10-19 Thread cvs-commit at gcc dot gnu dot org


--- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-19 08:23 
---
Subject: Bug 24432

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-19 08:23:43

Modified files:
libgfortran: c99_protos.h ChangeLog 

Log message:
PR libfortran/24432
* c99_protos.h: Define HAVE_ macros for all provided functions.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/c99_protos.h.diff?cvsroot=gccr1=1.8r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.326r2=1.327


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24432



[Bug target/24428] [4.1 regression] TLS miscompilation on x86_64

2005-10-19 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-19 09:00 
---
Subject: Bug 24428

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-10-19 09:00:45

Modified files:
gcc: ChangeLog 
gcc/config/i386: i386-protos.h i386.c predicates.md 
Added files:
gcc/testsuite/gcc.dg/tls: pr24428-2.c pr24428.c 

Log message:
PR target/24428
* config/i386/i386.c (legitimate_constant_p): Check
SYMBOL_REF_TLS_MODEL directly.  Don't fallthru to SYMBOL_REF
if LABEL_REF.
(legitimate_pic_operand_p): Test SYMBOL_REF_TLS_MODEL directly.
(legitimate_pic_address_disp_p): Reorg CONST checking to make
sure SYMBOL_REF_TLS_MODEL is tested.  Test SYMBOL_REF_TLS_MODEL
directly.
(print_operand_address): Likewise.
* config/i386/predicates.md (x86_64_immediate_operand): Test
SYMBOL_REF_TLS_MODEL properly inside CONST.
(x86_64_zext_immediate_operand): Likewise.
(global_dynamic_symbolic_operand, local_dynamic_symbolic_operand,
initial_exec_symbolic_operand, local_exec_symbolic_operand): Remove.
* config/i386/i386-protos.h: Remove predicates.md entries.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=2.7592.2.469r2=2.7592.2.470
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386-protos.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.131.6.1r2=1.131.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.795.6.12r2=1.795.6.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/predicates.md.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.16.10.1r2=1.16.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tls/pr24428-2.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tls/pr24428.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24428



[Bug libfortran/24432] [4.1 regression] Missing symbols

2005-10-19 Thread cvs-commit at gcc dot gnu dot org


--- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-19 09:45 
---
Subject: Bug 24432

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-10-19 09:45:27

Modified files:
libgfortran: c99_protos.h ChangeLog 
libgfortran/intrinsics: c99_functions.c getXid.c sleep.c 

Log message:
PR libfortran/24432
* c99_protos.h: Define preprocessor HAVE_ macros with value 1
instead of empty value.
* intrinsics/c99_functions.c: Likewise.
* intrinsics/getXid.c: Define HAVE_GETPID with value 1 instead of
empty value.
* intrinsics/sleep.c: Define HAVE_SLEEP with value 1 instead of
empty value.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/c99_protos.h.diff?cvsroot=gccr1=1.9r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.327r2=1.328
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/c99_functions.c.diff?cvsroot=gccr1=1.17r2=1.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/getXid.c.diff?cvsroot=gccr1=1.5r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/sleep.c.diff?cvsroot=gccr1=1.3r2=1.4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24432



[Bug target/19672] [3.4/4.0/4.1 Regression] Performance regression in simple loop code

2005-10-19 Thread cvs-commit at gcc dot gnu dot org


--- Comment #14 from cvs-commit at gcc dot gnu dot org  2005-10-19 10:37 
---
Subject: Bug 19672

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-10-19 10:37:31

Modified files:
gcc: ChangeLog dojump.c 

Log message:
2005-10-18  Paolo Bonzini  [EMAIL PROTECTED]

PR #19672
* dojump.c (do_jump): Handle TRUTH_AND_EXPR and TRUTH_OR_EXPR here.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.10182r2=2.10183
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dojump.c.diff?cvsroot=gccr1=1.42r2=1.43


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19672



[Bug target/19672] [3.4/4.0/4.1 Regression] Performance regression in simple loop code

2005-10-19 Thread cvs-commit at gcc dot gnu dot org


--- Comment #15 from cvs-commit at gcc dot gnu dot org  2005-10-19 10:41 
---
Subject: Bug 19672

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-10-19 10:41:09

Modified files:
gcc: dojump.c ChangeLog 

Log message:
2005-10-18  Paolo Bonzini  [EMAIL PROTECTED]

PR #19672
* dojump.c (do_jump): Handle TRUTH_AND_EXPR and TRUTH_OR_EXPR here.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dojump.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.37.8.1r2=1.37.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=2.7592.2.470r2=2.7592.2.471


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19672



[Bug target/19672] [3.4/4.0/4.1 Regression] Performance regression in simple loop code

2005-10-19 Thread cvs-commit at gcc dot gnu dot org


--- Comment #16 from cvs-commit at gcc dot gnu dot org  2005-10-19 10:50 
---
Subject: Bug 19672

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_4-branch
Changes by: [EMAIL PROTECTED] 2005-10-19 10:49:57

Modified files:
gcc: ChangeLog dojump.c 

Log message:
2005-10-19  Paolo Bonzini  [EMAIL PROTECTED]

PR #19672
* dojump.c (do_jump): Handle TRUTH_AND_EXPR and TRUTH_OR_EXPR
like TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR, if the branch cost
is low enough.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-3_4-branchr1=2.2326.2.923r2=2.2326.2.924
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dojump.c.diff?cvsroot=gcconly_with_tag=gcc-3_4-branchr1=1.9.4.2r2=1.9.4.3


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19672



[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843

2005-10-19 Thread cvs-commit at gcc dot gnu dot org


--- Comment #16 from cvs-commit at gcc dot gnu dot org  2005-10-19 12:48 
---
Subject: Bug 22551

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]  2005-10-19 12:48:03

Modified files:
gcc/cp : ChangeLog typeck2.c 

Log message:
PR c++/22551
* typeck2.c (digest_init): Clear overflow flags on the folded
initializer.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.4648.2.147r2=1.4648.2.148
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck2.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.182.8.1r2=1.182.8.2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22551



[Bug tree-optimization/24287] pure functions cause things to be call clobbered still

2005-10-19 Thread cvs-commit at gcc dot gnu dot org


--- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-19 14:00 
---
Subject: Bug 24287

CVSROOT:/cvs/gcc
Module name:gcc
Branch: improved-aliasing-branch
Changes by: [EMAIL PROTECTED] 2005-10-19 14:00:53

Modified files:
gcc: ChangeLog.iab passes.c tree-dfa.c tree-flow.h 
 tree-ssa-alias.c tree-ssa-operands.c 
 tree-ssa-structalias.c 
gcc/cp : ptree.c 
Added files:
gcc/testsuite/gcc.dg/tree-ssa: pr24287.c 

Log message:
2005-10-18  Daniel Berlin  [EMAIL PROTECTED]

Fix PR tree-optimization/24287
* tree-dfa.c (dump_variable): Print reasons for call clobbering.
* tree-flow.h (struct ptr_info_def): Add escape mask to pointer.
(ESCAPE_TRANSITIVE): Removed.
(ESCAPE_TO_PURE_CONST): New.
(ESCAPE_IS_PARM): New.
(ESCAPE_UNKNOWN): New.
* tree-ssa-alias.c (set_initial_properties): Incoming pointers are
value escaping.
Pointers that point to anything are not.
Use pointer escape mask.
(is_escape_site): Use ESCAPE_TO_PURE_CONST.
* tree-ssa-operands.c (add_call_clobber_ops): Clean up a bit.
Things that *only* escape to pure/const functions are only read by
pure/const functions, and are not clobbered by the non-pure/const
functions.
(add_call_read_ops): Cleanup.
* tree-ssa-structalias.c (update_alias_info): Use pi-escape_mask,
not v_ann.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.iab.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=1.1.2.13r2=1.1.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/passes.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.109.2.7r2=2.109.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-dfa.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.63.4.6r2=2.63.4.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow.h.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.132.2.8r2=2.132.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-alias.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.109.4.11r2=2.109.4.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-operands.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.100.4.7r2=2.100.4.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-structalias.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=2.27.2.10r2=2.27.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ptree.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=1.51r2=1.51.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr24287.c.diff?cvsroot=gcconly_with_tag=improved-aliasing-branchr1=NONEr2=1.1.2.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24287



  1   2   3   4   5   6   7   8   9   10   >