aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSteven Bosscher <s.bosscher@student.tudelft.nl>2003-02-22 06:34:23 +0100
committerAndreas Jaeger <aj@gcc.gnu.org>2003-02-22 06:34:23 +0100
commit26182e150e12399cdd151a70f46e3c937add775c (patch)
treefa4ab179484b2732016930206d3756d4025af4f7 /gcc
parentc0a47a612627d49755b9ef8225924c6df97eed43 (diff)
downloadgcc-26182e150e12399cdd151a70f46e3c937add775c.zip
gcc-26182e150e12399cdd151a70f46e3c937add775c.tar.gz
gcc-26182e150e12399cdd151a70f46e3c937add775c.tar.bz2
re PR c++/3782 (-quiet -fstats produces a segmentation fault in cc1plus)
2003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl> PR other/3782 * toplev.c (process_options): If flag_detailed_statistics is set, then set time_report as well. From-SVN: r63274
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog36
-rw-r--r--gcc/toplev.c14
2 files changed, 30 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5ddc7da..ebbfaaf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,13 @@
+2003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl>
+
+ PR other/3782
+ * toplev.c (process_options): If flag_detailed_statistics is set,
+ then set time_report as well.
+
+ PR c/8828
+ * jump.c (never_reached_warning): Don't fall through BARRRIER
+ insns. Update comments to reflect what the function really does.
+
2003-02-21 Roger Sayle <roger@eyesopen.com>
* fold-const.c (omit_one_operand): No longer static.
@@ -1776,7 +1786,7 @@ Mon Feb 3 21:19:11 CET 2003 Jan Hubicka <jh@suse.cz>
* config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
i386_simplify_dwarf_addr.
(ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
- (maybe_get_pool_constant): Likewise.
+ (maybe_get_pool_constant): Likewise.
Mon Feb 3 16:01:17 CET 2003 Jan Hubicka <jh@suse.cz>
@@ -2262,9 +2272,9 @@ Wed Jan 29 10:26:12 CET 2003 Jan Hubicka <jh@suse.cz>
* regclass.c (init_reg_autoinc): New function.
(regclass): Move initialization of forbidden_inc_dec_class from
- here...
+ here...
(init_regs): to here. Avoids reinitialization for each function,
- saving compilation time.
+ saving compilation time.
2003-01-28 Jason Merrill <jason@redhat.com>
@@ -2391,16 +2401,16 @@ Wed Jan 29 10:26:12 CET 2003 Jan Hubicka <jh@suse.cz>
Tue Jan 28 12:15:13 CET 2003 Jan Hubicka <jh@suse.cz>
- * i386.c (ix86_carry_flag_operator): New predicate.
- (fcmov_operator): Fix whitespace.
- (ix86_expand_carry_flag_compare): Deal with floating point.
- (ix86_expand_int_movcc): Deal with fp; update insn expansion
- (ix86_expand_int_addcc): Likewise.
- (ix86_expand_strlensi_unroll_1): likewsie.
- * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
- * i386.md (add?i_carry_rex64): Use new predicate.
- (sub?i3_carry_rex64): Likewise.
- (x86_mov?icc_0_m1*): Likewise.
+ * i386.c (ix86_carry_flag_operator): New predicate.
+ (fcmov_operator): Fix whitespace.
+ (ix86_expand_carry_flag_compare): Deal with floating point.
+ (ix86_expand_int_movcc): Deal with fp; update insn expansion
+ (ix86_expand_int_addcc): Likewise.
+ (ix86_expand_strlensi_unroll_1): likewsie.
+ * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
+ * i386.md (add?i_carry_rex64): Use new predicate.
+ (sub?i3_carry_rex64): Likewise.
+ (x86_mov?icc_0_m1*): Likewise.
2003-01-28 Andreas Schwab <schwab@suse.de>
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 4489852..e55d265 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -596,7 +596,7 @@ int flag_finite_math_only = 0;
/* Zero means that floating-point math operations cannot generate a
(user-visible) trap. This is the case, for example, in nonstop
IEEE 754 arithmetic. Trapping conditions include division by zero,
- overflow, underflow, invalid and inexact, but does not include
+ overflow, underflow, invalid and inexact, but does not include
operations on signaling NaNs (see below). */
int flag_trapping_math = 1;
@@ -4439,7 +4439,7 @@ independent_decode_option (argc, argv)
if (argv[1][0])
dump_base_name = argv[1];
-
+
return 2;
}
else
@@ -4519,7 +4519,7 @@ independent_decode_option (argc, argv)
if (argv[1][0])
aux_base_name = argv[1];
-
+
return 2;
}
else if (!strcmp (arg, "auxbase-strip"))
@@ -4533,7 +4533,7 @@ independent_decode_option (argc, argv)
if (argv[1][0])
aux_base_name = argv[1];
}
-
+
return 2;
}
else
@@ -5205,7 +5205,7 @@ process_options ()
print_switch_values (stderr, 0, MAX_LINE, "", " ", "\n");
}
- if (! quiet_flag)
+ if (! quiet_flag || flag_detailed_statistics)
time_report = 1;
if (flag_syntax_only)
@@ -5341,7 +5341,7 @@ lang_dependent_init (name)
{
if (dump_base_name == 0)
dump_base_name = name ? name : "gccdump";
-
+
/* Front-end initialization. This hook can assume that GC,
identifier hashes etc. are set up, but debug initialization is
not done yet. This routine must return the original filename
@@ -5464,7 +5464,7 @@ do_compile ()
else if (filename)
{
char *name = xstrdup (lbasename (filename));
-
+
aux_base_name = name;
strip_off_ending (name, strlen (name));
}