aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2008-02-12* gcc.target/i386/asm-3.c: Fix dg-skip-if for all 32bit PIC targets.Uros Bizjak2-1/+5
From-SVN: r132268
2008-02-12re PR middle-end/35136 (ICE caused by address calculation with loop variable ↵Eric Botcazou4-8/+49
when optimization is on) PR middle-end/35136 * gimplify.c (force_gimple_operand_bsi): Move SSA renaming code from here to... (force_gimple_operand): ...here. From-SVN: r132267
2008-02-12bitfield-1.mm: Expect failures.Kaveh R. Ghazi10-2/+36
* obj-c++.dg/bitfield-1.mm: Expect failures. * obj-c++.dg/bitfield-4.mm: Likewise. * obj-c++.dg/cxx-ivars-2.mm: Likewise. * obj-c++.dg/encode-8.mm: Likewise. * obj-c++.dg/isa-field-1.mm: Likewise. * obj-c++.dg/layout-1.mm: Likewise. * obj-c++.dg/lookup-2.mm: Likewise. * obj-c++.dg/try-catch-2.mm: Likewise. * obj-c++.dg/try-catch-9.mm: Likewise. From-SVN: r132266
2008-02-12re PR c++/29048 ("`x' is private" error duplicated when scope specified)Jason Merrill1-0/+5
PR c++/29048 * semantics.c (finish_qualified_id_expr): Avoid duplicate access check here, too. From-SVN: r132265
2008-02-12re PR c++/35144 (ICE in generate_element_copy)Jakub Jelinek4-3/+75
PR c++/35144 * tree-sra.c (sra_build_assignment): fold_convert SRC if copying non-compatible pointers. (generate_element_copy): If SRC and DST are RECORD_TYPEs with different FIELD_DECLs, try harder by comparing field offsets, sizes and types. * g++.dg/tree-ssa/pr35144.C: New test. From-SVN: r132264
2008-02-12re PR inline-asm/35160 (local-alloc introduces sharing of the same ↵Jakub Jelinek4-1/+57
pseudo/hard reg between different output regs in inline asm) PR inline-asm/35160 * function.c (match_asm_constraints_1): Don't replace the same input multiple times. * gcc.target/i386/pr35160.c: New test. From-SVN: r132263
2008-02-12re PR c++/29048 ("`x' is private" error duplicated when scope specified)Steven Bosscher2-2/+12
PR c++/29048 * semantics.c (finish_qualified_id_expr): Avoid duplicate access check here, too. From-SVN: r132261
2008-02-12Shouldn't be executable.Jakub Jelinek3-0/+0
From-SVN: r132260
2008-02-12Shouldn't be executable.Jakub Jelinek1-0/+0
From-SVN: r132259
2008-02-12re PR c++/34862 (operator new placement variant with reference arg not ↵Jakub Jelinek4-14/+75
accepted by g++ 4.3) PR c++/34862 * init.c (build_new_1): Don't create placement_expr before constructing alloc_call. Verify that the pointer is passed by value to operator new. * g++.dg/init/new27.C: New test. From-SVN: r132257
2008-02-12re PR c++/35097 (ICE with attribute and template specialization)Jason Merrill3-2/+25
PR c++/35097 * pt.c (tsubst): Don't look up a template typedef in an explicit specialization. From-SVN: r132253
2008-02-12avr.h (AVR_HAVE_RAMPZ): Define.Anatoly Sokolov4-8/+36
* config/avr/avr.h (AVR_HAVE_RAMPZ): Define. * config/avr/avr.c (expand_prologue): Save RAMPZ register. (expand_epilogue): Restore RAMPZ register. * config/avr/avr.md (RAMPZ_ADDR): New constant. From-SVN: r132252
2008-02-12Daily bump.GCC Administrator1-1/+1
From-SVN: r132247
2008-02-11re PR c++/35113 (g++.dg/ext/vector13.C doesn't work)Douglas Gregor2-40/+34
2008-02-11 Douglas Gregor <doug.gregor@gmail.com> PR c++/35113 * tree.c (cp_build_qualified_type_real): When building a cv-qualified array type, build it as a unique type with build_cplus_array_type_1 and then adopt the unqualified type's main variant. From-SVN: r132242
2008-02-11ChangeLog: Move entry from here ...Uros Bizjak1-1/+8
* ChangeLog: Move entry from here ... * gcc/ChangeLog: ... to here. From-SVN: r132239
2008-02-11re PR c++/35077 (ICE with attribute in broken class declaration)Paolo Carlini4-1/+14
cp/ 2008-02-11 Paolo Carlini <pcarlini@suse.de> PR c++/35077 * decl.c (groktypename): Check grokdeclarator return. testsuite/ 2008-02-11 Paolo Carlini <pcarlini@suse.de> PR c++/35077 * g++.dg/template/crash78.C: New. From-SVN: r132237
2008-02-11[patch i386]: For target x86_64-pc-mingw32 _alloca andKai Tietz2-3/+38
_stkchk may corrupts stack alignment. From-SVN: r132236
2008-02-11re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 ↵Uros Bizjak5-3/+10
or on i386-apple-darwin8.11.1) PR testsuite/35047 * gcc.dg/compat/vector-2_x.c: Add -mno-mmx for x86 targets. * gcc.dg/compat/vector-2_y.c: Ditto. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r132235
2008-02-11re PR tree-optimization/33992 (Miscompiles function with inlining, breaks ↵Uros Bizjak4-0/+56
profiledbootstrap) 2008-02-11 Uros Bizjak <ubizjak@gmail.com> Richard Guenther <rguenther@suse.de> PR tree-optimization/33992 * tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of the zero we compare against. * gcc.c-torture/execute/pr33992.c: New testcase. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r132234
2008-02-11Daily bump.GCC Administrator1-1/+1
From-SVN: r132230
2008-02-10streamio_14.f90: New test.Thomas Koenig2-0/+26
2008-02-10 Thomas Koenig <tkoenig@gcc.gnu.org> * gfortran.dg/streamio_14.f90: New test. From-SVN: r132220
2008-02-10re PR c++/34094 (Undefined static data member in anonymous namespace can ↵Jason Merrill3-1/+30
acquire a definition anyway) PR c++/34094 * decl2.c (cp_write_global_declarations): Don't write out static data members with DECL_IN_AGGR_P set. From-SVN: r132218
2008-02-10[multiple changes]Jerry DeLisle1-0/+9
2008-02-10 Danny Smith <dannysmith@users.sourceforge.net> PR gcc/35063 * gthr-win32.h (__gthread_mutex_destroy_function): New function to CloseHandle after unlocking to prevent accumulation of handle count. 2008-02-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/35063 * io/unit.c (destroy_unit_mutex): New function that uses __gthread_mutex_destroy_function or pthread_mutex_destroy after unlocking and before free_mem for final closure of I/O unit. (delete_root): Use new function. (free_internal_unit): Likewise. (close_unit_1): Likewise. From-SVN: r132217
2008-02-10pr17390.c: Remove ilp32 target requirement.Uros Bizjak2-2/+6
* gcc.target/i386/pr17390.c: Remove ilp32 target requirement. Add -mfpmath=387 to dg-options. From-SVN: r132216
2008-02-10re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 ↵Uros Bizjak10-0/+22
or on i386-apple-darwin8.11.1) PR testsuite/35047 * gcc.dg/tree-ssa/gen-vect-2.c: Add -mno-sse for x86 targets. * gcc.dg/tree-ssa/gen-vect-11.c: Ditto. * gcc.dg/tree-ssa/gen-vect-11a.c: Ditto. * gcc.dg/tree-ssa/gen-vect-11b.c: Ditto. * gcc.dg/tree-ssa/gen-vect-11c.c: Ditto. * gcc.dg/tree-ssa/gen-vect-25.c: Ditto. * gcc.dg/tree-ssa/gen-vect-26.c: Ditto. * gcc.dg/tree-ssa/gen-vect-28.c: Ditto. * gcc.dg/tree-ssa/gen-vect-32.c: Ditto. From-SVN: r132215
2008-02-10re PR fortran/35019 (Gfortran does not support "-J <dir>" only "-J<dir>")Daniel Franke2-2/+8
2008-02-10 Daniel Franke <franke.daniel@gmail.com> fortran/PR35019 * lang.opt: Allow '-J<dir>' next to '-J <dir>', likewise '-I <dir>' and '-I<dir>'. From-SVN: r132213
2008-02-10re PR objc++/34193 (FAIL: obj-c++.dg/gnu-runtime-2.mm (test for excess errors))Kaveh R. Ghazi2-1/+6
PR objc++/34193 * obj-c++.dg/gnu-runtime-2.mm: Fix signature of function main(). From-SVN: r132211
2008-02-10Daily bump.GCC Administrator1-1/+1
From-SVN: r132208
2008-02-09PR middle_end/34150John David Anglin2-1/+27
* pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a pic_label_operand source. Similarly, add a REG_LABEL_OPERAND note and update LABEL_NUSES during and after reload. From-SVN: r132203
2008-02-09Add missing '*' to log entry.John David Anglin1-1/+1
From-SVN: r132200
2008-02-08re PR c++/35116 (Fail to compile valid code)Jason Merrill3-5/+36
PR c++/35116 * tree.c (build_target_expr_with_type): Handle void initializer. (bot_manip): Remap slot before recursing. From-SVN: r132197
2008-02-09re PR middle-end/34627 (Incorrect branching with -Ox on hppa)Steven Bosscher2-1/+8
PR middle-end/34627 combine.c (simplify_if_then_else): Make sure the comparison is against const0_rtx when simplifying to (abs x) or (neg (abs X)). From-SVN: r132193
2008-02-09Daily bump.GCC Administrator1-1/+1
From-SVN: r132191
2008-02-08re PR bootstrap/35051 (Build machine requires GMP and MPFR for building ↵Richard Sandiford4-1/+19
cross-host gccs) gcc/ PR bootstrap/35051 * double-int.h: Don't include gmp.h for GENERATOR_FILEs. (mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs. * real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs. (real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs. * tree.h (get_type_static_bounds): Likewise. From-SVN: r132188
2008-02-08* ru.po: Update.Joseph Myers2-3187/+3055
From-SVN: r132187
2008-02-08invoke.texi (Option Summary, [...]): Make -Wfoo language annotations match ↵Ralf Wildenhues2-40/+46
what the compiler outputs. * doc/invoke.texi (Option Summary, C++ Dialect Options) (Objective-C and Objective-C++ Dialect Options, Warning Options): Make -Wfoo language annotations match what the compiler outputs. From-SVN: r132186
2008-02-08Fixed wrong parameter type in spu intrinsics spu_convts, spu_convtu, spu_convtf.Sa Liu1-0/+6
From-SVN: r132185
2008-02-08Check parameter type of spu intrinsics spu_convts, spu_convtu, spu_convtfSa Liu1-0/+21
From-SVN: r132184
2008-02-08Fixed wrong parameter type in spuSa Liu1-4/+4
From-SVN: r132183
2008-02-08extend.texi (Function Attributes): Mention asm ("") as method to keep calls.Hans-Peter Nilsson2-0/+16
* doc/extend.texi (Function Attributes) <noinline>: Mention asm ("") as method to keep calls. From-SVN: r132182
2008-02-08Daily bump.GCC Administrator1-1/+1
From-SVN: r132180
2008-02-07re PR other/32754 (The opt?-gen.awk file generators produce incorrect credits)Manuel López-Ibáñez4-3/+11
2008-02-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR other/32754 * doc/options.texi (Options): Replace references to opts.sh with optc-gen.awk. * opts-common.c: Likewise. * optc-gen.awk: Likewise. From-SVN: r132174
2008-02-07[multiple changes]Andreas Tobler2-1/+7
2008-02-06 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/ext/vector13.C: Fix for compilation under -pedantic. 2008-02-07 Andreas Tobler <andreast-list@fgznet.ch> Douglas Gregor <doug.gregor@gmail.com> PR bootstrap/35115 * objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes. Co-Authored-By: Douglas Gregor <doug.gregor@gmail.com> From-SVN: r132173
2008-02-07s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit.Andreas Krebbel2-4/+9
2008-02-07 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit. From-SVN: r132172
2008-02-07re PR rtl-optimization/33410 (ICE in iv_analyze_expr, at loop-iv.c:934)Richard Henderson2-5/+15
PR rtl-opt/33410 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an EXPR_LIST for the REG_EQUAL instead of a comparison with a funny mode. From-SVN: r132171
2008-02-07re PR tree-optimization/35085 (gcc.dg/vect/vect-iv-9.c fails)Uros Bizjak2-0/+19
PR tree-optimization/35085 * tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update for operand entry oe2 in addition to operand entry oe3 in order to expose more opportunities for vectorizer sum reduction. From-SVN: r132168
2008-02-07Daily bump.GCC Administrator1-1/+1
From-SVN: r132164
2008-02-06re PR other/35107 (GCC unnecessarily links shared libs with xgcc, gcov, cpp, ↵Kaveh R. Ghazi16-13/+54
jcf-dump, etc.) 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> PR other/35107 * Makefile.in (LIBS): Remove $(GMPLIBS). (cc1-dummy, cc1): Add $(GMPLIBS). ada: PR other/35107 * Make-lang.in (gnat1): Add $(GMPLIBS). cp: PR other/35107 * Make-lang.in (cc1plus-dummy, cc1plus): Add $(GMPLIBS). fortran: PR other/35107 * Make-lang.in (f951): Add $(GMPLIBS). java: PR other/35107 * Make-lang.in (jc1): Add $(GMPLIBS). objc: PR other/35107 * Make-lang.in (cc1obj-dummy, cc1obj): Add $(GMPLIBS). objcp: PR other/35107 * Make-lang.in (cc1objplus-dummy, cc1objplus): Add $(GMPLIBS). treelang: PR other/35107 * Make-lang.in (tree1): Add $(GMPLIBS). From-SVN: r132160
2008-02-06re PR c++/35056 (ICE in copy_to_mode_reg, at explow.c:621)Alexandre Oliva6-3/+42
gcc/cp/ChangeLog: PR c++/35056 * tree.c: Include tree-flow.h. (build_target_expr): Check type compatibility. * Make-lang.in (cp/tree.o): Depend on $(TREE_FLOW_H). * call.c (convert_like_real): Convert bitfield to expected type. gcc/testsuite/ChangeLog: PR c++/35056 * g++.dg/conversion/bitfield8.C: New. From-SVN: r132158
2008-02-06vector13.C: Fix for compilation under -pedantic.Douglas Gregor2-1/+5
2008-02-06 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/ext/vector13.C: Fix for compilation under -pedantic. From-SVN: r132154