Age | Commit message (Collapse) | Author |
|
Merged revisions 188408,188420,188422,188460,188462,188491,188513,188519,188522,188529,188532,188543,188552-188596,188599,188605,188613-188615,188617,188623-188626,188631,188633,188644,188654,188658,188674,188688,188697,188700,188706,188720,188736,188750,188760,188763,188768,188801 via svnmerge from
svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch
=======================================================================
Bugs fixed (http://gcc.gnu.org/bugzilla)
Codegen
53580
Optimizers
53589, 52558, 53700
Fortran
53597, 50619
C++
53599, 52841, 53616, 53678, 53270
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/gcc-4_7-integration@188855 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
184777,184779,184812,184842,184848,184853,184861,184871,184878,184895,184909,184921,184931,184950-184951,184954,184956,184970,184991-184992,185001,185023,185034,185063,185077,185087,185102,185119,185151,185164,185170,185180,185185,185189,185206,185209,185234,185237,185239,185243,185248,185275,185359-185360,185364,185366,185370,185383,185402,185405,185432,185440,185450,185457,185480,185497,185506,185513,185551,185592,185606,185626,185630-185674,185679,185681-185683,185685-185686,185690,185696-185697,185704-185706,185708,185710-185711,185713-185714,185717,185720,185723,185726,185733,185738,185740,185743,185747,185749,185755,185759-185760,185763,185766,185771,185781,185785,185794,185805,185828,185864,185877,185879,185896,185901,185905,185908-185909,185911,185916,185918,185920,185926,185929,185932,185934,185936,185939,185942,185947,185961,185964,185967,185969,185972,185979,185984,185987,185989,185991,186014,186021-186022,186025,186027,186030,186033,186036-186037,186039,186046,186048,186053,186061,186089,186096,186103,186105,186107-186108,186113,186115,186121,186124,186127,186141,186145,186152,186173,186178,186180,186188,186195-186197,186207,186214-186215,186218,186221,186232,186236,186238,186242,186249,186255,186262,186264,186266,186296,186300,186359-186360,186367,186370,186376-186377,186392,186394,186401,186404,186409,186412,186417,186424-186425,186430,186435-186436,186443,186459,186461,186473,186477,186481,186489,186500,186510,186512,186515,186517,186531-186533,186543-186544,186556,186573,186583,186589,186603,186606,186608,186611,186630,186632,186634,186636,186638,186641,186643,186648,186650-186651,186656,186661,186671,186677,186679,186684,186686,186691,186695,186698-186699,186713,186716-186717,186723,186728,186733,186740,186743,186745,186765,186767,186770,186773,186775,186779,186782,186785,186787,186792,186802,186804,186809-186810,186841-186842,186848-186849,186853,186858 via svnmerge from
svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch
Bugs fixed (http://gcc.gnu.org/bugzilla)
Optimizers
52592
C
52577, 52682, 52862, 53060
C++
52521, 52582, 52671, 52433, 52487, 52540, 52746, 52743, 52759,
52685, 52718, 52672, 52799, 52796, 52596, 52476, 52591, 52924,
52942, 52822, 52824, 52699, 52465, 52292, 52380, 52689, 50303,
50830, 38543, 53003, 52839, 53027, 53067
Fortran
52452, 52758, 52668, 52893,
Optimizers/Codegen
52545, 52547, 52640, 52720, 51893, 52750, 52691, 52693, 52835,
52493, 52678, 52701, 52754, 52580, 52406, 52894, 52943, 52969,
52939, 52891,
PPC
50310, 52775
x86
52736, 52698, 52932, 53020,
Other notable changes
C++
Mangling fixes: revs 185606, 185704
gcc/cp/
* mangle.c (write_type): Handle 'auto'.
* init.c (build_new): Don't do auto deduction where it might
affect template mangling.
libiberty/
* cp-demangle.c (cplus_demangle_type): Handle 'auto'.
* cp-demangle.c (cplus_demangle_operators): Add li.
(d_unqualified_name): Handle it specially.
C++11 changes (LWG 1310): rev 186404
* include/bits/forward_list.h (splice_after(const_iterator,
forward_list&), splice_after(const_iterator, forward_list&,
consst_iterator), splice_after(const_iterator, forward_list&,
const_iterator, const_iterator), merge(forward_list&),
merge(forward_list&, _Comp)): Add per C++11 as published (and
LWG 1310).
* include/debug/forward_list: Adjust.
* include/bits/forward_list.h (splice_after(const_iterator,
forward_list&&, const_iterator)): Only declare.
(_M_transfer_after): Remove.
(_M_splice_after(const_iterator, forward_list&&)): Change signature.
(splice_after(const_iterator, forward_list&&, const_iterator,
const_iterator)): Use the latter.
* include/bits/forward_list.tcc (splice_after(const_iterator,
forward_list&&, const_iterator)): Define here.
(_M_splice_after): Define, use throughout.
* include/bits/forward_list.h (insert_after(const_iterator,
std::initializer_list<_Tp>)): Forward to insert_after(const_iterator,
_InputIterator, _InputIterator).
* include/bits/forward_list.tcc: Remove definition.
* testsuite/23_containers/forward_list/modifiers/6.cc: New.
* testsuite/23_containers/forward_list/operations/1.cc: Adjust.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/gcc-4_7-integration@186906 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
183499-183500,183502-183503,183507,183509-183510,183512-183516,183518-183519,183521-183522,183524,183527-183542,183547,183549,183552,183555-183557,183559-183561,183566-183567,183570,183577,183579-183585,183588,183591,183593,183598-183599,183601-183611,183613-183616,183620-183622,183624-183625,183627-183630,183632-183635,183637-183638,183641-183644,183648,183650-183652,183655,183660-183661,183663,183667-183670,183674-183688,183692-183694,183696-183708,183710-183711,183713-183715,183717-183726,183728,183730,183732-183733,183737,183739,183741,183743-183745,183749,183751-183759,183763,183765-183766,183768-183771,183773-183775,183782,183787-183788,183791-183794,183796,183798,183800,183802,183806-183808,183810-183812,183814-183816,183821,183825-183826,183829-183830,183832-183833,183836,183840-183841,183843,183846-183849,183851-183853,183859-183860,183862,183865,183867,183869-183870,183873,183875,183878,183887,183889,183891,183894-183895,183900,183902,183904-183918,183920,183925-183926,183928,183932-183934,183936-183937,183940-183945,183951,183953-183956,183962,183964,183966,183968,183970-183972,183974,183976-183985,183987,183991,183993-183995,183997-184001,184003-184007,184009-184011,184015-184017,184021-184028,184032-184037,184041-184043,184045,184065,184075,184079-184080,184083,184086,184088-184089,184092,184096-184100,184102-184103,184107-184108,184110-184113,184115-184117,184121-184124,184126-184130,184134-184145,184150-184152,184155-184161,184165,184167-184169,184171,184174,184177,184180-184181,184185,184187-184188,184192-184193,184196,184198-184203,184210-184212,184214,184217-184224,184227,184229,184232-184234,184236-184238,184245-184246,184250-184255,184257-184259,184264-184265,184269,184272,184274,184276-184277,184279-184282,184284,184286-184287,184289,184291,184293,184297-184303,184305-184306,184310,184313-184314,184316-184320,184322,184327-184343,184345,184347-184353,184355-184357,184362-184365,184367,184372-184373,184377,184379-184381,184385,184388,184390-184394,184396,184398-184406,184409,184414,184416-184417,184421-184422,184426,184428-184430,184433-184437,184439-184440,184442,184445-184448,184451,184453,184458,184461-184464,184466-184467,184471-184475,184477-184478,184480-184481,184485,184488,184490,184500-184501,184503,184506-184509,184511,184519,184522,184526-184527,184530-184531,184540,184542-184549,184552,184555,184557-184560,184564,184568-184569,184571-184572,184576,184581-184585,184589-184590,184592-184594,184596-184607,184613-184630,184632-184634,184636,184638-184642,184645,184649,184651-184654,184656-184662,184664-184667 via svnmerge from
svn+ssh://gcc.gnu.org/svn/gcc/trunk
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration@184682 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
182352-182353,182355-182360,182362-182372,182374-182382,182384-182392,182398,182401-182411,182414-182415,182419-182420,182424,182428-182433,182435,182441-182442,182445,182451-182453,182455-182457,182460,182462,182466,182470-182471,182474-182475,182477-182485,182487,182489,182491-182502,182504-182506,182508,182510,182512,182516,182520-182524,182526-182528,182532-182540,182542,182545-182546,182548-182556,182560-182564,182567-182568,182570-182571,182573-182578,182581-182595,182599,182602,182604-182605,182607-182609,182613,182615-182621,182623-182628,182630-182633,182636-182640,182644-182653,182655-182663,182665-182669,182673-182676,182680,182684-182686,182690,182692-182698,182702-182706,182708-182711,182713,182717,182719-182728,182731,182734,182738,182740,182742-182747,182751,182754-182757,182760-182761,182765,182767-182769,182771-182776,182780-182781,182783,182785-182789,182791-182798,182800-182806,182809-182810,182819-182821,182825-182826,182828-182833,182835-182839,182844-182845,182849,182851,182854-182858,182860,182864-182865,182868-182869,182871-182882,182884-182886,182889,182895,182897,182899-182900,182902-182904,182907-182909,182911-182915,182917,182919-182926,182928-182932,182935,182937-182938,182942-182943,182947,182950-182954,182959,182963,182965,182967-182975,182979,182981-182984,182988-182995,182999,183002-183003,183005,183007-183008,183010-183013,183015-183018,183020,183024-183025,183028-183030,183032-183034,183038-183039,183043,183047-183067,183069-183070,183072,183085,183087-183090,183092-183109,183111-183112,183117-183124,183126,183129-183130,183132-183133,183136-183137,183141,183144,183148-183151,183153-183156,183158-183159,183161-183162,183164-183169,183171-183173,183177-183180,183182-183183,183185-183186,183190,183192,183194-183197,183204,183207,183210,183213-183214,183216-183222,183228,183233,183235-183238,183242-183243,183245-183249,183251-183254,183261-183264,183268,183270-183273,183277,183281,183285-183288,183290,183295-183297,183299-183301,183303-183307,183310,183312-183313,183317,183324-183326,183328-183330,183335-183336,183338-183342,183344-183345,183348-183352,183355-183356,183358-183359,183363,183365,183368,183370-183371,183374,183376,183378-183379,183381,183385,183388-183390,183396,183402,183406-183414,183416-183425,183427,183429-183436,183438-183439,183441-183446,183450-183455,183457-183458,183462-183468,183470,183472-183476,183478-183483,183485-183494,183496-183497 via svnmerge from
svn+ssh://gcc.gnu.org/svn/gcc/trunk
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration@183740 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
180235-180237,180239-180240,180242-180252,180254-180258,180261-180262,180264,180266-180268,180270-180272,180276-180278,180282-180284,180287,180289,180292,180294-180296,180299-180302,180304-180305,180307-180314,180316,180320-180321,180323-180325,180327-180329,180333-180336,180340-180354,180358-180364,180367-180377,180380-180381,180383-180385,180388,180397,180400-180402,180405,180407-180408,180410-180411,180417-180421,180423-180427,180429-180430,180432,180434-180435,180437-180442,180444-180446,180448-180459,180464-180468,180517-180526,180528,180531-180532,180536-180546,180549-180552,180556,180558-180560,180562-180565,180567-180569,180572,180574-180580,180588-180590,180600-180613,180617-180618,180620,180622-180627,180632-180634,180639-180642,180646-180657,180659-180660,180669-180670,180673-180675,180677-180682,180684-180687,180694-180705,180707-180709,180712-180717,180721,180723-180729,180731-180739,180741-180743,180745-180748,180750,180752,180756-180758,180760-180765,180767-180771,180773-180776,180778-180780,180783-180788,180791,180793-180796,180799-180800,180802-180803,180805,180810,180814,180818-180822,180825-180833,180837,180839-180840,180842-180862,180864-180870,180872-180875,180877-180895,180897-180911,180913,180916-180922,180928-180936,180938-180957,180959-180967,180970,180972,180974,180976,180978,180982-180983,180986,180992,180996,180999-181003,181005-181007,181009-181017,181021-181024,181026-181027,181030-181031,181037-181042,181044-181049,181053-181056,181062-181065,181068-181072,181074-181082,181084-181087,181089-181107,181111-181112,181114,181116,181118-181120,181122,181124-181125,181127-181128,181131-181132,181134,181138-181139,181141-181143,181145,181147,181149-181166,181168-181175,181179-181183,181187-181200,181202-181241,181245-181246,181248,181250-181263,181265-181267,181269-181273,181278-181292,181296-181301,181306-181312,181315,181317-181327,181331-181335,181338-181341,181345-181350,181353,181355,181357-181361,181363-181372,181376-181381,181383-181384,181387-181388,181390-181395,181399-181400,181403,181405,181407-181411,181414,181416-181417,181419-181423,181425-181426,181431,181434,181436,181438,181441-181446,181451-181460,181464-181470,181473-181478,181480-181482,181489-181493,181495-181496,181501,181503,181505-181509,181511-181513,181517,181521,181523-181535,181537-181539,181543-181552,181555-181559,181561-181570,181572-181573,181575-181576,181579-181582,181584,181587-181588,181590,181592-181602,181606-181608,181610-181620,181623-181629,181631,181633-181634,181638-181640,181642-181643,181648,181653-181670,181674-181677,181683-181685,181690-181691,181694,181696-181698,181700-181702,181706-181707,181709,181713,181715,181718,181721-181725,181727-181728,181730-181731,181735,181738-181750,181754-181766,181770-181773,181775,181778-181779,181782,181784-181789,181793-181816,181818-181819,181821,181823-181825,181829-181833,181836-181837,181842-181843,181848-181849,181851-181857,181859-181863,181867-181870,181872,181874-181877,181879-181887,181889-181897,181901-181902,181906,181908,181912-181920,181922,181924,181926-181933,181937-181939,181949,181951,181955,181959,181964-181968,181970-181975,181979-181987,181990-181995,181999-182002,182004-182017,182020-182021,182023-182031,182033,182037-182039,182041-182045,182048-182056,182058-182061,182063-182068,182072-182077,182082-182086,182088-182092,182096-182097,182100,182102,182105,182107-182110,182115-182117,182119,182121,182123,182127,182131-182134,182136,182140-182144,182148,182151-182152,182154-182156,182158-182170,182174-182175,182177-182179,182183-182194,182198-182206,182208,182210-182212,182217-182221,182224-182235,182237-182242,182244,182246-182247,182249-182252,182256-182258,182262-182266,182270-182271,182275-182276,182278-182302,182306-182310,182313-182315,182319-182322,182324,182326-182332,182336-182338,182342-182343,182345-182347 via svnmerge from
svn+ssh://gcc.gnu.org/svn/gcc/trunk
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration@182413 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration@180436 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration@179485 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* testsuite-management/x86_64-unknown-linux-gnu.xfail: New.
gcc/testsuite/ChangeLog.google-integration
* g++.dg/tree-prof/partition2.C: Revert to mainline variant.
* g++.dg/tree-ssa/pr41186.C: Likewise.
* gcc.dg/cproj-fails-with-broken-glibc.c: Likewise.
* gcc.dg/guality/sra-1.c: Likewise.
* gcc.dg/guality/vla-1.c: Likewise.
* gcc.dg/guality/vla-2.c: Likewise.
* gcc.dg/inline_3.c: Likewise.
* gcc.dg/inline_4.c: Likewise.
* gcc.dg/tree-ssa/vrp47.c: Likewise.
* gcc.dg/uninit-B.c: Likewise.
* gcc.dg/uninit-pr19430.c: Likewise.
* gcc.dg/unroll_2.c: Likewise.
* gcc.dg/unroll_3.c: Likewise.
* gcc.dg/unroll_4.c: Likewise.
* gcc.target/i386/pr27827.c: Likewise.
* gcc.target/i386/sse4_1-blendps-2.c: Likewise.
* gcc.target/i386/sse4_1-blendps.c: Likewise.
libmudflap/ChangeLog.google-integration
* testsuite/libmudflap.c++/pass55-frag.cxx: Revert to
mainline variant.
libstdc++-v3/ChangeLog.google-integration:
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Revert to mainline variant.
* testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration@178862 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177700 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177529 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
gcc/cp/
* mangle.c (write_prefix): Handle decltype.
libiberty/
* cp-demangle.c (d_prefix): Handle decltype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177074 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2011-07-26 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/demangle-expected: Remove an extra line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176796 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(d_print_comp): Check for NULL template argument.
* testsuite/demangle-expected: Add test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176791 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* stack-limit.c: Include <stdint.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176662 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* libiberty.h (stack_limit_increase): New prototype.
* stack-limit.c: New file.
* Makefile.in: Regenerate deps.
(CFILES): Add stack-limit.c.
(REQUIRED_OFILES): Add ./stack-limit.$(objext).
* configure.ac (checkfuncs): Add getrlimit and setrlimit.
(AC_CHECK_FUNCS): Likewise.
* configure: Regenerated.
* config.in: Regenerated.
* gcc.c (main): Call stack_limit_increase (64MB).
* toplev.c (toplev_main): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176622 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* libiberty.h (stack_limit_increase): New prototype.
* stack-limit.c: New file.
* Makefile.in: Regenerate deps.
(CFILES): Add stack-limit.c.
(REQUIRED_OFILES): Add ./stack-limit.$(objext).
* configure.ac (checkfuncs): Add getrlimit and setrlimit.
(AC_CHECK_FUNCS): Likewise.
* configure: Regenerated.
* config.in: Regenerated.
* gcc.c (main): Call stack_limit_increase (64MB).
* toplev.c (toplev_main): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176617 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(d_print_comp) [DEMANGLE_COMPONENT_FUNCTION_PARAM]: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175836 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
HFS+, the FS on Darwin, is case insensitive. So this patch adjusts
filename_cmp.c to ignore the casing when comparing filenames on Darwin.
include/ChangeLog:
* filenames.h (HAVE_CASE_INSENSITIVE_FILE_SYSTEM): Define
on Darwin, as well as on the systems that use a DOS-like
filesystem.
libiberty/ChangeLog:
* filename_cmp.c (filename_cmp, filename_ncmp): Add handling of
HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175762 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR debug/49408
* cp-demangle.c (d_print_comp): Suppress argument list for function
references by the '&' unary operator. Keep also already processed
variant without the argument list. Suppress argument list types for
function call used in an expression.
* testsuite/demangle-expected: Fix excessive argument list types in
`test for typed function in decltype'. New testcase for no argument
list types printed. 3 new testcases for function references by the
'&' unary operator..
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175761 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* cp-demangle.c (d_print_comp): Handle reference smashing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175213 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>:
Suppress d_print_mod for DMGL_RET_POSTFIX.
* testsuite/demangle-expected: New testcases for --ret-postfix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175001 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* demangle.h (DMGL_RET_POSTFIX): Extend the comment.
(DMGL_RET_DROP): New.
libiberty/
* cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do
not pass DMGL_RET_POSTFIX or DMGL_RET_DROP. Support DMGL_RET_DROP.
* testsuite/demangle-expected: New testcases for --ret-drop.
* testsuite/test-demangle.c: Document --ret-drop in a comment.
(main): New variable ret_drop, fill it, call cplus_demangle with it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175000 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* cp-demangle.c (struct d_print_info): Remove field options.
(d_print_init): Remove parameter options.
(cplus_demangle_print_callback): Update all the callers.
(d_print_comp, d_print_mod_list, d_print_mod, d_print_function_type)
(d_print_array_type, d_print_expr_op, d_print_cast, d_print_subexpr):
Add parameter options, update all the callers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174999 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Change "if (E) free (E);" to "free (E);" everywhere except in the
libgo/, intl/, zlib/ and classpath/ directories.
Also transform equivalent variants like
"if (E != NULL) free (E);" and allow an extra cast on the
argument to free. Otherwise, the tested and freed "E"
expressions must be identical, modulo white space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172785 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Avoid memory overrun in a test leading to potential double-free.
* testsuite/test-expandargv.c (writeout_test): Fix off-by-one error:
i.e., do copy the trailing NUL byte.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172246 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* makefile.vms (OBJS): Add filename_cmp.obj
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171776 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR debug/28047
* dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp.
(lookup_filename): Likewise.
* final.c (remap_debug_filename): Use filename_ncmp instead of
strncmp.
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* filename_cmp.c (filename_ncmp): New function.
* functions.texi: Regenerated.
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* filenames.h (filename_ncmp): New prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170570 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
libiberty/:
* splay-tree.c: Escape wrapping newlines in texinfo markup
with '@', to fix function declaration output rendering.
* gather-docs: Relax and improve macro name matching to actually
match all current names and to allow input line wrapping.
* bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
pexecute.txh, random.c, setenv.c, setproctitle.c,
simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
Wrap long texinfo input lines.
* functions.texi: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169783 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168942 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168438 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
all callers updated. Rewrite to be non-recursive.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167589 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167236 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166996 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
/:
PR other/46202
* configure.ac: Fix just-built in-tree STRIP name to be
binutils/strip-new.
* configure: Regenerate.
* Makefile.def (install-strip-gcc, install-strip-binutils)
(install-strip-opcodes, install-strip-ld, install-strip-itcl)
(install-strip-sid): Mirror dependencies on non-strip variants
of these targets on the respective -strip prerequisites.
* Makefile.tpl (install-strip, install-strip-host)
(install-strip-target): New targets.
(install-strip-[+module+], install-strip-target-[+module+]):
New targets.
* Makefile.in: Regenerate.
gcc/:
PR other/46202
* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
variables.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
shell quoting.
(STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
(install-strip): New target.
(STRIPPROG): New variable, exported if STRIP is set.
* doc/install.texi (Final install): Minor markup and code style
fixes. Document install-strip target.
fixincludes/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(all, check, install): Also mark as phony.
libgcc/:
PR other/46202
* Makefile.in (install-strip): New phony target.
libiberty/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(install): Also mark as phony.
gnattools/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.
libada/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166980 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* simple-object.h (simple_object_attributes_merge): Declare,
replacing simple_object_attributes_compare.
libiberty/:
* simple-object.c (simple_object_attributes_merge): Rename from
simple_object_attributes_compare. Call merge field.
* simple-object-common.h (struct simple_object_functions): Rename
attributes_compare field to attribute_merge.
* simple-object-elf.c (EM_SPARC): Define.
(EM_SPARC32PLUS): Define.
(simple_object_elf_attributes_merge): Renamed from
simple_object_elf_attributes_compare. Permit EM_SPARC and
EM_SPARC32PLUS objects to be merged.
(simple_object_elf_functions): Update function name.
* simple-object-coff.c (simple_object_coff_attributes_merge):
Rename from simple_object_coff_attributes_compare.
(simple_object_coff_functions): Update function name.
* simple-object-mach-o.c (simple_object_mach_o_attributes_merge):
Renamed from simple_object_mach_o_attributes_compare.
(simple_object_mach_o_functions): Update function name.
gcc/lto/:
* lto-object.c (lto_obj_file_open): Call
simple_object_attributes_merge rather than
simple_object_attributes_compare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166848 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2010-11-16 H.J. Lu <hongjiu.lu@intel.com>
PR other/42670
PR binutils/11137
* cp-demangle.c (d_make_demangle_mangled_name): New.
(d_demangle_callback): Use it on DCT_GLOBAL_XTORS.
* testsuite/demangle-expected: Updated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166810 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* simple-object-coff.c (simple_object_coff_read_strtab): Fix reading
offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166735 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR other/46332
* cp-demangle.c (d_print_function_type): Don't print parentheses
if there are no modifiers to print.
* testsuite/demangle-expected: Tweak one test case, add another.
libstdc++/:
* testsuite/abi/demangle/abi_examples/14.cc (main): Change
expected demangling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166695 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* configure.ac (AC_CHECK_HEADERS): Add process.h.
(checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
(AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
* configure, config.in: Rebuild.
* pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
[HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166339 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* simple-object.h: New file.
libiberty/:
* simple-object.c: New file.
* simple-object-common.h: New file.
* simple-object-elf.c: New file.
* simple-object-mach-o.c: New file.
* simple-object-coff.c: New file.
* simple-object.txh: New file.
* configure.ac: Add AC_TYPE_SSIZE_T.
* Makefile.in: Rebuild dependencies.
(CFILES): Add simple-object.c, simple-object-coff,
simple-object-elf.c, and simple-object-mach-o.c.
(REQUIRED_OFILES): Add corresponding object files.
* configure: Rebuild.
* config.in: Rebuild.
* functions.texi: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166185 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
comment.
* functions.texi: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166079 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165977 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Fixes cross compilation for libiberty after my change
libiberty/
2010-10-07 Andi Kleen <ak@linux.intel.com>
* configure: Regenerate.
* configure.ac: Turn PR_SET_NAME check into link check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165086 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
On larger parallel WHOPR builds I find it useful to see in top which
phase a given lto1 is in.
Set the process name to lto1-wpa, lto1-ltrans, lto1-lto depending
on the current mode.
This is currently only implemented for Linux and only
using the "comm" process name, which is reported in top.
v2: Moved function to libiberty, renamed setproctitle to match
BSD. In theory it should pick up BSD's libc function for this
on a BSD system, but I haven't tested this.
gcc/lto/
2010-10-06 Andi Kleen <ak@linux.intel.com>
* lto.c (lto_process_name): Add.
(lto_main): Call lto_process_name.
include/
2010-10-06 Andi Kleen <ak@linux.intel.com>
* libiberty.h (setproctitle): Add prototype.
libiberty/
2010-10-06 Andi Kleen <ak@linux.intel.com>
* Makefile.in (CFILES): Add setproctitle.
(CONFIGURED_OFILES): Add setproctitle.
(setproctitle): Add rule.
* config.in: Regenerate.
* configure: Regenerate.
* configure.ac: Add checks for prctl PR_SET_NAME and setproctitle.
* setproctitle.c: Add file.
* functions.texi: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165066 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* cplus-dem.c (ada_demangle): Add comments.
Handle stream and controlled type operations.
Decoding of some uppercase letters moved before separators.
* testsuite/demangle-expected: Add tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164518 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
http://sourceware.org/bugzilla/show_bug.cgi?id=11572
* cp-demangle.c (d_find_pack): Add case for
DEMANGLE_COMPONENT_LAMBDA.
* testsuite/demangle-expected: Add regression test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164203 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR 44001
* maint-tool (missing): Fix pattern for object file.
(deps): Use $(objext) for object extension.
* Makefile.in (objext): New variable.
Replace all occurences of .o with .$(objext)
Regenerate with maint-deps
* configure.ac (pexecute): Set to the basename.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163989 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
corresponding stream has been opened.
(pex_free): Close pipe file descriptors corresponding to child's
stdout and stderr before waiting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163426 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
files are opened in order to prevent infinite recursion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163222 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162379 138bc75d-0d04-0410-961f-82ee72b054a4
|