+2022-07-10 Aldy Hernandez <aldyh@redhat.com>
+
+ * value-range.cc (irange::operator=): Call verify_range.
+ (irange::irange_set): Normalize kind after everything else has
+ been set.
+ (irange::irange_set_anti_range): Same.
+ (irange::set): Same.
+ (irange::verify_range): Disallow nonzero masks for VARYING.
+ (irange::irange_union): Call verify_range.
+ Handle nonzero masks better.
+ (irange::irange_intersect): Same.
+ (irange::set_nonzero_bits): Calculate mask if either range has an
+ explicit mask.
+ (irange::intersect_nonzero_bits): Same.
+ (irange::union_nonzero_bits): Same.
+ (range_tests_nonzero_bits): New.
+ (range_tests): Call range_tests_nonzero_bits.
+ * value-range.h (class irange): Remove set_nonzero_bits method
+ with trees.
+ (irange::varying_compatible_p): Set nonzero mask.
+
+2022-07-10 Xi Ruoyao <xry111@xry111.site>
+
+ * config/loongarch/loongarch.md (<any_div>di3_fake): Describe
+ the sign-extend of result in the RTL template.
+ (<any_div><mode>3): Adjust for <any_div>di3_fake change.
+
+2022-07-10 Xi Ruoyao <xry111@xry111.site>
+
+ * config/loongarch/loongarch.cc (loongarch_check_zero_div_p):
+ Remove static, for use in the machine description file.
+ * config/loongarch/loongarch-protos.h:
+ (loongarch_check_zero_div_p): Add prototype.
+ * config/loongarch/loongarch.md (enabled): New attr.
+ (*<optab><mode>3): Add (=r,r,r) and (=&r,0,r) alternatives for
+ idiv. Conditionally enable the alternatives using
+ loongarch_check_zero_div_p.
+ (<optab>di3_fake): Likewise.
+
+2022-07-10 Xi Ruoyao <xry111@xry111.site>
+
+ * config/loongarch/loongarch.md (mulsidi3_64bit): Use mulw.d.w
+ instead of mul.d.
+
2022-07-09 Aldy Hernandez <aldyh@redhat.com>
* value-range.cc (irange::irange_single_pair_union): Set
+2022-07-10 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR preprocessor/97498
+ * c-parser.cc (c_parser_pragma): Set input_location to the
+ location of the pragma, rather than the start of the line.
+
2022-07-04 Tobias Burnus <tobias@codesourcery.com>
Chung-Lin Tang <cltang@codesourcery.com>
Thomas Schwinge <thomas@codesourcery.com>
+2022-07-10 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR preprocessor/97498
+ * c-c++-common/pr97498.c: New test.
+ * c-c++-common/gomp/pragma-3.c: Adapt for improved warning locations.
+ * c-c++-common/gomp/pragma-5.c: Likewise.
+ * gcc.dg/pragma-message.c: Likewise.
+
+2022-07-10 Dimitar Dimitrov <dimitar@dinux.eu>
+
+ PR tree-optimization/106063
+ * gcc.dg/pr106063.c: Require effective target int128.
+
+2022-07-10 Xi Ruoyao <xry111@xry111.site>
+
+ * gcc.target/loongarch/div-4.c: New test.
+
+2022-07-10 Xi Ruoyao <xry111@xry111.site>
+
+ * gcc.target/loongarch/div-1.c: New test.
+ * gcc.target/loongarch/div-2.c: New test.
+ * gcc.target/loongarch/div-3.c: New test.
+
+2022-07-10 Xi Ruoyao <xry111@xry111.site>
+
+ * gcc.target/loongarch/mulw_d_w.c: New test.
+ * gcc.c-torture/execute/mul-sext.c: New test.
+
2022-07-09 Vit Kabele <vit.kabele@sysgo.com>
* c-c++-common/Wpadded.c: New test.
+2022-07-10 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR preprocessor/97498
+ * directives.cc (destringize_and_run): Override the location of
+ the CPP_PRAGMA token from a _Pragma directive to the location of
+ the expansion point, as is done for the tokens lexed from it.
+
2022-07-07 David Malcolm <dmalcolm@redhat.com>
* include/line-map.h: Include <utility>.
+2022-07-10 Lewis Hyatt <lhyatt@gmail.com>
+
+ * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Adapt for
+ improved warning locations.
+ * testsuite/libgomp.oacc-c-c++-common/vred2d-128.c: Likewise.
+
2022-07-08 Thomas Schwinge <thomas@codesourcery.com>
* testsuite/libgomp.c-c++-common/requires-1.c: Add 'dg-note's.