aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2008-02-13re PR ada/35143 (Serious regression on ACATS results since 4.2.3)Joel Sherrill8-12/+423
2008-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> PR ada/35143 * env.c: Add __rtems__ to if defined. * s-osinte-rtems.adb: Add To_Target_Priority. Fix formatting. * s-osinte-rtems.ads: Add To_Target_Priority prototype and PTHREAD_SCOPE_PROCESS/PTHREAD_SCOPE_SYSTEM constants. Add pragma Convention as required. * gsocket.h: Make compile in and out of RTS. * Makefile.in: Add system-rtems.ads. Build DEC extensions. Use g-soccon-rtems.ads. * g-soccon-rtems.ads, system-rtems.ads: New files. From-SVN: r132294
2008-02-13* gcc.dg/pr35065.c: Fix testcase warnings.Michael Matz2-5/+10
From-SVN: r132288
2008-02-13s390.c (struct constant_pool): New field emit_pool_after added.Andreas Krebbel2-14/+70
2008-02-13 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (struct constant_pool): New field emit_pool_after added. (s390_mainpool_start): Set the emit_pool_after flag according to the section switch notes. (s390_mainpool_finish): Consider emit_pool_after when emitting the literal pool at the end of the function. (s390_chunkify_start): Force literal pool splits at section switch notes. From-SVN: r132287
2008-02-13re PR debug/35065 (infinite loop while compiling VLC media player in ↵Michael Matz4-0/+233
vt_find_locations) PR debug/35065 * var-tracking.c (clobber_variable_part): Correctly traverse the list. * gcc.dg/pr35065.c: New testcase. From-SVN: r132286
2008-02-13re PR middle-end/29673 (no -fdump-tree-inlined output)Manuel López-Ibáñez4-12/+16
2008-02-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR 29673 * doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined. Add -fdump-ipa-inline. * tree-dump.c (dump_files): Remove tree-inlined dump. * tree-pass.h (tree_dump_index): Remove TDI_inlined. From-SVN: r132284
2008-02-13re PR c++/34774 (templates, enumerations, overflow, ice)Jason Merrill3-1/+17
PR c++/34774 * pt.c (value_dependent_expression_p): Look into DECL_INITIAL of enumerators, too. From-SVN: r132283
2008-02-12re PR c++/34824 (ICE with explicit copy constructor)Jason Merrill3-2/+39
PR c++/34824 * call.c (convert_like_real): Pass LOOKUP_ONLYCONVERTING to build_temp if we're doing conversions to call a user-defined conversion function. From-SVN: r132282
2008-02-13Daily bump.GCC Administrator1-1/+1
From-SVN: r132280
2008-02-12re PR tree-optimization/35171 (ICE in vect_recog_dot_prod_pattern)Richard Guenther4-5/+25
2008-02-12 Richard Guenther <rguenther@suse.de> PR tree-optimization/35171 * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with default defs. * gcc.c-torture/compile/pr35171.c: New testcase. From-SVN: r132270
2008-02-12re PR middle-end/35163 (folding comparison loses cast)Richard Guenther4-1/+25
2008-02-12 Richard Guenther <rguenther@suse.de> PR middle-end/35163 * fold-const.c (fold_widened_comparison): Use get_unwidened in value-preserving mode. Disallow final truncation. * gcc.c-torture/execute/pr35163.c: New testcase. From-SVN: r132269
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